agentleFS
mneves75mneves75/skills/AGENTS.md

skills

AGENTS.md3 starsChanged 34 days agoApache-2.0View on GitHub

Instructions for AI coding agents working with this repository. CLAUDE.md imports this file; keep every rule here only. Skills for AI coding agents. Each skill is a folder under skills/ with a SKILL.md (YAML frontmatter name + description, then the procedure). Users install with npx skills@latest add mneves75/skills or a plain git clone.

  • Installs packages

The file

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

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never add a root SKILL.md: the skills CLI lets a shallower SKILL.md shadow everything below it.

    line 117
  2. Very specific:

    No personal paths, machine layout, secrets or client names in shipped files.

    line 128
  3. Distinctive:

    Every release re-verifies each id in that block against the vendors' current model lists and updates the block's "Verified against the …

    line 136
  4. Very specific:

    Always include adversarial review of code changes.

    line 164
  5. Distinctive:

    Put stable rules in their existing owner.

    line 189
  6. Distinctive:

    If none fits, proceed without announcing that.

    line 206
  7. Very specific:

    Keep independently useful skills discoverable.

    line 213

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

AGENTS.md

Instructions for AI coding agents working with this repository. CLAUDE.md imports this file; keep every rule here only.

Overview

Skills for AI coding agents. Each skill is a folder under skills/ with a SKILL.md (YAML frontmatter name + description, then the procedure). Users install with npx skills@latest add mneves75/skills or a plain git clone.

Project Structure

.
├── skills/
│   ├── autoreview/                # Portable AI review CLI + security tests (MIT)
│   ├── babysit-pr/                # PR watcher skill + scripts/pr-wait and its fake-gh test (MIT, adapted)
│   ├── council/                   # Bounded independent CLI plan deliberation and scored review (MIT, adapted)
│   ├── full-stop/                 # Unattended change to a ready, never-merged PR (MIT, adapted)
│   ├── leaving-pr-comments/       # Attribution and style for agent-posted GitHub comments (MIT, adapted)
│   ├── modernize/                 # Rebase an aging PR and decide whether it should exist (MIT, adapted)
│   ├── takeover/                  # Finish someone else's PR with their credit kept (MIT, adapted)
│   ├── untangle-codebase/          # Bounded structural refactoring, diagnosis first (MIT, adapted)
│   ├── security-audit/            # Six-phase source audit + Node validators (MIT, adapted)
│   ├── imagegen-frontend-mobile/   # Mobile screen/flow image generation (MIT)
│   ├── mneves-agent-readiness/    # Codebase readiness assessment (pairs with tools/)
│   ├── mneves-chatgpt-search/     # ChatGPT discovery, crawler access, citations and referral attribution
│   ├── mneves-expert-review/      # Expert-panel review/optimization pass
│   ├── mneves-handoff/            # Discussion-first handoff prompt for another agent (MIT, adapted)
│   ├── mneves-mode/               # Explicit operator mode (/mneves-mode): phase order, gates, playbooks
│   ├── mneves-render/             # Project-local Markdown -> HTML, editable DOCX and PDF
│   ├── mneves-motion-film/        # Product film from a brief: facts, music, Remotion, checks (+ scripts/, tests/)
│   ├── mneves-production-readiness/ # Deploy gate: readiness ledger, verdict per target, fix plan (+ references/)
│   ├── mneves-security/           # Security/privacy audit, pre-deploy gate, safe fixes and evidence (+ references/)
│   ├── mneves-fable-orchestrator/ # Model routing; Codex reference + tools/codex-lane (+ its test)
│   ├── mneves-ship-deploy/        # Deploy, prove live, then tag (+ references/, contract check, reference release scripts)
│   ├── mneves-teach-back-srs/     # Spaced-repetition teach-back (+ scripts/srs_db.py)
│   └── mneves-verify/             # Independent verification before done/fixed/shipped
├── collections/pstack/       # 43 vendored pstack skills (MIT); sources.json + adaptations/ -> tools/scripts/sync-pstack.sh
├── tools/                    # Readiness assessor (Bun + TypeScript): readiness-check.ts + lib/
│   ├── routing-eval/         # cases.json: frozen routing-eval cases and the anchors that decide them
│   └── scripts/              # init.sh (setup), deploy.sh (gated merge -> CI/Pages -> served bytes -> tag), site build, sync, checks; each with its test
├── HOWTO.md                  # Per-skill usage guide with examples (rendered to site/howto.html)
├── PRODUCT.md · DESIGN.md     # Landing audience/constraints and extracted visual tokens
├── .impeccable/               # Tracked design extensions and development-only surface brief
├── site/                     # GitHub Pages: index.html (landing), howto.html, sample readiness report
├── rules/ + sgconfig.yml     # ast-grep guard: reject `as any` (TS + TSX)
├── .githooks/pre-commit      # Blocking pre-commit hook (ast-grep scan) + its test
├── .github/workflows/ci.yml  # CI: skill checks, syntax, ast-grep, hook/site/tools gates, autoreview tests
├── CHANGELOG.md · VERSION    # Keep a Changelog; VERSION is the single source of the version
├── SECURITY.md · NOTICE      # Vulnerability reporting; attributions
└── MEMORY.md · memory/ · FOR_YOU_KNOW.md   # Project memory and the plain-language "why"

