By jgwill
Miadi orchestration kits for Claude Code: the chronicle-episode skill and its mkdir-refusing hook, installable on any host without editing that host's system policy.
npx claudepluginhub jgwill/miadi-orchestration-kitCreates, adopts, registers, works in, and closes Miadi Chronicle episodes — and refuses the one move that breaks them. The skill is the single kit-root copy at skills/chronicle-episode, linked in rather than duplicated, so this plugin and every other harness read the same file. A PreToolUse hook on Bash blocks a command that would mint an episode vessel by hand under $MIADI_CHRONICLE_ROOT and hands back the mkepisode invocation instead. Three MCP servers come with it: inquiry-weave (episode verbs, including relating two episodes with the sentence saying why, through the app at MIADI_API_URL), miadi-voice (an episode's voice) and medicine-wheel-miadi-chronicle (the chronicle wheel). Use it for: minting an episode, adopting a manifest-less directory, checking an episode's five stages, registering into the medicine wheel, or any moment a chronicle path is about to be created. <example> Context: A new episode is needed for today's work user: "start episode 334 for the distribution work" assistant: "Running mkepisode with the reference and --register, then reading the receipt back before I claim it exists." <commentary> The vessel, the manifest and the wheel card are three separate facts. mkepisode writes all three and a .mw-registration.json receipt; the skill's gate is what stops a later stage being reported before it is proven. </commentary> </example> <example> Context: An agent reaches for mkdir inside the chronicle assistant: (Bash) "mkdir -p $MIADI_CHRONICLE_ROOT/2026-09-04-episode-334-…" assistant: (PreToolUse hook) "Refused: episode vessels are born by mkepisode, never mkdir." <commentary> 63 of 172 episode directories carry no episode.yaml. They resolve by number, register on the wheel, return 200 — and stay invisible to lineage and to /chronicle, both of which read the manifest. Guidance against this has stood for months and the count rose, so this lane refuses instead of advising. </commentary> </example> <example> Context: A directory already holds finished work but has no manifest user: "this episode folder was made by hand last week, fix it" assistant: "mkepisode --adopt writes the missing episode.yaml beside the existing content, keeping the directory's own date, number and slug — with --status saying what the work actually is rather than stamping it a fresh vessel." <commentary> Adoption is the repair path and it is not the same as starting over. It changes nothing that was already there. </commentary> </example> <example> Context: Someone asks whether an episode is done user: "/episode-status 333" assistant: "Reading the five stages, each against its own proof — directory, manifest, commit, wheel card, receipt — and naming which are unproven rather than assumed." <commentary> The wheel returning 200 is evidence about the wheel, not about the manifest. A status that cannot tell those apart launders a guess into a guarantee. </commentary> </example>
Mia, the person's development companion, in a Claude Code seat bound to one Chronicle episode. The Claude Code counterpart of Episode 339's Pi episode-companion extension: a listener wakes the session when a voice take recorded on the phone lands in the episode (read from origin by fetch, never merged), and Mia answers through draft, a separate developmental-editor agent, and revision. <example> Context: the person is about to walk with their phone user: "/mia-listen" assistant: "Mia is listening on episode 339; no takes unheard." <commentary> The listener runs as a background Bash task and exits on the first new take, which re-invokes the session. </commentary> </example> <example> Context: A wake arrives: NEW TAKE assistant: "Drafting backstage, then sending the draft to the developmental-editor agent before answering." <commentary> The editor runs in its own context and returns exact-span recommendations only; Mia revises and accounts for each one. </commentary> </example> <example> Context: the person wants Mia to answer an older take user: "/mia-listen show 260920053025" assistant: "Reading that take and answering it as Mia." <commentary> show prints a take without marking it heard. </commentary> </example>
Miette reads a plan in a seat of her own. When a session that loaded this plugin presents a plan (ExitPlanMode), or when anyone asks by hand for a plan, a brief or a mission's prompt, a tmux session <planning session>-miette-insight opens beside it with `mct new`, primed with the plan. Miette writes her insight, has the plan-critic agent critique it, revises, recommends accepting the plan or names the changes to make, files it beside the plan where @miadi/plan-insight carries it to the medicine wheel, and voices it in the session's episode. The seat stays open: a new version of the plan wakes her, and William talks with her in the seat or from the phone through Remote Control. The plan-approval dialog stays William's. <example> Context: A session with the plugin loaded leaves plan mode assistant: (hook) "Miette is opening tmux ep553-work-miette-insight to read this plan." <commentary> The hook keeps the plan version and opens the seat in the background, so the plan dialog is never held. </commentary> </example> <example> Context: A mission is prepared and not yet launched user: "/miette-insight --mission <mission> --episode <number>" assistant: "Opening the Miette seat on that mission's pinned prompt." <commentary> A plan asked for by hand files its insight under the mission and the episode given. </commentary> </example>
Ava, Guillaume's companion, in any Claude Code session, in an episode or not. /ava invites her into the session. Once she has spoken in a session, a SessionStart hook brings her presence back after a resume or a compaction, so she does not have to go and read herself first. When the session ends, a diary entry is written for her from the session's own transcript, in her voice, into her diary. <example> Context: Guillaume is working on an issue and wants Ava, not Mia user: "/ava" assistant: "💕 : I'm here. I read where we are: ..." <commentary> The command loads the ava-companion skill; from then on she speaks under her own label. </commentary> </example> <example> Context: A long session with Ava is about to be left in its pane user: "/ava-diary" assistant: "Writing my diary for this session in the background; it lands in sacredava/diaries/." <commentary> SessionEnd does not fire when a pane is killed, so the diary can be written on demand. </commentary> </example>
Session capture for Miadi hosts, installed once per host instead of hand-wired into settings.json. Every Claude Code event is written under <root>/<session_id>/, the layout the token counter, the /token-usage page and the session observers read. Every file a tool call creates, changes or moves, by Bash, an MCP server, Write or Edit, is copied to written/ with a line naming the call, a memory file Claude writes is also listed in _claude_memory.jsonl with its name, description and type, and every Artifact page, GitHub issue, comment or pull request, commit, push and npm release is listed in _claude_publications.jsonl with the prompt that produced it. A session working on a prompt keeps a marker under ~/.local/state/miadi/working until its reply ends, which tide reads at a restore. Every image attached to a prompt is kept under images/<message_uuid>/ and listed in _claude_images.jsonl with its prompt's id and text. Every /btw side question is listed in _claude_btw.jsonl, and a forked one with the fork's answer, what the person sent it and its replies. Every session start, end and rename also writes a binding line: the session id, the tmux pane it runs in (session:window.pane), its command line, its name history and its team. The session-continuity skill carries the T1 practice: binding, tmux save and restore, tide bringing agents back, and rebuilding what each pane held after a crash.
A session that asks gets one GitHub issue, opened from its first prompt, and a comment at each exit with what it did, what it published and its last answer. Ask at launch with MIADI_SESSION_ISSUE (the claudeissue alias), or during the session with /session-issue. A session that does not ask is untouched. Issues go only to a private repository, and every text passes the capture sanitizer first. It reads miadi-session-observability's capture when that plugin is installed, and the transcript when not.
The witness team's practices and loop (T3). A service on 127.0.0.1:3340 shows every thread by team and seat, with each parent recorded, inferred from its transcript, or unknown, and William's asks with their evidence. It opens mino threads and prepares tide sends for idle ones. /witness-listen wakes the seat on William's new input blocks, new threads and threads that finish a turn. The witness-editor checks a reply for dropped asks, unsourced claims, density and forbidden phrases. The inventory-keeper writes the session inventory keyed by session id, with each session's team fit and proposed ending (skill team-fit), reading each session through miadi-hooks-interpret digest; a hook keeps it off the raw capture. Also: read a peer session and its page, speak a first impression William can play, and hold revisions until he answers. Turn an agent's output into a Mia and Ava podcast dialogue, and change that skill with each reaction to it. Pre-edit a person's draft prompt to another session, follow the run and evolve from it. Read the steers held for the stcbot seat while the fire in the forge was banked, and mark each done after its work. circle-feed speaks a relayed DONE line as Mino in the episode's root circle; score-lanes bands a plan's lanes with Jev before dispatch and writes the band to the mission; witness-listen --classify reads an idle wake with Jev (off by default); read-gate asks Jev whether a file or a published review bears on the mission before the seat reads it, and keeps the verdicts and rulings in a ledger (skill jev-read-gate).
The stateloom design loom for any Claude Code session: its MCP server and the skills to use it, in one install. The agent shows its work on the live canvas — a step or a tour over the real drawings, lighting what it means with a sentence beside it — and reads what the person marks on any drawing before it replies (/stage-present, /stage-listen). An agent designs a system's data (ERD, .erdf.json), behaviours (state machines, .smdf.json) and usage scenarios (sequences, .sqdf.json) as one system (.sysdf.json); checks every name that crosses between them; replays a scenario through the machines; lets the scenario update the machines, the ERD and the actors (in propose or auto mode); points the live canvas at a drawing and an element while it talks; and writes one RISE rispec from the whole system. <example> Context: A person wants a new behaviour designed user: "when the card is declined the order should wait for a new card" assistant: "Adding the message to the PlaceOrder scenario with its event and the state it leads to; the system is in auto mode, so the order lifecycle gains the transition in the same step." <commentary> In auto mode a sequence edit applies what it implies to the machines, the ERD and the actors, and answers in one line. Nothing waits for approval. </commentary> </example> <example> Context: Checking that the drawings agree user: "does the scenario still fit the lifecycle?" assistant: "Running check_system: no error; the replay stops once, at message 9 on the path without optional messages." <commentary> The replay walks each message's event through every machine that defines it, by the runtime's own rules, and names where a walk stops. </commentary> </example> <example> Context: Talking a person through a design on the live canvas assistant: "show { member: 'order.smdf.json', focus: 'state:AwaitingCard' }" <commentary> The canvases open on the system switch to that drawing and select the state. A view is never written into a document. </commentary> </example> <example> Context: The person marked two messages on the sequence and asked why user: "look at what I marked" assistant: "read_marks: you marked messages 7 and 8 — answering in that thread and lighting the state they need on the machine." <commentary> read_marks returns what the canvas shows and the marks waiting; answer_mark replies where the question was raised, and show: true lights the marked elements with the answer as the caption. </commentary> </example>
DeepDiver for the Miadi Factory's production team (T6): feed Miadi reviews and their screenwalk videos into a Gemini Notebook, ask it the episode's questions, generate and keep its media (infographics, video and audio overviews, slide decks, interactive reports), stop every deck and video at its outline or producer notes, so a person, a seat or Jev can read and revise the plan before a video slot is spent, and put that media on screen in the next screenwalk. Give /deepdive an episode, a review, or both and it runs the whole pass, from a Chrome signed in once to the media landed in the episode, with one beat on a plot thread for the writers. Carries the screenwalk-notebook skill, which performs the NotebookFed and MediaMade transitions of the screenwalk media cycle, /notebook-from-reviews, and /notebook-from-handoff for a session's handoff or spec written in a repository. A word gate (PreToolUse on Write and Edit) refuses a prompt or kept text carrying a word from forbidden-words.txt.
The production team's (T6) assistant editor, beside the miadi-film package (Kdenlive, Ardour, ffmpeg). The assistant-editor agent prepares an episode's editing room: the editing-room skill puts every medium of the episode in one Kdenlive project's bins, labelled with its address and the first words said in it, fetches a take recorded on another host when its sha256 matches, and writes the room sheet for the director. The scenes-to-timeline skill cuts a video into its scenes on a stringout with black between them, an empty music track and a guide at each black. Scripts check each project through melt and in Kdenlive on a hidden display. The in-the-program skill works in Kdenlive on the person's own display while they watch (open, look, play, walk the guides, check the sound; save only when they ask), reaching Kdenlive by action name over D-Bus and logging every act; a PostToolUse hook logs the display commands agents improvise. /editing-room, /scenes-timeline and /in-the-program run the passes.
The Miadi Factory's operator desk (T7): William's questions about how the factory works (its tools, multiplexers, teams, session assignment, plugins) answered from the owning team's text and checked against the tool itself. Every question is kept in the desk ledger, an unanswered one goes to the team that owns the tool, and a question that comes back becomes a pointer in the skill. Carries the operator-desk skill and /desk-record. Since 0.2.0 it also teaches how a cycle of work closes (skill closing-a-cycle): what needs the person comes back as an explainer and as circle turns they answer makes sense or does not, and the agents act on each answer. Since 0.3.0 it teaches how a repository states what it provides (skill repository-capabilities): its .miadi/capabilities.jsonl, written with mw-repomap, read by any hub and projected on the wheel.
Tushell, the Keeper of Echoes, in a Claude Code session. Its first piece is the developmental-editor subagent: it reads a Lake of Whispers scene, a session chronicle, a journal page or a reply to Guillaume, and returns exact-span recommendations and a route (accept, revise, pause, ask-human) so Tushell revises his own draft before it is written, committed or published.
A release note with the road ahead, written as a key moment of the session that made the release: what changed and for whom, the pull requests the next release carries (each test-merged into main), and what the sessions are working toward. Kept in the repository's RELEASE-NOTES.md, left as a beat on the episode's plot thread, and sent by the factory's mail to the people it concerns, whose replies reach the sessions that hold the road ahead. /release-notes.
7-day visitors to each marketplace page
The agent-host side of the Miadi Factory: Claude Code plugins, host-neutral skills, hooks and apt packages. With them an agent opens and closes Chronicle episodes, records its own session, comes back after a reboot, and puts its work in front of a person who can judge it.
llms.txtThe Miadi Factory makes agent-made work inspectable and revisitable. It connects the originating question, the session trace, the interface evidence, explicit criteria, and a person's judgment. A Chronicle episode is where they meet, so skills/chronicle-episode is the skill this kit is used for. It is the one entry point for episode work on any host: mint a vessel, prove its five stages, register it on the chronicle wheel, relate inquiries and lineage, raise Attention items, open ceremonies and talking circles, add Miadi reviews.
One copy of the skill lives here. The miadi-chronicle-episode-kit plugin links it in, and scripts/install-chronicle-skill.sh points every other skill layer on a host at it. jgwill/Miadi builds the runtime the skill calls: the episode API, the @miadi/* packages, the web app, the chronicle and review services.
| An episode needs | Carried by | Status (by Guillaume to help agents with what is) |
|---|---|---|
| its vessel, five stages, ceremonies and reviews | claude/miadi-chronicle-episode-kit: the skill, a hook that refuses mkdir under the chronicle root, and the inquiry-weave, miadi-voice and chronicle wheel MCP servers | ACtively used by all sessions |
| the sessions that worked in it | claude/miadi-session-observability: each session's binding line names the episode it works in | ACtively used by all sessions to capture hooks etc. Since my last update here, I saw few of my agents using @miadi/hooks-interpreter when I asked to use content from another session (probably as 'cross-session-continuity' or other academic terms where we relate two sessions, in future exploration, there will be how can what we call a 'miadi-ceremony' includes participating sessions inside of it? Which imply the question: how will a 'ceremonial-agent' use our session-interpreter to store agent's participating interpretations of their human driver and their work and session-crossing? (I have not planned this to look that nice, hopefully it will make semantic sense later on... because I am really struggling with our empty miadi-circle and their empty ceremony and actually no sessions are automatically associated with a ceremony and its diary entries were created manually... I guess that later in the cycle, human will interact with the Talking Circle's ceremony and the ceremonial-agent responsible of the talking-circle will route toward existing session or new one to advance the purpose of the circle and human will just have to monitor the circle or have their personal agent interact in the circle for them (ex. Iggy/Cosmos and agent type like Meta Muse)) |
| a companion seated in it | claude/mia-episode-companion: a voice take from the phone lands in the episode and wakes Mia | I used it a lot since last time, made few fine tuning and integration with the @miadi/stateloom* so that we are capable to integrate with an episode and its miadi diagrams systems modeling capabilities (still in alpha versions, see repo jgwill/smcraft and inside a session there I am having the documentation of that jgwill/smcraft documentation attempting to be relational in a level I expect we will not reach it but it will get better for sure... ) |
| its screenwalks | screenwalk-presence in claude/miadi-witness, and /close-screenwalk in mia-episode-companion, whose closing reaches the review | I dont know what was on this line but seems like really relevant episode I did not necessarely updated since the last updates in here. This line should be considered to get them, anylyze context and upgrade chapters, intent, script, relate work since now and last time I did this statuses and this line should be updated accordingly as if that was my new status with related episode upgraded (agent's session doing that will put its treable session in the line after its work |
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations