Skip to content

daft skill install

Writes the agent skill embedded in the daft binary (daft-worktree-workflow) into a skills directory, creating parent directories as needed.

The embedded skill is version-matched to the binary by construction, so re-running the command after upgrading daft is also the update path: install == update. An existing copy is always overwritten unless it is already identical. The command is non-interactive and never touches the network.

Usage

daft skill install [--project | --dir <path>] [-q] [-v]
FlagDescription
(none)Install to Claude Code's user-global ~/.claude/skills/.
--projectInstall into the current worktree's .claude/skills/ instead.
--dir <path>Install under this skills root (for agents other than Claude Code).
-q, --quietSuppress the result line.
-v, --verboseShow detailed progress.

--project and --dir are mutually exclusive. The daft-worktree-workflow folder is always created inside the chosen root — the folder name is what agents resolve the skill by. A project-level copy is meant to be committed, so everyone who clones the repo gets the skill.

Examples

daft skill install                       # user-global (Claude Code)
daft skill install --project             # this worktree's .claude/skills/
daft skill install --dir ~/.config/agent/skills

Freshness

daft doctor compares an installed copy's daft_version frontmatter stamp against the embedded skill and warns when it is stale; daft doctor --fix rewrites it with the same content this command installs.

See also

Released under MIT or Apache-2.0.