/mirra:feed-itemsfrom mirra
Creates and manages feed items via Mirra's REST API for user notifications and action results.
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.
Create feed items with flexible content blocks for user notifications and action results
You need the user's API key. Ask for these if not provided:
API_KEY: Mirra API key (generated in Mirra app > Settings > API Keys)API_URL: Defaults to https://api.fxn.world (only ask if they mention a custom server)All operations use a single POST endpoint with the resource ID and method in the body:
curl -s -X POST "${API_URL}/api/sdk/v2/resources/call" \
-H "Content-Type: application/json" \
-H "x-api-key: ${API_KEY}" \
-d '{
"resourceId": "feed-items",
"method": "{operation}",
"params": { ...args }
}' | jq .
Replace {operation} with the operation name from the table below.
Legacy alternative:
POST ${API_URL}/api/sdk/v1/feedItems/{operation}with args as the request body also works but is not recommended for new integrations.
| Operation | Description |
|---|---|
createFeedItem | Create a notification for the user. Shows up in their activity feed and sends a push notification... |
hideFeedItem | Clear a previously-sent feed item notification from the user's device notification tray, by feedI... |
createFeedItemCreate a notification for the user. Shows up in their activity feed and sends a push notification. The feed item appears in the current conversation context (group chat, DM, or personal feed). Pair with a dashboard: pass dashboardId to make the push tap open a living dashboard artifact — ideal when the alert reflects fresh data you also wrote to that dashboard (e.g. a new camera snapshot).
Arguments:
title (string, required): What happened - the main notification textsubtitle (string, optional): Secondary context shown below the titlecategory (string, required): Activity type - determines icon and styling (e.g. email, calendar, task, document, reminder, message, crypto, shopping, note, memory, flow, call, error, update)details (object, optional): Key-value pairs of relevant info to display (e.g. { "recipients": "3 people", "status": "sent" })preview (string, optional): Longer text content shown below details (e.g. email body preview, note content)notify (boolean, optional): Send push notification (default: true, set false for background updates)image (object, optional): Optional image to attach to the notification, rendered inline in the activity feed. Provide the raw image bytes as base64. Shape: { data: , mimeType: "image/jpeg" | "image/png", alt?: "short description" }. Max ~10MB decoded.dashboardId (string, optional): Optional landing hint. When set to the id of a dashboard in the current scope, tapping the push opens that dashboard artifact instead of the generic detail screen. Validated against your dashboards — an unknown id is ignored (the alert still sends).tapAction (object, optional): Optional landing hint for where tapping the push takes the user. Two shapes: { "type": "open_url", "url": "https://..." } opens an external link, or { "type": "navigate", "screen": "feed-item-details", "params": { ... } } opens an in-app screen (the app validates the screen name against its known feed screens and falls back to the alert's own detail if it does not recognize it). Malformed hints are ignored — the alert always still sends. If you only need to open a dashboard, prefer dashboardId.Returns:
AdapterOperationResult: Returns: feedItemId, title, itemType, subType, status, graphId, createdAt, hasActions, blockCount
Example:
curl -s -X POST "${API_URL}/api/sdk/v2/resources/call" \
-H "Content-Type: application/json" \
-H "x-api-key: ${API_KEY}" \
-d '{"resourceId":"feed-items","method":"createFeedItem","params":{"title":"Email sent to [email protected]","subtitle":"Q4 Planning Discussion","category":"email","details":{"recipients":"3 people","status":"Sent"},"preview":"Hey John, wanted to touch base about the Q4 roadmap..."}}' | jq .
Example response:
{
"feedItemId": "feed_123",
"title": "Email sent to [email protected]",
"itemType": "informative",
"subType": "email_send",
"status": "completed",
"graphId": "user_456",
"createdAt": "2024-01-15T09:00:00Z",
"hasActions": false,
"blockCount": 3
}
hideFeedItemClear a previously-sent feed item notification from the user's device notification tray, by feedItemId. Use this to keep at most one live notification of a kind (e.g. dismiss the previous alert before sending a new one). Sends a silent signal to the device — it does not show a new notification and does not delete the item from the activity feed. No-op if the notification was already dismissed or the app is not reachable.
Arguments:
feedItemId (string, required): The feedItemId returned by a prior createFeedItem call — identifies which device notification to clearReturns:
AdapterOperationResult: Returns: feedItemId, status ('dismissed')
Example:
curl -s -X POST "${API_URL}/api/sdk/v2/resources/call" \
-H "Content-Type: application/json" \
-H "x-api-key: ${API_KEY}" \
-d '{"resourceId":"feed-items","method":"hideFeedItem","params":{"feedItemId":"feed_123"}}' | jq .
Example response:
{
"feedItemId": "feed_123",
"status": "dismissed"
}
All SDK responses return the operation payload wrapped in a standard envelope:
{
"success": true,
"data": { ... }
}
The data field contains the operation result. Error responses include:
{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message"
}
}
jq . to pretty-print responses, jq .data to extract just the payloaddata.results or directly in data (check examples)--fail-with-body to curl to see error details on HTTP failuresexport API_KEY="your-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.