agentic-commerce-lab/pawl/parallel-workers

Claude Code and agent skill by agentic-commerce-lab/pawl

Trust tier 2
  • community
LLM review pending
Source check pending

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

Coordinates parallel agent sessions and git worktrees for verification work without colliding on registry.csv or shared config. Use when launching multiple background workers, parallel verification waves, worktree isolation, or merging claim branches.

Install

npx vskill@latest install agentic-commerce-lab/pawl/parallel-workers

SKILL.md

The same SKILL.md was published earlier as agentic-commerce-lab/pawl/parallel-workers.

Parallel Workers

Rules: verification-lifecycle.mdc, project-startup.mdc

Shared bottlenecks (serialize or isolate)

FileRisk
<verification_dir>/registry.csvStatus races, CSV corruption
Shared config filesConflicting default flips
Shared caches / fixturesInvalidation races

Rule: one writer per bottleneck per wave, OR a git worktree per worker plus sequential merge.

Locks (built into the tools)

  • Registry lock (.registry.lock): tools/register.py and

tools/run.py do read-modify-write of registry.csv under an exclusive lock-file with stale-PID takeover and atomic replace. Never hand-edit the registry during an active wave.

  • Claim run lock (<claim-folder>/.run.lock): two sessions cannot

officially run the same claim at once. A live holder → BUSY (no wait): the claim is skipped, its registry status stays untouched (the holder's run owns the verdict), and the runner exits non-zero. A dead holder's lock auto-clears on the next acquire.

  • Atomic artifacts: write last_run.json via

tools/lib/registry.py::atomic_write_json in new harnesses — a killed process must not leave half-written JSON.

Shared scarce resources

If workers compete for exclusive resources (databases, devices, ports), add a project-level reservation convention: claim before the run with a label + TTL, release after, take over only stale (dead-PID) reservations. Never wait with hand-rolled polling loops in each worker — one shared mechanism.

Worker prompt checklist

Paste into every parallel worker:

text
- Own only these paths: [list disjoint files]
- Do NOT edit registry.csv unless you are the registry coordinator
- On gate failure: honest-negative skill — Failed + missing capability
- Never `git add -A` — stage only your own files
- Report the exact config/flags your run used (no assumed defaults)

Coordinator duties (parent agent)

  1. Assign disjoint file sets per worker
  2. One registry editor merges status after all workers finish
  3. python3 tools/scan.py --audit after any registry change
  4. Project health checks before push
  5. Never bulk-stage while workers still write shared files

Worktree pattern

bash
# One worktree per parallel claim; a merge coordinator integrates after green runs
git worktree add ../wt-<claim> -b verify/<claim>

Crash resume (standard)

  1. Crash mid-run → re-run a single leg: <PREFIX>_REUSE=1 +

python3 <claim-folder>/run.py --job <name> (skill fast-iteration)

  1. Once green → official python3 tools/run.py <CLAIM_ID> (respects the

run lock; a stale lock auto-clears when the holder PID is dead)

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

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/agentic-commerce-lab/pawl/parallel-workers/badge)](https://verified-skill.com/skills/agentic-commerce-lab/pawl/parallel-workers)

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