Skip to content

Scratch

Scratch is an agent you can ask from anywhere, away from your projects. It lives in its own small window, one for the whole app, that stays above Drakkar’s windows. Use it for a quick question, or to change things that belong to no single project: automations, connections, flows, and the backlog of any project.

The Scratch window: in its header the Scratch name, the machine button This Mac and a green dot on the left, New session with an arrow and + New on the right; below, Claude Code answers what HTTP 422 means in one sentence, and its input line waits for the next question
Scratch on This Mac. The header holds the machine, the agent's status, the list of sessions and New.

Open Scratch in any of these ways:

  • Press ⌘J (Show or hide Scratch).
  • Click the Scratch button at the bottom of the rail on the left of a project window.
  • Choose View › Scratch.

The window comes forward with the keyboard in the agent’s terminal. The first time, the agent starts; after that it carries on where it was, after a relaunch of Drakkar too.

⌘J works in steps: when Scratch is hidden, it shows it; when it is shown but another window has the keyboard, it gives Scratch the keyboard; when Scratch has the keyboard, it hides it. The rail button is a plain switch: it hides a shown window and shows a hidden one.

The red button and ⌘W only hide the window. The agent goes on working, and the window comes back where you left it, at the size you gave it.

While Drakkar is in front, Scratch stays above the project windows and Welcome, so you can type in a project and keep an eye on it. Settings, file pickers and other apps go over it as over any window.

While the window is hidden, the rail button shows the agent’s status dot. When the agent finishes, needs you or fails out of sight, the button gets a ring, and Drakkar shows a notice with Open Scratch; see Notifications.

The name in the header is the current session: New session until the agent names it. Click it for the list of sessions, newest first, each with its date; the current one is ticked. Pick one to resume it, in the folder it started in. A list with nothing else in it says No earlier sessions.

Click New to start a fresh session. The current one stays in the list. New is grey while the current session has nothing in it yet.

If the agent is working, Drakkar asks first, because it stops: Start a new session? with Start new, or Resume another session? with Resume. The session you leave stays in the list either way.

When the agent exits, for example after /exit, its last output stays and the strip under it offers New session (↵) and Resume.

Once you have connected a server, the header shows a machine button after the name, such as This Mac. Click it to pick the machine where new sessions start. A server that doesn’t answer is grey, with a note such as offline since 14:02.

If the agent is working, Drakkar asks first, for example Start a new session on dev-1? with Start on dev-1. The session it stops stays in the list, and you can resume it on its own machine. Sessions of a server are marked with the server’s name in the list; while that server is offline, they can’t be resumed.

Drakkar remembers the machine you picked last. If the agent can’t start on the server, for example because its Claude sign-in expired, the window says claude can't start on dev-1 and offers Sign in again… and Use This Mac. More on servers is in Servers.

Scratch belongs to no project, so its agent has no workspaces: it can’t create, merge or set up workspaces. It gets the rest of Drakkar tools for agents, and names the project or flow each time:

  • Backlog: read and change the backlog of any project. It can’t put a task in progress, since it works in no project.
  • Automations: list, create, change and run the automations of every project on the machine it runs on.
  • Connections: add and change connections. It sees every connection, but calls only the ones bound to Scratch.
  • Flows: change any flow.

Changes it makes to automations and connections wait for your Allow, as they do for any agent.

A connection reaches the Scratch agent only when you bind it to Scratch: in Settings › Connections, click Change next to Bound to and tick Scratch in BOUND TO. See Bind it to projects. A plain secret bound to Scratch is in the agent’s environment from its next start.

Open Settings › Scratch. The settings apply to new sessions.

  • Folder: the folder the agent starts in. By default it is scratch in Drakkar’s data folder, ~/Library/Application Support/Drakkar/scratch. Click Change… to pick another, and Use default to go back. Put rules and skills for the Scratch agent in this folder: its CLAUDE.md and .claude/skills. Earlier sessions keep the folder they started in.
  • Permission mode: how freely the agent acts. It applies to every start, resumed sessions too.
Mode What it does
Manual Asks before edits and commands. The default.
Accept edits Edits files and runs common file commands without asking; asks before other commands.
Auto A safety check reviews each action and blocks risky ones. Needs a supported model and plan.
Don’t ask Never asks. Anything not already allowed is refused.
Plan Reads and proposes changes; edits nothing until you approve.
Bypass permissions Skips prompts and safety checks.

Every other preference is in Settings, and every key in Keyboard shortcuts.