agentleFS
MirzaMotoTechMirzaMotoTech/agent-craft-for-hermes/skills/agent-execution-economy/SKILL.md

agent-execution-economy

Skill0 starsChanged 3 months agoMITView on GitHub

Contain model and tool loops with explicit budgets.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not use it to skip evidence required by a security, money, authorization, migration, or data-integrity boundary.

    line 25
  2. Distinctive:

    Write the observable outcome and the strongest boundary that must be protected.

    line 37
  3. Distinctive:

    Before exploration, reserve enough work for the requested artifact, focused proof, staged review, publication/deployment when approved, and …

    line 43
  4. Distinctive:

    Start at an index or exact source.

    line 49
  5. Distinctive:

    Complete when: every chosen tool directly creates the outcome or verifies a named risk.

    line 51
  6. Distinctive:

    Complete when: no planned round trip exists solely because related operations were unnecessarily separated.

    line 57
  7. Distinctive:

    Do not rerun valid evidence after documentation, staging, or reporting changes.

    line 67
  8. Distinctive:

    Stop and reslice when:

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Agent Execution Economy

Deliver the smallest complete result while minimizing unnecessary model continuations, context replay, and duplicate verification. This skill controls process cost; it never lowers security, authorization, data-integrity, or completion requirements.

When to Use

  • A task could branch into several tools or investigation paths.
  • A session is long, compressed, or repeatedly invoking the same tool.
  • The user asks for efficient execution or reports excessive latency or usage.
  • A large task needs explicit closure capacity.

Do not use it to skip evidence required by a security, money, authorization, migration, or data-integrity boundary.

Procedure

1. Define outcome and size

Classify the task by impact:

  • XS: one contained lookup or presentation/configuration change.
  • S: bounded behavior with a focused consumer path.
  • M/L: cross-cutting behavior, public contracts, infrastructure, security, migrations, or durable data.

Write the observable outcome and the strongest boundary that must be protected.

Complete when: success and risk are stated without listing implementation steps.

2. Reserve closure first

Before exploration, reserve enough work for the requested artifact, focused proof, staged review, publication/deployment when approved, and cleanup. If the remaining budget cannot cover a mutation and its proof, do not start that mutation.

Complete when: the task can finish inside the remaining execution budget.

3. Choose the shortest evidence path

Start at an index or exact source. Prefer direct retrieval and mechanical tools over delegation. Delegate only independent reasoning where isolation or parallelism reduces total work. Give each worker one objective, exact scope, forbidden detours, output contract, and hard call/time budget.

Complete when: every chosen tool directly creates the outcome or verifies a named risk.

4. Batch independent work

Group independent reads, searches, checks, and disjoint worker tasks. Serialize only genuine dependencies. Reduce large outputs before returning them to the main context.

Complete when: no planned round trip exists solely because related operations were unnecessarily separated.

5. Use focused construction checks

While code or configuration is moving, use the cheapest check that detects the current plausible failure. Keep an evidence ledger:

check → candidate it proves → change that would invalidate it

Do not rerun valid evidence after documentation, staging, or reporting changes.

Complete when: each check protects a distinct risk and duplicated evidence has been removed.

6. Freeze and close

Once the complete candidate works, stop opening optional fronts. Run one proportional stable-candidate gate, perform the approved Git/release boundary, verify external state, clean temporary resources, and report the real result.

Complete when: the requested artifact exists, its consumer path was exercised, and no temporary process or state remains.

Stop Conditions

Stop and reslice when:

  • the same optional tool path has failed twice;
  • investigation continues after decisive evidence exists;
  • one narrow fix repeatedly triggers the same broad suite;
  • a worker reaches budget without a useful artifact;
  • closure capacity is being consumed by optional polish;
  • a new scope, credential, spend, or destructive boundary appears.

Pitfalls

  • Optimizing visible response length while multiplying hidden model calls.
  • Loading every vaguely relevant skill.
  • Treating a cheaper worker as free despite discovery and coordination cost.
  • Running a full suite after every small edit.
  • Debugging an optional helper instead of completing the user outcome.
  • Starting another milestone before the current one is committed and verified.

Verification

Confirm that the requested outcome—not merely the plan—was delivered; every tool call had a direct purpose; repeated checks have an explicit invalidating change; workers stayed inside disjoint scopes; the stable candidate received one proportional gate; and cleanup plus external readback completed where relevant.

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.