deft / guides

Install deft for Claude Code and Codex

Two steps: install the binary, then give your agent the deft skill so it knows when to use it.

1. Install the binary

On macOS or Linux:

curl -fsSL https://deftcli.com/install.sh | sh
deft version
deft doctor

The script downloads the release for your system, checks its SHA-256 and puts deft in ~/.local/bin. It then installs the skill for each agent folder it finds, so step 2 may already be done. Releases are on GitHub.

To choose a version or folder, or to skip the skill, set these before running the script:

VariableEffect
DEFT_VERSIONA tag such as v0.1.0. The default is the latest release
DEFT_INSTALL_DIRWhere the binary goes
DEFT_NO_SKILLSkip the skill

2. Add the skill

deft skill install --agent all

This writes the skill to ~/.claude/skills/deft for Claude Code and ~/.agents/skills/deft for Codex. To install for one agent, or only for the current project:

deft skill install --agent claude
deft skill install --agent codex
deft skill install --agent claude --scope project

The skill text is generated from deft's own command list, so install it again after you update deft.

Other agents

For an agent without skills, put the skill text in its instructions file, such as AGENTS.md:

deft skill print >> AGENTS.md

3. Check it works

Start a new agent session and ask for a file job, such as "merge these two PDFs into one" or "resize photo.jpg to 800 pixels wide". The agent should run a deft command instead of writing a script. You can also try a command yourself:

deft find "shrink pdf"
deft pdf merge report.pdf appendix.pdf -o all.pdf

Update and remove

Deft is measured on Claude Code with Opus 5.5 and on Codex, and ships a skill for both. See the benchmark. More in the usage guide and the install guide.