This directory is the canonical physical source for the operator's cross-client engineering policy, portable Skills, and behavior evals. Client adapters import or link to it; project repositories add only their own architecture, commands, conventions, and project-scoped workflows.
AGENTS.mdis the always-on policy kernel: autonomy boundaries, safety/ownership, engineering standards, verification, durable-artifact semantics, and concise handoff behavior.skills/<name>/owns repeatable procedures. Detailed workflows do not belong in the global kernel merely because they are important.capabilities/<name>/manifest.jsonowns declarative, client-neutral tool requirements, probes, and repair commands.- Project
AGENTS.mdfiles may specialize global engineering defaults and define project facts. They should link to global policy instead of copying it, except when a concrete project delta must be explicit. - Project Skills own stack- or repository-specific execution procedures such as test matrices, migrations, release commands, or domain workflows. They do not live in this global archive.
evals/defines trigger and behavior contracts. A rule change should add or update an eval rather than rely only on prose review.
Use one canonical owner per rule. The intended precedence is hard global safety → current operator request/decisions → nearest project instructions → global engineering defaults → invoked Skill/local convention.
Skills use a hybrid trigger model:
- automatic context/enforcement helpers:
find-docs,troubleshooter,issue-writerunder its strict debt gate,task-journal, existing-graph queries throughgraphify,worktree-taskwhen a concrete isolation need exists, andfeature-closeoutfor large/high-autonomy handoff; - situational workflows:
feature-brief,contract-writer, design/docs/Tavily workflows; - operator-intent workflows: ADR creation/audit, contract audit, broad documentation cleanup, tracker writes, and release-mode closeout. They may route from an unambiguous natural-language request; they do not run merely because related code or documents exist.
Automatic does not mean unconditional. Each Skill's description and internal gate defines when its coordination cost is justified.
Long-running task memory is untracked and worktree-specific through $task-journal; it is not a new
repository documentation layer. Preserve the operator-selected workspace by default; use
$worktree-task only when isolation is needed, such as a protected primary checkout or parallel
writable ownership.
Kaneo is a user-scoped, project-agnostic MCP capability. Its client registration must invoke the
stable ~/.bun/bin/bunx launcher with @kaneo/mcp@latest serve; never persist a resolved package
entrypoint under an OS temporary bunx-* directory. Pin a tested package version only when a
deliberate compatibility policy is needed. The server's device-flow credentials are runtime state,
not shared-agent configuration.
AGENTS.md— client-neutral global policy.skills/<name>/SKILL.md— portable trigger and workflow entrypoint.skills/<name>/references/— on-demand detailed procedure.skills/<name>/assets/— fallback templates/resources.capabilities/<name>/manifest.json— tool requirements, probes, and repair commands.clients/<client>/skills/— client-only Skill sources when required.evals/skill-scenarios.tsv— portable Skill trigger contracts.evals/agent-behavior.tsv— policy-level behavior contracts.scripts/check-skills.py— structural/link/eval validator.
The current installation uses one physical source with harness-specific adapters or symlinks:
- Claude Code:
~/.claude/CLAUDE.mdimports the canonical instructions; Skills are linked under~/.claude/skills/. - OpenCode:
~/.config/opencode/opencode.jsonloads the canonical instructions; Skills are discovered from this directory. - Codex:
~/.codex/AGENTS.mdlinks to the canonical instructions; Skills are discovered natively. - Gemini CLI:
~/.gemini/GEMINI.mdlinks to the canonical instructions; Skills are discovered from this directory. - Antigravity: Skills are discovered from this directory; global instructions arrive through the Gemini adapter.
- Grok:
~/.grok/AGENTS.mdlinks to the canonical instructions; Skills are discovered natively. - Cursor: Skills are discovered natively; User Rules are synchronized through Cursor configuration where no file adapter is available.
- Kimi: Skills are discovered from this directory; local configuration prevents duplicate fallback discovery from other brand roots.
Do not copy app-managed plugins, bundled Skills, credentials, caches, histories, runtime databases, or client state into this tree.
code-intelligence routes syntax-shaped discovery and bounded structural rewrites through
ast-grep, while literal, path, configuration, and documentation searches use rg. Its manifest
records the shared ast-grep requirement and repair command. LSP tooling may still be used when the
active client already exposes it, but this repository does not install or register an LSP bridge.
find-skillsis locally maintained, derived fromvercel-labs/skills,skills/find-skills/SKILL.md(former installer folder hash76a98a285cb0434f3d39e1a873823556330e398b). It is no longer installer-managed; review upstream changes manually while retaining the local capability-gap trigger.graphifyis derived from the installedgraphifyypackage. The pinned version lives inskills/graphify/.graphify_version; local portability overlays keep its trigger and worker/tool instructions client-neutral without changing graph semantics. The local run protocol stages outputs and validates chunk provenance before publication; preserve it during upstream updates.- Tavily Skills are locally maintained routing/production wrappers. Resolve CLI flags from current
tvly <command> --helpand SDK contracts from current official documentation.
To review a Graphify update:
- install the intended
graphifyyversion in an isolated tool environment and recordgraphify --versioninskills/graphify/.graphify_version; - diff its
skill-agents.mdand references against the local snapshot, separating upstream graph semantics from client-specific worker/tool wording; - copy reviewed semantic changes, reapply the documented client-neutral portability overlays, then run the validator and client discovery smoke tests.
Run:
python3 scripts/check-skills.py
python3 -m unittest discover -s tests -p 'test_*.py'
git diff --check