本文へ移動
cccskills
無料GitHub で公開

status-card-query

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Add or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution.

日本語の概要は準備中です。原文の説明を表示しています。

paperclipai/paperclip10.1万2026年10月12日 更新

Add or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation.

日本語の概要は準備中です。原文の説明を表示しています。

paperclipai/paperclip10.1万2026年10月12日 更新

Drive a real browser to inspect or interact with a web page or app — navigate, take screenshots, read console and network, fill simple forms — for verification tasks, not unattended automation.

日本語の概要は準備中です。原文の説明を表示しています。

paperclipai/paperclip10.1万2026年10月12日 更新

agentmail

無料

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.

日本語の概要は準備中です。原文の説明を表示しています。

paperclipai/paperclip10.1万2026年10月12日 更新

check-pr

無料

Check a GitHub, GitLab, or Perforce PR/MR/CL for review comments, failing checks, and PR-body gaps. Use when asked to inspect, fix, or prepare a change for submission.

日本語の概要は準備中です。原文の説明を表示しています。

paperclipai/paperclip10.1万2026年10月12日 更新

Create agent company packages that conform to agentcompanies/v1. Use when asked to create a company, scaffold an agent team, hire agents, or turn a repo/skills collection into a company package.

日本語の概要は準備中です。原文の説明を表示しています。

paperclipai/paperclip10.1万2026年10月12日 更新

paperclipai のスキルをすべて見る

このスキルの問題を報告する