do-it is a cross-host workflow bundle for agentic software delivery. It
packages the operating habits that keep AI-assisted work useful: route the task,
inspect the current truth, plan only as much as the risk requires, implement in
bounded slices, review the result, fix findings, and make completion claims only
after fresh verification.
Two install targets are first-class as of 0.4.0:
- Codex (
do-it install— default): copies skills to~/.codex/skillsand TOML agents to~/.codex/agents. - Claude Code (
do-it install --target=claude, or via plugin marketplace): copies skills to~/.claude/skills, Markdown agents to~/.claude/agents, and wires hook scripts so the workflow auto-triggers without slash commands.
Both targets use the same skills/do-it/*/SKILL.md and agents/*.toml source.
- A three-tier routing model for
Light,Standard, andHeavywork. - do-it-native skills for planning, slicing, pressure testing, implementation, TDD, debugging, review, fix loops, verification, worktree isolation, branch closeout, visual planning, and skill authoring.
- Portable Codex agent definitions for mapping, planning challenge, correctness review, architecture review, red-team review, spec compliance, domain language checks, install/release review, documentation, testing, and specialist drills.
- Copy-based installer and doctor commands that validate the managed Codex home
entries against
manifest.json. - A release surface that works from a local checkout, a packed tarball, a GitHub repository, or the npm registry.
do-it uses a small routing matrix instead of one fixed process for every task:
Lightwork is for small documentation edits, mechanical fixes, and narrow command checks. It normally stays local and ends with targeted verification.Standardwork is the default for ordinary implementation, bug fixes, refactors, and bounded policy updates. It uses a modification map, focused implementation, verification, and review when risk justifies it.Heavywork is for waves, phases, public interfaces, architecture shifts, release work, or high-risk changes. The parent agent owns the plan, slice boundaries, review stack, fix loop, re-review, and closeout evidence.
See docs/routing-matrix.md for the full policy.
Install the CLI globally, then run setup:
npm install -g @tdwhere/do-it
do-it setupdo-it setup runs do-it install followed by do-it doctor.
do-it installcopies the managed skills and agents intoCODEX_HOME.do-it doctorchecks that the installed files and install state match the package manifest.CODEX_HOMEdefaults to~/.codex.
Use a temporary Codex home when testing an install:
CODEX_HOME=/tmp/do-it-codex-test do-it setupThe installer will not silently replace user-owned skill or agent files. If it
finds a target that is not already marked as do-it-managed, it stops. Set
DO_IT_FORCE=1 only when you intentionally want the package to replace those
targets.
do-it ships as a Claude Code plugin. Install via the plugin marketplace:
/plugin marketplace add tdwhere123/codex-workflow
/plugin install do-it
Or via the CLI (when not using marketplace):
do-it install --target=claude
do-it doctor --target=claudeThe Claude target installs to ~/.claude/ by default; override with
CLAUDE_PLUGIN_ROOT_OVERRIDE. Optional skills (e.g. do-it-visual-planning)
are excluded by default — opt in with --with-optional.
The Claude target wires three hooks so the workflow shows up automatically:
UserPromptSubmit→do-it-router(Light/Standard/Heavy classification) anddo-it-grill(premise pressure-test)PreToolUse(Edit|Write)→ grill plan-card and src-edit gatesStop→do-it-verification-gate(block completion claims without evidence)
There are no slash commands to remember. To bypass for one turn, include
yolo, 直接做, skip grill, or /do-it-skip in the prompt.
For a GitHub-hosted package:
npm install -g github:OWNER/codex-workflow
do-it setupFor a packed release artifact:
npm pack
npm install -g ./tdwhere-do-it-0.3.0.tgz
do-it setupFrom a checkout, use the package entrypoint:
npm exec --package . -- do-it setup
npm exec --package . -- do-it install
npm exec --package . -- do-it doctorEquivalent package scripts are also available:
npm run setup
npm run install:do-it
npm run doctor
npm run do-it -- doctorThe shell wrappers remain for direct installer testing and delegate to the same managed install behavior:
./install/install.sh
./install/doctor.shThis package does not use npm lifecycle scripts to modify ~/.codex.
Installation into Codex happens only when the operator runs do-it setup or
do-it install.
agents/ Portable Codex agent TOML definitions
bin/ The global do-it CLI entrypoint
docs/ Routing, maintenance, origin map, and release notes
install/ Installer, doctor, and shell wrapper entrypoints
skills/custom/ Local skill examples that are not installed by default
skills/do-it/ Installed do-it-native skill directories
manifest.json Install inventory and target paths
package.json npm package metadata and CLI scripts
The private .do-it/ directory is for local plans, notes, and scratch
artifacts. It is ignored by Git and is not installed.
Use docs/maintenance.md when changing skills, agents, installer behavior, or package metadata. In short:
- Edit the maintained repository copy.
- Update
manifest.jsonwhen install inventory changes. - Keep
docs/routing-matrix.mdaligned with routing or closeout policy changes. - Verify with a temporary
CODEX_HOME. - Publish only after the packed package contains the expected files.
Useful release checks:
npm pack --dry-run
CODEX_HOME=/tmp/do-it-codex-test npm exec --package . -- do-it setup
CODEX_HOME=/tmp/do-it-codex-test npm exec --package . -- do-it doctordo-it absorbs and rewrites useful workflow ideas from the Superpowers skill
ecosystem into a Codex-first package. The public names, routing model, installer,
and closeout policy are maintained here as do-it-native source.