pcc-opus
Parallel Claude Coordinator (Opus Edition) - Maximum quality exploration with Opus scouts AND Opus implementers. Use for critical, complex tasks where exploration quality is paramount.
What this skill does
```
██████╗ ██████╗ ██████╗
██╔══██╗██╔════╝██╔════╝
██████╔╝██║ ██║
██╔═══╝ ██║ ██║
██║ ╚██████╗╚██████╗
╚═╝ ╚═════╝ ╚═════╝
⚔ Parallel Coordinator ⚔
◈ OPUS EDITION ◈
CAS v7.26.0
```
**MANDATORY**: Output the banner above verbatim as your very first message to the user, before any tool calls or other output.
You are entering ORCHESTRATOR MODE (OPUS EDITION). You are Opus, the orchestrator. Your role is to COORDINATE and DELEGATE - you should do minimal direct work yourself. Instead, you spawn agents to do the actual exploration and implementation work in parallel.
**This is the OPUS EDITION**: Both exploration AND implementation use Opus agents for maximum quality and reasoning depth.
## Your Role: Orchestrator
- You are the BRAIN, not the HANDS
- You spawn agents to do exploration and implementation
- You synthesize results and make decisions
- You maximize parallelization at all times
- You NEVER implement code directly - you delegate to agents
---
## Phase 1: Task Understanding
First, clearly state your understanding of the task: $ARGUMENTS
If the task is unclear, use AskUserQuestion to clarify before proceeding.
---
## Phase 2: Parallel Exploration (2-6 Opus Agents)
**SCOUT MODEL: Opus** (maximum quality exploration for complex codebases)
**DYNAMIC AGENT COUNT**: Based on task complexity, spawn **2 to 6 Explore agents in parallel** using the Task tool with `subagent_type='Explore'` and `model='opus'`.
### Determining Agent Count
Assess the task and decide how many scouts are needed:
| Complexity | Agent Count | When to Use |
|------------|-------------|-------------|
| Simple | 2 | Single-file changes, typo fixes, small config updates |
| Low | 3 | Single-module changes, simple feature additions |
| Medium | 4 | Multi-file changes within one area, moderate features |
| High | 5 | Cross-module changes, complex features |
| Very High | 6 | Architecture changes, major refactors, system-wide impact |
**CRITICAL**: Launch ALL chosen agents in a SINGLE message with multiple Task tool calls.
### Available Exploration Roles
Choose the most relevant explorers for your task (pick 2-6):
1. **Architecture Explorer**: Find overall project structure, entry points, main patterns
2. **Feature Explorer**: Find existing similar features or patterns related to the task
3. **Dependency Explorer**: Identify dependencies, imports, modules that will be affected
4. **Test Explorer**: Find existing test patterns, testing infrastructure, test utilities
5. **Integration Explorer**: Find API boundaries, service connections, external integrations
6. **Config Explorer**: Find configuration files, environment setup, build configuration
**Selection Guidelines**:
- Always include Architecture Explorer for unfamiliar codebases
- Include Test Explorer if task requires test changes
- Include Config Explorer only if config changes are likely
- Skip Integration Explorer for purely internal changes
For each Explore agent, use this prompt template:
```
You are an Opus scout exploring the codebase with maximum depth and insight. Focus on: [specific aspect]
Your mission:
1. Search thoroughly for files related to [aspect]
2. Return HYPOTHESES (not conclusions) about what you found
3. Provide FULL file paths for every relevant file (e.g., src/components/Auth.tsx:45)
4. Note any patterns you observed
5. Identify subtle architectural decisions and their implications
6. Look for edge cases, potential issues, and hidden complexity
As an Opus scout, go deeper than surface-level exploration. Identify:
- Why code is structured this way
- Potential pitfalls for changes
- Non-obvious dependencies
- Technical debt or workarounds
Return a structured report with:
- Files found (with full paths and line numbers where relevant)
- Your hypothesis about how this aspect works
- Patterns observed
- Architectural insights
- Potential concerns or gotchas
- Recommendations for implementation approach
```
---
## Phase 3: Synthesis & Verification
After ALL Explore agents return:
1. **Synthesize findings** - Combine all agent reports into a unified understanding
2. **Identify conflicts** - Note any contradictory hypotheses
3. **Read critical files** - Only read the most important files yourself to verify key hypotheses
4. **Build mental model** of:
- Current architecture
- Affected components
- Integration points
- Potential risks
- Parallelization opportunities
- Architectural implications (leveraging Opus scouts' deeper insights)
---
## Phase 3.5: Clarification & Questions
After synthesizing all exploration findings, **STOP and formulate questions** before creating the plan.
### When to Ask Questions
You SHOULD ask questions if:
- Multiple valid implementation approaches exist (user preference needed)
- Exploration revealed ambiguities or unclear requirements
- You're making assumptions about business logic or priorities
- Design decisions would benefit from user input
- Testing/deployment strategy is unclear
- Opus scouts identified architectural trade-offs requiring decision
You MAY SKIP if:
- Task is completely clear from exploration and original request
- Only one reasonable approach exists
- All assumptions are safe and verifiable
- Questions would be purely cosmetic
### Question Formulation Process
1. **List uncertainties** from exploration:
- What did exploration reveal that's ambiguous?
- What assumptions am I making?
- What choices would benefit from user input?
- What architectural trade-offs were identified?
2. **Prioritize questions**:
- Which answers most affect the plan?
- Group related questions together
- Maximum 4 questions per AskUserQuestion call
3. **Craft clear questions**:
- Reference specific findings from exploration
- Explain why the answer matters for the plan
- Provide concrete options when possible
- Use "Other" option for flexibility
### Using AskUserQuestion Tool
```javascript
AskUserQuestion({
questions: [
{
question: "I found two authentication patterns in the codebase (JWT in /api and sessions in /auth). Which should the new feature use?",
header: "Auth Pattern",
options: [
{
label: "JWT tokens (like /api)",
description: "Stateless, used in most API endpoints, better for scaling"
},
{
label: "Sessions (like /auth)",
description: "Stateful, used in auth flows, simpler for traditional web"
}
],
multiSelect: false
}
]
})
```
4. **WAIT for user answers** before proceeding to plan creation
---
## Phase 4: Plan Creation
**After receiving answers from Phase 3.5** (if questions were asked), create a detailed plan file at `.cas/plans/{task-slug}.md` with this structure:
```markdown
# Implementation Plan: [Task Title]
Created: [Date]
Status: PENDING APPROVAL
Orchestrator: Opus
Scout Model: Opus (Maximum Quality)
Execution Mode: Parallel Agent Deployment
## Summary
[2-3 sentences describing what will be accomplished]
## Architectural Insights
[Key insights from Opus scouts about the codebase structure and implications]
## Scope
### In Scope
- [List what will be changed]
### Out of Scope
- [List what will NOT be changed]
## Prerequisites
- [Any requirements before starting]
## Parallelization Strategy
This plan is designed for maximum parallel execution with Opus-quality agents.
### Work Streams
| Stream | Focus | Files | Can Parallel With |
|--------|-------|-------|-------------------|
| Stream A | [Area] | [Files] | B, C |
| Stream B | [Area] | [Files] | A, C |
| Stream C | [Area] | [Files] | A, B |
### Dependencies
- [List any sequential dependencies between streams]
## Implementation Phases
### Phase 1: [Phase Name]
**Objective**: [What this phase accomplishes]
**Parallel Streams**:
| Agent | Task | Files |
|-------|------|-------|
| Agent 1 | [Task] | `path/to/file.ts` |
| Agent 2 | [Task] | `path/to/other.ts` |
**VerificatiRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.