[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MFNBMZ012Z1SDYEHCGAXS":3,"skill-same:01M77MFNBMZ012Z1SDYEHCGAXS":46},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M77MFNBMZ012Z1SDYEHCGAXS","martin-agent-orchestration",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fm\u002Fmartin-agent-orchestration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\n---\nname: agent-orchestration\nname: agent-orchestration\nversion: 2.0.0\ndescription: \"Master the art of spawning and managing sub-agents. Write prompts that actually work, track running agents, and learn from every outcome. Part of the Hal Stack 🦞\"\nauthor: halthelobster\nrequires.env: [SKILLBOSS_API_KEY]\n---\n\n\n# Agent Orchestration 🦞\n\n**By Hal Labs** — Part of the Hal Stack\n\nYour agents fail because your prompts suck. This skill fixes that.\n\n---\n\n\n## The Core Problem\n\nYou're not prompting. **You're praying.**\n\nMost prompts are wishes tossed into the void:\n\n```\n❌ \"Research the best vector databases and write a report\"\n```\n\nYou type something reasonable. The output is mid. You rephrase. Still mid. You add keywords. Somehow worse. You blame the model.\n\nHere's what you don't understand: **A language model is a pattern-completion engine.** It generates the most statistically probable output given your input.\n\nVague input → generic output. Not because the model is dumb. Because generic is what's most probable when you give it nothing specific to work with.\n\n**The model honored exactly what you asked for. You just didn't realize how little you gave it.**\n\n---\n\n\n## The Core Reframe\n\nA prompt is not a request. **A prompt is a contract.**\n\nEvery contract must answer four non-negotiables:\n\n| Element | Question |\n|---------|----------|\n| **Role** | Who is the model role-playing as? |\n| **Task** | What exactly must it accomplish? |\n| **Constraints** | What rules must be followed? |\n| **Output** | What does \"done\" look like? |\n\nMiss one, the model fills the gap with assumptions. Assumptions are where hallucinations are born.\n\n---\n\n\n## The 5-Layer Architecture\n\nEffective prompts share a specific structure. This maps to how models actually process information.\n\n### Layer 1: Identity\n\nWho is the model in this conversation?\n\nNot \"helpful assistant\" but a specific role with specific expertise:\n\n```markdown\nYou are a senior product marketer who specializes in B2B SaaS positioning.\nYou have 15 years of experience converting technical features into emotional benefits.\nYou write in short sentences. You never use jargon without explaining it.\n```\n\nThe model doesn't \"become\" this identity—it accesses different clusters of training data, different stylistic patterns, different reasoning approaches.\n\n**Identity matters.** Miss this and you get generic output.\n\n### Layer 2: Context\n\nWhat does the model need to know to do this task exceptionally well?\n\nContext must be:\n- **Ordered** — Most important first\n- **Scoped** — Only what's relevant\n- **Labeled** — What's rules vs. editable vs. historical\n\n```markdown\n## Context\n\n### Rules (never change)\n- Design system: Tailwind, shadcn components\n- Voice: Professional but warm, never corporate\n\n### Current State (may evolve)\n- Landing page exists at \u002Flanding\n- Using Next.js 14 with App Router\n\n### Historical (for reference)\n- Originally built with Create React App, migrated Jan 2025\n```\n\n**Without labels, the model treats everything as equally optional.** Then it rewrites your core logic halfway through.\n\n### Layer 3: Task\n\nWhat specific action must be taken?\n\nNot \"write something about X\" but precise instructions:\n\n```markdown\n## Task\nProduce a 500-word product description that:\n- Emphasizes time-saving benefits for busy executives\n- Opens with the primary pain point\n- Includes 3 specific use cases\n- Ends with a clear call to action\n```\n\nThe more precisely you define the task, the more precisely the model executes.\n\n### Layer 4: Process ⚡\n\n**This is where most prompts fail.**\n\nYou're asking for output. You should be asking for **how the output is formed.**\n\n❌ Bad:\n```\nWrite me a marketing page.\n```\n\n✅ Good:\n```markdown\n## Process\n1. First, analyze the target audience and identify their primary pain points\n2. Then, define the positioning that addresses those pain points\n3. Then, write the page\n4. Show your reasoning at each step\n5. Do not skip steps\n6. Audit your work before reporting done\n```\n\n**You don't want answers. You want how the answer is formed.**\n\nThink like a director. You're not asking for a scene—you're directing how the scene gets built.\n\n### Layer 5: Output\n\nWhat does \"done\" actually look like?\n\nIf you don't specify, you get whatever format the model defaults to.\n\n```markdown\n## Output Format\nReturn a JSON object with:\n- `headline`: string (max 60 chars)\n- `subheadline`: string (max 120 chars)\n- `body`: string (markdown formatted)\n- `cta`: string (action verb + benefit)\n\nDo not include explanations, notes, or commentary. Only the JSON.\n```\n\n**Miss one layer, the structure wobbles. Miss two, it collapses.**\n\n---\n\n\n## Model Selection via SkillBoss API Hub\n\n**Prompt portability is a myth.**\n\nDifferent tasks need different capabilities. With SkillBoss API Hub, you call a single endpoint (`https:\u002F\u002Fapi.skillboss.co\u002Fv1\u002Fpilot`) and use the `prefer` parameter to auto-route to the best available model for your task.\n\n| Task Profile | prefer setting | Best For |\n|-------------|---------------|----------|\n| Complex reasoning, nuanced writing, long context | `\"prefer\": \"quality\"` | Deep analysis, creative work, multi-step logic |\n| Balanced tasks, code, analysis | `\"prefer\": \"balanced\"` | Most everyday tasks, reliable output |\n| Quick tasks, simple queries | `\"prefer\": \"price\"` | High-volume, latency-sensitive, simple completions |\n\n```python\nimport requests, os\n\nSKILLBOSS_API_KEY = os.environ[\"SKILLBOSS_API_KEY\"]\n\ndef call_llm(messages, prefer=\"balanced\"):\n    r = requests.post(\n        \"https:\u002F\u002Fapi.skillboss.co\u002Fv1\u002Fpilot\",\n        headers={\"Authorization\": f\"Bearer {SKILLBOSS_API_KEY}\", \"Content-Type\": \"application\u002Fjson\"},\n        json={\"type\": \"chat\", \"inputs\": {\"messages\": messages}, \"prefer\": prefer},\n        timeout=60,\n    )\n    return r.json()[\"result\"][\"choices\"][0][\"message\"][\"content\"]\n\n# Quality mode — complex reasoning\nresult = call_llm([{\"role\": \"user\", \"content\": \"Analyze this architecture...\"}], prefer=\"quality\")\n\n# Balanced mode — everyday tasks\nresult = call_llm([{\"role\": \"user\", \"content\": \"Summarize this document\"}], prefer=\"balanced\")\n\n# Price mode — quick, high-volume tasks\nresult = call_llm([{\"role\": \"user\", \"content\": \"Extract keywords from: ...\"}], prefer=\"price\")\n```\n\nSkillBoss API Hub automatically selects the optimal model. **You don't manage model names — you declare your task priority.**\n\n**Adapt your prompt structure per use case:**\n- Quality mode handles verbose, nuanced prompts well\n- Balanced mode works best with clear, structured prompts\n- Price mode responds best to simple, direct instructions\n- For any mode: explicit output format always improves results\n\n**The person who writes task-specific prompts with the right `prefer` setting will outperform the person with \"better ideas\" every time.**\n\n---\n\n\n## Constraints Are Instructions\n\nVagueness isn't flexibility. **It's cowardice.**\n\nYou hedge because being specific feels risky. But the model doesn't read your mind.\n\n**Constraints are not limitations. Constraints are instructions.**\n\n```markdown\n## Constraints\n- Never alter the existing design system\n- Always maintain the established voice\u002Ftone\n- Never change the data model without explicit approval\n- Max 3 API calls per operation\n- If unsure, ask rather than assume\n```\n\nEvery conversation starts at zero. The model doesn't have accumulated context from working with you. **Consistency comes from instruction, not memory.**\n\n---\n\n\n## Canonical Documentation\n\nIf you don't have docs, you're gambling.\n\n| Document | Purpose |\n|----------|---------|\n| PRD | What we're building and why |\n| Design System | Visual rules and components |\n| Constraints Doc | What must never change |\n| Context Doc | Current state and history |\n\n**The rule:** Reference docs in your prompts.\n\n```markdown\nThe attached PRD is the source of truth. Do not contradict it.\nThe design system in \u002Fdocs\u002Fdesign.md must be followed exactly.\n```\n\nWithout explicit anchoring, the model assumes everything is mutable—including your core decisions.\n\n> \"Good prompting isn't writing better sentences. It's anchoring the model to reality.\"\n\n---\n\n\n## The Complete Template\n\n```markdown\n## Identity\nYou are a [specific role] with [specific expertise].\n[Behavioral traits and style]\n\n## Context\n\n### Rules (never change)\n- [Constraint 1]\n- [Constraint 2]\n\n### Current State\n- [Relevant background]\n\n### Reference Docs\n- [Doc 1]: [what it contains]\n- [Doc 2]: [what it contains]\n\n## Task\n[Specific, measurable objective]\n\n## Process\n1. First, [analysis step]\n2. Then, [planning step]\n3. Then, [execution step]\n4. Finally, [verification step]\n\nShow your reasoning at each step.\n\n## User Stories\n1. As [user], I want [goal], so that [benefit]\n2. As [user], I want [goal], so that [benefit]\n\n## Output Format\n[Exact specification of deliverable]\n\n## Constraints\n- [Limit 1]\n- [Limit 2]\n- [What NOT to do]\n\n## Error Handling\n- If [situation]: [action]\n- If blocked: [escalation]\n\n## Before Reporting Done\n1. Review each user story\n2. Verify the output satisfies it\n3. If not, iterate until it does\n4. Only then report complete\n```\n\n---\n\n\n## Ralph Mode\n\nFor complex tasks where first attempts often fail:\n\n```markdown\n## Mode: Ralph\nKeep trying until it works. Don't give up on first failure.\n\nIf something breaks:\n1. Debug and understand why\n2. Try a different approach\n3. Research how others solved similar problems\n4. Iterate until user stories are satisfied\n\nYou have [N] attempts before escalating.\n```\n\n**When to use:**\n- Build tasks with multiple components\n- Integration work\n- Anything where first-try success is unlikely\n\n---\n\n\n## Agent Tracking\n\n**Every spawned agent gets tracked. No orphans.**\n\nMaintain `notes\u002Fareas\u002Factive-agents.md`:\n\n```markdown\n## Currently Running\n\n| Label | Task | Spawned | Expected | Status |\n|-------|------|---------|----------|--------|\n| research-x | Competitor analysis | 9:00 AM | 15m | 🏃 Running |\n\n## Completed Today\n\n| Label | Task | Runtime | Result |\n|-------|------|---------|--------|\n| builder-v2 | Dashboard update | 8m | ✅ Complete |\n```\n\n**Heartbeat check:**\n```\n1. Run sessions_list --activeMinutes 120\n2. Compare to tracking file\n3. Investigate any missing\u002Fstalled agents\n4. Log completions to LEARNINGS.md\n```\n\n---\n\n\n## The Learnings Loop\n\nEvery agent outcome is data. Capture it.\n\nMaintain `LEARNINGS.md`:\n\n```markdown\n## What Works\n- User stories + acceptance loop\n- Ralph mode for complex builds\n- Explicit output formats\n- Process layer with reasoning steps\n\n## What Doesn't Work\n- Lazy task dumps\n- Missing success criteria\n- No scope limits\n- Vague constraints\n\n## Experiment Log\n### [Date]: [Agent Label]\n**Approach:** [What you tried]\n**Outcome:** [What happened]\n**Lesson:** [What you learned]\n```\n\n---\n\n\n## Role Library\n\nBuild reusable role definitions:\n\n```markdown\n# Role Library\n\n## Research Analyst\nYou are a senior research analyst with 10 years experience in technology markets.\nYou are thorough but efficient. You cite sources. You distinguish fact from speculation.\nYou present findings in structured formats with clear recommendations.\n\n## Technical Writer\nYou are a technical writer who specializes in developer documentation.\nYou write clearly and concisely. You use examples liberally.\nYou assume the reader is smart but unfamiliar with this specific system.\n\n## Code Reviewer\nYou are a senior engineer conducting code review.\nYou focus on correctness, maintainability, and security.\nYou explain your reasoning. You suggest specific improvements, not vague feedback.\n```\n\n---\n\n\n## Quick Reference\n\n### The 4 Non-Negotiables\n1. **Role** — Who is the model?\n2. **Task** — What must it do?\n3. **Constraints** — What rules apply?\n4. **Output** — What does done look like?\n\n### The 5 Layers\n1. **Identity** — Specific role and expertise\n2. **Context** — Ordered, scoped, labeled\n3. **Task** — Precise objective\n4. **Process** — How to approach (most overlooked!)\n5. **Output** — Exact format specification\n\n### Pre-Spawn Checklist\n- [ ] Identity assigned?\n- [ ] Context labeled (rules\u002Fstate\u002Fhistory)?\n- [ ] Task specific and measurable?\n- [ ] Process described (not just output)?\n- [ ] User stories defined?\n- [ ] Output format specified?\n- [ ] Constraints explicit?\n- [ ] Error handling included?\n- [ ] Added to tracking file?\n\n---\n\n\n## The Final Truth\n\nThe gap between \"AI doesn't work for me\" and exceptional results isn't intelligence or access.\n\n**One group treats prompting as conversation. The other treats it as engineering a system command.**\n\nThe model matches your level of rigor.\n\n- Vague inputs → generic outputs\n- Structured inputs → structured outputs\n- Clear thinking → clear results\n\nYou don't need to be smarter. You need to be clearer.\n\n**Clarity is a system, not a talent.**\n\n---\n\n\n*Part of the Hal Stack 🦞*\n\n---\n\n\n**Got a skill idea?** Email: halthelobster@protonmail.com\n\n---\n\n\n*\"You're not prompting, you're praying. Start engineering.\"*\n","name: agent-orchestration\nname: agent-orchestration\nversion: 2.0.0\ndescription: \"Master the art of spawning and managing sub-agents. Write prompts that actually work, track running agents, and learn from every outcome. Part of the Hal Stack 🦞\"\nauthor: halthelobster\nrequires.env: [SKILLBOSS_API_KEY]\n---\n\n\n# Agent Orchestration 🦞\n\n**By Hal Labs** — Part of the Hal Stack\n\nYour agents fail because your prompts suck. This skill fixes that.\n\n---\n\n\n## The Core Problem\n\nYou're not prompting. **You're praying.**\n\nMost prompts are wishes tossed into the void:\n\n```\n❌ \"Research the best vector databases and write a report\"\n```\n\nYou type something reasonable. The output is mid. You rephrase. Still mid. You add keywords. Somehow worse. You blame the model.\n\nHere's what you don't understand: **A language model is a pattern-completion engine.** It generates the most statistically probable output given your input.\n\nVague input → generic output. Not because the model is dumb. Because generic is what's most probable when you give it nothing specific to work with.\n\n**The model honored exactly what you asked for. You just didn't realize how little you gave it.**\n\n---\n\n\n## The Core Reframe\n\nA prompt is not a request. **A prompt is a contract.**\n\nEvery contract must answer four non-negotiables:\n\n| Element | Question |\n|---------|----------|\n| **Role** | Who is the model role-playing as? |\n| **Task** | What exactly must it accomplish? |\n| **Constraints** | What rules must be followed? |\n| **Output** | What does \"done\" look like? |\n\nMiss one, the model fills the gap with assumptions. Assumptions are where hallucinations are born.\n\n---\n\n\n## The 5-Layer Architecture\n\nEffective prompts share a specific structure. This maps to how models actually process information.\n\n### Layer 1: Identity\n\nWho is the model in this conversation?\n\nNot \"helpful assistant\" but a specific role with specific expertise:\n\n```markdown\nYou are a senior product marketer who specializes in B2B SaaS positioning.\nYou have 15 years of experience converting technical features into emotional benefits.\nYou write in short sentences. You never use jargon without explaining it.\n```\n\nThe model doesn't \"become\" this identity—it accesses different clusters of training data, different stylistic patterns, different reasoning approaches.\n\n**Identity matters.** Miss this and you get generic output.\n\n### Layer 2: Context\n\nWhat does the model need to know to do this task exceptionally well?\n\nContext must be:\n- **Ordered** — Most important first\n- **Scoped** — Only what's relevant\n- **Labeled** — What's rules vs. editable vs. historical\n\n```markdown\n## Context\n\n### Rules (never change)\n- Design system: Tailwind, shadcn components\n- Voice: Professional but warm, never corporate\n\n### Current State (may evolve)\n- Landing page exists at \u002Flanding\n- Using Next.js 14 with App Router\n\n### Historical (for reference)\n- Originally built with Create React App, migrated Jan 2025\n```\n\n**Without labels, the model treats everything as equally optional.** Then it rewrites your core logic halfway through.\n\n### Layer 3: Task\n\nWhat specific action must be taken?\n\nNot \"write something about X\" but precise instructions:\n\n```markdown\n## Task\nProduce a 500-word product description that:\n- Emphasizes time-saving benefits for busy executives\n- Opens with the primary pain point\n- Includes 3 specific use cases\n- Ends with a clear call to action\n```\n\nThe more precisely you define the task, the more precisely the model executes.\n\n### Layer 4: Process ⚡\n\n**This is where most prompts fail.**\n\nYou're asking for output. You should be asking for **how the output is formed.**\n\n❌ Bad:\n```\nWrite me a marketing page.\n```\n\n✅ Good:\n```markdown\n## Process\n1. First, analyze the target audience and identify their primary pain points\n2. Then, define the positioning that addresses those pain points\n3. Then, write the page\n4. Show your reasoning at each step\n5. Do not skip steps\n6. Audit your work before reporting done\n```\n\n**You don't want answers. You want how the answer is formed.**\n\nThink like a director. You're not asking for a scene—you're directing how the scene gets built.\n\n### Layer 5: Output\n\nWhat does \"done\" actually look like?\n\nIf you don't specify, you get whatever format the model defaults to.\n\n```markdown\n## Output Format\nReturn a JSON object with:\n- `headline`: string (max 60 chars)\n- `subheadline`: string (max 120 chars)\n- `body`: string (markdown formatted)\n- `cta`: string (action verb + benefit)\n\nDo not include explanations, notes, or commentary. Only the JSON.\n```\n\n**Miss one layer, the structure wobbles. Miss two, it collapses.**\n\n---\n\n\n## Model Selection via SkillBoss API Hub\n\n**Prompt portability is a myth.**\n\nDifferent tasks need different capabilities. With SkillBoss API Hub, you call a single endpoint (`https:\u002F\u002Fapi.skillboss.co\u002Fv1\u002Fpilot`) and use the `prefer` parameter to auto-route to the best available model for your task.\n\n| Task Profile | prefer setting | Best For |\n|-------------|---------------|----------|\n| Complex reasoning, nuanced writing, long context | `\"prefer\": \"quality\"` | Deep analysis, creative work, multi-step logic |\n| Balanced tasks, code, analysis | `\"prefer\": \"balanced\"` | Most everyday tasks, reliable output |\n| Quick tasks, simple queries | `\"prefer\": \"price\"` | High-volume, latency-sensitive, simple completions |\n\n```python\nimport requests, os\n\nSKILLBOSS_API_KEY = os.environ[\"SKILLBOSS_API_KEY\"]\n\ndef call_llm(messages, prefer=\"balanced\"):\n    r = requests.post(\n        \"https:\u002F\u002Fapi.skillboss.co\u002Fv1\u002Fpilot\",\n        headers={\"Authorization\": f\"Bearer {SKILLBOSS_API_KEY}\", \"Content-Type\": \"application\u002Fjson\"},\n        json={\"type\": \"chat\", \"inputs\": {\"messages\": messages}, \"prefer\": prefer},\n        timeout=60,\n    )\n    return r.json()[\"result\"][\"choices\"][0][\"message\"][\"content\"]\n\n# Quality mode — complex reasoning\nresult = call_llm([{\"role\": \"user\", \"content\": \"Analyze this architecture...\"}], prefer=\"quality\")\n\n# Balanced mode — everyday tasks\nresult = call_llm([{\"role\": \"user\", \"content\": \"Summarize this document\"}], prefer=\"balanced\")\n\n# Price mode — quick, high-volume tasks\nresult = call_llm([{\"role\": \"user\", \"content\": \"Extract keywords from: ...\"}], prefer=\"price\")\n```\n\nSkillBoss API Hub automatically selects the optimal model. **You don't manage model names — you declare your task priority.**\n\n**Adapt your prompt structure per use case:**\n- Quality mode handles verbose, nuanced prompts well\n- Balanced mode works best with clear, structured prompts\n- Price mode responds best to simple, direct instructions\n- For any mode: explicit output format always improves results\n\n**The person who writes task-specific prompts with the right `prefer` setting will outperform the person with \"better ideas\" every time.**\n\n---\n\n\n## Constraints Are Instructions\n\nVagueness isn't flexibility. **It's cowardice.**\n\nYou hedge because being specific feels risky. But the model doesn't read your mind.\n\n**Constraints are not limitations. Constraints are instructions.**\n\n```markdown\n## Constraints\n- Never alter the existing design system\n- Always maintain the established voice\u002Ftone\n- Never change the data model without explicit approval\n- Max 3 API calls per operation\n- If unsure, ask rather than assume\n```\n\nEvery conversation starts at zero. The model doesn't have accumulated context from working with you. **Consistency comes from instruction, not memory.**\n\n---\n\n\n## Canonical Documentation\n\nIf you don't have docs, you're gambling.\n\n| Document | Purpose |\n|----------|---------|\n| PRD | What we're building and why |\n| Design System | Visual rules and components |\n| Constraints Doc | What must never change |\n| Context Doc | Current state and history |\n\n**The rule:** Reference docs in your prompts.\n\n```markdown\nThe attached PRD is the source of truth. Do not contradict it.\nThe design system in \u002Fdocs\u002Fdesign.md must be followed exactly.\n```\n\nWithout explicit anchoring, the model assumes everything is mutable—including your core decisions.\n\n> \"Good prompting isn't writing better sentences. It's anchoring the model to reality.\"\n\n---\n\n\n## The Complete Template\n\n```markdown\n## Identity\nYou are a [specific role] with [specific expertise].\n[Behavioral traits and style]\n\n## Context\n\n### Rules (never change)\n- [Constraint 1]\n- [Constraint 2]\n\n### Current State\n- [Relevant background]\n\n### Reference Docs\n- [Doc 1]: [what it contains]\n- [Doc 2]: [what it contains]\n\n## Task\n[Specific, measurable objective]\n\n## Process\n1. First, [analysis step]\n2. Then, [planning step]\n3. Then, [execution step]\n4. Finally, [verification step]\n\nShow your reasoning at each step.\n\n## User Stories\n1. As [user], I want [goal], so that [benefit]\n2. As [user], I want [goal], so that [benefit]\n\n## Output Format\n[Exact specification of deliverable]\n\n## Constraints\n- [Limit 1]\n- [Limit 2]\n- [What NOT to do]\n\n## Error Handling\n- If [situation]: [action]\n- If blocked: [escalation]\n\n## Before Reporting Done\n1. Review each user story\n2. Verify the output satisfies it\n3. If not, iterate until it does\n4. Only then report complete\n```\n\n---\n\n\n## Ralph Mode\n\nFor complex tasks where first attempts often fail:\n\n```markdown\n## Mode: Ralph\nKeep trying until it works. Don't give up on first failure.\n\nIf something breaks:\n1. Debug and understand why\n2. Try a different approach\n3. Research how others solved similar problems\n4. Iterate until user stories are satisfied\n\nYou have [N] attempts before escalating.\n```\n\n**When to use:**\n- Build tasks with multiple components\n- Integration work\n- Anything where first-try success is unlikely\n\n---\n\n\n## Agent Tracking\n\n**Every spawned agent gets tracked. No orphans.**\n\nMaintain `notes\u002Fareas\u002Factive-agents.md`:\n\n```markdown\n## Currently Running\n\n| Label | Task | Spawned | Expected | Status |\n|-------|------|---------|----------|--------|\n| research-x | Competitor analysis | 9:00 AM | 15m | 🏃 Running |\n\n## Completed Today\n\n| Label | Task | Runtime | Result |\n|-------|------|---------|--------|\n| builder-v2 | Dashboard update | 8m | ✅ Complete |\n```\n\n**Heartbeat check:**\n```\n1. Run sessions_list --activeMinutes 120\n2. Compare to tracking file\n3. Investigate any missing\u002Fstalled agents\n4. Log completions to LEARNINGS.md\n```\n\n---\n\n\n## The Learnings Loop\n\nEvery agent outcome is data. Capture it.\n\nMaintain `LEARNINGS.md`:\n\n```markdown\n## What Works\n- User stories + acceptance loop\n- Ralph mode for complex builds\n- Explicit output formats\n- Process layer with reasoning steps\n\n## What Doesn't Work\n- Lazy task dumps\n- Missing success criteria\n- No scope limits\n- Vague constraints\n\n## Experiment Log\n### [Date]: [Agent Label]\n**Approach:** [What you tried]\n**Outcome:** [What happened]\n**Lesson:** [What you learned]\n```\n\n---\n\n\n## Role Library\n\nBuild reusable role definitions:\n\n```markdown\n# Role Library\n\n## Research Analyst\nYou are a senior research analyst with 10 years experience in technology markets.\nYou are thorough but efficient. You cite sources. You distinguish fact from speculation.\nYou present findings in structured formats with clear recommendations.\n\n## Technical Writer\nYou are a technical writer who specializes in developer documentation.\nYou write clearly and concisely. You use examples liberally.\nYou assume the reader is smart but unfamiliar with this specific system.\n\n## Code Reviewer\nYou are a senior engineer conducting code review.\nYou focus on correctness, maintainability, and security.\nYou explain your reasoning. You suggest specific improvements, not vague feedback.\n```\n\n---\n\n\n## Quick Reference\n\n### The 4 Non-Negotiables\n1. **Role** — Who is the model?\n2. **Task** — What must it do?\n3. **Constraints** — What rules apply?\n4. **Output** — What does done look like?\n\n### The 5 Layers\n1. **Identity** — Specific role and expertise\n2. **Context** — Ordered, scoped, labeled\n3. **Task** — Precise objective\n4. **Process** — How to approach (most overlooked!)\n5. **Output** — Exact format specification\n\n### Pre-Spawn Checklist\n- [ ] Identity assigned?\n- [ ] Context labeled (rules\u002Fstate\u002Fhistory)?\n- [ ] Task specific and measurable?\n- [ ] Process described (not just output)?\n- [ ] User stories defined?\n- [ ] Output format specified?\n- [ ] Constraints explicit?\n- [ ] Error handling included?\n- [ ] Added to tracking file?\n\n---\n\n\n## The Final Truth\n\nThe gap between \"AI doesn't work for me\" and exceptional results isn't intelligence or access.\n\n**One group treats prompting as conversation. The other treats it as engineering a system command.**\n\nThe model matches your level of rigor.\n\n- Vague inputs → generic outputs\n- Structured inputs → structured outputs\n- Clear thinking → clear results\n\nYou don't need to be smarter. You need to be clearer.\n\n**Clarity is a system, not a talent.**\n\n---\n\n\n*Part of the Hal Stack 🦞*\n\n---\n\n\n**Got a skill idea?** Email: halthelobster@protonmail.com\n\n---\n\n\n*\"You're not prompting, you're praying. Start engineering.\"*\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fm\u002Fmartin-agent-orchestration",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill martin-agent-orchestration",{"tool":38,"command":39},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill martin-agent-orchestration",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill martin-agent-orchestration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fm\u002Fmartin-agent-orchestration\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]