agentleFS
mewziciansmewzicians/Skills-Folder/skills/skill-auditor/SKILL.md

skill-auditor

Skill0 starsChanged 24 days agoApache-2.0View on GitHub

Audit, validate, forward-test, and repair agent skills. Use when the user asks for a skill audit, trigger or portability gaps, project-coupling leaks, capability gaps, behavioral repair, or a readiness verdict; not for ordinary skill creation or editing.

22 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. 0 are common, 16 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 16

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not edit the target during an audit-only request.

    line 26
  2. Distinctive:

    Read repository or workspace guidance that governs the target.

    line 31
  3. Very specific:

    Read the target SKILL.md completely.

    line 32
  4. Very specific:

    Read agents/openai.yaml and every resource the skill directly requires.

    line 33
  5. Distinctive:

    Read references/audit-rubric.md for every practical, full, repair, or regression audit.

    line 38
  6. Distinctive:

    Do not assume the current skill accurately describes its own intended job.

    line 49
  7. Distinctive:

    Before freezing requirements, write a one-sentence Skill Mission naming the intended user, concrete outcome, operating context, and most …

    line 55
  8. Distinctive:

    If the mission, use purposes, success criteria, recurring pain points, or hard boundaries remain materially unclear, ask up to three …

    line 60
  9. Very specific:

    Create at least one substantive requirement for each clause.

    line 75
  10. Distinctive:

    Treat their findings as evidence, not a substitute for semantic review.

    line 102
  11. Distinctive:

    Create a prompt set of at least three clear and two paraphrased or indirect requests that should trigger, two neighboring requests that …

    line 116
  12. Distinctive:

    Check for both false negatives and false positives.

    line 120
  13. Distinctive:

    Treat a requested "superpower" as a capability enhancement, never as license to invent tools or bypass higher-level instructions, …

    line 145
  14. Distinctive:

    Do not inflate a preference into a defect.

    line 179
  15. Very specific:

    Hard rule: use the highest level whose evidence gate actually passed, because a readiness label is what others rely on without rereading …

    line 192
  16. Very specific:

    use only Pass, Partial, Fail, or Unknown for requirement status.

    line 212
  17. Very specific:

    use Completed, Not Run, or Blocked for whether a test executed.

    line 213
  18. Very specific:

    Do not call an inspection Pass when the target skill failed its requirements.

    line 223
  19. Distinctive:

    If no defects are found, say so directly and identify remaining test coverage or environmental uncertainty.

    line 227
  20. Distinctive:

    Don't bend one because a request is casual: ask the user.

    line 234
  21. Distinctive:

    Don't add a rule after your own mistake or a reviewer's nitpick without that yes.

    line 251
  22. Distinctive:

    Ask about new rules once, batched at the end of the task.

    line 254
  23. Distinctive:

    When a file hits its size cap, or at a milestone, prune it: cut rules no one can tie to a reason.

    line 255

“Common” is measured: kept by at least 6 in 10 of the 21 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

Skill Auditor

For a project-specific skill, reconstruct its mission from the target project's guidance and profile. For a reusable skill, require it to work without hidden assumptions about stack, domain, architecture, filenames, platforms, or release topology, such as a game's engine or genre.

Evaluate a skill as a behavioral contract, not merely a Markdown file. Combine deterministic package checks with evidence from realistic use. Distinguish a skill defect from a missing project resource, unavailable tool, higher-level instruction, model limitation, or unclear user expectation.

Select The Audit Mode

Choose a quick check, practical audit, full audit, repair, or regression; read references/audit-modes.md for each mode and its completion gate. Default to a practical audit when the user asks to find gaps, and to a full audit when they ask for a readiness verdict, exactness, a self-audit, or a result that must be independently trustworthy. A practical audit never awards a readiness level whose gate it didn't run. Hard rule: Do not edit the target during an audit-only request. An audit that changes its subject no longer describes what the user has.

