Skip to content

The skills

Skills hold Cliewen's process knowledge. They tell a coding agent what to do next, while the clue binary remains a small deterministic judge.

clue init installs the skills under .agents/skills/ and emits an AGENTS.md routing hub. The hub recommends simple or full before loading the corpus: ordinary simple work uses no lifecycle skill, while clue-upgrade is the specific simple-work workflow for a human-authorized, coordinated upgrade. A chosen full loop loads the relevant skill and follows a complete workflow without a long prompt.

Assistants read different instruction-file names, so init also writes bridges to the hub. The skills are mirrored to .claude/skills/, and CLAUDE.md imports AGENTS.md because Claude Code reads that name. The bridge only points to the hub; all shared rules stay in one place. You can extend the emitted file with instructions that apply only to Claude Code.

The lifecycle set

SkillUse it whenDurable output or hand-off
clue-analysisRisk or an unknown should be investigated before committing to a designVerified findings under /docs/analysis, then a plan or change
clue-planA goal needs a campaign or an active plan needs a semantic revisionA plan with verifiable milestones, then clue-delta
clue-upgradeAn already-onboarded repository needs to check or take up a newer releaseA human-authorized, reviewed coordinated upgrade, or a clear decision to wait
clue-deltaThe user chooses the recommended full loopA complete branch, digested corpus, and verified pull request
clue-verifyA full Cliewen pull request is about to become readyA locally verified and automatically agent-reviewed candidate, then the review hand-off
clue-extractAn existing repository needs a one-time brownfield conversionAn inferred corpus reviewed through its first change loop

Why the skills stay separate

Each skill owns one lifecycle boundary and can be installed independently. Analysis does not need implementation mechanics, and verification does not need to invent proposal rules after the work is done. Verification owns the challenge-and-repair hand-off: where supported, it sends review to a clean context, returns findings to the implementing context, and requires a clean pass on the repaired commit.

The files are complete standalone artifacts, but repeated rules are generated from shared canonical sources. This keeps decision routing, simple/full recommendation, repository conventions, and the human acceptance boundary identical across the set without runtime includes.

Version agreement

Distributed Cliewen skills carry an ownership marker and the same version as the released binary. clue validate catches drift among the managed skills and between the skills and a released binary, while ignoring unrelated skills in the shared directory.

This makes process changes reviewable and reproducible: the agent guidance that shaped a branch is a versioned repository artifact, not an invisible service configuration.

Next

Make the checks blocking in CI.

Released under the Apache 2.0 License.