agent-manager-skill
Manage fleets of local AI agents — spawn, supervise, route tasks, monitor progress, and shut down workers cleanly. Use when coordinating multiple agents on parallel workstreams.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- agent-manager-skill
- category
- ai-research
- description
- Manage fleets of local AI agents — spawn, supervise, route tasks, monitor progress, and shut down workers cleanly. Use when coordinating multiple agents on parallel workstreams.
03 SKILL.md 正文
Agent Manager
When one agent isn't enough, you need a manager: something that spawns workers, assigns scoped tasks, watches progress, collects results, and cleans up. This skill covers the management layer above individual agents.
Overview
Managing agents is managing concurrency with unreliable workers. Each worker gets a narrow task brief, a bounded scope, and a defined output format. The manager's loop is: dispatch -> monitor -> collect -> integrate -> terminate. Good management is mostly about briefs and contracts — most multi-agent failures are communication failures, not capability failures.
When to use
- Parallelizable research: several agents investigate different sources or angles simultaneously.
- Large codebases: workers explore or refactor separate modules in parallel.
- Batch processing: the same analysis applied to many items independently.
- Long-running pipelines where stages can overlap and need supervision.
Core concepts
- Task briefs: each worker gets goal, scope boundaries, output format, and a stop condition. Vague briefs produce vague results — the manager's main lever.
- Worker isolation: workers operate in separate sessions/contexts so their context windows don't contaminate each other. Share only what's needed.
- Supervision loop: the manager polls status, reads partial output, and intervenes when a worker stalls, loops, or drifts off-brief.
- Result contracts: define the exact shape of a worker's deliverable (file path, format, required fields) so integration is mechanical.
- Lifecycle management: spawn, health-check, graceful shutdown, and cleanup of worker sessions. Orphaned workers waste resources and confuse state.
- Failure isolation: one worker's failure must not corrupt others. Timeouts, retries with new briefs, and fallback plans per worker.
Practical workflow
- Decompose the work into independent units with clear boundaries and no shared mutable state.
- Write a brief template: goal, scope, output contract, stop conditions, timeout.
- Spawn workers one at a time; verify the first worker's output quality before spawning the rest.
- Monitor with heartbeats: periodic status checks; kill and respawn workers that stall past their timeout.
- Collect results against the contract; reject and re-brief incomplete deliverables rather than patching them yourself.
- Integrate results, then shut down all workers and archive their logs for audit.
Worker brief template:
GOAL: <single concrete deliverable>
SCOPE: <what it may read/touch; explicit exclusions>
OUTPUT: <file path + format + required sections>
STOP: <done condition; max runtime; escalation trigger>
Common pitfalls
- Overlapping scopes: two workers editing the same files or researching the same question. Partition cleanly.
- No output contract: workers return prose essays instead of usable artifacts. Define the deliverable shape up front.
- Fire and forget: spawning workers without monitoring. Stalled workers are discovered too late.
- Shared mutable state: workers writing to the same files or databases. Give each its own workspace; merge at the manager level.
- No timeout: a stuck worker runs forever. Every worker gets a max runtime and a stall policy.
- Skipping the pilot: spawning ten workers before validating the brief on one. Always pilot first.
04 同仓库更多 Skills
web-scrape
Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.
design-taste-frontend
tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).