-
-
Home page: Kiro CLI and Kiro Crew, drawers for prompts, Git, specs, rec, sessions and stats, plus one-press voice, screenshots, ask kiro.
-
While Kiro works, kiro flees a pumpkin across the whole deck. Kiro CLI, Kiro Crew, Sessions and Stop stay live for you to use.
-
Read your context at a glance: the scene goes from normal to worried to on fire as the Kiro session's context window fills up.
-
Kiro CLI: Dictate prompt, open new session, change model, create a tangent, compact prompt, start a new session.
-
Kiro Crew: Open, stop or start a Crew Session and Approval notifications
-
Snippets and Rec: one-press prompt qualifiers, Struct to rewrite your prompt, and screen or iPhone recordings pasted into the chat.
-
Sessions and Stats: new, next, previous, close and find in chat, plus live context, media, credits and model of your Kiro session.
-
Kiro Ops: explain, fix, refactor, test, review or document the open file in one press. Kiro gets the file and the prompt.
-
Git and Specs: one-press prompts for commit, review, PR description and conflicts, plus start, update, check and generate a spec.
A Halloween-themed Stream Deck MK.2 control panel built for Kiro, on macOS. Kiroween 2026, Costume Contest.

While Kiro works, Kiro flees a pumpkin across the whole deck.
Inspiration
Kiro works for minutes at a time. While it works, my hands leave the keyboard and my eyes go hunting: is it still running, is it waiting for me, which of the five open chats needs an approval? That context-switching is where focus leaks away.
It started with screenshots. I was sending Kiro screenshots all day, and every one cost me a capture, a file, a drag and a paste. I wanted that to be one button press. That idea grew from there:
- Screenshot came first. Screen Rec followed, because a few frames from a video are often more useful than one still.
- Phone Rec came from a VR project. I wanted to film the world around me with my iPhone and hand it to Kiro as context.
- Snippets came from the sentences I type over and over. One press instead of retyping them.
- Ask Kiro came from notes I collected in other apps. I needed a way to gather them and send them to Kiro in one go.
So the rule behind PhantomDeck is simple: whatever I use most while working with Kiro should be one press away.
The working animation came from a different annoyance. Kiro rarely warns you when a session is getting full. In my own tests, after about 101 images in a single session I simply could not attach any more, and nothing told me why. I wanted to see that wall coming, so the ghost now changes mood as the context fills up and as the image count grows.
A Stream Deck already sat on my desk, so I turned it into a haunted control panel for Kiro IDE, Kiro CLI and Kiro Crew on 15 keys.
It is for a developer on a Mac who uses any of the three. You install it in one click, and from then on the deck shows what Kiro is doing and puts your most-used actions one press away.
What it does
The 15 keys are a home page of drawers plus a set of one-press actions. BACK is always at the top-left of every drawer.

The home page: Kiro CLI and Kiro Crew openers, drawers for Snippets, Kiro Ops, Git, Specs, Rec, Sessions and Stats, and one-press keys for Voice, Term to Chat, Go!, Ask Kiro and Screenshot. Stop sits in the corner, live while Kiro works.
A haunted working screen. While a Kiro IDE turn runs, the whole deck becomes a scene: a ghost flees a pumpkin across all 15 keys. The mood follows the session, from normal to worried to on fire as the context window fills up, read from Kiro's own session logs. Kiro CLI, Kiro Crew, Sessions and Stop stay live so you can keep working.
Approval alerts that take you there. The Kiro CLI, Kiro Crew and Sessions keys breathe when a session is waiting for a tool approval. Press Sessions and the deck jumps straight to the Kiro IDE tab that is waiting. You answer in Kiro; the deck never approves for you.
Kiro CLI drawer

Live cards for the kiro-cli sessions you run in iTerm2 or Terminal.app. Press a card to focus its tab or resume a past session, hold a working card to stop the turn. Voice, Model, Compact and Tangent type only fixed commands into the verified tab.

The Model sub-drawer lists the models from --list-models, with their rate, and switches in one press.
Kiro Crew drawer

