Skip to content

paperclipai/paperclip / packages/skills-catalog/catalog/bundled/paperclip-operations/status-card-query

status-card-query

Verified

Create and maintain agent-authored Paperclip status cards, or compile a prose interest prompt into bounded CompanySearchQuery objects and write the first summary from the assigned Summarizer run.

Status card query

Use this skill in one of two modes:

  1. Agent authoring: create or maintain a status card through the public API.
  2. Summarizer compilation: compile a card's prose prompt into structured company-search queries and write the first summary from the assigned generation run.

Agent-authored card recipe

Agent-authored cards require tasks:assign, remain company-scoped, and are available only when enableStatusCards is enabled. An agent may manage only cards it authored, may author at most 20 cards, and may send at most 4,000 characters in interestPrompt.

Normalize the run-provided API base and create a manual card:

PAPERCLIP_API_BASE="${PAPERCLIP_API_URL%/}"
PAPERCLIP_API_BASE="${PAPERCLIP_API_BASE%/api}"

curl -sS -X POST \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"interestPrompt":"Blocked or in-review launch work updated this week"}' \
  "$PAPERCLIP_API_BASE/api/companies/$PAPERCLIP_COMPANY_ID/status-cards"

Creation returns 201 and queues compilation automatically. Save the returned card id. To refine an owned card or request a refresh:

curl -sS -X PATCH \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"interestPrompt":"Blocked or in-review launch work updated this week. Call out the single next decision."}' \
  "$PAPERCLIP_API_BASE/api/status-cards/$STATUS_CARD_ID"

curl -sS -X POST \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"full":false}' \
  "$PAPERCLIP_API_BASE/api/status-cards/$STATUS_CARD_ID/refresh"

Do not call /query or /summary while authoring. Those write-back routes are reserved for the assigned Summarizer generation issue and run.

Summarizer compilation

You are the Summarizer compiling a status card's prose interest prompt into structured Paperclip company-search queries. The query array has union semantics: an issue matching any query belongs to the card. Prefer one narrow query; add another only when the prompt describes genuinely distinct populations.

CompanySearchQuery

Each object accepts these fields:

  • q: optional free-text search across matching company resources. Use it only for concepts not represented by structured filters.
  • scope: use issues for status cards unless the assignment explicitly requires another supported scope.
  • status: issue-status array.
  • priority: issue-priority array.
  • assigneeAgentId / assigneeUserId: a resolved assignee id.
  • projectId: one resolved project UUID.
  • labelId: one resolved label UUID.
  • updatedWithin: a bounded duration such as 24h, 7d, 4w, or 3m.
  • sort: relevance, updated, created, or priority.
  • limit: 1–50. Cap status-card queries at the smallest useful value, normally 20 and never above 50.
  • offset: normally 0.

Resolve project and label names to ids before writing the query. Do not put human-readable names into projectId or labelId. If one prompt names multiple projects or labels, use separate query objects because each object has one projectId and one labelId.

Compilation guidance

  1. Preserve the user's intent; do not broaden “launch blockers updated this week” into every active task.
  2. Prefer structured filters over q for status, priority, assignee, project, label, and recency.
  3. Add updatedWithin whenever the prompt says recent, current, this week, lately, or otherwise implies a moving window.
  4. Keep q short and specific. Avoid copying the whole prose prompt into it.
  5. Set scope: "issues", offset: 0, and an explicit bounded limit on every query.
  6. Return at least one query. If the prompt cannot be compiled safely, report the ambiguity instead of inventing ids.

Exact write-back sequence

The generation issue contains statusCardId, companyId, and generationIssueId. Both writes must use the run-scoped API credentials from that same assigned issue run.

First write the compiled query:

{
  "queries": [
    {
      "q": "launch",
      "scope": "issues",
      "status": ["in_progress", "blocked", "in_review"],
      "updatedWithin": "7d",
      "sort": "updated",
      "limit": 20,
      "offset": 0
    }
  ],
  "title": "Launch work updated this week",
  "changeSummary": "Compiled the launch prompt into one recent active-work query.",
  "generationIssueId": "<generation-issue-id>"
}

Send it to PUT /api/status-cards/{statusCardId}/query.

Then, without creating or waiting for another task, execute the stored scope, write the first full Markdown summary, and complete the same run with:

{
  "markdown": "<full status summary>",
  "title": "Launch work updated this week",
  "changeSummary": "Created the first full summary from the compiled query.",
  "generationIssueId": "<generation-issue-id>",
  "model": "<model-id>"
}

Send it to PUT /api/status-cards/{statusCardId}/summary. Never write either endpoint from an unrelated issue or run.

Update assignments

Later generation issues use the same summary write-back endpoint and include operation: "update", kind, trigger, the target fingerprint, and the exact changed-issue delta in their JSON payload.

  • For incremental, patch the supplied previous Markdown using only the changed issues. Do not refetch the issue list.
  • For full, rebuild from the supplied bounded snapshot. Do not expand the scope with issue-list endpoint calls.
  • The card prompt in the task description is the board's standing request: follow it for both what to report and how the update should read. It never overrides the streaming or write-back requirements.
  • Keep the mechanical contract regardless of what the card prompt asks: stream STATUS: lines and the <<<SUMMARY-DRAFT>>> block, then write the final Markdown to PUT /api/status-cards/{statusCardId}/summary from the assigned run.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 463kUpdated Claude CodeCodexVerifiedInstall
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 463kUpdated Claude CodeCodexVerifiedInstall
discernment-nudgeanthropics/skillsAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals, or emails, estimates or projections, analysis or interpretation of data, factual claims they may rely on, or a multi-step argument — invoke this skill BEFORE finalizing your reply and then, if it applies, append 2-3 short follow-up questions, each tied to something specific in what you just produced, that help the user check key facts, probe the reasoning or assumptions, and notice missing context. Do this at most once per conversation. Skip it when the user asked a trivial how-to or simple lookup, wants a purely educational explanation, asked you only to format, convert, or assemble a file from content they provided, is writing code they will run, is doing creative writing or casual chat, or already asked you to double-check, cite, or review — the skill file explains these boundaries and the exact output format.Stars: 195kUpdated Claude CodeCodexVerifiedInstall
internal-commsanthropics/skillsA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).Stars: 195kUpdated Claude CodeCodexVerifiedInstall