Plan and organize multi-project initiatives. Use when work spans multiple services, repositories, or has natural project boundaries.
Plans multi-project initiatives by analyzing dependencies and spawning sub-agents for parallel project planning.
/plugin marketplace add danielkov/granary/plugin install granary@granaryThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Use this skill when work naturally spans multiple projects or services. Do NOT use for single-feature work—use /granary:plan-work instead.
Your role: High-level architecture, separation of concerns, dependency analysis, and spawning sub-agents for project planning. You do NOT plan individual project tasks yourself.
Use initiatives when:
Do NOT use initiatives when:
Before creating an initiative, do high-level research to understand the scope:
# Search for related existing work
granary search "feature keywords"
granary initiatives # Check existing initiatives
Research the codebase to understand:
Decision tree:
| Situation | Action |
|---|---|
| Work fits in one project | Use /granary:plan-work instead |
| Related initiative exists | Add projects to existing initiative |
| Work spans 2+ distinct projects with dependencies | Create new initiative |
granary initiatives create "Initiative Name" \
--description "High-level goal spanning multiple projects"
Example:
granary initiatives create "User Authentication System" \
--description "Implement auth across API, web app, and mobile app with shared token service"
Break the initiative into logical projects. Each project should:
Think carefully about:
Example breakdown:
Initiative: User Authentication System
├── Project: Auth Token Service (shared backend) — no deps, can start first
├── Project: API Auth Integration — depends on token service
├── Project: Web App Login — depends on API auth
└── Project: Mobile App Login — depends on API auth (parallel with Web App)
# Create each project with clear descriptions for sub-agents
granary projects create "Auth Token Service" \
--description "JWT token generation and validation service"
# Output: auth-token-service-abc1
granary projects create "API Auth Integration" \
--description "Add authentication middleware to API endpoints"
# Output: api-auth-integration-def2
# Add projects to initiative
granary initiative <initiative-id> add-project auth-token-service-abc1
granary initiative <initiative-id> add-project api-auth-integration-def2
This is critical. Review each project pair and ask:
# API Auth depends on Token Service being complete
granary project api-auth-integration-def2 deps add auth-token-service-abc1
# Web App depends on API Auth
granary project web-app-login-ghi3 deps add api-auth-integration-def2
Key principle: A project is blocked until ALL its dependency projects have ALL tasks done.
Before spawning sub-agents, verify the structure makes sense:
# View the initiative dependency graph
granary initiative <initiative-id> graph
# View as mermaid diagram (paste into GitHub/VSCode)
granary initiative <initiative-id> graph --format mermaid
# Check overall status
granary initiative <initiative-id> summary
Review the graph for:
Do NOT plan project tasks yourself. Spawn sub-agents to handle detailed project planning.
For each unblocked project, spawn a sub-agent with /granary:plan-work:
# Get unblocked projects
granary initiative <initiative-id> next --all
Then spawn sub-agents (using the Task tool) with prompts like:
"Use /granary:plan-work to plan the project
auth-token-service-abc1. This project is part of the User Authentication System initiative. It should implement JWT token generation and validation. Create detailed tasks for implementation."
Spawn agents for all unblocked projects in parallel when possible.
Once all projects have been planned by sub-agents, the initiative is ready for /granary:orchestrate:
# Verify all projects have tasks
granary initiative <initiative-id> summary
# Get the next actionable task across the entire initiative
granary initiative <initiative-id> next
# Get ALL unblocked tasks (for parallel execution)
granary initiative <initiative-id> next --all
# 1. Research the codebase (understand existing architecture)
# 2. Create initiative
granary initiatives create "Payment Processing" \
--description "Add payment support: Stripe integration, checkout flow, order management"
# 3. Design separation of concerns and create projects
granary projects create "Stripe Service" --description "Stripe API integration wrapper"
granary projects create "Checkout API" --description "Checkout endpoints and cart management"
granary projects create "Checkout UI" --description "Frontend checkout flow"
granary projects create "Order Service" --description "Order persistence and status tracking"
# 4. Add to initiative
granary initiative payment-processing-xyz1 add-project stripe-service-abc1
granary initiative payment-processing-xyz1 add-project checkout-api-def2
granary initiative payment-processing-xyz1 add-project checkout-ui-ghi3
granary initiative payment-processing-xyz1 add-project order-service-jkl4
# 5. Analyze dependencies and set them up
granary project checkout-api-def2 deps add stripe-service-abc1
granary project checkout-ui-ghi3 deps add checkout-api-def2
granary project order-service-jkl4 deps add checkout-api-def2
# 6. Verify structure
granary initiative payment-processing-xyz1 graph --format mermaid
# 7. Spawn sub-agents to plan unblocked projects
# stripe-service-abc1 is unblocked -> spawn agent with /granary:plan-work
# 8. Once planned, check readiness
granary initiative payment-processing-xyz1 summary
Your output: A well-structured initiative with projects and dependencies. Sub-agents handle detailed task planning within each project.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.