Skill Model
How skills encode reusable workflow and implementation contracts
The skill model has two jobs.
Some skills improve the quality of work inside a domain. Other skills shape the run itself. A React skill changes how the agent writes React. A delivery phase changes how the agent moves from intent to implementation, review, validation, and docs closeout.
Specificity
Implementation skills sit on a specificity ladder.
Framework skills are closest to a single domain: React, Next.js, Effect, Better Auth, TanStack Query, Pulumi, Expo, and similar surfaces. Some framework packs, such as drizzle and trpc, ship no skill and add only a source guide. Language skills sit above those framework rules. Agnostic skills apply across stacks.
The more specific the skill, the closer it should stay to the code path that makes it true. A Next.js skill belongs near a Next.js surface. An agnostic planning skill can apply across the repository.
Workflow Skills
Workflow skills define a procedure across work, not a domain style. They include skills such as requirements-grill, create-architecture, create-spec, create-plan, implement-spec, and write-backlog.
The two Finder wrappers are optional intake lenses over one shared Fog engine. Business Finder may project Product Areas and Initiatives. Functional Finder may project that Business structure plus Epics, and it does not require Business Finder to run first. Neither projects Stories or Tasks. Requirements Phase alone runs Requirements Grill, then create-architecture (a retained ARCHITECTURE.md), then create-spec (a retained SPEC.md). It then asks write-backlog to derive the actual work items from the immutable SPEC.md blob URL. With no earlier Finder projection, write-backlog can also place the Product Area, Initiative, and Epic. OUT-### codes are traceability only; they set no item count.
write-backlog is the sole provider writer for that topology and preserves its existing ticket-structuring role. create-plan and implement-spec consume the provider Task identities and blocker graph rather than replacing them with a second private execution graph.
Phase skills are mostly agnostic workflow wrappers. They call workflow skills, carry validation gates, and generate explicit leaf-skill guidance for the work at hand.
The phase skill shapes the run. The leaf skill improves the local work.
Atomic Skills
Atomic skills are individual bounded moves. They can run inside a phase wrapper, beside a plan, or as a direct user request.
Examples:
parallel-researchcoordinates split-friendly readonly analysis and then requires synthesis before action.handoffcreates a clean continuation artifact before a fresh, long phase.writing-fragments,writing-beats, andwriting-shapepreserve the writer flow for substantial public docs.
Use Atomic Skills for the operator-level judgment behind these individual skills.
How Skills Enter A Run
A skill enters a run through an explicit trigger: the user names it, scoped guidance requires it, a plan or handoff names it, or a phase wrapper delegates to it.
A loaded skill contributes the local contract for that work: what to read first, which artifacts matter, which outputs are expected, which surfaces can change, and which checks prove completion.
Activation should be explicit enough for the final artifact trail. A completed run should make it clear which workflow contracts shaped the work.
Skills should not become encyclopedias. If the body grows too large, move stable reference material into routed docs, runbooks, or source references and keep the skill focused on execution.
Source Of Truth
Reusable skill changes start in the shared skills repository (wearedevpunks/skills, checked out on main), not in generated copies. Commit and push there first. Then run bun run sync:skills in Harness: it clones the shared repository at a pinned revision and replaces apps/cli/skills/, except apps/cli/skills/npm/. A repository's .agents/skills/ copies change only when a new Baseline is published and hi update installs it.
Package skills are the one exception. A skill that documents an npm package ships inside that package, so the skill and the package version cannot drift. packageSkillSources in apps/cli/src/data/catalog/package-skills.ts lists each source package and pins its version; the lint asset that loads @collective-intelligence/lint uses the same constant. bun run --cwd apps/cli sync:package-skills runs npm pack for exactly each pinned version, checks every tarball before it writes, and replaces only apps/cli/skills/npm/<package>/. It writes one committed receipt, keyed by package name, to apps/cli/skills/npm/package-skills-sync.json, with the hash of every file it copied. A CLI test fails when a receipt entry names another version than its pin, comes from a local tarball, or when a vendored file differs from its recorded hash, so a pin bump without a sync, or a hand edit, cannot ship unnoticed. To test an unpublished build, set the source's tarball variable (HI_CI_LINT_TARBALL=/path/to/lint.tgz for @collective-intelligence/lint, HI_CI_BACKLOG_TARBALL=/path/to/backlog.tgz for @collective-intelligence/backlog); that package's receipt entry then records source: "tarball" and the tarball version. Today the package skills are ci-solution-structure from @collective-intelligence/lint and generate-human-backlog-skills from @collective-intelligence/backlog. The generator keeps the client skills as SKILL.md.tmpl Skill Templates inside its own folder; a file named SKILL.md.tmpl is never a skill, so the Registry ships it as one more file of the generator.
Generated skill copies are distribution artifacts. Edits to them drift, because the next sync or update overwrites them.
Invocation Metadata
A skill can mark itself explicit-only, so the agent does not select it by itself:
- Claude reads
disable-model-invocation: truein theSKILL.mdfrontmatter (13 skills). - Codex reads
allow_implicit_invocation: falseinagents/openai.yaml(10 skills).
Treat each flag separately. The 10 Codex flags are all phase skills, and each also sets the Claude flag. review-animations and the deprecated pointers python-project-structure and writing-great-skills are explicit only in Claude; they ship no agents/openai.yaml. The CLI copies both flags verbatim and never reads them. An explicit-only skill reaches a run when a human names it or a phase loads its file by path.
A skill that other skills must reach stays model-invoked. wait-what, prototype, prototype-phase, swarm-planner, and verify-behavior carry no flag, so the phases and skills that compose them can run them. A phase can load another explicit-only phase by path, as delivery-phase does with requirements-phase and review-phase in Full Delivery. Other skills that reach an explicit-only phase, such as implement-spec, docs-onboarding, and resolve-debt-phase, hand the human the $<phase> command and a brief, then stop. Inside AFK delivery-phase, implement-spec takes an out-of-bounds Autonomous Decision instead and continues.
Validation Role
Skills carry proof standards. A skill should tell the agent what counts as done for that slice of work: tests, review evidence, runtime evidence, docs ingest, or a valid no-op reason.
Model Before Reference
The Skills and Packs wiki should explain the model, not list every skill the harness can install.
Use Skill Reference when you need the practical lookup: skill name, when to use it, pack, invocation, and source SKILL.md. Use Skill Graph when you need to know which phase or skill calls which. Individual concept pages only make sense when a skill has enough durable theory to justify its own article. Otherwise the executable skill file remains the contract.