agentleFS
simiancraftsimiancraft/simiancraft-skills/skills/asset-optimization/AGENTS.md

simiancraft-skills / asset-optimization

AGENTS.md8 starsChanged 4 months agoMITView on GitHub

This skill is built to grow. It ships incomplete by design: the set of asset kinds is stable, but the cookbook of recipes, the tool manifest, and the measured size data all expand as we learn. When you discover a recipe, a tool, or a whole category that is not here yet, encode it and open a PR. An agent that is only using the skill (not editing it) can instead open an issue, with the user's permission, to report…

The file

We split this AGENTS.md into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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. Very specific:

    If a command has not actually been run in this environment, it is unverified.

    line 48
  2. Distinctive:

    Keep the result only if it is smaller AND valid.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
AGENTS.md

Contributing to asset-optimization

This skill is built to grow. It ships incomplete by design: the set of asset kinds is stable, but the cookbook of recipes, the tool manifest, and the measured size data all expand as we learn. When you discover a recipe, a tool, or a whole category that is not here yet, encode it and open a PR. An agent that is only using the skill (not editing it) can instead open an issue, with the user's permission, to report an outdated command or a missing recipe or kind; that trigger lives in SKILL.md.

Where new knowledge goes

You discoveredAdd it to
a useful command or recipethe kind's executors/<kind>/cookbook.md
a new tooltools.md (define it once, with its key facts)
a real before/after measurementthe kind's executors/<kind>/expectations.md
a footgun or caveatthe tool's key-facts row in tools.md, and the recipe's Caveat line
a whole new asset kind (rare)a new executors/<kind>/ folder with the four organs

Adding a kind or tool: thread every registry

A new kind or tool touches several hand-maintained registries, not just its own file.

A new kind (executors/<kind>/ with the four organs) must also be wired into:

  • the dispatch table in SKILL.md,
  • the extension table (and, if deferring it, the "Not yet a kind" list) in classify.md,
  • the index in cookbook.md,
  • its surface mapping in the new targets.md.

A new tool (a row in tools.md) must also:

  • carry a Kinds value that matches which executors actually use it, and
  • appear in the Prerequisites of every procedure.md that uses it.

The four-organ shape is deliberately reserved even for thin kinds (vector, document, and model each run one or two tools): the fixed slots give a contributor a known place to grow into, so the uniform structure is a decision, not a default.

Cookbook entries

Cookbook recipes follow the entry rubric defined once in cookbook.md: Task, For, Command, Validate, Gains (marked measured or est, never fabricated), and Caveat, with an optional See also. When you add a recipe, fill every required field; cookbook.md holds the format and a worked example.

Honesty (non-negotiable)

  • A Gains number is measured or it is labeled est. Do not record an unmeasured number as fact; expectations.md holds only observed before/after bytes.
  • If a command has not actually been run in this environment, it is unverified; say so rather than implying it was tested. The whole skill is status: draft until its recipes are run and measured.
  • Keep the result only if it is smaller AND valid; a recipe that can grow a file or break a decode must say so in its Caveat.

Voice

Terse and imperative. No marketing. Prose uses semicolons for independent clauses and the Oxford comma; no em dashes.

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.