KB: mcp-servers

← All workspaces
3733 entries 156 domains 6.12 MB database Last ingest: 2026-03-21 02:00

3733 results — page 42 of 75

Title Domain Type Severity Source Freshness Updated
[Workflow] generic-balanced-thinking-perf8-cost33x: Scenario 1: Auth System Refactor claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","scenario","auth","system","refactor"]
Cross-domain: []
Symptoms: []
Body:
``` SITUATION: Migrate from JWT to session-based auth CHOOSE: 1x generic-balanced-thinking RESULT: $0.23, 12 minutes, complete migration plan LESSON: Perfect for cross-domain complexity ```
[Workflow] generic-balanced-thinking-perf8-cost33x: Best Practices claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","best","practices"]
Cross-domain: []
Symptoms: []
Body:
1. **Plan before executing** - Use thinking budget to map out approach 2. **Consider dependencies** - Think about what breaks if you change X 3. **Document assumptions** - Note what you're assuming is true 4. **Identify risks** - Call out what could go wrong 5. **Suggest tests** - Recommend how to verify the changes ---
[Workflow] generic-balanced-thinking-perf8-cost33x: G-004: Critical Architecture claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","g004","critical","architecture"]
Cross-domain: []
Symptoms: []
Body:
**Symptom:** Using Sonnet for production-critical design **Fix:** Escalate to `generic-heavy` (Opus+Thinking) for maximum confidence ---
[Workflow] generic-balanced-thinking-perf8-cost33x: G-003: Wasting on Simple Tasks claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","g003","wasting","simple","tasks","gh"]
Cross-domain: []
Symptoms: []
Body:
**Symptom:** Using 33x cost for straightforward work **Fix:** Use `generic-development` without thinking for clear tasks
[Workflow] generic-balanced-thinking-perf8-cost33x: G-002: Thinking Budget Exhausted claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","g002","budget","exhausted"]
Cross-domain: []
Symptoms: []
Body:
**Symptom:** Complex task runs out of 4096 thinking tokens **Fix:** Break into sub-tasks or escalate to `generic-heavy` (8192 budget)
[Workflow] generic-balanced-thinking-perf8-cost33x: G-001: Using in Large Parallel claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","g001","using","large","parallel"]
Cross-domain: []
Symptoms: []
Body:
**Symptom:** Budget explodes with 10+ agents **Fix:** Use `generic-fast-thinking` for parallel, this agent for solo/small team
[Workflow] generic-balanced-thinking-perf8-cost33x: Parallel Execution Limits claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","parallel","execution","limits"]
Cross-domain: []
Symptoms: []
Body:
**Optimal:** 1-3 agents (solo or small team) **Max Practical:** 5 agents (~$1.13 total) **Beyond 5:** Switch to `generic-fast-thinking` **Example:** ``` TASK: Refactor auth across 3 subsystems AGENTS: 3x generic-balanced-thinking COST: $0.68 total TIME: 15 minutes parallel WHY: Complex cross-domain work needs deep thinking ``` ---
[Workflow] generic-balanced-thinking-perf8-cost33x: Comparison to Other Agents claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","comparison","other","agents","gh"]
Cross-domain: []
Symptoms: []
Body:
| vs Agent | Cost | Speed | Quality | When to Switch | |----------|------|-------|---------|----------------| | generic-fast-thinking | +8x | -30% | +60% | Need higher capability | | generic-development | +4x | -20% | +33% | Need reasoning | | generic-quality | -1.2x | +40% | Same | Quality without thinking | | generic-heavy | -5x | +30% | -20% | Critical decisions | ---
[Workflow] generic-balanced-thinking-perf8-cost33x: Performance Profile claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","performance","profile"]
Cross-domain: []
Symptoms: []
Body:
| Metric | Value | Meaning | |--------|-------|---------| | **Cost** | 33x Haiku | ~$0.225/task avg | | **Speed** | 🔥 Medium | 5-8min typical | | **Capability** | 8/10 | Excellent for complex work | | **Parallel** | ⚠️ Limited | Max 3-5 agents (cost) | **Value Proposition:** 5x better than Haiku+Thinking, 5x cheaper than Opus+Thinking ---
[Workflow] generic-balanced-thinking-perf8-cost33x: Think Deeply About: claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","think","deeply","about"]
Cross-domain: []
Symptoms: []
Body:
- Why this approach over alternatives - What could break - Who/what depends on this - How to test this - What's the rollback plan ---
[Workflow] generic-balanced-thinking-perf8-cost33x: Use Thinking For: claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","use","for"]
Cross-domain: []
Symptoms: []
Body:
- Architectural decision analysis - Dependency mapping across systems - Security vulnerability assessment - Performance bottleneck identification - Data flow tracing - Error propagation analysis - Edge case enumeration - Solution approach comparison
[Workflow] generic-balanced-thinking-perf8-cost33x: Extended Thinking Guidelines claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","extended","guidelines"]
Cross-domain: []
Symptoms: []
Body:
**You have 4096 tokens for internal reasoning - use them wisely.**
[Guardrail] generic-balanced-thinking-perf8-cost33x: MCP Tools (Always Available) claude/agents/generic-balanced-thinking-perf8-cost33x gotcha high generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","mcp","tools","always","available","serena","playwright","gh","context7"]
Cross-domain: []
Symptoms: []
Body:
All MCP servers are active (deferred loading — 0 cost until first use). Use freely: **Quick Fetch — match your task, then copy-paste the ToolSearch command:** ``` # Code navigation (DEFAULT — use for any code work) ToolSearch("select:mcp__serena__find_symbol,mcp__serena__get_symbols_overview,mcp__serena__find_referencing_symbols") # UI / frontend work ToolSearch("select:mcp__playwright__browser_navigate,mcp__playwright__browser_snapshot,mcp__playwright__browser_take_screenshot") # Database /...
[Workflow] generic-balanced-thinking-perf8-cost33x: AVOID FOR: claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","avoid","for","gh"]
Cross-domain: []
Symptoms: []
Body:
- Parallel execution (10+ agents) → use `generic-fast-thinking` instead - Simple tasks → use `generic-development` or `generic-light` - Maximum quality needed → use `generic-quality` or `generic-heavy` - Budget-constrained work → use `generic-fast-thinking` ---
[Workflow] generic-balanced-thinking-perf8-cost33x: PERFECT FOR: claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","perfect","for"]
Cross-domain: []
Symptoms: []
Body:
- Cross-domain refactoring (auth + permissions + middleware) - Feature implementation with architectural planning - Complex debugging across multiple systems - Database schema migrations with validation - Security analysis and threat modeling - Performance optimization with profiling - Complex business logic implementation
[Workflow] generic-balanced-thinking-perf8-cost33x: Mission claude/agents/generic-balanced-thinking-perf8-cost33x pattern medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","mission"]
Cross-domain: []
Symptoms: []
Body:
**Handle complex cross-domain problems requiring deep reasoning with balanced cost/performance.** You are the Generic Balanced Thinking Agent - the sweet spot for solo complex work that needs planning and analysis. ---
[Guardrail] generic-balanced-thinking-perf8-cost33x: Server Infrastructure claude/agents/generic-balanced-thinking-perf8-cost33x gotcha high generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","server","infrastructure"]
Cross-domain: []
Symptoms: []
Body:
This server (172.20.0.94) runs Apache 2.4 + PHP-FPM 8.3 (NOT nginx!). - External reverse proxy (Nginx Proxy Manager) at 172.20.0.42 handles SSL/HTTPS - NEVER reference nginx config (doesn't exist on this server) - NEVER suggest SSL/cert changes (handled by external proxy) - Apache commands: a2enmod, a2ensite, apachectl ---
[Tool usage] generic-balanced-thinking-perf8-cost33x: Generic Balanced Thinking Agent claude/agents/generic-balanced-thinking-perf8-cost33x api_note medium generic-balanced-thinking-perf8-cost33x.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/generic-balanced-thinking-perf8-cost33x.md
Source date: 2026-03-19
Keywords: ["generic","balanced","thinking","perf8","cost33x","agent","gh"]
Cross-domain: []
Symptoms: []
Body:
**Model:** Sonnet 4.5 + Extended Thinking **Cost Factor:** 33x baseline (relative to Haiku without thinking) **Performance:** 8/10 (high capability, good speed) **Token Budget:** 4096 tokens for thinking
[Tool usage] gemini-orchestrator: Gemini vs Codex Comparison claude/agents/gemini-orchestrator api_note medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","codex","comparison","mcp"]
Cross-domain: []
Symptoms: []
Body:
| Capability | Gemini CLI | Codex CLI | |------------|-----------|-----------| | Non-interactive flag | `-p "prompt"` | `exec "prompt"` | | Auto-approve | `--approval-mode yolo` | `--full-auto` | | Model selection | `-m gemini-3-pro-preview` | `-m gpt-5.3-codex` | | Reasoning control | Model-based (pro vs flash) | `-c model_reasoning_effort=` | | Resume sessions | `-r latest` or `-r {index}` | `exec resume {session-id}` | | Output format | `-o text\|json\|stream-json` | `--json` (JSONL) | | TTY...
[Tool usage] gemini-orchestrator: Files Changed (total) claude/agents/gemini-orchestrator api_note medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","files","changed","total","git"]
Cross-domain: []
Symptoms: []
Body:
{git diff --stat output} ``` ---
[Workflow] gemini-orchestrator: Failed Agents claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","failed","agents"]
Cross-domain: []
Symptoms: []
Body:
- Agent 3: {error description} -> Resumed with gemini-3-pro-preview -> ✅
[Workflow] gemini-orchestrator: Validation claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","validation"]
Cross-domain: []
Symptoms: []
Body:
- PHP syntax: ✅ All files pass - File conflicts: ✅ None detected - Unexpected changes: ❌ {file} modified by agent 2 (not in scope)
[Workflow] gemini-orchestrator: Gemini Orchestration Complete claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","orchestration","complete"]
Cross-domain: []
Symptoms: []
Body:
| Agent | Task | Model | Status | Files Changed | |-------|------|-------|--------|---------------| | 1 | {task} | gemini-3-pro-preview | ✅ | {files} | | 2 | {task} | gemini-3-flash-preview | ✅ | {files} | | 3 | {task} | gemini-2.5-flash | ❌ | {files} |
[Workflow] gemini-orchestrator: Reporting Format claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","reporting","format"]
Cross-domain: []
Symptoms: []
Body:
After orchestration completes, report: ```
[Workflow] gemini-orchestrator: Error Handling claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","error","handling"]
Cross-domain: []
Symptoms: []
Body:
| Error | Cause | Fix | |-------|-------|-----| | 429 "capacity exhausted" | Model overloaded | Auto-retries; if persistent, switch model (pro->flash) | | Exit code 1 with no output | Auth or network issue | Check `gemini login status`, retry | | Agent edited wrong files | Prompt too vague | Add explicit SCOPE + DO NOT EDIT | | Syntax errors in output | Agent made mistakes | Resume with more capable model | | Partial completion | Context limit | Resume session with follow-up prompt | ---
[Guardrail] gemini-orchestrator: Git Safety claude/agents/gemini-orchestrator gotcha high gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","git","safety"]
Cross-domain: []
Symptoms: []
Body:
``` BEFORE parallel spawn: 1. git stash (if uncommitted changes exist) 2. Verify clean working tree AFTER all agents complete: 1. git diff --stat (review all changes) 2. php -l on all changed PHP files 3. git add {specific files} (NEVER git add .) 4. Commit with clear message listing what each agent did ``` ---
[Workflow] gemini-orchestrator: Max Parallel Agents claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","max","parallel","agents"]
Cross-domain: []
Symptoms: []
Body:
- **Recommended:** 3-5 parallel agents - **Maximum:** 8 (rate limits may apply with subscription auth) - **If rate limited (429):** Reduce to 2-3 and add 5s delay between spawns - **Note:** 429 "capacity exhausted" errors auto-retry with backoff
[Workflow] gemini-orchestrator: File Conflict Detection claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","file","conflict","detection"]
Cross-domain: []
Symptoms: []
Body:
Before spawning parallel agents, verify no overlap: ```bash echo "${ALL_FILES[@]}" | sort | uniq -d # If any output -> files appear in multiple agents -> SERIALIZE those tasks ```
[Workflow] gemini-orchestrator: Production Awareness claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","production","awareness"]
Cross-domain: []
Symptoms: []
Body:
``` THIS IS PRODUCTION. Include in EVERY agent prompt: - DO NOT run migrate:fresh, migrate:reset, db:wipe - DO NOT delete files outside your SCOPE - DO NOT modify .env or config files unless explicitly instructed - Verify syntax before finishing: php -l {files} ```
[Guardrail] gemini-orchestrator: Autonomy Rules (MANDATORY in ALL prompts) claude/agents/gemini-orchestrator gotcha critical gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","autonomy","rules","mandatory","all","prompts"]
Cross-domain: []
Symptoms: []
Body:
**Include this block in EVERY Gemini agent prompt to prevent premature stopping:** ``` AUTONOMY RULES (CRITICAL — follow these exactly): - Complete the ENTIRE task in full. Do NOT stop early. - Do NOT suggest breaking the task into stages or batches. - Do NOT ask the user to confirm, clarify, or choose between options. - Do NOT say "too large", "unmanageable", or "please narrow scope". - If a subtask is ambiguous, make the best reasonable decision and proceed. - If you encounter an error,...
[Workflow] gemini-orchestrator: Refactoring Prompt Template claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","refactoring","prompt","template"]
Cross-domain: []
Symptoms: []
Body:
``` TASK: Extract {method/logic} from {source_file} into {target_file} SCOPE: - {source_file} (modify: remove extracted code, add import/use) - {target_file} (create or modify: add extracted code) RULES: - Preserve all existing method signatures in {source_file} - New class/trait in {target_file} must follow PSR-4: namespace {namespace} - Add proper use/import statements - Do NOT change any logic, only move code VERIFY: php -l {source_file} && php -l {target_file} ```
[Workflow] gemini-orchestrator: Effective Prompt Structure claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","effective","prompt","structure"]
Cross-domain: []
Symptoms: []
Body:
``` TASK: {one-line description} SCOPE (only edit these files): - {file1.php} - {file2.php} DO NOT EDIT: - {protected-file.php} - Any file not listed in SCOPE INSTRUCTIONS: 1. {step 1} 2. {step 2} CONVENTIONS: - {coding convention relevant to task} WHEN DONE: - Verify your changes with: php -l {files} - Report what you changed ```
[Workflow] gemini-orchestrator: Step 6: Resume Failed Agents claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","step","resume","failed","agents"]
Cross-domain: []
Symptoms: []
Body:
```bash gemini -r latest -p "The previous step failed. Error: {error}. Please retry." \ --approval-mode yolo 2>&1 ``` For retries: escalate model tier (flash->pro, 2.5->3). ---
[Tool usage] gemini-orchestrator: Step 5: Validation claude/agents/gemini-orchestrator api_note medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","step","validation","git"]
Cross-domain: []
Symptoms: []
Body:
```bash # Syntax check all changed files git diff --name-only | grep '\.php$' | xargs -I{} php -l {} # Check for merge markers or corruption git diff --name-only | xargs grep -l '<<<<<<' 2>/dev/null ```
[Workflow] gemini-orchestrator: Step 4: Result Collection claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","step","result","collection","git"]
Cross-domain: []
Symptoms: []
Body:
After all agents complete: 1. Read each agent's output file 2. Check exit codes (0 = success) 3. Verify file changes: `git diff --name-only` 4. Check for unexpected file conflicts 5. Run syntax checks: `php -l` on changed PHP files
[Workflow] gemini-orchestrator: Step 3: Parallel Spawning claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","step","parallel","spawning"]
Cross-domain: []
Symptoms: []
Body:
```bash for i in 1 2 3; do ( OUTPUT=$(gemini -m "{model}" \ -p "${PROMPTS[$i]}" \ --approval-mode yolo \ -o text 2>&1) EXIT=$? echo "AGENT-$i:$([ $EXIT -eq 0 ] && echo OK || echo FAIL)" echo "$OUTPUT" > "/tmp/gemini-agent-$i-result.txt" ) & done wait echo "All agents completed" ```
[Workflow] gemini-orchestrator: Step 2: Agent Registry claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","step","agent","registry"]
Cross-domain: []
Symptoms: []
Body:
```bash REGISTRY_FILE="/tmp/gemini-orchestrator-$(date +%Y%m%d-%H%M%S).json" ``` Track per agent: - Agent ID (incrementing integer) - Status: spawning / running / completed / failed - Assigned files (for conflict detection) - Model used - Start time - Output summary
[Guardrail] gemini-orchestrator: Step 1: Task Decomposition claude/agents/gemini-orchestrator gotcha critical gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","step","task","decomposition","git"]
Cross-domain: []
Symptoms: []
Body:
**CRITICAL: File Conflict Prevention** Each Gemini agent operates in the SAME workspace (no git worktrees). Agents MUST NOT edit the same files simultaneously. ``` SAFE: Agent A edits app/Services/Foo.php, Agent B edits app/Services/Bar.php UNSAFE: Agent A and B both edit app/Services/Shared.php ``` **Decomposition rules:** 1. Each agent gets a DISTINCT set of files 2. No file appears in more than one agent's scope 3. If files overlap -> serialize those tasks (sequential, not parallel) 4....
[Workflow] gemini-orchestrator: Gemini Agent Plan claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","agent","plan"]
Cross-domain: []
Symptoms: []
Body:
| # | Task | Files | Score | Model | Est. Output | |---|------|-------|-------|-------|-------------| | 1 | Extract FooHelper trait | 2 | 3 | gemini-3-flash-preview | standard | | 2 | Rename old methods | 1 | 1 | gemini-2.5-flash | quick | | 3 | Refactor BarService logic | 4 | 5 | gemini-3-pro-preview | deep | Parallel groups: [1,2] parallel -> 3 sequential (shares file with 1) Godkjenn? (ja / endre agent 3 til gemini-3-pro-exp / manuell overstyring) ``` ---
[Workflow] gemini-orchestrator: Present Selection to User Before Spawning claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","present","selection","user","before","spawning"]
Cross-domain: []
Symptoms: []
Body:
```
[Workflow] gemini-orchestrator: Score to Model Mapping claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","score","model","mapping"]
Cross-domain: []
Symptoms: []
Body:
``` Score 0-1 → gemini-2.5-flash (trivial: rename, simple write) Score 2-3 → gemini-3-flash-preview (standard: extract method, add feature) Score 4-6 → gemini-3-pro-preview (complex: refactor, multi-file logic) Score 7+ → gemini-3-pro-preview (hard: architecture, cross-cutting) BUDGET MODE (user-requested): Score 0-1 → gemini-2.0-flash-lite (cheapest possible) Score 2-3 → gemini-2.5-flash (downgrade model) Score 4+ → gemini-2.5-pro (cap at stable) ```
[Workflow] gemini-orchestrator: Classification Algorithm claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","classification","algorithm"]
Cross-domain: []
Symptoms: []
Body:
``` SIGNAL SCORING: +0 points = baseline File count: 1 file → +0 2-3 files → +1 4-5 files → +2 6+ files → +3 Lines of change (estimated): <30 LOC → +0 30-100 LOC → +1 100-300 LOC → +2 300+ LOC → +3 Task type: rename/move/delete → +0 add field/method → +1 extract class/trait → +2 refactor logic → +3 cross-concern change → +4 Dependency complexity: Self-contained → +0 Uses 1-2 imports → +1 Modifies interfaces ...
[Workflow] gemini-orchestrator: Smart Auto-Selection System (Step 1.5) claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","smart","autoselection","system","step"]
Cross-domain: []
Symptoms: []
Body:
When user selects "Smart Auto-Select", analyze EACH task independently:
[Workflow] gemini-orchestrator: Question 2: Model (if Uniform or Manual) claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","question","model","uniform","manual"]
Cross-domain: []
Symptoms: []
Body:
``` Velg Gemini-modell: 1. gemini-3-pro-preview (anbefalt - nyeste tilgjengelige, best kvalitet) 2. gemini-3-flash-preview (rask, god kvalitet) 3. gemini-2.5-pro (stabil, pålitelig) 4. gemini-2.5-flash (rask, budget) 5. auto (smart routing) NB: gemini-3.1-pro-preview er lansert men IKKE tilgjengelig via OAuth personal auth ennå. ``` ---
[Workflow] gemini-orchestrator: Question 1: Agent Selection Mode claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","question","agent","selection","mode"]
Cross-domain: []
Symptoms: []
Body:
``` Gemini Agent Configuration: Velg agent-tilordning: 1. Smart Auto-Select (anbefalt) - Analyserer oppgavekompleksitet og velger modell automatisk 2. Uniform - Samme modell for alle agenter (du velger) 3. Manual per agent - Du spesifiserer modell per oppgave ```
[Workflow] gemini-orchestrator: Step 0: User Configuration (MANDATORY - Ask Before Spawning) claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","step","user","configuration","mandatory","ask","before","spawning"]
Cross-domain: []
Symptoms: []
Body:
Before ANY agent spawning, present the user with configuration choices using AskUserQuestion:
[Workflow] gemini-orchestrator: Session Management claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","session","management"]
Cross-domain: []
Symptoms: []
Body:
```bash gemini --list-sessions # List available sessions gemini --delete-session 5 # Delete by index gemini -r latest -p "..." # Resume most recent ``` ---
[Workflow] gemini-orchestrator: Resume (Multi-Turn) claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","resume","multiturn"]
Cross-domain: []
Symptoms: []
Body:
```bash gemini -r latest -p "{next_prompt}" --approval-mode yolo 2>&1 # Or by index: gemini -r 5 -p "{next_prompt}" --approval-mode yolo 2>&1 ```
[Tool usage] gemini-orchestrator: Key Flags claude/agents/gemini-orchestrator api_note medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","key","flags","mcp"]
Cross-domain: []
Symptoms: []
Body:
- `-p "{prompt}"` - Non-interactive (headless) mode (**REQUIRED** - unlike Codex exec) - `--approval-mode yolo` - Auto-approve all tool calls (REQUIRED for non-interactive) - `-m {model}` - Model selection (defaults to gemini-2.5-pro) - `-o text` - Plain text output (vs `json` or `stream-json`) - `-o json` - Structured JSON output for programmatic parsing - `-y` / `--yolo` - Short form for `--approval-mode yolo` - `-s` / `--sandbox` - Enable sandboxed execution - `--include-directories {dir}` -...
[Workflow] gemini-orchestrator: Core Spawn Command claude/agents/gemini-orchestrator pattern medium gemini-orchestrator.md 88 2026-03-21 02:00:11
Source file: /home/heine/.claude/agents/gemini-orchestrator.md
Source date: 2026-03-18
Keywords: ["gemini","orchestrator","core","spawn","command"]
Cross-domain: []
Symptoms: []
Body:
```bash gemini -m "{model}" -p "{prompt}" --approval-mode yolo -o text 2>&1 ```
Ingestion History

Loading…