agentleFS
jthiruveedulajthiruveedula/agentkit/skills/agentkit-audit/SKILL.md

agentkit-audit

Skill0 starsChanged 2 months agoMITView on GitHub

Score an agentkit repo (prompt density, orchestration, context, security, site) into audit.json with APS. Use when auditing skill/agent prompts or refreshing the audit dashboard.

The file

We split this skill 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:

    Stop and report if validation fails.

    line 37
  2. Distinctive:

    Read only the units named in findings (targeted reads, no whole-repo dumps).

    line 43

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

Agentkit Audit

Deterministic repo audit: scripts/audit.py scores every skill and agent and the site, lists findings, and builds the agent/skill graph. The model narrates and fixes; it never invents numbers. Heuristics and weights are in reference/metrics.md; narrative template in reference/persona.md.

Procedure

  1. Run the audit and keep the report as the baseline:

    python3 skills/agentkit-audit/scripts/audit.py --out /tmp/baseline.json
  2. Read findings, not the whole report: group by category, look at the lowest KPI first (APS is a harmonic mean, so it tracks the weakest).
  3. Write the narrative: three acts and KPI table from reference/persona.md, using only numbers from the report.
  4. Apply fixes to the named units (edit sources, not dist/ or AGENTS.md; then python3 scripts/build.py).
  5. Re-run with the baseline to get real deltas:

    python3 skills/agentkit-audit/scripts/audit.py --baseline /tmp/baseline.json --out site/assets/audit.json
  6. Verify with python3 scripts/validate.py and python3 -m pytest, then open site/audit/ to confirm the dashboard renders the new report. Stop and report if validation fails; do not hand-edit audit.json.

Rules

  • Scores only from audit.py; if a number is missing, re-run.
  • Fix by category, highest APS gain per effort first.
  • Read only the units named in findings (targeted reads, no whole-repo dumps).

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.