parallel-tasks
Phase-1 FREE-only parallel task dispatch for a pilot lead.
Skill by techfreakworm
Chalk Labs
Need help deploying parallel-tasks?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/techfreakworm-parallel-tasks
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: sales, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/parallel-tasks
What's inside
- Skill name
parallel-tasks- Description
- Phase-1 FREE-only parallel task dispatch for a pilot lead. Load this skill (via the lead brief) only when HERMES_LEAD_PARALLELISM=1 is set in the lead's environment. When the flag is absent, ignore this skill entirely -- the lead must behave byte-identically to the serial baseline.
- License
- MIT
- Instructions
- 137 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# parallel-tasks
## When this skill applies
Only activate this workflow when ALL of the following are true:
1. The environment variable `HERMES_LEAD_PARALLELISM` is set to `1`.
2. The operator request contains two or more clearly separable tasks.
If the flag is absent or the request is a single task, operate exactly as
before (serial, no ledger).
## Step 0 -- check the flag
```bash
echo "${HERMES_LEAD_PARALLELISM:-0}"
```
If the output is not `1`, stop here and handle the request serially.
## Step 1 -- classify each task
For every discrete task in the operator request, assign one of two
contention classes:
- `FREE` -- stateless work: research, drafting, file edits, web/HF
lookups, code analysis, data processing, summarisation. No shared
browser session, no shared write handle, no voice synthesis.
- `EXCLUSIVE` -- anything that touches a shared, stateful resource:
Playwright (any platform), image generation, voice synthesis, or any
shared file or queue. When in doubt, default to `EXCLUSIVE`.
Phase-1 rule: EXCLUSIVE tasks are NOT parallelised. Run them yourself
one at a time after all FREE tasks are dispatched.
## Step 2 -- create a batch in the ledger
```bash
BATCH=$(
HERMES_ORCH_DB="${HERMES_ORCH_DB:-/opt/claude-soma/registry.sqlite}" \
python -m claude_soma.parallelism.ledger create-batch \
--lead "${HERMES_LEAD_NAME}" \
--request "$(echo '<operator request text here>')" \
--tasks-json '[
{"task_id": "t1", "brief": "<worker prompt>", "contention_class": "FREE"},
{"task_id": "t2", "brief": "<worker prompt>", "contention_class": "FREE"}
]' \
| python3 -c "import sys,json; print(json.load(sys.stdin)['data']['batch_id'])"
)
```
Record `$BATCH` -- you need it for every subsequent ledger call.
## Step 3 -- dispatch FREE tasks (respecting the cap)
The cap is `HERMES_LEAD_TEAM_CAP` (default 3).
For each FREE task:
1. Attempt to claim a slot:
```bash
CLAIMED=$(
python -m claude_soma.parallelism.ledger claim \
--batch "$BATCH" --task "t1" --worker "worker-t1" \
--cap "${HERMES_LEAD_TEAM_CAP:-3}" \
| python3 -c "import sys,json; print(json.load(sys.stdin)['data']['claimed'])"
)
```
2. If `CLAIMED` is `True`: dispatch via `Agent(prompt=<brief>, model="opus", run_in_background=True)` and record the agent handle as the worker.
3. If `CLAIMED` is `False` (at cap): leave the task pending. Dispatch it
once a running worker returns and frees a slot (see Step 5).
Never dispatch more workers than the cap allows.
## Step 4 -- EXCLUSIVE tasks run serially
Do each EXCLUSIVE task yourself, inline, one at a time, in the order the
operator listed them. Do NOT dispatch them as background agents in Phase 1.
There are no leases or Playwright-parallelism mechanisms in Phase 1.
## Step 5 -- handle worker returns
As each background agent returns:
- Mark the task done in the ledger:
```bash
python -m claude_soma.parallelism.ledger done \
--batch "$BATCH" --task "t1" \
--summary "<one-sentence result>"
```
- If the agent returned an error, mark it failed:
```bash
python -m claude_soma.parallelism.ledger fail \
--batch "$BATCH" --task "t1" \
--error "<error text>"
```
- After marking done/failed, check for pending FREE tasks and dispatch
the next one (claim-then-dispatch, same as Step 3).
## Step 6 -- consolidated report
When all tasks are in a terminal state (done, failed, or skipped):
1. Query batch state:
```bash
python -m claude_soma.parallelism.ledger state --batch "$BATCH"
```
2. Synthesise a single reply to the operator summarising all results.
The ledger is the authoritative record; do not rely on transcript alone.From techfreakworm/claude-soma, MIT.
More from techfreakworm/claude-soma
- 0.534score
hyperframes
techfreakworm
Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML.
SkillCFreshness: C★ 5Claude Code +9 - 0.534score
make-a-video
techfreakworm
Beginner-friendly end-to-end video creator for HyperFrames.
SkillCFreshness: C★ 5Claude Code +9 - 0.534score
gsap
techfreakworm
GSAP animation reference for HyperFrames.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
codex-image-gen
techfreakworm
Generate or edit an image by delegating to the user's Codex CLI subscription.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
hyperframes-cli
techfreakworm
HyperFrames CLI tool — hyperframes init, lint, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
respond-with-voice
techfreakworm
Reply to the user with a voice note instead of (or in addition to) text.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
voice-action
techfreakworm
Auto-loaded when the user's incoming message has `voice_in: true` meta.
SkillCFreshness: C★ 5Claude Code +9 - 0.526score
grok-image
techfreakworm
Generate an image via the grok CLI (/imagine command).
SkillCFreshness: C★ 5Claude Code +9 - 0.525score
spawn-project
techfreakworm
Spawn a new persistent project-lead background session for a new app / workstream the user is starting.
SkillCFreshness: C★ 5Claude Code +9 - 0.525score
message-project
techfreakworm
Forward a message from the user to a specific named project-lead and read the lead's reply.
SkillCFreshness: C★ 5Claude Code +9 - 0.522score
schedule-routine
techfreakworm
Schedule a one-shot Telegram reminder or a recurring cloud routine.
SkillCFreshness: C★ 5Claude Code +9 - 0.522score
portfolio-status
techfreakworm
Summarize what the user is currently working on across ~/Projects/llm/* and the active orchestrator projects.
SkillCFreshness: C★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 13, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/techfreakworm/claude-soma
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from techfreakworm
- 0.534score
gsap
techfreakworm
GSAP animation reference for HyperFrames.
SkillCFreshness: C★ 5Claude Code +9 - 0.534score
make-a-video
techfreakworm
Beginner-friendly end-to-end video creator for HyperFrames.
SkillCFreshness: C★ 5Claude Code +9 - 0.534score
hyperframes
techfreakworm
Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
hyperframes-cli
techfreakworm
HyperFrames CLI tool — hyperframes init, lint, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
codex-image-gen
techfreakworm
Generate or edit an image by delegating to the user's Codex CLI subscription.
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
respond-with-voice
techfreakworm
Reply to the user with a voice note instead of (or in addition to) text.
SkillCFreshness: C★ 5Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get parallel-tasks running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
parallel-tasks skill. Agent Mart. https://agentmart.dev/skills/techfreakworm-parallel-tasks (last updated 2026-10-24)