Supacode cli
Control Supacode from the terminal. Use when running Supacode CLI commands, managing worktrees, tabs, and surfaces programmatically, or when inside a Supacode terminal session.From its SKILL.md
npx -y skills add 236sec/pi-config --skill supacode-cliAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.1 KB, 615 tokens by cl100k_base, as published. Nobody here has run it
Supacode CLI
Control Supacode from the terminal. The supacode command is available in all Supacode terminal sessions.
CRITICAL: ID Tracking
NEVER call supacode tab new or supacode surface split without capturing
the output. They print the new UUID to stdout. Without it you cannot target
the resource afterward.
NEVER omit -t/-s when targeting a created resource. The env vars point
to your own shell, not to anything you created.
For new tabs, surface ID = tab ID.
Correct:
TAB_ID=$(supacode tab new -i "npm start")
SPLIT_ID=$(supacode surface split -t "$TAB_ID" -s "$TAB_ID" -d v -i "npm test")
supacode surface close -t "$TAB_ID" -s "$SPLIT_ID"
supacode tab close -t "$TAB_ID"
WRONG:
supacode tab new -i "npm start" # BAD: not captured
supacode surface split -d v -i "test" # BAD: missing -t/-s, targets your shell
Commands
supacode worktree [list [-f]|focus|run [-c]|stop [-c]|script list|archive|unarchive|delete|pin|unpin] [-w <id>]supacode tab [list [-w] [-f]|focus|new|close] [-w <id>] [-t <id>] [-i <cmd>] [-n <uuid>]supacode surface [list [-w] [-t] [-f]|focus|split|close] [-w <id>] [-t <id>] [-s <id>] [-i <cmd>] [-d h|v] [-n <uuid>]supacode repo [list | open <path> | worktree-new [-r <id>] [--branch] [--base] [--fetch] [--name] [--location]]supacode settings [<section>]supacode socket
list outputs one ID per line (percent-encoded for worktrees/repos, UUIDs for tabs/surfaces).
worktree script list outputs tab-separated <uuid>\t<kind>\t<displayName> rows; running scripts are ANSI-underlined.
Use these IDs directly as -w, -t, -s, -r, -c flag values.
Flags: -w (worktree), -t (tab), -s (surface), -r (repo), -c (script UUID for worktree run/stop), -i (input), -d (direction), -n (new ID).
Env var defaults only target your own shell session. Pass explicit IDs for created resources.