Flows
A flow is how the agent works in a project: what it always keeps in mind, what skills it can load, who it hands work to, and what must pass before it finishes. A flow is a list of lines. Drakkar gives them to the agent as a plugin and as checks on its hooks, so you write each rule or check once and every agent in the project follows it.
Open Flows
Section titled “Open Flows”Open Settings › Flows. The flow select at the top right shows the flow you are looking at. On the left is its tree: sets with their lines, imported plugins, then the lines in no set, and + Add at the bottom. On the right is what you selected.

Which flow a project uses
Section titled “Which flow a project uses”- The default flow, marked ★ and called Default at first, reaches every project.
- A project can add one flow of its own to the default. Its agent follows both.
To choose which projects add a flow, pick the flow and choose Projects… in the flow select’s menu. Tick a project to add this flow to it. In the default flow’s list, a tick takes a project’s own flow away from it.
The same menu has New flow, Import…, and for the flow on show Duplicate, Rename…, Set as default, Export as Claude plugin… and Delete…. Deleting a flow sends its projects back to the default flow; its files stay in the history.
Add a line
Section titled “Add a line”Click + Add at the bottom of the tree and choose a kind:
| Kind | What it does |
|---|---|
| Rule | Text the agent has in context from the start of every session. |
| Rule when it fits | Text the agent reads when the task fits what you write in Fits when. |
| Skill | Instructions the agent loads when Loads when fits. It can hold files beside its SKILL.md. In the session it is drakkar:<name>. |
| Role | A helper agent the agent hands work to: Call it for says when, Model is Same as main, Opus, Sonnet or Haiku, Access is Read only or Can edit. |
| Command when it finishes | A shell command that runs when a role finishes; When picks the role, such as When Reviewer finishes. If it fails, the role gets the output and keeps working. It needs a role: until the flow has one, + Add shows it greyed, with add a role first. |
| Check before tool | A shell command or a reminder Before, After or After a failure of the tools in Tools (empty: every tool). The tool call comes on stdin as JSON; exit 1 stops the agent. |
| Check before finishing | Runs when the agent wants to stop, When files changed or on Every reply. Does: a Command whose failure the agent gets back and keeps working on, Hand to a role to look at the changed files, or a Reminder. |
| Command on each message | A shell command that runs when you send a message; what it prints is added to your message for the agent. |
| Hook | Any Claude Code event with a hook in JSON, passed to Claude Code as it is. |
The line’s name and its About, what it does in one line, head the right side: click them to edit. Write its text in the editor; prose has a Markdown preview. Commands and checks have a Time limit in seconds; one that runs over it is stopped. Commands run in the tab’s folder.
The tick before a line turns it on or off. Right-click a line for Rename, Duplicate (⌘D), Reveal in Finder and Delete; Undo in the notice brings a deleted line back.
Rules, skills and roles reach agents that start after you change them. A check you turn off stops at once.
A set groups lines so you turn them on and off together. Choose Set in + Add, name it, and add lines with Add to in the set’s menu, or pick the set in a line’s Set. Lines of a set that is off have a grey tick and do nothing.
Right-click a set for Rename, Add to, Export as Claude plugin…, Delete set (its lines stay) and Delete set and its lines….
A line that runs something waits for your Allow before it does: a check, a command, a hook, a skill that runs a command as it loads or has an executable file. So does any line an agent added or changed, one imported from ~/.claude, and one changed outside Drakkar. Its tick stays empty until then.
Select the line: a yellow box says why it waits and what it runs. Read it and click Allow. A short command can also be allowed from its notice.
Agents change flows
Section titled “Agents change flows”Ask an agent to change how it works (“add a rule: run the tests before you finish”) and it edits the flow. Drakkar shows a notice with Show and Undo. Anything that runs something waits for your Allow. Only you pick a project’s flow, the default flow and which sets are on.
History, import and export
Section titled “History, import and export”- History ▾ under a line lists its earlier versions, by you, by the agent or changed outside; pick one to bring it back. A line keeps 20 versions.
- Import… in the flow select’s menu adds a Claude plugin from a folder… (read only here), a Claude plugin from git… (a repository URL or
owner/repo; Update pulls it again), or Agents and skills from ~/.claude…, where you pick which become roles and skills; the originals stay. A plugin with hooks or commands waits for Allow. - Export as Claude plugin… writes the flow or a set as a Claude plugin folder that works without Drakkar.
Settings
Section titled “Settings”- Settings › Notifications › An agent changes the project: how agents’ changes to flows notify you.
- Settings › Scratch: the agent in Scratch can change flows too.