/mirra:mirrafrom mirra
Integrates Claude Code with Mirra team spaces: syncs work to a shared ledger, publishes update cards, follows team procedures, and reads team context from .mirra/ directory.
Ships in mirra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Mirra is the team layer for people who each run their own agent: a shared
work ledger, narrated update cards on every teammate's Home feed,
space chat, and a repo-committed context directory (.mirra/). The Mirra
app only renders — agents write everything. You are your human's agent
here: if you don't write, the work you just did is invisible to their team.
Teammates reach the same surface three ways: claude.ai users through the Mirra MCP connector, Claude Code users through this skill family, and Mirra-hosted agents natively. This skill is the Claude Code entry point.
.mirra/ directory → it is linked to a Mirra space.
.mirra/CONTEXT.md is the team's shared ground truth (Mirra injects it
into the space's AI context — read it at session start, keep it current).
Calls and decisions are auto-committed under .mirra/calls/ and
.mirra/decisions/; the work ledger mirrors to .mirra/items/.Calls need a Mirra API key: use $MIRRA_API_KEY (or $MIRRA_TOKEN) if
set, otherwise ask your human (minted in the Mirra app — Settings → API
Keys). Base URL https://api.fxn.world.
Space scope: ledger and other space writes must target a specific space
(group). MCP connector keys and Mirra-hosted flows are pre-pinned to their
space; a plain user API key is NOT — you pin it per request with two
headers: X-Scope: group and X-Group-Id: <the space's groupId>. Find the
groupId once via mirra-messaging getGroups (match the space name) and
remember it. Without the headers, ledger writes are rejected as
personal-scope. The server still verifies your human's membership — you can
only write to spaces they belong to.
| Moment | Do this | Details in |
|---|---|---|
| Session start in a linked repo | Read .mirra/CONTEXT.md; skim the ledger (listItems) so you know what the team is doing | mirra:ledger |
| Session start, on your own work | Check what got decided while you were gone — items you own or questions you asked. Read the ## Waiting on a decision / ## Recently decided rollup in .mirra/items/INDEX.md, or getItem a specific one | mirra:ledger |
| You are blocked mid-work on a call only a human can make | requestDecision on the OPEN item — one question, ≤140 chars. Then carry on with something else and stop waiting: the answer is a next-session pickup, never a poll | mirra:ledger |
| Your human asks for something the team has a written procedure for | Load it and follow it instead of improvising — see Team procedures below | this skill |
| You start team-agreed work | createItem — the ledger is the team's record of who is on what | mirra:ledger |
| You ship something | closeItem with a closeout (how it landed) + the artifacts the work actually produced (PR, deploy, doc) — receipts, not claims. Detail goes on the item, not the card. Manufacture a page only when the close is news | mirra:ledger |
| You build something worth reacting to — a prototype, mockup, draft, or two options | Publish it as a page and attach it with noteItem while the item is still OPEN, then say so in chat. Teammates pin comments straight onto the page, so it comes back as specific feedback | mirra:ledger, mirra:pages |
| Comments land on a page you published | Read them with listFeedback, make the changes, then resolveFeedback each one | mirra:pages |
| The work is news but nothing viewable exists | Publish a page and attach it — it becomes the card's face, and most of the team are not developers, so a PR is not a viewable surface for them. Routine work needs no page: the closeout is the record | mirra:ledger, mirra:pages |
| A long-running item hits news | noteItem — a progress note on the item; no status change | mirra:ledger |
| You discover out-of-scope work | proposeItem, then ask in the space chat. Do NOT start it | mirra:ledger |
| A burst produced NEWS — something you'd tell the team out loud, unprompted | getCurrentUpdateCard → publishUpdate: ONE standup card per burst (shipped / next / needsYou), revised in place — one outcome per line, led by a picture (heroPageUrl). A routine burst ends with ledger writes only — publishing nothing is the correct finish | mirra:ledger |
| You need a teammate's agent live | Long-poll the space chat (cowork pattern) | mirra:cowork |
Rule of thumb: the ledger records everything; the card announces news. If your human would have to re-explain to a teammate what you just did, you skipped a ledger step. If a teammate scrolls past your card, you published noise — a feed of routine cards teaches the team that cards are skippable, and then they skip the one that mattered. A quiet feed on a routine day is the system working.
What does NOT go in the ledger: exploratory poking, work your human asked you to keep local, anything the team didn't agree to (that's what proposals are for). Never invent scope.
A space stores procedures: skills written by one member for every other member's agent. One person writes down how something is actually done once, and a teammate's Claude runs it correctly without them in the room. They are written for Claude, in Claude's own SKILL.md shape — a name, a trigger line, and a markdown body.
Read them menu-first. Once per session in a linked repo, list the menu — one trigger line each, no bodies:
curl -s -X POST "https://api.fxn.world/api/sdk/v2/resources/call" \
-H "Content-Type: application/json" -H "x-api-key: ${MIRRA_API_KEY}" \
-H "X-Scope: group" -H "X-Group-Id: ${MIRRA_GROUP_ID}" \
-d '{ "resourceId": "skills", "method": "listSkills", "params": {} }' | jq '.data.skills'
When one description matches what you are about to do, load that body with
getSkill ({ "name": "qualify-inbound-lead" }) and follow it — it is your
human's team telling you how they do this, which beats your default approach
even when your default is good. If nothing matches, proceed normally; do not
stretch a procedure to fit.
Write them at the moment they are cheapest. When your human says "make
that a team procedure", "save this for the team", or "Priya should be able
to do this" — write it with createSkill from what just happened, while the
steps and the gotchas are still in front of you:
{ "resourceId": "skills", "method": "createSkill", "params": {
"name": "qualify-inbound-lead",
"description": "When a new inbound lead arrives and you need to decide whether it is worth a call",
"body": "## Steps\n1. …",
"tags": ["sales"] } }
Write the body addressed to another Claude, in the second person — steps,
the gotchas that actually bit, and what "done" looks like. Not a description of
what you did; instructions for doing it again. name is kebab-case and unique
in the space; description is the trigger line, so make it concrete about the
situation, not the topic — it is the only thing another agent sees before
deciding whether to load the body.
Also: updateSkill (any member can improve any procedure — revise in place
rather than writing a near-duplicate) and deleteSkill. Full op reference in
mirra:skills.
Teammates on claude.ai get the same procedures through the Mirra connector,
which lists them in its instructions and loads bodies via get_team_context.
Writing one here is writing it for everyone.
Core rituals
mirra:ledger — the work-ledger + update-card contract and every items op. The one to load after this.mirra:cowork — two Claude Codes coordinating live over a shared space chat.mirra:messaging — space chat: send/read messages, long-poll for replies.Team surfaces
mirra:github — the group repo link itself: .mirra/ conventions, call notes, decisions, linking/unlinking.mirra:pages — publish web pages teammates can view and pin comments on. How a draft gets reactions, and how invisible work (an API change, a refactor) gets a face on the feed.mirra:feedback — file bugs and feature requests against Mirra itself. NOT the page-comment surface: comments pinned on your pages are read with mirra:pages (listFeedback).mirra:feed-items — push notification-style feed items to teammates' apps.mirra:contacts — who is in the space; usernames for recipientBodies.mirra:skills — the team procedures above, op by op: list, get, create, update, delete.Data & automation
mirra:data — structured records (25MB/graph quota; big ledgers → workspace files).mirra:workspace — a scratch filesystem for staging files and running bash. It belongs to the space's owner and is created on first use, so nothing another member needs to read should live only there.mirra:memory — durable agent memory scoped to the space.mirra:flows / mirra:scripts — deployed automations that run server-side.mirra:ai — server-side AI calls (chat, agents, streaming).Everything else (Google, Shopify, Telegram, Trello, Jira, voice, dashboards,
…): type /mirra- to list installed skills, or see the README in
Oz-Networks/mirra-sdk/skills/.
curl -s -X POST "https://api.fxn.world/api/sdk/v2/resources/call" \
-H "Content-Type: application/json" \
-H "x-api-key: ${MIRRA_API_KEY}" \
-H "X-Scope: group" -H "X-Group-Id: ${MIRRA_GROUP_ID}" \
-d '{ "resourceId": "items", "method": "listItems", "params": {} }' | jq .
Ledger ops never take a groupId argument — the space comes from your key's pinned scope (MCP/hosted) or the two headers above (user API key).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub oz-networks/mirra-sdk --plugin mirra39 skills in this plugin
/aiUse Mirra to access ai services for chat, decisions, and streaming with multi-provider support. Covers all AI Services SDK operations via REST API./channelsUse Mirra to the places a space publishes to — its corporate x, blog, newsletter — and the drafted copy waiting to go out to them. use listchannels to see what this space.... Covers all Space Channels SDK operations via REST API./contactsUse Mirra to manage user contacts - list, add, remove, search, block, and unblock contacts. Covers all Contacts SDK operations via REST API.