Commands

tools/scripts/init.sh                   # one command for the two lines below; --check only reports (tools/scripts/init.test)
cd tools && bun install                 # locked dev tools: Biome, TypeScript, ast-grep, marked
python3 -m venv .scratch/skills-ref && .scratch/skills-ref/bin/pip install --require-hashes -r .github/requirements/skills-ref.txt   # reference validator: .scratch/skills-ref/bin/agentskills validate <skill-dir>
bun run typecheck && bun run lint && bun test   # from tools/
ast-grep scan --config sgconfig.yml .   # from repo root
bash .githooks/pre-commit.test          # hook e2e test
python3 tools/scripts/check-pages.test.py  # actual Pages guard: real Git, fake CI provider
bash skills/mneves-fable-orchestrator/tools/codex-lane.test   # codex-lane e2e against a fake codex (no quota)
python3 skills/mneves-ship-deploy/scripts/run-tests.py        # release contract check: planted violations, read-only
bash skills/mneves-ship-deploy/assets/release-guards.test.sh  # reference release guards: throwaway repo, fake wrangler
python3 tools/scripts/check-readiness-catalog.py  # readiness catalogs, preservation map and ledger consistency: read-only
bash tools/scripts/check-readiness-catalog.test   # planted-violation controls for the readiness catalog guard
python3 skills/mneves-teach-back-srs/tests/test_srs_db.py    # SRS helper: concurrent reviews on a temporary database
python3 skills/babysit-pr/tests/test_pr_wait.py              # pr-wait watcher against a fake gh (no network)
python3 tools/scripts/routing-eval.py check   # routing-eval cases well formed, anchors still in the text: no model call
python3 tools/scripts/routing-eval.test.py    # routing-eval checks, grader and `run` against fake claude/codex (no quota)
python3 tools/scripts/check-catalog-hygiene.py   # root-skill doc/routing coverage, link integrity, ref depth, char/line budgets
python3 tools/scripts/check-catalog-hygiene.test.py  # planted-violation controls for the catalog hygiene guard
python3 tools/scripts/catalog-eval.py check   # 25-case routing confusion-matrix cases valid against skills/ (no model call)
python3 tools/scripts/catalog-eval.py check --include-pstack --cases tools/catalog-eval/cases-hard.json  # 13-case 66-skill hard routing check
python3 tools/scripts/catalog-eval.py check --include-pstack --cases tools/catalog-eval/cases-router.json  # 68 frozen mneves-mode router cases valid (no model call)
python3 tools/scripts/catalog-eval.test.py    # catalog-eval checks and `run` against fake claude/codex (no quota)
python3 tools/scripts/baseline-delta-eval.py check  # 6-case blinded zero-skill baseline-delta cases valid (no model call)
python3 tools/scripts/baseline-delta-eval.test.py   # baseline-delta unblinding tests against fake CLIs (no quota)
python3 tools/scripts/install-skills.py --list-profiles  # curated install profiles, overlap exclusions and char budgets
python3 tools/scripts/install-skills.test.py  # install-skills dry-run, babysit exclusion, and local-edit protection tests
tools/scripts/check-defaults-block.sh   # model ids only inside the orchestrator's Defaults block, with its verified-on date
bash tools/scripts/check-defaults-block.test   # planted-violation controls for that guard
bun --bun tools/readiness-check.ts --format=html --output=report.html   # assess cwd
tools/scripts/build-site.sh            # HOWTO.md -> site/howto.html + landing changelog rows (CI checks freshness)
bash tools/scripts/build-site.test     # real build: catalog/guide equality, planted controls, repeatability
bash tools/scripts/check-site-copy.sh <site-url>   # real browser copy cases; needs agent-browser and the host's approved launch route
npx skills@latest add . --list          # what the skills CLI will discover
python3 skills/autoreview/scripts/run-tests.py  # isolated unit/integration/security suite
node skills/security-audit/validate-findings.test.cjs          # validator: planted valid/invalid findings records
node skills/security-audit/validate-coverage-ledger.test.cjs   # validator: planted valid/invalid coverage ledgers
python3 skills/mneves-render/tests/test_check_ast.py  # actual Pandoc content-policy controls
python3 skills/mneves-render/tests/test_starters.py   # Pandoc + WeasyPrint + Poppler acceptance
python3 skills/mneves-motion-film/tests/test_pipeline.py  # film checks: synthetic film, planted violations (needs ffmpeg)
python3 skills/autoreview/scripts/check-cccc.py /absolute/path/to/cccc  # real complexity controls
tools/scripts/sync-pstack.sh <port-clone> <official-clone>   # regenerate collections/pstack from sources.json pins; needs agentskills on PATH
bash tools/scripts/sync-pstack.test    # sync e2e against fixture repos (no network; agentskills on PATH)
bash tools/scripts/statechart-runner.test   # adapted statechart runner with fake mise/java: no install, found tools used

