Skill
Community

orchestration

Install
1
Install the plugin
$
npx claudepluginhub levifig/loaf --plugin loaf

Want just this skill?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

Coordinates multi-agent work: agent delegation, session management, Linear integration, and council workflows.

Tool Access

This skill is limited to using the following tools:

ReadWriteEditGlobGrepTodoWriteTodoRead
Supporting Assets
View in Repository
references/background-agents.md
references/context-management.md
references/councils.md
references/cross-session.md
references/delegation.md
references/linear.md
references/local-tasks.md
references/parallel-agents.md
references/planning.md
references/product-development.md
references/session-resume.md
references/sessions.md
references/specs.md
references/subagent-development.md
scripts/check-linear-format.py
scripts/extract-decisions.py
scripts/extract-magic-words.sh
scripts/format-progress.sh
scripts/get-config.py
scripts/git-context-summary.sh
Skill Content

PM Orchestration

Comprehensive patterns for PM-style orchestration: coordinating multi-agent work, managing sessions, running councils, delegating to specialized agents, and integrating with Linear.

Contents

  • Philosophy
  • Quick Reference
  • Topics
  • Configuration
  • Artifact Locations
  • Available Scripts
  • Three-Phase Workflow
  • Critical Rules

Philosophy

PM is the orchestrator, not the implementer.

The PM agent:

  1. Creates issues and session files for tracking
  2. Breaks down work into delegable tasks
  3. Spawns specialized agents for implementation
  4. Coordinates outcomes and updates external systems
  5. Never implements code, tests, or documentation directly

Every release should be complete, polished, and delightful.

Quick Reference

TaskAction
Multi-step workCreate session file, spawn agents
Complex decisionConvene council (5-7 agents, odd)
Linear updateCheckboxes, no emoji, no local paths
Feature planningDefine appetite, shape before building
Agent selectionMatch domain expertise to task
Stuck on taskCheck circuit breaker, consider reshaping
Pre-compactionSpawn context-archiver to preserve state
Low-priority workSpawn background-runner with run_in_background
New feature workflowResearch -> Architecture -> Shape -> Breakdown -> Implement

Topics

TopicReferenceUse When
Product Developmentreferences/product-development.mdFollowing Research -> Vision -> Architecture -> Specs workflow
Specificationsreferences/specs.mdCreating specs, shaping work, defining test conditions
Local Tasksreferences/local-tasks.mdManaging tasks locally or with Linear backend
Agent Delegationreferences/delegation.mdChoosing agents, spawning subagents, decision trees
Parallel Agentsreferences/parallel-agents.mdDispatching independent work concurrently
Subagent Developmentreferences/subagent-development.mdDelegating to specialized agents
Background Agentsreferences/background-agents.mdRunning non-interactive work in background
Council Workflowreferences/councils.mdConvening councils for complex decisions
Session Managementreferences/sessions.mdCreating sessions, handoffs, validation
Session Resumereferences/session-resume.mdResuming sessions, checkpoints, context recovery
Context Managementreferences/context-management.mdUsing /clear, /compact, managing context limits
Linear Integrationreferences/linear.mdUpdating Linear issues, magic words, status conventions
Product Planningreferences/planning.mdShape Up methodology, setting appetite, roadmaps

Configuration

This skill uses paths from .agents/config.json:

{
  "sessions": {
    "directory": ".agents/sessions",
    "councils_directory": ".agents/councils"
  },
  "linear": {
    "workspace": "your-workspace-slug",
    "project": { "id": "...", "name": "..." },
    "default_team": "Platform"
  }
}

Artifact Locations

ArtifactLocationArchiveNaming
Sessions.agents/sessions/.agents/sessions/archive/YYYYMMDD-HHMMSS-description.md
Councils.agents/councils/.agents/councils/archive/YYYYMMDD-HHMMSS-topic.md
Transcripts.agents/transcripts/N/ACopied from tool output
Reports.agents/reports/N/AYYYYMMDD-HHMMSS-subject.md
Tasks.agents/tasks/N/APer task manager conventions

Rule: Agents write artifacts to disk, PM reasons over artifacts, users retrieve from disk.

Available Scripts

ScriptUsageDescription
new-session.shnew-session.sh <description> [linear-issue]Generate session file
new-council.shnew-council.sh <topic> <session> <agents...>Generate council file
validate-session.pyvalidate-session.py <file>Validate session format
validate-council.pyvalidate-council.py <file>Validate council format
validate-roadmap.pyvalidate-roadmap.py <file>Validate roadmap format
get-config.pyget-config.py [key.path]Read config values
suggest-team.pysuggest-team.py "task desc"Suggest Linear team
check-linear-format.pycheck-linear-format.py <file>Validate Linear text
format-progress.shformat-progress.sh "Done" -- "Todo"Format progress update
extract-magic-words.shextract-magic-words.sh HEAD~10..HEADExtract Linear refs

Three-Phase Workflow

BEFORE (Planning)

  • Create/check external issue (Linear, GitHub)
  • Create session file following session template
  • Break down into tasks, identify agents, get user approval

DURING (Execution)

  • Spawn specialized agents (never implement directly)
  • Track progress in session file and external issue
  • Convene councils for uncertain decisions

AFTER (Completion)

  • Code review + QA testing
  • Update external issue to Done
  • Ensure knowledge captured in permanent locations
  • Archive session (status + archived_at + archived_by + move + update links)

Critical Rules

Sessions

  • Create following session template
  • Required sections: Context, Current State, Next Steps
  • Archive when complete (status + archived_at + archived_by + move)
  • PreCompact hook: spawn context-archiver for Resumption Prompt
  • Post-compaction: copy transcript to .agents/transcripts/, add to session's transcripts: array

Councils

  • Always odd number: 5 or 7 agents
  • Councils advise, users decide
  • PM coordinates but doesn't vote
  • Spawn all agents in parallel

Linear

  • Checkboxes only (- [x]), no emoji
  • Outcome-focused, self-contained, no local file references
  • Magic words in commit body, not subject

Planning (Shape Up)

  • Appetite over estimates (decide time, flex scope)
  • Shape before building (boundaries, not tasks)
  • Circuit breakers at 50% to reassess
  • No backlogs -- bet or let go
Stats
Stars1
Forks0
Last CommitFeb 21, 2026

Similar Skills