jcode-orchestration

Coordinate parallel agent delegation, task graphs, and schedules using Jcode swarm tools.

Updated Aug 2, 2026
One-click install
npx skills add https://github.com/leonardoacosta/agents --skill jcode-orchestration-leonardoacosta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jcode-orchestration
Source: https://github.com/leonardoacosta/agents/tree/main/skills/jcode-orchestration
Command: npx skills add https://github.com/leonardoacosta/agents --skill jcode-orchestration-leonardoacosta

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinating multiple AI workers, dependency graphs, and scheduled tasks in Jcode is error-prone: lost worker IDs, premature success claims, duplicate spawns after timeouts, and unsafe cleanup. This Skill defines a disciplined orchestration workflow so delegated work is bounded, verified, and recoverable. ## Core Features & Use Cases - Bounded delegation: Spawn workers with explicit contracts covering acceptance checks, file ownership, report format, and stop conditions. - Dependency graphs and waits: Build task graphs with depends_on edges, await members by exact session IDs, and verify settled state before advancing dependents. - Durable goals and schedules: Track initiatives, milestones, and future schedules with checkpoints that survive session restarts. - Recovery and cleanup: Reconcile live state after interruptions, retry only understood failures, and cancel or stop only owned workers. - Use Case: You need a codebase review, a test run, and a documentation update executed in parallel. Spawn three workers with distinct write ownership, await their completion, verify each report against actual artifacts and test results, then checkpoint the milestone. ## Quick Start Ask the agent to spawn parallel Jcode workers for your subtasks, wait for their completion, and verify each report before marking the work done.

Frequently Asked Questions about jcode-orchestration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I spawn parallel workers in Jcode?

Use the swarm tool's spawn action with a bounded prompt defining the desired result, acceptance checks, allowed files, report contract, and stop conditions. Omit model and spawn_mode so operator-configured routing applies, then record the returned worker or session ID verbatim.

How do I wait for Jcode swarm workers to finish?

Use await_members with the exact session_ids rather than polling status or sleeping. After waiting returns, fetch fresh status per worker with target_session, since a notification or stale transcript cannot establish current state.

Can I use this orchestration skill outside Jcode?

No. Outside Jcode, do not invent a swarm CLI or substitute another executor. Use the calling harness's native delegation mechanism instead, or report that Jcode's tools are unavailable.

What should I do when a Jcode worker spawn times out?

Treat a timeout as a failed observation, not proof the action never happened. Reconcile status, plan_status, and background state to find the original worker before spawning a replacement, and never repeat a spawn merely because its response was lost.

When should I use a task graph versus a simple swarm spawn?

Use task_graph and run_plan when one task consumes another's output, since dependency edges block downstream work until prerequisites finish. Use plain spawn with await for independent workers that need no ordering.