llucax/opencode-sessions-spawning/sessions-spawning

Claude Code and agent skill by llucax/opencode-sessions-spawning

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

How to spawn OpenCode worker sessions and tasks and keep track of them. Load before spawning a session, or before a task when you manage several workers.

Install

npx vskill@latest install llucax/opencode-sessions-spawning/sessions-spawning

SKILL.md

The same SKILL.md was published earlier as llucax/opencode-sessions-spawning/sessions-spawning.

Spawning sessions and tasks

A worker is a session or a task.

  • Tasks for short, blocking work. Sessions for long work, parallel work, or work that spawns workers of its own.
  • Reuse a warm worker for follow-ups on its own work.
  • Load agent-messages to write delegations and read reports.

Model

  • Call the model_route tool with the job that fits, or the job or score and tags the agent's description recommends; add not_model with the author's model for second-opinion reviews. Its first line is the route: a provider/model, an effort and its notes; or it says no route fits.
  • Pass the model as model and the effort as variant to task or spawn_session.
  • Respect the notes. heavy: the provider's limit on heavy workers at once; long-running workers count as heavy too. bounded work only: one bounded job, never a loop or a long-running session.
  • When routing fails or finds no route, fix the cause or ask the user; never pick a model another way.
  • Only if there is no model_route tool: pick from list_models (and the quota tool, if installed), prefer the more capable model in doubt, never use a provider that trains on submitted data or keeps it beyond short operational retention, and treat xhigh or max workers as heavy, one per provider.

Tools

  • If task prints a task: warning that model and variant did not apply, stop and tell the user.
  • Sessions need spawn_session, send_agent_message and reply (plugin marenz/opencode-plugins). Without them, use tasks or ask the user.

Setup

  • One worker per disjoint scope: never two writers in one checkout.
  • Title a spawned session (not a task) W: <topic>, or M: <topic> for a manager. The global or project AGENTS.md may set other prefixes.
  • Reusing a warm session, drop its (DONE) and keep W: . Ask before reusing a session without W: ; never reuse an M: one.
  • A heavy worker is long-running or on a heavy route. Stay under the provider's limit, counting every worker under you, your workers' workers included.
  • Workers may start their own unless their delegation says otherwise: lightweight agents and short tasks on routes not marked heavy freely. For a heavy one, tell your spawner (agent, model, variant, why): a session in a one-line reply when starting it, a task in its final answer.
  • Tell a worker to slow down when it starts heavy workers too often.

Progress

  • Tell workers not to reply with routine progress, only final results, blockers, decisions and heavy-worker starts.
  • To check progress, call list_sessions with include_todo and match rows to your spawns' IDs. Never just to mirror it.
  • A worker is done only at its final report, not at 100%.

Cleanup

  • Prefix a session's title with (DONE) once its work is verified and finished.
  • Remove stale worktrees and branches when the work is merged or abandoned.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/llucax/opencode-sessions-spawning/sessions-spawning/badge)](https://verified-skill.com/skills/llucax/opencode-sessions-spawning/sessions-spawning)

Something wrong with this skill or its page? Tell us.