agentleFS
electrohireelectrohire/spec-kit-evaluator/.github/skills/speckit-aee-report-savings/SKILL.md

speckit-aee-report-savings

Skill3 starsChanged 28 days agoMITView on GitHub

Report measured RTK and Headroom token savings, never estimated

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not count token-router, Ollama, subagents, or state externalization as token savings.

    line 32
  2. Very specific:

    Never estimate. If a measurement source is missing or unparseable, report n/a with the reason.

    line 34
  3. Distinctive:

    Keep RTK and Headroom separate.

    line 36
  4. Distinctive:

    Run the policy helper:

    line 41
  5. Distinctive:

    Do not quote vendor marketing figures for any tool.

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Aee Report Savings Skill

AEE Report Savings

Report token savings measured by the optional token-economy tools after a large Spec Kit workflow, after implementation, or when asked how many tokens were saved.

User input

$ARGUMENTS

Accept an optional reporting window in hours (default 168).

Measurement rules

  • Count only RTK and Headroom as token-saving tools.
  • RTK saves shell-output tokens. Measure with rtk gain.
  • Headroom saves context and tool-output tokens. Measure with headroom perf --hours <N>.
  • Do not count token-router, Ollama, subagents, or state externalization as token savings. They are workflow tools, not savings channels.
  • Never estimate. If a measurement source is missing or unparseable, report n/a with the reason.
  • Keep RTK and Headroom separate. Add a combined total only when both values are measured in the same report. Never double-count.

Execution

Run the policy helper:

python .specify/extensions/aee/scripts/python/aee_token_economy.py report --hours "<N>"

The helper degrades gracefully: a missing tool yields n/a with a reason, never a zero and never an estimate.

Report format

The helper prints JSON; report its values verbatim, per channel:

{
  "rtk": {"used": true, "saved_tokens": 1234, "source": "rtk gain --format json"},
  "headroom": {"used": false, "saved_tokens": "n/a", "reason": "headroom not installed"},
  "combined_saved_tokens": "n/a",
  "policy": "…"
}

used is a JSON boolean (true/false, never yes|no|n/a); saved_tokens is a measured number or the string "n/a" with a reason. combined_saved_tokens is the sum only when both channels measured, otherwise "n/a".

Save the report under .specify/extensions/aee/reports/ when it belongs to a feature workflow. Include the commands used as evidence. Do not print raw tool logs that contain sensitive file paths or secrets.

Guardrails

  • A savings figure is a measurement claim: ground it in the tool output, or mark it n/a.
  • Do not quote vendor marketing figures for any tool. Only measured values from this environment count.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.