active/ag-dir/SKILL.md
Create or audit Agent Project Directory docs and status structure.
npx skillsauth add kevinslin/skills ag-dirInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when creating, auditing, or updating a durable AG directory (AGD) for one task.
Use $schemas and the bundled ag-dir schema as the source of truth for layout,
boilerplate, file descriptions, insertion routing, and template sections. Inspect the
schema before creating or auditing an AGD:
../schemas/scripts/schema.py show ag-dir
When this skill and the schema disagree, prefer the schema and update stale skill text rather than inventing a third layout.
Use $schemas to create missing AGD notes instead of hand-writing boilerplate.
Create or backfill the AGD skeleton:
../schemas/scripts/schema.py materialize ag-dir \
--out "$ROOT_DIR" \
--var project_title="Example Project" \
--var spec_num=01 \
--var spec_name=bootstrap \
--skip-existing
Add a new active spec plus matching run notes to an existing AGD:
../schemas/scripts/schema.py materialize ag-dir \
--out "$ROOT_DIR" \
--var project_title="Example Project" \
--var spec_num=02 \
--var spec_name=workflow-cleanup \
--skip-existing
Materialize an archived spec note only when you explicitly need the optional archive branch:
../schemas/scripts/schema.py materialize ag-dir \
--out "$ROOT_DIR" \
--var project_title="Example Project" \
--var spec_num=02 \
--var spec_name=workflow-cleanup \
--var archived_spec_num=00 \
--var archived_spec_name=landed-work \
--include docs/.archive/spec-00-landed-work \
--skip-existing
$schemas with the ag-dir schema to inspect layout or materialize missing notes before creating new boilerplate by hand.memory.md concise and durable; remove stale hypotheses once resolved.spec-01, spec-02, ...). Avoid renaming active specs.ag-dir with $schemas to confirm the current layout.--skip-existing.design.md.docs/..agents/runs/spec-{num}/.progress.md.docs/.archive/ and leave a current handoff.md when another agent needs to resume.Shortcuts are self-contained workflows triggered only when the user explicitly asks to use one.
When invoked, follow the mapped workflow section exactly.
Invoke them through $dev.shortcuts with trigger:<shortcut>, for example trigger:handoff spec14.
Write or refresh .agents/runs/spec-{num}/handoff.md for the requested spec.
[spec] from forms like spec14, spec-14, or 14 to the folder name spec-14.docs/ using docs/spec-{num}-*.md..agents/runs/spec-{num}/ or handoff.md is missing, materialize the missing run notes with $schemas. Reuse the slug from the matching docs/spec-{num}-<name>.md file as spec_name..agents/runs/spec-{num}/handoff.md using the existing template sections.Write or refresh .agents/runs/spec-{num}/progress.md for the requested spec.
[spec] to spec-{num}.$schemas using the matching docs/spec-{num}-*.md slug..agents/runs/spec-{num}/progress.md with the current state, next steps, and any spec-local notes.Write or refresh .agents/runs/spec-{num}/learnings.md for the requested spec.
[spec] to spec-{num}.$schemas using the matching docs/spec-{num}-*.md slug..agents/runs/spec-{num}/learnings.md with concrete takeaways using the existing template sections.development
Generate incremental Slack digests for channels, topics, and categories.
testing
Audit an OpenClaw maturity-scorecard surface into an evidence-backed component score report. Use when given a surface from an OpenClaw maturity-scorecard.md and asked to score coverage, quality, readiness, or generate a detailed surface report plus per-component subreports.
tools
Turn an existing concrete spec into a reusable generic spec template. Use when asked to create a generic spec, template spec, reusable implementation template, or generalized version of a spec from a specific implementation such as one plugin, channel, integration, feature, or PR.
data-ai
Trace how something works with an investigator subagent and a skeptical reviewer subagent.