Invariants (CI enforces the checkable ones)

  • Directory name == frontmatter name:. Original skills carry the mneves- prefix; adapted third-party skills retain their upstream name, copyright, license, and provenance, except that an upstream name colliding with another widely installed skill, or one the owner chooses to prefix (for example mneves-handoff), takes the mneves- prefix, and the provenance records the upstream name. description: is one short capability-and-trigger line; keyword inventories and procedures belong in the body or a routed reference.
  • Frontmatter is Agent Skills spec only: name, description, license, and, for a skill that ships an executable, compatibility (≤ 500 characters naming the tools it needs). CI's agentskills validate (the reference skills-ref from PyPI) rejects other keys, so host-specific fields (context, effort, paths, disable-model-invocation) stay out even when a host supports them.
  • Never add a root SKILL.md: the skills CLI lets a shallower SKILL.md shadow everything below it.
  • Skills are Markdown-first. Shipped executables are bash + set -euo pipefail, bash -n clean when written in Bash. Python helpers use Python 3.11+ and the standard library; each helper states its own floor and that claim must match the syntax it actually uses. Executable skills are autoreview, babysit-pr, mneves-fable-orchestrator, mneves-motion-film, mneves-ship-deploy, mneves-teach-back-srs, security-audit, and mneves-render; security-audit's executables are dependency-free Node validators that need Node.js, not Python. The repository copy is canonical and each ships its relevant verification procedure (codex-lane.test runs against a fake codex on PATH, so it never spends quota).
  • No any / as any in tools/; use unknown + a narrowing guard. ast-grep blocks it.
  • No personal paths, machine layout, secrets or client names in shipped files; a skill must work for a stranger's clone. A tool's own documented default (~/.codex/lanes) and an install instruction are not machine layout; a path only the author has is.
  • A skill must not require anything it does not ship. Where it names an unshipped tool or a sibling skill, say so and give the fallback, so a single-skill install still works.
  • Model ids and reasoning tiers live in exactly one clearly marked block per skill, or in the user's own configuration. Prose refers to capability roles ("heavy executor"), never to a product name, so a model release is a one-line edit. The same applies to pinned CLI versions. Every release re-verifies each id in that block against the vendors' current model lists and updates the block's "Verified against the vendor model lists on" date; CI derives the protected words from the block (ids, seat names, aliases, tiers), rejects them and any id-shaped token elsewhere in the file, and requires that date to equal the top CHANGELOG.md entry's date for the current VERSION (tools/scripts/check-defaults-block.sh). Keep the block's shapes: vendor ids as ids, Claude seats as <Name>, latest release (... alias \x`), tiers as reasoning <tier>`.
  • SKILL.md bodies stay under 500 lines; detail sits behind references/, linked one level deep from SKILL.md and never reference-to-reference. Byte-identical upstream references may name a sibling by bare basename (as security-audit does) when the SKILL.md map resolves it.
  • VERSION, the README badge and the top CHANGELOG.md entry agree.
  • collections/<name>/ holds a vendored third-party skill pack, outside skills/ so the default npx skills add mneves75/skills install does not include it (install it with --full-depth or its tree URL). The invariants above govern skills/ only. A collection keeps its upstream names (the owner chose pstack's tdd and teach over the mneves- prefix rule), its license, and an UPSTREAM pin. Its skills/, UPSTREAM, LICENSE* and NOTICE* come from a sync script and are never hand-edited; change sources.json or adaptations/ and regenerate. The sync and CI both require the Agent Skills spec (agentskills validate) and name == directory for every collection skill. docs/skill-ledger.md records each skill's disposition.

Code review evidence

Release closeout follows CONTRIBUTING.md#preparing-a-release. Release-record rewrites preserve the original audit origin and same-commit optional-field forms; the operator contract and CLI regression cases live in CONTRIBUTING and tools/scripts/deploy.test.sh. Merging to main triggers production publication after CI, so a green PR alone is not the security/readiness gate. Keep the exact-candidate records private and retain them during scratch cleanup; owner waivers require their named controls, owner, reason and expiry.

Always include adversarial review of code changes. Use local cccc for supported changed source when available, following skills/autoreview/references/complexity.md; record its version, target/config identity, file coverage, diagnostics and status. Missing tooling, unsupported code or incomplete scans are stated explicitly. Scores never replace tests, standards/spec review or independent acceptance. The installer and release manifest ship inside autoreview so a single-skill install is self-contained. Do not hand-edit vendored collection skills or host-installed third-party skills to add this policy.

Adding a Skill

  1. skills/<mneves-name>/SKILL.md with frontmatter; README.md only when longer docs help. An adapted third-party skill keeps its upstream name and ships its license and provenance.
  2. Root README.md table, a HOWTO.md section, the tree above, VERSION, CHANGELOG.md, README badge; then tools/scripts/build-site.sh (CI fails on stale site files).
  3. npx skills@latest add . --list shows the new skill; CI green.

Agent skills

Writing instructions and prompts for Codex

Specify the requested outcome, the decisions the agent may make and the evidence a reader can use to check the result. For implementation, name the entry point, callers and behavior to preserve. Let the agent resolve reversible details and continue independent work while it waits for a consequential decision. Preserve any explicit teaching, discussion, review or approval stop. Write the final answer for someone opening it without the progress messages.

Put stable rules in their existing owner. In a continuing conversation, send corrections and new evidence in the next message. A standalone skill must carry the task-specific constraints its caller needs even when installed outside this repository. See OpenAI's model guidance.

Situation routing

At each task start, identify the goal, constraints and phase. Honor explicitly requested skills, including requests in follow-ups; otherwise choose the most specific applicable skill from the available catalog. Never auto-select an explicit-only skill. Read a selected skill before applying it. Use one primary workflow skill, adding specialists when needed or required by applicable user, host or repository instructions.

State the selection and reason once unless the requested output format excludes commentary; selection alone is not use. Retain the route only while the goal, phase and relevant constraints stay the same: an explicit new selection or phase change takes precedence over a small follow-up. Reassess at implementation, review and release boundaries. Load only relevant references. If none fits, proceed without announcing that. If a requested or required skill is unavailable, report it. If optional, continue the authorized task with ordinary capabilities unless the user required that skill exclusively. Continue independent work; a mandatory capability stays blocked until satisfied by an alternative its governing rule permits or explicitly waived by the authority that rule names. Selection grants no permissions: review-only requests stay read-only, and required gates remain.

Keep independently useful skills discoverable; group related modes inside their existing skill, not behind a global umbrella. An explicit-only router (mneves-mode) may name skills and order phases; no skill may need it to be discovered or run, and every backticked skill name it uses must resolve to this repository or an optional-siblings.md row with a fallback (the hygiene check enforces this). See the routing guide for adoption and evaluation; a repository instruction does not configure other repositories or agents.

Issue tracker

Local Markdown specs and tickets in docs/specs/. See docs/agents/issue-tracker.md.

Domain docs

Single context: root GLOSSARY.md and relevant docs/adr/ entries. See docs/agents/domain.md.

Run notes

For multi-session work, read and update the relevant spec's progress.md and tests.json before continuing. Record observed results, failed attempts, open decisions and evidence limits; keep private logs and gate records in ignored scratch. The routing work record tracks the situation-policy implementation and its evaluation limits. The tstack review (released in 1.45.1) uses progress.md and tests.json, and the routing eval uses progress.md. CLAUDE.md imports these instructions.

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.