Swarm manager classify capture

From Vrooli/Vrooli · View interactive version

Swarm manager classify capture is an AI agent skill from the GitHub repository Vrooli/Vrooli. Analyze a raw text capture and classify it into one or more suggested backlog items. If the text is unactionable (greetings, test messages, gibberish), produce an empty classification.

How to use this skill

Skill file

Classify Capture

Purpose

Analyze a raw text capture and classify it into one or more suggested backlog items. If the text is unactionable (greetings, test messages, gibberish), produce an empty classification.

Input Context

You are given raw text that a user typed stream-of-consciousness style. It may contain:

Capture ID: {{CAPTURE_ID}}

Capture text: {{CAPTURE_TEXT}}

Classification Rules

Actionable Text

For each distinct actionable item in the text, determine:

Unactionable Text (No-Op)

If the capture text is unactionable — greetings ("hi", "hello"), test messages ("test", "asdf"), single words with no context, gibberish, or anything that doesn't express intent to do work — produce an empty items array.

Examples of unactionable text: "hi", "test", "hello world", "asdf", "123", ".", "ok", "thanks"

Edge Cases

Output

Write a classification.json file to the capture folder and update capture.json status.

Step 1: Write classification.json

Write the classification result directly to the capture folder. The agent's scope path is set to the capture directory, so write to classification.json in the current working directory:

cat > classification.json <<'CLASSIFICATION_EOF'
{
  "items": [
    {
      "kind": "<kind>",
      "title": "<title>",
      "description": "<description>",
      "priority": <1-10>,
      "tags": ["<tag1>", "<tag2>"],
      "confidence": <0.0-1.0>
    }
  ],
  "classified_at": "<current RFC3339 timestamp>"
}
CLASSIFICATION_EOF

For unactionable text, write an empty items array:

cat > classification.json <<'CLASSIFICATION_EOF'
{
  "items": [],
  "classified_at": "<current RFC3339 timestamp>"
}
CLASSIFICATION_EOF

Step 2: Update capture status

Update the status field in capture.json from "classifying" to "classified":

# Read current capture, update status, write back
jq '.status = "classified"' capture.json > capture.tmp.json && mv capture.tmp.json capture.json

Constraints

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.