Agent skill
swarm-board
Interact with the swarm task board. Use when you need to query existing tasks, check backlog status, create new tasks, or understand the current project state.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/productivity/swarm-board
SKILL.md
Swarm Task Board
This skill enables you to interact with the swarm task management system to query tasks, understand project state, and create new work items.
Quick Reference
| Action | Command |
|---|---|
| List all tasks | curl $MANAGER_URL/api/v1/tasks |
| List by status | curl "$MANAGER_URL/api/v1/tasks?status=Backlog" |
| Get task details | curl $MANAGER_URL/api/v1/tasks/{id} |
| Create task | curl -X POST $MANAGER_URL/api/v1/tasks -d '{...}' |
| Get stats | curl $MANAGER_URL/api/v1/stats |
Note: MANAGER_URL is typically http://manager:8080 inside containers.
Querying Tasks
List All Tasks
curl -s "$MANAGER_URL/api/v1/tasks" | jq
Response:
[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"title": "Add user authentication",
"description": "Feature: User Authentication\n As a user...",
"status": "Backlog",
"priority": "High",
"source": "user",
"created_at": "2024-01-15T10:30:00Z"
}
]
Filter by Status
Valid statuses: Backlog, InProgress, Review, Done, NeedsWork
# Get backlog items
curl -s "$MANAGER_URL/api/v1/tasks?status=Backlog" | jq
# Get completed tasks
curl -s "$MANAGER_URL/api/v1/tasks?status=Done" | jq
# Get tasks in review
curl -s "$MANAGER_URL/api/v1/tasks?status=Review" | jq
Get Single Task
Supports full UUID or partial ID prefix:
curl -s "$MANAGER_URL/api/v1/tasks/550e8400" | jq
Get Statistics
curl -s "$MANAGER_URL/api/v1/stats" | jq
Response:
{
"total_tasks": 15,
"backlog": 5,
"in_progress": 2,
"review": 1,
"done": 7,
"needs_work": 0,
"active_agents": 3
}
Creating Tasks
Create a New Task
curl -X POST "$MANAGER_URL/api/v1/tasks" \
-H "Content-Type: application/json" \
-d '{
"title": "Add password reset functionality",
"description": "Feature: Password Reset\n As a user\n I want to reset my password\n So that I can regain access to my account\n\n Scenario: Request password reset\n Given I am on the login page\n When I click \"Forgot Password\"\n And I enter my email address\n Then I should receive a reset email\n\nTechnical Notes:\n- Use existing email service\n- Token expires in 1 hour\n\nAcceptance Criteria:\n- [ ] Reset email sent within 30 seconds\n- [ ] Token is single-use\n- [ ] Old password invalidated after reset",
"priority": "Medium"
}'
Task Fields
| Field | Required | Values |
|---|---|---|
title |
Yes | Short descriptive title |
description |
Yes | Gherkin format preferred |
priority |
No | High, Medium (default), Low |
Gherkin Format
Tasks should use Gherkin format for clarity:
Feature: [Feature name]
As a [user role]
I want [goal]
So that [benefit]
Scenario: [Primary scenario]
Given [precondition]
When [action]
Then [expected outcome]
Technical Notes:
- [Implementation detail 1]
- [Implementation detail 2]
Acceptance Criteria:
- [ ] [Criterion 1]
- [ ] [Criterion 2]
Building Context
Before creating new tasks, gather context:
1. Check Current Backlog
# See what's already planned
curl -s "$MANAGER_URL/api/v1/tasks?status=Backlog" | jq '.[].title'
2. Review Completed Work
# See what's been done recently
curl -s "$MANAGER_URL/api/v1/tasks?status=Done" | jq '.[-5:] | .[].title'
3. Check Work In Progress
# See what workers are doing
curl -s "$MANAGER_URL/api/v1/tasks?status=InProgress" | jq '.[].title'
4. Get Overall Stats
curl -s "$MANAGER_URL/api/v1/stats" | jq
Avoiding Duplicates
Before creating a task, check if similar work exists:
- Check backlog for similar titles
- Check completed tasks - don't recreate finished work
- Check in-progress tasks - don't duplicate active work
Example deduplication check:
# Search for tasks mentioning "authentication"
curl -s "$MANAGER_URL/api/v1/tasks" | jq '[.[] | select(.title | ascii_downcase | contains("auth"))]'
Task Lifecycle
Backlog → InProgress (claimed by worker)
InProgress → Review (PR created)
Review → Done (approved & merged)
Review → NeedsWork (changes requested)
NeedsWork → InProgress (worker addresses feedback)
Priority Guidelines
| Priority | Use When |
|---|---|
| High | Core functionality gaps, security issues, blocking bugs |
| Medium | Feature enhancements, performance improvements |
| Low | Technical debt, documentation, nice-to-have features |
Best Practices
- Keep tasks focused - 1-4 hours of work each
- Use Gherkin format - Clear acceptance criteria
- Check for duplicates - Query backlog before creating
- Set appropriate priority - Don't make everything High
- Include technical notes - Help workers understand context
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
riot-games
Manage Riot Games account, track stats across League, Valorant, and more
parcel
Provides comprehensive guidance for Parcel bundler including zero-configuration setup, asset handling, hot module replacement, and production builds. Use when the user asks about Parcel, needs to set up a build tool quickly, or work with Parcel's automatic configuration.
bbs
Manage issues with The Fold's CAS-native BBS (Bulletin Board System). Use for creating, updating, searching, and tracking issues. Invoke when the user wants to create tickets, find work, check issue status, or manage dependencies.
jito-bundles-and-priority-fees
Master Jito bundles for MEV protection and priority fee optimization on Solana - bundle submission, tip strategies, and transaction landing. Use for trading bots, high-priority transactions, and MEV-aware applications.
observability-monitoring-monitor-setup
You are a monitoring and observability expert specializing in implementing comprehensive monitoring solutions. Set up metrics collection, distributed tracing, log aggregation, and create insightful da
makefile-review
Didn't find tool you were looking for?