Load The Evidence

  1. Read repository or workspace guidance that governs the target.
  2. Read the target SKILL.md completely.
  3. Read agents/openai.yaml and every resource the skill directly requires.
  4. Inspect scripts before running them. Prefer bundled scripts over recreated checks.
  5. Recover the user's intended behavior from their request, examples, corrections, approved outputs, and current project constraints.
  6. Read references/audit-rubric.md for every practical, full, repair, or regression audit.
  7. Read references/independence-protocol.md before self-audits, readiness claims, behavioral repairs, or any audit whose result must be independently trustworthy.
  8. Read references/capability-enhancement-protocol.md before recommending or adding tools, scripts, research workflows, delegated-agent roles, or other new capabilities.

Do not assume the current skill accurately describes its own intended job. User intent and approved examples are evidence; higher-level system, developer, safety, and project instructions remain binding constraints.

Reconstruct The Behavioral Contract

Before freezing requirements, write a one-sentence Skill Mission naming the intended user, concrete outcome, operating context, and most important non-goal. Recover it from user requests, examples, corrections, governing guidance, and approved behavior rather than trusting the target's description.

If the mission, use purposes, success criteria, recurring pain points, or hard boundaries remain materially unclear, ask up to three targeted questions before recommending repairs or capabilities, and do not ask when available evidence already answers them.

Express the intended skill in seven clauses:

  1. Trigger: requests that should and should not activate it.
  2. Read: context and resources it must load before acting.
  3. Decide: judgments it must make rather than mirror from the user.
  4. Do: actions, artifacts, or recommendations it must produce.
  5. Do not: boundaries, protected behavior, and forbidden shortcuts.
  6. Evidence: tests or observations required before claiming success.
  7. Stop: the condition that makes the task genuinely complete.

Create at least one substantive requirement for each clause. Tag every requirement with its clause and provenance category: User, Higher-level, Project, Target, Observed, or Inferred. At least one requirement must come from user or governing evidence rather than the target describing itself. Mark inferred clauses separately from explicit requirements.

Give requirements stable IDs. Maintain bidirectional traceability: every requirement lists its tests and mutations, and every test or mutation lists the requirements it evaluates.

Separate Evaluation Roles

For self-audits and high-confidence readiness claims, separate contract, test design, execution, judgment, and adversarial review into distinct clean contexts when permitted. If separation cannot run, cap the verdict below Independently Cross-Checked.

Run Deterministic Checks

From the auditor's folder, run the bundled standard-library structural validator, then the strict static audit:

python -B scripts/validate_skill.py <path-to-skill>
python -B scripts/audit_skill.py <path-to-skill> --strict

Treat their findings as evidence, not a substitute for semantic review. Read references/deterministic-checks.md for flags, the self-test, and the evidence assessor, and references/evidence-binding.md before recording evidence.

Not Validated exits nonzero by default. Report the readiness field; automated_readiness_cap is a constant ceiling, not an award.

Audit Triggering

Because the description is the primary trigger surface, test it independently from the body.

Create a prompt set of at least three clear and two paraphrased or indirect requests that should trigger, two neighboring requests that should not, and one ambiguous boundary request.

Check for both false negatives and false positives. Ensure the description says what the skill does and when to use it without trying to encode the entire workflow. Run trigger cases through auto-dispatch rather than explicit invocation by name. Record expected activation, observed activation, and the selected skill for every case. Preserve each prompt as a distinct hashed artifact in the evidence manifest. The behavioral gate also requires a regression case.

For an explicit-only skill, whose metadata disables implicit invocation, test that implicit prompts do not activate it and that invocation by name does, and record that policy. Its missing auto-dispatch is not a recall defect; never repair it by re-enabling implicit invocation.

Audit Instructions And Resources

Score every applicable rubric row, from source-of-truth routing and decision ownership to safety, portability, and context cost, and check that examples clarify behavior without overfitting it.

Locate the earliest broken layer. A weak output may originate in metadata, missing context, ambiguous instructions, unavailable resources, poor test design, or the underlying task rather than in the final response format.

Evaluate Capability Enhancements

Treat a requested "superpower" as a capability enhancement, never as license to invent tools or bypass higher-level instructions, approvals, safety, or environment limits. Tie each capability to the frozen Skill Mission and an observed bottleneck, and classify it with the capability enhancement protocol; when a criterion is unknown, mark it Needs approval.

Forward-Test Behavior

