parallel-work-check

parallel-work-check is a skill for OpenCode from ZaxbyHub/opencode-swarm. It costs 41 tokens per session (1,305 once invoked), scanned A, original, MIT.

A Git workflow check for detecting other contributors' changes on the current branch before starting work.

In plain words
What is it for?
Comparing local and remote branches, reviewing incoming commits, and deciding whether parallel work should be integrated or supersede a plan.
Why use it?
It helps avoid building on an outdated branch or overwriting parallel work that has already changed the same files.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions Codex.

Good fit Comparing local and remote branches, reviewing incoming commits, and deciding whether parallel work should be integrated or supersede a plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zaxbyhub/opencode-swarm/parallel-work-check
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ZaxbyHub/opencode-swarm --skill parallel-work-check
Clone the repo
git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for parallel-work-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/zaxbyhub/opencode-swarm/parallel-work-check/github.svg)](https://agentmods.dev/skills/zaxbyhub/opencode-swarm/parallel-work-check)
Your own site
<a href="https://agentmods.dev/skills/zaxbyhub/opencode-swarm/parallel-work-check"><img src="https://agentmods.dev/badge/skills/zaxbyhub/opencode-swarm/parallel-work-check/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for parallel-work-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/zaxbyhub/opencode-swarm/parallel-work-check"><img src="https://agentmods.dev/badge/skills/zaxbyhub/opencode-swarm/parallel-work-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,305 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 92
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Agent Snooping · line 124
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 126
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.01305
Opus 5.5 $0.00016 $0.00522
Sonnet 5.5 $0.00008 $0.00261
Haiku 4.5 $0.00004 $0.00130

Measured 10d ago against content hash 939b5b7745e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

parallel-work-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/parallel-work-check/SKILL.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Parallel Work Check Protocol

Run this check before starting ANY work on an existing branch (not a fresh branch you just created). This applies to PR branches, feature branches, and any branch that may have concurrent contributors.

Step 1 — Check current branch state

  1. Determine the current branch name.
  2. Determine the remote tracking branch (usually origin/<branch-name>).

Step 2 — Fetch remote state

Fetch the latest state from the remote for the current branch. Do NOT skip this step because "the branch looks recent" or "I just checked."

Step 3 — Compare local vs remote

Compare the local HEAD commit hash with the remote HEAD commit hash:

  • Identical: Remote has not diverged. Proceed with your work.
  • Remote ahead: The remote branch has commits you don't have locally.
    • Read the new commit messages with git log local..remote.
    • Check if any of those commits touch files you plan to modify.
    • If yes: evaluate whether the parallel work supersedes your planned changes.
    • If the parallel work is superior: reset your local branch to match remote and abandon your planned approach. Document the decision.
    • If the parallel work is complementary: integrate it first, then proceed.
  • Local ahead: You have local commits not on remote. This is normal if you already started work. Proceed, but be aware that pushing may conflict with subsequent remote changes.
  • Diverged: Both local and remote have unique commits. This requires integration. Merge or rebase as appropriate for the team's workflow.

Step 4 — Check for parallel swarm/agent work

If the remote has new commits:

  1. Check the commit authors. If commits are from a different swarm/agent (different author name/email pattern), treat this as parallel swarm work.
  2. Parallel swarm work is often superior because:
    • It may have access to different context or tools
    • It may have started earlier or had more iterations
    • It may have taken a fundamentally better approach
  3. Default stance: prefer the parallel swarm's work unless you can clearly articulate why your approach is better.

Read the full file on GitHub · 135 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +1 lines 939b5b7745e7
  2. 1mo ago First seen · 134 lines · 41 tokens per session scan A 30a92c03a717

Subscribe to this mod's changes

parallel-work-check is a skill published in the GitHub repository ZaxbyHub/opencode-swarm (510 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,305 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

create-issue

Draft and submit a GitHub issue from a user idea or bug description, with bilingual body and correct labels.

QwenLM/qwen-code · 26 tokens

creating-issues-and-pull-requests

Use when creating GitHub pull requests or issues with template compliance. Triggers: 'create a PR', 'open a pull request', 'file an issue', 'create issue'. Also invoked by finishing-a-development-branch. NOT for: deciding whether to merge or PR (use finishing-a-development-branch).

axiomantic/spellbook · 71 tokens

vc:watzup

Use when you need a read-only handoff summary of current branch state, local/remote refs, worktrees, active Flowser plans, selected-plan hints, and suggested next checks.

opencue/cuecards · 42 tokens

docs-update-from-diff

Review local code changes with git diff and update the official docs under docs/ to match. Use when the user asks to document current uncommitted work, sync docs with local changes, update docs after a feature or refactor, or when phrases like "git diff", "local changes", "update docs", or "official docs" appear.

QwenLM/qwen-code · 75 tokens

prepare-pr

Prepare GitHub pull request title and body files from the current branch diff, especially for non-interactive CI/autofix flows that must follow the repository PR template without pushing or creating the PR.

QwenLM/qwen-code · 42 tokens

post-issue-comment

Post a reply comment on a GitHub issue in English with a natural, concise writing style, based on the intent passed as arguments.

dyoshikawa/rulesync · 31 tokens