agentleFS
MarkBoveeMarkBovee/agent-skills-kit/AGENTS.md

agent-skills-kit

AGENTS.md1 starsChanged 4 months agoMITView on GitHub

Workflow skill pack. Claude Code is the primary harness; OpenCode, Codex, GitHub Copilot, and dsh are supported through the same sources. The repo ships workflow skills, router plugins, generated exports, and installers. There is no build step and no package manager. Read ARCHITECTURE.md first. It maps every path, says which files are generated, and lists the contributor gotchas. This file holds only the binding rules. Commit regenerated output together with the source change. CI fails on a diff. Loading. Router…

The file

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

11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Read ARCHITECTURE.md first.

    line 5
  2. Distinctive:

    Commit regenerated output together with the source change.

    line 12
  3. Very specific:

    Read rules/coding-standards.md before editing code.

    line 16
  4. Distinctive:

    Put a short intent comment above every function-like construct, and run the repository's source-comment check.

    line 17
  5. Distinctive:

    Keep the local style of the file you are in.

    line 18
  6. Distinctive:

    Prefer small focused functions, DRY and SOLID, reuse over new helpers, explicit data shapes, meaningful names, guard clauses, and pure …

    line 19
  7. Distinctive:

    Keep each skill self-contained, with no links into other skills, and free of repository-specific paths.

    line 33
  8. Very specific:

    Use forward slashes in paths, ask- names for workflow and meta skills, and bidirectional cross-references where they help.

    line 36
  9. Very specific:

    Evals: Every skill has at least three behavior scenarios (query plus expected_behavior) in evals/ask-<name>.json.

    line 38
  10. Distinctive:

    Do not repeat intake, plan-check, review, or audit for a diff those gates already passed.

    line 54
  11. Very specific:

    Before handoff, inspect the complete tree and run git diff --check.

    line 83

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

agent-skills-kit Agent Instructions

Workflow skill pack. Claude Code is the primary harness; OpenCode, Codex, GitHub Copilot, and dsh are supported through the same sources. The repo ships workflow skills, router plugins, generated exports, and installers. There is no build step and no package manager.

Read ARCHITECTURE.md first. It maps every path, says which files are generated, and lists the contributor gotchas. This file holds only the binding rules.

Never hand-edit

  • .github/skills, .github/prompts, .github/copilot-instructions.md, .dsh/, .opencode/commands: run node ./scripts/export-platform-skills.js.
  • rules/claude/: run node ./scripts/export-claude-coding-standards.js; the source is rules/coding-standards.md.

Commit regenerated output together with the source change. CI fails on a diff.

Coding standards

  • Read rules/coding-standards.md before editing code.
  • Put a short intent comment above every function-like construct, and run the repository's source-comment check.
  • Keep the local style of the file you are in.
  • Prefer small focused functions, DRY and SOLID, reuse over new helpers, explicit data shapes, meaningful names, guard clauses, and pure helpers.

Skills

Frontmatter

  • name equals the directory (ask-<name>). The router and exports use the bare name; the ask- id is native to Claude Code's skill listing.
  • description is third person, starts with the nice name, says what the skill does and when to use it (Develop: Drives normal implementation work ... Use when ...), and stays at or under 160 characters. Claude Code selects skills from the description alone, so the key use cases and terms belong there.
  • triggers feed only the ASK router.

Loading. Router prompts, pending actions, and commands load a skill by reading ~/.agents/skills/ask-<name>/SKILL.md. Leaf skills are never invoked through a native Skill tool.

Content

  • Keep each skill self-contained, with no links into other skills, and free of repository-specific paths.
  • Length follows the steps. Put what every run needs inline in SKILL.md so it cannot be skipped; disclose into references/ only a branch that just some runs reach (release gates, for example). The hard cap is 500 lines, enforced by check-skill-best-practices.
  • Reference files stay one level deep from SKILL.md; one over 100 lines starts with a ## Contents list.
  • Use forward slashes in paths, ask- names for workflow and meta skills, and bidirectional cross-references where they help.

