Skip to content

CLI commands

The binary is tapplack. This page lists the commands, their options, and what they do.

tapplack interactive session
tapplack <task...> one-shot task
tapplack start [task...] one-shot task, or the REPL
tapplack config [subcommand] global JSON configuration
tapplack skills [subcommand] third-party skills
tapplack status provider routing and readiness
tapplack doctor runtime diagnostics
tapplack help command help
tapplack version print the version

An 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 --.

Option Effect
--help, -h Print help and exit.
--version, -v Print the version and exit.
--force Bypass the intent gate.

With no arguments, opens the interactive session. Equivalent to tapplack start with no task.

Inside the session, slash commands take over — see Slash commands.

Terminal window
tapplack start # interactive
tapplack start "task text" # one-shot
tapplack start --force "task text" # skip the intent gate
tapplack start --status # print routing, then exit
tapplack start --doctor # print diagnostics, then exit
tapplack 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.

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.

get and set use dot paths into the JSON:

Terminal window
tapplack config get agents.assistant
tapplack config set mode multi
tapplack config set workflowOrder ceo,cto,senior_engineer,qa_reviewer
tapplack config set agents.assistant.fallback anthropic,openrouter,ollama
tapplack config set runtime.maxToolRounds 12

Comma-separated values become arrays where the schema expects them. Values are validated; unknown providers, tools, modes, and log levels are rejected.

The target is either a provider id or an agent id:

Terminal window
tapplack config model gemini gemini-2.5-pro # provider default model
tapplack config model assistant gpt-4.1-mini # one agent's model

Ambiguity is resolved by checking the provider list first, then agent ids.

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.

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.

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.

Prints the command center help: commands, the intent gate, mode, agents, skills, config path, and the environment precedence note.

Prints tapplack <version>.

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.

The CLI reads settings from environment variables first, then ~/.tapplack/config.json. It does not load .env files automatically. See Environment variables.

Terminal window
# First-time setup
tapplack config key gemini
tapplack doctor
# One-shot work
tapplack start "add input validation to src/cli/args.ts"
tapplack --force "write a README for workspace"
# Config
tapplack config set mode multi
tapplack config set agents.senior_engineer.autoApply false
tapplack config show
# Skills
tapplack skills add pdf --path ~/.tapplack/skills/pdf
tapplack skills attach assistant pdf
tapplack skills mode assistant manual