CLI commands
The binary is tapplack. This page lists the commands, their options, and what they do.
Synopsis
Section titled “Synopsis”tapplack interactive sessiontapplack <task...> one-shot tasktapplack start [task...] one-shot task, or the REPLtapplack config [subcommand] global JSON configurationtapplack skills [subcommand] third-party skillstapplack status provider routing and readinesstapplack doctor runtime diagnosticstapplack help command helptapplack version print the versionAn argument that does not match a command and does not start with - is treated as a one-shot
task. Arguments starting with - are options; put a dash-leading task after start --.
Global options
Section titled “Global options”| Option | Effect |
|---|---|
--help, -h |
Print help and exit. |
--version, -v |
Print the version and exit. |
--force |
Bypass the intent gate. |
tapplack
Section titled “tapplack”With no arguments, opens the interactive session. Equivalent to tapplack start with no task.
Inside the session, slash commands take over — see Slash commands.
tapplack start
Section titled “tapplack start”tapplack start # interactivetapplack start "task text" # one-shottapplack start --force "task text" # skip the intent gatetapplack start --status # print routing, then exittapplack start --doctor # print diagnostics, then exittapplack start --help # start-specific help| Option | Effect |
|---|---|
--force |
Skip the intent classifier and run the workflow. |
--status |
Print provider routing and exit. |
--doctor |
Print routing plus runtime diagnostics and exit. |
--help, -h |
Print start help. |
-- |
Stop option parsing; the rest is task text, even if it starts with -. |
--status and --doctor do not run a task even if text is also present.
tapplack config
Section titled “tapplack config”The cfg alias works too.
| Form | Effect |
|---|---|
tapplack config |
Interactive editor on a TTY; masked summary otherwise. |
tapplack config show |
Print a masked summary. |
tapplack config path |
Print the active config path. |
tapplack config init [--force] |
Create, or reset with --force. |
tapplack config edit |
Open the file in $EDITOR / Notepad. |
tapplack config get <key> |
Read one dotted key (masked). |
tapplack config set <key> <value> |
Update one dotted key. |
tapplack config key <provider> [key] |
Set a provider key (masked input). |
tapplack config model <target> [model] |
Set a provider or agent model. |
tapplack config provider <agent> [id] |
Set an agent’s primary provider. |
tapplack config workspace [path] |
Show or set the workspace path. |
tapplack config skill <subcommand> |
Proxy to tapplack skills. |
--help prints the full config help, including examples.
Dotted keys
Section titled “Dotted keys”get and set use dot paths into the JSON:
tapplack config get agents.assistanttapplack config set mode multitapplack config set workflowOrder ceo,cto,senior_engineer,qa_reviewertapplack config set agents.assistant.fallback anthropic,openrouter,ollamatapplack config set runtime.maxToolRounds 12Comma-separated values become arrays where the schema expects them. Values are validated; unknown providers, tools, modes, and log levels are rejected.
config model targets
Section titled “config model targets”The target is either a provider id or an agent id:
tapplack config model gemini gemini-2.5-pro # provider default modeltapplack config model assistant gpt-4.1-mini # one agent's modelAmbiguity is resolved by checking the provider list first, then agent ids.
tapplack skills
Section titled “tapplack skills”The skill alias works too.
| Form | Effect |
|---|---|
tapplack skills |
List skills and agent bindings. |
tapplack skills show <id> |
Print a skill’s instructions. |
tapplack skills attach <agent> <id> |
Pin a skill to an agent. |
tapplack skills detach <agent> <id> |
Remove a pin. |
tapplack skills mode <agent> <mode> |
Set off, manual, or auto. |
tapplack skills add <id> --path <p> |
Register a file or directory. |
tapplack skills add <id> --instructions "..." |
Register inline. |
tapplack skills remove <id> |
Delete a declared skill. |
tapplack skills help |
Usage. |
See Skills.
tapplack status
Section titled “tapplack status”Prints the session banner, the active agents and their provider chains, and readiness. A provider
with no key is marked. tapplack status is a fast check; tapplack doctor adds paths and limits.
tapplack doctor
Section titled “tapplack doctor”Prints everything status does plus:
- the config path,
- workspace and runs directories,
- runtime limits,
- error-log location.
Use it first when something is wrong. See Troubleshooting.
tapplack help
Section titled “tapplack help”Prints the command center help: commands, the intent gate, mode, agents, skills, config path, and the environment precedence note.
tapplack version
Section titled “tapplack version”Prints tapplack <version>.
Exit behavior
Section titled “Exit behavior”| Situation | Exit code |
|---|---|
| Success | 0 |
| One-shot run failed | 1 |
| Fatal startup error (bad config, missing value) | Non-zero |
Interactive session ended with /exit |
0 |
A one-shot run that is aborted still writes partial artifacts and sets a non-zero exit code.
Environment
Section titled “Environment”The CLI reads settings from environment variables first, then ~/.tapplack/config.json. It does
not load .env files automatically. See Environment variables.
Examples
Section titled “Examples”# First-time setuptapplack config key geminitapplack doctor
# One-shot worktapplack start "add input validation to src/cli/args.ts"tapplack --force "write a README for workspace"
# Configtapplack config set mode multitapplack config set agents.senior_engineer.autoApply falsetapplack config show
# Skillstapplack skills add pdf --path ~/.tapplack/skills/pdftapplack skills attach assistant pdftapplack skills mode assistant manual- Slash commands — the in-session commands.
- Config file — the schema.
- Environment variables — the overrides.