Skip to content

Mr. Paperclip CLI

Mr. Paperclip (local LLM) in the Agents + menu runs a coding agent built into KryoDesk. It is the same binary as the app, started as:

kryodesk spinacz [--session-id <uuid> | --resume <uuid>] [--base-url <url>] [--model <id>]
Option What it does
--session-id <uuid> Starts a new session with this id (the Agents window passes one).
--resume <uuid> Continues a saved session.
(none) New session with a random id.
--base-url <url> OpenAI-compatible API instead of the one in the assistant settings.
--model <id> Model instead of the one in the assistant settings.

The working folder is the current directory (the project). API address, model, TLS check and timeout come from assistant.json (Settings → AI & Agents → Assistant). The API key of the assistant is not used.

Each needs y; anything else stops ([y/N]):

  • the conversation went to another address than the settings point to now;
  • the session is open in another Mr. Paperclip process (the one that saves last overwrites the other’s conversation);
  • the model is not on this computer: the server gets file contents, search results and command output of the folder; the line says whether it is plain HTTP or HTTPS and whether the certificate is verified.

For list_dir, read_file, search, write_file and edit_file, paths are resolved against the project folder with symlinks followed; anything that ends up outside the folder is refused. run_command is not confined to the folder: the command runs with your user’s rights.

Tool Asks first Limits
list_dir no 500 entries
read_file no 4 MB
search no files up to 2 MB, 200 matches
git no status --short --branch, diff --no-color --no-ext-diff --no-textconv, log, show
write_file, edit_file yes —
run_command yes $SHELL -c <command> (default /bin/zsh) in the folder, stdin closed, own process group, timeout 120 s (at most 600), output 256 KB

The prompt is Allow? [y]es / [a]ll … in this session / [n]o. Only y/yes and a/all allow; anything else, Ctrl+C or Ctrl+D is no. all stops asking for that kind (edits or commands) until the session ends.

A turn uses at most 40 tool rounds; then the model is asked to answer and say what is left. AGENTS.md and CLAUDE.md of the folder (up to 24 KB) are sent as project notes.

Text from the model, files and commands is printed with control characters made visible, so it cannot move the cursor or change the terminal.

Command What it does
/allow edits | commands | all | off Write files / run commands without asking, for this session.
/reasoning Shows or hides the model’s reasoning.
/log Shows or hides the HTTP log (DNS, status, timings).
/rename <title> Title in the Agents window.
/info Model, API, folder, session file, sizes.
/help The list above.
/exit Quits (also Ctrl+D).

Sessions are in spinacz-sessions/ in ~/Library/Application Support/pl.kryodesk/ (folder 0700, files 0600): <id>.json (conversation with tool results: file contents, command output) and <id>.meta.json. A running process writes live/<pid>.json with its state; the Agents window and the graph read it.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close