
ga-energy-label
io.github.greenaxis-ai/ga-energy-label
Appliance-style 1-5 Tier Human-AI Co-Authorship & Content Purity Energy Label (SVG + Receipt)
Documentation
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 setup
ga-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-label
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 HUD
B. 4 Built-In Sticker Sizes for Docs, Slides & Repos
| Scene | Flag | 1:1 Live Rendered Sticker |
|---|---|---|
1. Doc Footer / PR Comment (392×56) (Default) | --style dot | |
2. GitHub README / Notion Inline (20px) | --style micro | |
3. Slide Deck / PDF Corner Plate (236×108) | --style stamp | |
4. Proposal Colophon / Social Card (336×198) | --style 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 | SOVEREIGN | Crisp human thesis, explicit non-goals/redlines, measurable units & owners, minimal AI filler. |
| L2 | CRAFTED | Clear human framing & domain constraints; disciplined AI structural amplification. |
| L3 | BALANCED | Standard co-drafting; functional structure, needs tighter redlines or concrete anchors. |
| L4 | DILUTED | Elevated LLM buzzwords, bare keyword stuffing, or weak negative boundaries. |
| L5 | HOLLOW |
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.
ga-energy-labelpip install ga-energy-label