Get started

Agent skills

Install the skills in Claude Code, Codex or another agent, and use each skill.

Driftless comes with a set of agent skills. They write pages, keep them current, draw diagrams and capture images. They follow the rules in STYLE-GUIDE.md.

The skills are plain Markdown files in plugin/skills. Claude Code and Codex install them as a plugin. Both plugins use the same files, so the skills do not drift apart.

Install in Claude Code

In Claude Code, run:

/plugin marketplace add MitchStares/driftless
/plugin install driftless@driftless

The plugin depends on two other plugins, so Claude Code installs them too:

Both install from their own repos, at the version that Driftless was tested with.

Install in Codex

Run:

codex plugin marketplace add MitchStares/driftless
codex plugin add driftless@driftless

Codex does not install plugin dependencies. Install drawio-design too, so that docs-diagram can draw:

codex plugin marketplace add MitchStares/drawio-design
codex plugin add drawio-design@mitchstares-skills

npm run prose runs the ste80-humanizer checker from the docs repo, so it works with no extra install.

Use another agent

AGENTS.md at the repo root tells any coding agent how the site works and which skill file to read for each task. Agents that read AGENTS.md, such as Cursor and GitHub Copilot, can use the skills with no install.

To install the skills into an agent’s own skills folder, run:

npx skills add MitchStares/driftless

Update

Claude Code does not update community plugins on its own. To get updates in Claude Code, do one of these:

  • In /plugin, go to Marketplaces, select driftless and turn on auto-update.
  • Run claude plugin update driftless@driftless.

In Codex, run codex plugin marketplace upgrade.

The Driftless repo checks the two upstream plugins each week. When one has a new version, a pull request moves the pin, and a new Driftless plugin version follows.

Skills

Skill Use it to
driftless-init Read an app’s code, propose the docs structure, and draft the first pages.
docs-update Draft docs for a product pull request, finish them after the merge, or run the weekly sweep.
docs-diagram Create or change a draw.io diagram that follows the theme.
docs-capture Capture screenshots and short clips from a running copy of the app.
ste80-humanizer Rewrite text in plain, clear English. npm run prose runs a copy of its checker.

Use them from the product repo

docs-update usually runs in the product repo, in the same session that built the feature. It reads .driftless.json at the product repo root to find the docs:

{ "docsPath": "docs-site" }

In-app, init writes this file. For a separate docs repo, add it yourself with the path to the docs repo, such as ../my-docs.

Then run /docs-update on the feature branch. In Codex, ask it to “run docs-update for this change”. It decides if the change needs docs. In-app, it commits the docs change to the same branch, before you open the pull request. With a separate repo, it drafts a docs pull request and links the two.