ga-energy-label
Provides a GitHub Action that audits a specified repository file, stamps an energy label badge, and fails the CI workflow when the document's energy tier meets or exceeds a configured threshold.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ga-energy-label Stamp an energy label on this proposal"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ga-energy-label — Human-AI Co-Authorship 5-Tier Energy Label & Live HUD
Word count is dead in the LLM era. A 250-word founder memo defining 4 hard non-goals, 3 course-corrections, and explicit human sign-off carries far more decision sovereignty than 15,000 words of AI filler.
ga-energy-labelruns 100% locally with zero third-party dependencies and zero network calls (verified by an offline no-socket test in CI) across two distinct, clearly separated engines:
Session Process Telemetry (
Claude Code statusLine): Reads your live.jsonlsession transcript after each turn to render[PoHA L1] ██████████░░ 85% Human │ Lev 1:9.2 │ SOVEREIGNunderneath your prompt box (preservingclaude-hudif already installed).Deliverable AI-Slop Linter & Snapshot Stamper (
MCP + Skill + CLI + Action + Browser Studio): Audits.md,.pptx,.docx,.txt, ordot,micro,stamp,card), pinpoints exact AI cliché lines, and computes a deterministic SHA-256 snapshot receipt.
Install in Seconds (Mac / Linux / Windows)
# Run without polluting global Python (once published on PyPI):
uvx ga-energy-label ./README.md
# Or install directly from GitHub:
pip install git+https://github.com/greenaxis-ai/ga-energy-label.git
# Preview what setup will wire, then apply:
ga-energy-label setup --dry-run
ga-energy-label setupga-energy-label setup detects installed tools (Claude Code ~/.claude.json, Cursor, Codex, Gemini CLI, Kimi Code), backs up existing configs (.bak-*), installs the bundled SKILL.md, registers the stdio MCP Server, and activates the Claude Code statusLine HUD (preserving claude-hud if present; run ga-energy-label setup --remove-hud anytime to restore).
Claude Code Marketplace:
/plugin marketplace add greenaxis-ai/ga-energy-label
/plugin install ga-energy-labelRelated MCP server: APEX PSI MCP Server
What You See Live & On Deliverables
A. Real-Time Session Telemetry Inside Claude Code
[Opus] │ my-project git:(main) ← existing claude-hud (preserved!)
[PoHA L1] ██████████░░ 85% Human │ Lev 1:8.6 │ SOVEREIGN (6t) ← live Human-AI Energy HUDB. 4 Built-In Sticker Sizes for Docs, Slides & Repos
Scene | Flag | 1:1 Live Rendered Sticker |
1. Doc Footer / PR Comment ( |
| |
2. GitHub README / Notion Inline ( |
| |
3. Slide Deck / PDF Corner Plate ( |
| |
4. Proposal Colophon / Social Card ( |
|
Everyday Usage Cheat Sheet
1. Inside AI IDEs & Chats (Cursor, Claude Code, Codex, Gemini, Kimi)
After ga-energy-label setup, ask your agent in plain English:
"Stamp an energy label on this proposal" or "Grade our co-authorship split on
spec.md"
2. Zero-Install Browser Sticker Studio
Open docs/index.html locally or via GitHub Pages (https://greenaxis-ai.github.io/ga-energy-label/). Plain text and Markdown inputs compute the exact same scoring rules and SHA-256 GA-EL-... receipt as the Python CLI, with 1-click 2× Retina PNG export for slides.
3. CLI & Secure GitHub Action
# Auto-stamp a dot-matrix badge at the bottom of any Markdown file:
ga-energy-label ./README.md --stamp
# Export a light-mode corner stamp for PowerPoint / Word:
ga-energy-label ./pitch-deck.pptx --style stamp --theme light --svg ./corner-stamp.svg
# Non-wordcount Human Sovereign % vs. AI Amplification % split:
ga-energy-label coauth --human-file ./notes.md --output-file ./spec.md --svg ./hud.svg
# Fail CI if a doc drops to Tier 4 or Tier 5 (exit code 3):
ga-energy-label ./spec.md --fail-on-tier 4
# Verify deterministic snapshot receipt locally:
ga-energy-label verify --file ./spec.md --human-file ./notes.md --receipt GA-EL-L1-...In .github/workflows/energy.yml:
- uses: greenaxis-ai/ga-energy-label@v0.3.3
with:
file: docs/architecture.md
style: dot
fail_on_tier: "5"The 1–5 Energy Efficiency Scale (Non-Wordcount)
Tier | Badge | Verdict |
L1 |
| Crisp human thesis, explicit non-goals/redlines, measurable units & owners, minimal AI filler. |
L2 |
| Clear human framing & domain constraints; disciplined AI structural amplification. |
L3 |
| Standard co-drafting; functional structure, needs tighter redlines or concrete anchors. |
L4 |
| Elevated LLM buzzwords, bare keyword stuffing, or weak negative boundaries. |
L5 |
|
Limitations & Threat Model
AI-Slop Linter, Not a Lie Detector: Static deliverable grading (
grade/coauth) is a heuristic linter designed to help authors strip LLM filler and sharpen boundaries—just likerufforvalefor prose. Deliberate prompt evasion can bypass lexical checks, though bare keyword stuffing without prose context is explicitly penalized.Session Telemetry vs. Static Scan:
statusLineHUD measures real.jsonlturn interaction history on your machine; static file grading measures only the final text artifact.Deterministic Snapshot Digest, Not Third-Party Forensics:
GA-EL-...is an unkeyed local SHA-256 digest proving whether a document changed after grading on your machine. It does not prove who typed the original file or replace cryptographic signing (e.g., C2PA / X.509) or third-party ledger attestation.Zero-Dep Parsing Scope:
.docxand.pptxextraction reads OOXML text nodes with Python stdlib;.pdfextraction usespdftotextwhen installed (scanned PDFs require OCR first).100% Zero-Network Guarantee: Verified in CI (
test_zero_network_no_socket_guarantee) withsocketdisabled. Neither the CLI, MCP server,statusLineHUD, nordocs/index.htmltransmits session logs or documents anywhere.
License, Trademark & Attribution
Open-sourced under Apache-2.0 (see NOTICE for trademark boundaries under Section 6, and CLA.md) by Green Axis (Wuxi) Technology Co., Ltd. (绿轴(无锡)科技有限公司) as part of the PoHA (Proof of Human-Accountable Action) open developer ecosystem.
Available Tools
4 toolsgrade_artifactB
Grade a document (.md/.txt/.pptx/.docx/.html) or text into 1-5 Human-AI Energy Tiers with Claude-HUD dot-matrix bar, SVG sticker (dot/micro/stamp/card), or --stamp Markdown footer.
Inputs: lang, text, style, theme, +4 more.
grade_coauthorshipC
Grade non-wordcount Human Sovereign % vs AI Amplification % from human prompts/notes + final deliverable into Tier 1-5.
Inputs: lang, style, theme, title, +6 more.
render_energy_badgeC
Render an SVG energy label (dot HUD strip, micro 20px pill, stamp PPT corner plate, or card 5-bar plate).
Inputs: result (required), lang, style, theme, +1 more.
verify_energy_receiptC
Verify locally whether a document/text still matches its GA-EL tamper-evident receipt.
Inputs: receipt (required), text, file_path, human_seed.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
grade_artifact and grade_coauthorship both 'grade' into tiers and could be confused, though the input (document vs. human/AI contribution split) differs. render_energy_badge overlaps with grade_artifact, which also emits SVG stickers, so an agent may wonder whether grading already renders the badge or requires a separate call.
All four names follow a clean verb_noun snake_case pattern: grade_artifact, grade_coauthorship, render_energy_badge, verify_energy_receipt. No style mixing or ambiguous prefixes.
Four tools is a little thin but appropriate for a narrow grading-and-labeling domain. Each tool maps to a distinct stage (grade, grade coauthorship, render, verify), so nothing feels gratuitous.
The lifecycle is largely covered: grading (artifact and coauthorship), badge rendering, and receipt verification. Minor gaps remain—no explicit receipt-issuance or retrieval/reporting tool, and receipt creation is only implied by grading.
Maintenance
Related MCP Connectors
Issue signed receipts for AI agent actions; verify any receipt offline - free, no account.
49 deterministic tools for text integrity, agent control, and contextual quality evidence.
Checks AI agent actions before they run. Signed, RFC 3161 timestamped evidence for audits.
Records what your AI agent did and who approved it, with a public link anyone can check
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to validate deliverables (JSON, ZIP, PDF, DOCX) against signed contracts, generating verifiable receipts with Ed25519 signatures.-
- AlicenseAqualityBmaintenanceAppend-only evidence receipts for AI records: seal, verify, cite, chain-check, anchor status. A seal proves a record existed at a time, not that its contents are true. Five tools over stdio with npx -y apex-psi-mcp — no account, no key, verification free forever.5412 npm1MIT
- AlicenseBqualityCmaintenanceEnables AI agents to create, validate, verify, and merge tamper-evident task handoff records with SHA-256 receipts, so they can pass work without redoing everything and distinguish verified claims from unconfirmed ones.3MIT
- AlicenseBqualityBmaintenanceEnables AI coding agents to assemble tamper-evident, locally stored evidence bundles that capture Git state, command results, and file hashes, then verify freshness and export shareable reports.241MIT