You connect Kiro to a mount with stash attach. The next session in that folder starts
with the mount: the steering, a digest of what it holds, and the stash tools.
Stash supports the Kiro v3 engine, kiro-cli chat --v3. Kiro v2 doesn’t read the hook
files, so Stash doesn’t capture its sessions.
Before you start
Section titled “Before you start”- A ready mount, and a running daemon.
attachnever starts one. See the Quickstart. kiroin theharnesseslist of the mount config:
harnesses = ["kiro"]Attach
Section titled “Attach”cd ~/src/checkout-servicestash attach opskiro-cli chat --v3attach writes these files in the folder:
| File | What Stash adds |
|---|---|
.kiro/hooks/strands-stash.json | The hooks. Stash owns this whole file. |
.kiro/steering/strands-stash.md | The steering block |
.kiro/settings/mcp.json | The stash MCP server |
A global attach writes the same files under ~/.kiro/.
Kiro gets two hooks, SessionStart and Stop. Kiro drops the output of a tool hook, so
Stash asks for notes at the end of a turn instead.
Save notes without a prompt
Section titled “Save notes without a prompt”Kiro asks before each stash note save, unless ~/.kiro/settings/permissions.yaml has a
rule for it. attach prints the rule to add.
Avoid duplicate tools
Section titled “Avoid duplicate tools”When Kiro also runs one of the mount’s MCP servers itself, the agent sees each tool twice.
attach names each such server. Set "disabled": true on the Kiro copy.
Check it
Section titled “Check it”stash status opsThe Workspaces section lists the folder with [kiro]. A mount gets turns only from
the time of the attach.
Next steps
Section titled “Next steps”- Attachment modes: MCP mode or CLI mode, and what the steering and the hooks do.
- Troubleshoot: when the agent has no
stashtools.