Forward-test the target as a real user would invoke it, not as an agent told what defect to find. Follow references/forward-testing.md for the cases, the contract freeze, and approval before live or costly tests. A test passes only when the observable result satisfies the requirement.

Run Mutation And Holdout Tests

For self-audits, repairs to critical skills, and strong readiness claims, plant at least one defect in each required category and keep holdouts outside the target, as references/mutation-and-holdout.md describes.

Classify Findings

  • Critical: the skill is unsafe, unusable, impossible to trigger, or structurally invalid.
  • High: a core promised behavior is missing or unreliable.
  • Medium: an important edge case, ambiguity, or maintainability risk.
  • Low: clarity, efficiency, portability, or polish improvement.

For each finding give its severity and requirement, evidence with file or test references, provenance and the role that produced it, the user-visible consequence, the earliest root cause, and the smallest durable repair.

Do not inflate a preference into a defect. Label unresolved subjective choices as open decisions.

Repair Without Overfitting

Hard rule: edit only when the user requests or approves repair. Classify every capability change first, apply only mission-preserving enablement the repair request covers, and return directional evolution as a recommendation. Read references/repair-method.md before proposing repair text or editing; it holds the steps and their evidence.

Calibrate Readiness

Hard rule: use the highest level whose evidence gate actually passed, because a readiness label is what others rely on without rereading the evidence: Structurally Valid, Behaviorally Tested, Adversarially Tested, Independently Cross-Checked, or User Validated. A skill auditing itself may earn only automated Level 1. The assessor never awards Levels 2-5; the main agent may award Levels 2-4 manually only with the observations references/readiness-levels.md requires, and Level 5 also needs live user acceptance. Read that reference before awarding or reporting any level.

Report

For a practical, full, repair, or regression audit (a practical audit may keep the matrix short and list each skipped gate instead of its evidence):

  • lead with findings ordered by severity when defects exist;
  • state the Skill Mission and non-goals, and summarize the seven-clause behavioral contract;
  • provide a requirement matrix with Requirement, Status, Evidence, and Gap or Repair;
  • use only Pass, Partial, Fail, or Unknown for requirement status;
  • use Completed, Not Run, or Blocked for whether a test executed;
  • provide the smallest validated repair or clearly label it Unvalidated;
  • identify role separation, blinding, mutation score, holdout status, disagreement status, and evidence provenance;
  • state residual risks and untested cases;
  • report capability recommendations as Eligible in authorized repair, Needs approval, Rejected, or None needed, with their mission link and evidence; and
  • give a clear calibrated readiness level and limiting gate.

Do not call an inspection Pass when the target skill failed its requirements. A full audit is incomplete when the matrix, evidence, unrun tests, or readiness judgment is missing.

If no defects are found, say so directly and identify remaining test coverage or environmental uncertainty.

Rules And Pushback

Lines marked Hard rule guard approvals, deletion, publishing, and private data, where a mistake is costly or can't be undone; each gives its reason. Don't bend one because a request is casual: ask the user. Unmarked lines still bind too. Scope limits, honest evidence, and approval steps aren't optional. Scale each step's effort to the risk, and say so when you skip one that doesn't fit. A profile or instruction file records an owner decision only where it says the owner made it; otherwise treat it as project guidance. If a rule seems wrong for this task, say which one and why before you continue.

How Rules Get Made

  1. Something the user says in passing applies to the current task only.
  2. Exception: anything about money, privacy, publishing, deleting, or permissions binds as soon as they say it. Ask once whether to make it permanent.
  3. A rule becomes standing only when the user says "make this a rule", or you ask and they say yes. Record their words, the date, and the reason with it.
  4. This covers every file that steers an agent: instruction files, style guides, skills, checklists, templates, CI checks, and agent memory.
  5. Don't add a rule after your own mistake or a reviewer's nitpick without that yes. Fix the input or the work instead.
  6. A new ruling replaces the one it contradicts. Never keep both.
  7. Ask about new rules once, batched at the end of the task.
  8. When a file hits its size cap, or at a milestone, prune it: cut rules no one can tie to a reason. The user's taste decisions are flagged for them and never cut by an agent.

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.