Skip to main content

ga-energy-label — Human-AI Co-Authorship 5-Tier Energy Label & Live HUD

English | 简体中文

CI PoHA L1 Micro Pill Zero Dependencies License Live HUD + MCP

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-label runs 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:

  1. Session Process Telemetry (Claude Code statusLine): Reads your live .jsonl session transcript after each turn to render [PoHA L1] ██████████░░ 85% Human │ Lev 1:9.2 │ SOVEREIGN underneath your prompt box (preserving claude-hud if already installed).
  2. Deliverable AI-Slop Linter & Snapshot Stamper (MCP + Skill + CLI + Action + Browser Studio): Audits .md, .pptx, .docx, .txt, or .pdf deliverables into 4 compact SVG sticker sizes (dot, micro, stamp, card), pinpoints exact AI cliché lines, and computes a deterministic SHA-256 snapshot receipt.

Tier 1 Dot-Matrix HUD


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 Dot Dark
Dot Light
2. GitHub README / Notion Inline (20px) --style micro Micro Pill
3. Slide Deck / PDF Corner Plate (236×108) --style stamp PPT Stamp
4. Proposal Colophon / Social Card (336×198) --style card Swiss 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.2
  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 Slop Demo

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 like ruff or vale for prose. Deliberate prompt evasion can bypass lexical checks, though bare keyword stuffing without prose context is explicitly penalized.
  • Session Telemetry vs. Static Scan: statusLine HUD measures real .jsonl turn 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: .docx and .pptx extraction reads OOXML text nodes with Python stdlib; .pdf extraction uses pdftotext when installed (scanned PDFs require OCR first).
  • 100% Zero-Network Guarantee: Verified in CI (test_zero_network_no_socket_guarantee) with socket disabled. Neither the CLI, MCP server, statusLine HUD, nor docs/index.html transmits 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.

Metadata

Release files for ga-energy-label 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ga-energy-label 0.3.2
File Size Uploaded Provenance Actions
ga_energy_label-0.3.2.tar.gz 41.1 kB Without provenance Details for ga_energy_label-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ga-energy-label 0.3.2
File Interpreter ABI Platform Actions
ga_energy_label-0.3.2-py3-none-any.whl Python 3 none any Details for ga_energy_label-0.3.2-py3-none-any.whl

Total release size: 80.3 kB

Release files / ga_energy_label-0.3.2.tar.gz

Download URL ga_energy_label-0.3.2.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
79f1c03d27cb9e60d8d77103c7766d19f25a8695ef98ebe84f3b05e0cf1c5cd3
BLAKE2b-256 checksum
How to use checksums
f67348fad5f5b4fc86d5fcedf102bed59c7906c569f55713d0da9be79b8d3788
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ga_energy_label-0.3.2-py3-none-any.whl

Download URL ga_energy_label-0.3.2-py3-none-any.whl
Size 39.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f861761d870b2e1c905c1a9881ad95005acc2a2e28cf8ef2dd8b85c833951a46
BLAKE2b-256 checksum
How to use checksums
983c1b4258bf30480ca54bff02b4e23eeca248c11fcc0fc1eee33fe79ba052c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for ga-energy-label 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page