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…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository37 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- ask-agent-workflowsSkill
- ask-code-reviewSkill
- ask-debuggingSkill
- ask-deep-researchSkill
- ask-design-reviewSkill
- ask-designSkill
- ask-developSkill
- ask-gh-inboxSkill
- ask-handoffSkill
- ask-improveSkill
- ask-intakeSkill
- ask-observabilitySkill
- ask-researchSkill
- ask-session-reviewSkill
- ask-summarySkill
- ask-text-writingSkill
- ask-verificationSkill
- ask-write-skillSkill
- ask-agent-workflowsSkill
- ask-code-reviewSkill
- ask-debuggingSkill
- ask-deep-researchSkill
- ask-design-reviewSkill
- ask-designSkill
- ask-developSkill
- ask-gh-inboxSkill
- ask-handoffSkill
- ask-improveSkill
- ask-intakeSkill
- ask-observabilitySkill
- ask-researchSkill
- ask-session-reviewSkill
- ask-summarySkill
- ask-text-writingSkill
- ask-verificationSkill
- ask-write-skillSkill
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
- Very specific: line 5
Read ARCHITECTURE.md first.
- Distinctive: line 12
Commit regenerated output together with the source change.
- Very specific: line 16
Read rules/coding-standards.md before editing code.
- Distinctive: line 17
Put a short intent comment above every function-like construct, and run the repository's source-comment check.
- Distinctive: line 18
Keep the local style of the file you are in.
- Distinctive: line 19
Prefer small focused functions, DRY and SOLID, reuse over new helpers, explicit data shapes, meaningful names, guard clauses, and pure …
- Distinctive: line 33
Keep each skill self-contained, with no links into other skills, and free of repository-specific paths.
- Very specific: line 36
Use forward slashes in paths, ask- names for workflow and meta skills, and bidirectional cross-references where they help.
- Very specific: line 38
Evals: Every skill has at least three behavior scenarios (query plus expected_behavior) in evals/ask-<name>.json.
- Distinctive: line 54
Do not repeat intake, plan-check, review, or audit for a diff those gates already passed.
- Very specific: line 83
Before handoff, inspect the complete tree and run git diff --check.
≈ “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.
Files
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: runnode ./scripts/export-platform-skills.js.rules/claude/: runnode ./scripts/export-claude-coding-standards.js; the source isrules/coding-standards.md.
Commit regenerated output together with the source change. CI fails on a diff.
Coding standards
- Read
rules/coding-standards.mdbefore 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
nameequals the directory (ask-<name>). The router and exports use the bare name; theask-id is native to Claude Code's skill listing.descriptionis 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.triggersfeed 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.mdso it cannot be skipped; disclose intoreferences/only a branch that just some runs reach (release gates, for example). The hard cap is 500 lines, enforced bycheck-skill-best-practices. - Reference files stay one level deep from
SKILL.md; one over 100 lines starts with a## Contentslist. - 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-reviewanddesign-review. - Decision-tree rows come from
routingHintLines(); never duplicate them by hand. - OpenCode's server is auto-discovered; the TUI still needs a
tui.jsonentry. Installers must not register the server twice. Keep plugin state session-scoped. plugins/agent-skills-router.dsh.mjsis dependency-free and installed as an ask-kit preset row. It derives rows fromroutingHintLines(), registers one command per skill, tracks state through events, and gates tools only when configured. Validate withnode ./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
standardtier: a delta review for a review finding, a delta audit for an audit finding, never both. Escalate todeeponly 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 matchingCHANGELOG.mdentry, and the same version in.claude-plugin/plugin.json. - Stable releases use
vX.Y.Ztags. Tag only after the merge tomain; the release workflow publishes frommain. Never push directly to the protectedmain. scripts/install.*andscripts/update.*keep.shand.ps1behavior 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.shCI (.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.
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
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.

