grandamenium/cortextos/worker-agents
Claude Code and agent skill by grandamenium/cortextos
- community
Checking that the SKILL.md file is still in the repository.
You have a task that would benefit from running in a separate isolated Claude Code session — either because it is long-running and you do not want it to consume your context window, or because you want multiple pieces of work running in parallel that each require a full Claude Code session with its own tools, memory, and context (not just a subagent call). You will spawn one or more ephemeral worker sessions, give each a focused task, monitor their progress via the bus, and collect their outputs when done.
Install
npx vskill@latest install grandamenium/cortextos/worker-agentsSKILL.md
The same SKILL.md was published earlier as grandamenium/cortextos/worker-agents.
Worker Agents
Spawn ephemeral Claude Code sessions for parallelized long-running tasks. Workers get a scoped task, produce deliverables, and are cleaned up when done. Use when work requires a full independent Claude Code session — not just a subagent tool call.
Worker session spawn is fully implemented. Usecortextos spawn-workerto launch isolated Claude Code sessions for parallelized tasks.
When to Use
Good fit:
- Independent work that does not touch files another agent is editing
- Research or design docs in a new directory
- Scaffolding a new feature in isolation
- Any task > 5 minutes that can run while you do other work
Bad fit:
- Editing files another agent or worker is actively touching (merge conflicts)
- Tasks needing real-time back-and-forth (just do it yourself)
- Very short tasks < 2 minutes (overhead not worth it)
How Workers Differ from Persistent Agents
| Persistent Agent | Worker Agent | ||
|---|---|---|---|
| Lifetime | 24/7, survives restarts | Dies when task is done | |
| Identity | IDENTITY.md, SOUL.md, GOALS.md | None — just a task prompt | |
| Heartbeat | Updates every 4h | None | |
| Crons | config.json scheduled tasks | None | |
| Inbox | Bus messages via check-inbox | Bus messages (optional) | |
| Telegram | Yes | No | |
| Memory | Daily journals, MEMORY.md | None |
Workflow (Concepts — Implementation TBD)
Step 1: Scope the Work
Before spawning, answer:
- What specific deliverables should the worker produce?
- Which files/directories will it create or modify?
- Does this overlap with any active agent or worker? If yes, do NOT parallelize.
- What context does the worker need?
Step 2: Spawn Worker Session
The worker:
- Runs
claude --dangerously-skip-permissionsin the given directory - Gets a bus identity (
CTX_AGENT_NAME=<worker-name>) for two-way communication - Logs to
~/.cortextos/<instance>/logs/<worker-name>/stdout.log - Is tracked by the daemon — use
cortextos list-workersto monitor status
Step 3: Inject Task Prompt
A good worker task prompt includes:
- Exact deliverables (specific files or outputs to produce)
- What NOT to touch (files other agents own)
- Working directory scope
- How to communicate back (
cortextos bus send-message <parent> normal '<update>') - Completion signal ("when done, send me a summary")
Step 4: Log the Spawn
Step 5: Monitor
Workers communicate back via the bus. Check your inbox:
Check all worker statuses:
Check git progress in the worker's directory:
Nudge a stuck worker (equivalent of tmux send-keys):
Step 6: Cleanup
Scaling Rules
| Workers | Risk | Notes | |
|---|---|---|---|
| 1-2 | Low | Safe for most tasks | |
| 3-4 | Medium | Ensure zero file overlap | |
| 5+ | High | Resource contention, monitor closely |
Hard rules:
- NEVER spawn workers for overlapping file sets
- NEVER let workers modify files you or other agents are editing
- ALWAYS log spawns and completions
- Workers should NOT spawn their own workers (no worker-ception)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcommunity/skills/worker-agents/SKILL.md
Popularity
- Repository stars
- 97
- Repository forks
- 110
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/grandamenium/cortextos/worker-agents)