Your active Kiro Crew sessions, each with its date and state. Press a card to open it in the Kiro Crew app, hold to stop a running turn, or start a new session. The key breathes when a Crew session waits for approval.
Sessions and Stats

Sessions: new session, previous and next tab, close and find in chat. While a Kiro IDE approval waits, pressing Sessions jumps to that tab.

Stats shows the context use, media count, credits and model of the current Kiro session at a glance.
Kiro Ops

Explain, fix a bug, refactor, write tests, optimize, review, document, simplify or criticize the open file. Each key attaches the file open in Kiro's editor and sends the prompt in one press.
Snippets and Rec

Snippets insert prompt qualifiers (Be Honest, Keep Short, No Tests, and more). Struct, set apart from them, rewrites your prompt instead of just inserting text.

Rec records your screen or an iPhone video and pastes it into the Kiro chat as frames.
Git and Specs

Git: commit, review changes, PR description, resolve conflicts, status, diff and log, all sent as prompts.

Specs: start a spec, understand the workspace, next task, update spec, check done, bugfix spec and generate spec.
Capture and input keys (Screenshot, Voice, Term to Chat, Ask Kiro) paste straight into the Kiro chat, and every paste restores your clipboard.
How we built it
PhantomDeck is TypeScript in an npm workspace: a device-agnostic core, a Stream Deck surface, and a Kiro CLI drawer package. The deck learns what Kiro is doing by reading Kiro's own signals, not by driving it. It runs a loopback hook server for the UserPromptSubmit and Stop hooks and watches the session logs under ~/.kiro/sessions. For Kiro CLI it reads the session leases and matches terminal tabs by tty, and for Kiro Crew it polls the local Gateway. In your terminal it types only a few fixed, verified commands, never prompt text.
Built with Kiro
We built PhantomDeck in Kiro IDE and used Kiro across the whole process.
Kiro IDE, CLI and Crew as targets. The product integrates all three. We built it in Kiro IDE, and we probed the Kiro CLI with Kiro before designing the CLI integration, which is how we found its
acpmode and ruled out approaches that could not answer approvals.Spec-driven development. Three specs drove the work:
phantomdeck-core,phantomdeck-cliandcrew-sessions-drawer. The core and CLI specs ran requirements, then design, then tasks, with an approval between phases. The Crew spec used Quick Spec: all three documents in one pass, then a review. Requirements were written in EARS, and the core design turned 32 requirements into spikes and owner decisions before any task existed. The CLI tasks were cut to one task per button, and every drawer was checked on the real deck. Three bugfix specs (Stop animation, Phone Rec video, Ask Kiro button) covered the larger bugs. For small fixes we used a fix-mode flow that records any deviation indocs/spec-deviations.mdand folds it back into the spec at phase checkpoints. Spec-driven work made the hard parts (the router state machine, the scene scheduler) decidable up front, where vibe coding would have left them to discover mid-build.Steering docs. The
.kiro/steeringfiles encoded product and tech decisions so every session applied them automatically. One concrete win: a rule thatcoremust never reference the CLI or Crew, enforced by a hygiene scan, kept the device-agnostic core clean even when later features needed new seams. Another kept Stop honest: it never claims to cancel a Kiro IDE turn, because a steering note recorded that no shortcut reliably cancels one.Agent hooks. The
UserPromptSubmitandStophooks drive the working screen: working on submit, idle on stop. The plugin installs and updates the hook file itself on start, so one-click install needs no manual setup.Property-based testing. We used fast-check for the pure logic: drawer and router state, card ordering, the stop-gesture cooldown and the approval counting. For the Crew card order we wrote the property first so it failed on the old code, then changed the ordering to make it pass. On the Stop animation, a bug-condition exploration suite run against the unfixed code exposed three real bugs, and generated preservation properties pinned the behaviour we had to keep.
MCP. A development-only MCP server (
tools/deck-capture-mcp) captures the Stream Deck app window on demand. Kiro used it to see the deck app while we built, for example to check which profile and keys were loaded. It is a build tool, not a product feature.Kiro powers. Context7 gave us the current fast-check and MCP SDK APIs before we wrote against them, so the capture server worked on its first run. Markdownlint kept the README and docs clean.
Sub-agents. We created no custom agents. In Kiro IDE we dispatched work to Kiro's built-in spec agents (Quick Spec for the Crew spec, task execution for its tasks) and to Kiro Crew's own
kirocrew-workeragent, which handled fixes, the security review, documentation and release work.
What surprised us
- Our own steering was wrong about Kiro. Spikes on Kiro 1.4.86 showed that Cmd+L attaches no file, Cmd+Shift+L opens a new session, and the
.kiro.hookformat never fires while v1.jsonhooks do. We corrected the steering before writing any feature code. - Spec sessions send no submit hook. The working screen never appeared for them. The session store showed that every IDE session writes
turn_startandturn_end, so we added a turn watcher as a fallback. - Kiro CLI has a hidden
acpmode. Probing the CLI with Kiro found it, and just as useful, ruled out parsing stdout, which cannot answer approvals. - Kiro Crew removes a helper session's log within milliseconds of the turn ending, which left the deck stuck on the working screen. We now end a tracked turn when its log vanishes.
- Kiro could look at its own work. Through the capture MCP, Kiro read the Stream Deck app window and told us which profile was loaded and that no PhantomDeck keys were there yet.
The last full test run we recorded, for the Phase 2 acceptance on 2026-11-18, passed 1825 tests across 182 files.
Challenges we ran into
- Watching without driving. Kiro gives no single "what are you doing" API, so the deck stitches together hooks, session-log reads and process leases. Spec sessions send no submit hook, so a turn watcher reads
turn_start/turn_endas a fallback. - A stuck working screen. Kiro Crew runs a short helper session per turn and deletes its log about 40 ms after writing
turn_end, before any 2-second poll can read it, so the deck stayed on the working screen. We fixed it by ending a tracked turn when its log vanishes, and then excluded Kiro Crew turns from the IDE working screen entirely. - Driving the CLI safely. Typing into a terminal is risky, so the deck sends only fixed slash commands and a single Ctrl+C, and only after verifying the frontmost app and the tab's tty match a live
kiro-clilease. - No reliable way to open a specific IDE chat. Kiro exposes no command to focus a session by id, so the Sessions jump reads the open-tab order from the workspace state and steps Next/Previous Tab, checking after each press that it landed on the right tab.
Accomplishments that we're proud of
- Three Kiro apps on one deck, with a consistent, polished Halloween look rather than a proof of concept.
- A working screen that reads real session health and turns it into a full-deck scene.
- Approval alerts that do not just blink but take you to the exact session that is waiting.
- One-click install: the plugin ships its own 15-key profile and sets up the Kiro hook on first start, with no extra app or background service.
- A clean, device-agnostic core, kept free of surface-specific code by a steering rule and a hygiene scan.
What we learned
- Reading an agent's own logs and hooks is more robust than trying to control it. The deck stays useful even when Kiro changes, because it never pretends to do what it cannot.
- Writing a property test first, so it fails, is the fastest way to pin down an ordering or state rule before touching the code.
- Steering rules pay off most late in a project: the constraints we wrote on day one are what kept the core clean once the feature set grew.
- Physical feedback changes how it feels to wait on an agent. A glance at the deck replaces a window hunt.
What's next for PhantomDeck
- Add more Stream Deck layouts (XL, Mini) beyond the 15-key MK.2.
- Finish the Elgato Marketplace review and publish there.
- Explore other programmable control surfaces, starting with the Logitech MX Keypad through the Logi Actions SDK. The device-agnostic core would be reused, and the key layout and surface code would be rewritten for a 9-key grid.
Built With
- applescript
- elgato-stream-deck
- fast-check
- ffmpeg
- http
- jxa
- kiro
- kiro-cli
- kiro-crew
- kiro-ide
- macos
- model-context-protocol
- node.js
- property-based-testing
- rollup
- sharp
- stream-deck-sdk
- streamdeck
- typescript
- vitest
- websocket
