Issues
Skip to article

CLI command reference

Use the related skill below for guided work in chat. Names use Claude's / syntax; in Codex use $ or the skill picker. The CLI column is a secondary reference for technical users. “Ask your agent” means there is no dedicated skill for that operation. Skills run the same commands and preserve their review and trust requirements.

For terminal examples, run workspace commands from the workspace root. External projects and stack bundles are sibling directories; adjust their relative paths.

Run commands from your workspace or a subdirectory. From elsewhere, put tdt --workspace "." before the command. Use tdt --help and tdt COMMAND --help for options; nested commands also accept --help. Paths with spaces need shell quotes. Replace example IDs and hashes with actual values returned by inspection; a placeholder is never approval.

Skill or chat requestCLI commandPurpose
Ask your agent to initialize or refresh setuptdt init [PATH] --agent bothInitialize or refresh unchanged owned core files; omit PATH for the current directory. Select claude, codex, both or none.
/tdt-workspacetdt doctorCheck local layout, ownership and recovery state.
Ask your agent to enable or disable an integrationtdt agent enable codex / tdt agent disable codexAdd or remove that workspace-local host integration; also supports claude.
/tdt-constitutiontdt constitution showRead the current workspace policy and revision hash.
/tdt-review-braintdt brain candidates --status allInspect pending, approved and rejected proposals. Default is pending.
Ask your agent to inspect incomplete capture requeststdt brain requestsList incomplete capture requests.
/tdt-searchtdt brain search "query" --limit 10 --depth 1Retrieve current eligible notes with bounded links.
/tdt-search with a provider requesttdt brain providersList installed search providers without executing them.
/tdt-search with an explicit indexing requesttdt brain index --provider ID --rebuildExplicitly rebuild a selected provider index; omit rebuild to reconcile.
/tdt-search with the selected providertdt brain search "query" --provider IDSelect a provider for this query; repeat the option to combine rankings.
/tdt-add-projecttdt project add PATH / tdt project listRegister an external directory unchanged, or list registrations.
/tdt-add-projecttdt project inspect IDReread bounded onboarding evidence.
Ask your agent to validate only; also used by /tdt-install-stack and optional /tdt-stack-builder-createtdt stack validate PATHValidate a local bundle and inspect disclosures.
/tdt-install-stacktdt stack install PATHInstall a local bundle; catalog IDs also work when the registry is available.
/tdt-install-stack with an inspection-only requesttdt stack install ID --inspectDownload and verify a catalog release without installing.
/tdt-workspacetdt stack list / tdt stack docs IDInspect installed provenance or find a stack's local guides. Omit ID to list all guides.
/tdt-update-stacktdt stack update ID --checkInspect a newer replacement without changing workspace state.
/tdt-update-stack after reviewtdt stack update ID --approve HASHApply the exact inspected and user-approved replacement.
/tdt-remove-stacktdt stack remove IDUninstall owned stack runtime files, preserving brain knowledge; uninstall is an alias.
Ask your agent to recover an interrupted operationtdt stack recoverRecover an interrupted lifecycle, refresh or host-integration transaction.
/tdt-install-stacktdt marketplace search "query"Search the selected HTTPS registry; requires network access.
/tdt-find-skills for inventory; ask your agent for recoverytdt skill list / tdt skill recoverInspect skills/proposals or recover an interrupted user-skill save.
/tdt-uitdt ui read SESSION --after 0Read retained interview responses.
/tdt-uitdt ui close SESSION / tdt ui cleanup SESSIONStop the service, or delete retained session data.

Review and policy writes require an actual decision on displayed contents. Use brain, constitution and skills for proposal, hash and JSON-input details. Executable stack trust is separate from update approval: see stacks. For browser start, present, wait and acknowledgement commands, see UI.