Evals. Every skill has at least three behavior scenarios (query plus expected_behavior) in evals/ask-<name>.json; update them with the skill. Measure activation changes with node ./scripts/eval-skill-activation.js and behavior with node ./scripts/eval-skill-behavior.js [--model haiku|sonnet] [--baseline] (Opus needs --allow-opus). Both spend tokens and stay out of CI.

Router

  • plugins/agent-skills-router/ audits the first OpenCode prompt, then emits compact live status. Its TUI reads router-core state and never computes routing.
  • A match suggests one skill and stays hollow until the agent reads the skill file. Fresh sessions stay neutral. Pending obligations are code-review and design-review.
  • Decision-tree rows come from routingHintLines(); never duplicate them by hand.
  • OpenCode's server is auto-discovered; the TUI still needs a tui.json entry. Installers must not register the server twice. Keep plugin state session-scoped.
  • plugins/agent-skills-router.dsh.mjs is dependency-free and installed as an ask-kit preset row. It derives rows from routingHintLines(), registers one command per skill, tracks state through events, and gates tools only when configured. Validate with node ./scripts/check-dsh-plugin.js.

Workflow

The canonical mandate is rules/workflow.md; installers copy it into each host's rules, so it is not repeated here. In short: pick the most specific workflow skill before substantial work, delegate independent research, validation, review, and audit, and never declare release readiness without independent evidence.

Evidence reuse

Do not repeat intake, plan-check, review, or audit for a diff those gates already passed. Gate evidence is bound to the diff it examined; cite it instead of redoing it.

  • Record each completed gate once, in the PR body or plan: gate, result, who ran it (independent or not), the diff reference (commit SHA or diff identity), and the subagent tokens it cost.
  • Evidence stays valid for an identical diff. A base update, merge, or tag does not invalidate it when the diff content against the base is unchanged; compare before assuming otherwise.
  • Classify a follow-up change before choosing gates. Mechanical deltas (version bump, changelog, regenerated exports, comment or doc wording) need validation only. Behavioral deltas need focused validation plus one delta gate on the changed paths at standard tier: a delta review for a review finding, a delta audit for an audit finding, never both. Escalate to deep only for an open cross-cutting invariant or counter-evidence.
  • Gate once on the final diff, never while iterating. P2 notes become follow-ups, not new rounds.
  • Reused evidence must itself have been independent. Self-review never becomes release evidence by being cited later, and stale or mismatched evidence is never reused.
  • The handoff says which evidence was reused and which was produced fresh.

Releases

  • A user-visible shipped change needs a SemVer bump in VERSION, a matching CHANGELOG.md entry, and the same version in .claude-plugin/plugin.json.
  • Stable releases use vX.Y.Z tags. Tag only after the merge to main; the release workflow publishes from main. Never push directly to the protected main.
  • scripts/install.* and scripts/update.* keep .sh and .ps1 behavior aligned and idempotent. Bootstrap and update resolve the latest stable tag.

Required checks

node -e "import('./plugins/agent-skills-router/server.mjs')"
node ./scripts/export-platform-skills.js
for check in router-nudges workflow-lifecycle dsh-plugin widget-live-state panel-widget opencode-v2-plugin research-workflow tier-vocabulary skill-best-practices trigger-overlap claude-code test-policy tmp-usage code-comments evidence-aware-communication model-agnostic-guidance plan-status; do node "./scripts/check-$check.js"; done
node ./scripts/export-claude-coding-standards.js --check
node ./scripts/validate-plugin.js
node ./scripts/check-release-readiness.js --require-version-entry
./scripts/check-installed-artifacts.sh

CI (.github/workflows/ci.yml) is the source of truth for this list. When a check is added there, add it here.

Before handoff, inspect the complete tree and run git diff --check. Verify generated exports, installer parity, branch, remote, tag, and a clean worktree. Run session-review when the work exposed a reusable workflow gap.

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.