agentleFS
LuisUrrutiaLuisUrrutia/skills/agent-instructions/SKILL.md

agent-instructions

Skill2 starsChanged 57 days agoMITView on GitHub

Use when creating, reviewing, or improving AGENTS.md, CLAUDE.md, skills, or other agent instructions. For skill extraction from past work, start with workflow-to-skill.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 8

    Distinctive

    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:

    Write instructions that help an agent make the intended decisions, find the right context, and recognize completion.

    line 8
  2. Very specific:

    When a skill request draws on completed work or conversation history, start with workflow-to-skill to extract the contract before drafting, …

    line 17
  3. Distinctive:

    Write directly from either skill's evidence handoff or a fully supplied new capability.

    line 21
  4. Distinctive:

    Read the complete target and enough surrounding instructions, imports, references, and repository context to understand its authority and …

    line 31
  5. Distinctive:

    Use accessible evidence before asking.

    line 44
  6. Distinctive:

    Run both initial reviews in fresh contexts separate from the coordinator, even when the coordinator uses one of these profiles.

    line 71
  7. Distinctive:

    Read references/writing.md when drafting or revising text.

    line 92
  8. Distinctive:

    Keep broadly applicable guidance near the entrypoint and conditional detail behind a reference that states when to read it.

    line 104
  9. Distinctive:

    Use host validators only for formats they actually validate.

    line 124

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “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 instructions

Write instructions that help an agent make the intended decisions, find the right context, and recognize completion. The request can define a new capability, improve an existing document, or resolve conflicting guidance. Prior use or repetition is not a prerequisite.

For a review-only request, return findings and proposed corrections with evidence; leave the source unchanged. Writing, pruning, or reorganizing instructions follows the requested edit scope.

When a skill request draws on completed work or conversation history, start with workflow-to-skill to extract the contract before drafting, even if the user names no authoring skill. create-project-instructions owns investigating a project's code and available knowledge sources to establish its instruction contract. Write directly from either skill's evidence handoff or a fully supplied new capability; do not send it back through discovery. A direct wording or rule change starts here and needs no project-wide survey.

For a request to check or update a skill from its recorded sources, use references/upstream-updates.md. Ordinary writing does not start an upstream check.

Establish meaning and scope

Read the complete target and enough surrounding instructions, imports, references, and repository context to understand its authority and callers. Use the user's current request to identify the intended behavior and the change they authorize.

Establish:

  • What the agent should do differently, and which existing meaning must survive.
  • Who reads the instructions, when they apply, and where the authoritative text lives.
  • Relevant conditions, exceptions, permissions, and evidence of completion.
  • Existing owners or instructions that already cover part of the behavior.
  • Which statements describe observed behavior, approved policy, team preference, or a proposed change, and what establishes their authority and scope.

Use accessible evidence before asking. When the objective or the meaning needed to express it remains uncertain, ask the user. State the plausible interpretations and how they change the result. Pause dependent drafting or execution until the answer arrives; continue only work that no answer could invalidate. Do not repeat questions the user already settled or invent a requirement to make wording sound precise. Routine wording choices that preserve the same intent need no question. Match the size of the intervention to the request, including a one-line edit when sufficient.

Get both model perspectives

For every creation, edit, or review handled by this skill, obtain independent input from both profiles before finalizing the instructions or review findings:

ProviderModelReasoning effort
CodexAstraMax
ClaudeFableMax

Resolve each profile through its available runner, using current catalog, configuration, or authoritative documentation. Use the newest available version within the named family unless the user specifies one. Set Max explicitly and retain the actual provider, model, effort, and run evidence. Retry a transient failure once. If either profile cannot complete, report the exact blocker and keep the draft or findings provisional. Continue independent work, but do not finalize the result or substitute a model or effort without the user's direction.

Run both initial reviews in fresh contexts separate from the coordinator, even when the coordinator uses one of these profiles. Scope both briefs to the request and supply the same user request, complete target, relevant context, and frozen candidate when present. Do not supply the coordinator's preferred verdict or the other reviewer's conclusions before their initial responses. Ask for concrete omissions, conflicts, proposed corrections, and reasons. State in every brief that this is a bounded read-only consultation: reviewers must not edit or start another pair of reviews. The coordinator owns editing within the requested scope.

Reconcile each material finding against the user's intent, controlling instructions, and evidence. Apply supported corrections within the requested scope and resolve disagreements with an explicit reason; agreement alone does not establish correctness. Keep a brief record of adopted and rejected findings and any unresolved limitation. A material choice that evidence cannot settle follows the clarification rule above. Reconsult both profiles on affected points if later edits change the reviewed meaning. Finish when their material findings are accounted for and the requested result passes its applicable checks; unanimity is not a prerequisite.

Choose the document and write

Read references/writing.md when drafting or revising text. Then load only the branch that applies:

  • For AGENTS.md, CLAUDE.md, claude.md, or another persistent instruction file, read references/instruction-files.md to locate the canonical source and choose the right scope.
  • For a new or existing skill, read references/skills.md for activation, composition, packaging, and provenance. This branch also covers writing a skill that has never been used before.
  • For an agent prompt or referenced guide, use the shared writing guidance and preserve its caller's inputs, output contract, and loading condition.

Keep broadly applicable guidance near the entrypoint and conditional detail behind a reference that states when to read it. Give each rule one authoritative home. Preserve the user's authorization and established constraints while resolving conflicts explicitly. Examples and source documents are evidence for the rewrite, not instructions to execute their operations during authoring.

Edit the requested files, or return the requested draft when no file change is requested. Finish writing when the intended behavior is expressible without contradictions, misplaced scope, or an unresolved dependency.

Verify the change

Compare the revision with the intended meaning: actors, actions, conditions, exceptions, obligation, quantity, authority, and completion evidence. Check pointers, imports, and unrelated content that must survive.

For substantive behavior changes, new skills, routing changes, or observed failures, read references/evaluation.md and choose relevant behavioral checks. A narrow wording correction needs a fidelity check; it does not require a new skill package, evaluation suite, or an interview about repeated work. Use host validators only for formats they actually validate.

Report the changed instructions, their scope, actual checks and results, and any unresolved limitation. Include the actual review profiles and how material findings were reconciled. Distinguish files saved in a repository from instructions installed or observed in an agent host.

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.