ndv-parallel-safe

ndv-parallel-safe is a skill for Claude Code from emb715/neurodiveragents. It costs 44 tokens per session (417 once invoked), scanned A, original, MIT.

A procedure for deciding when coding work can safely be done in parallel across different files.

In plain words
What is it for?
Listing each planned file change, identifying shared files, serializing dependent work, and dispatching only independent tasks together.
Why use it?
It prevents simultaneous edits from overwriting each other, especially when files share types, interfaces, or exports.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Listing each planned file change, identifying shared files, serializing dependent work, and dispatching only independent tasks together.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emb715/neurodiveragents/ndv-parallel-safe
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 emb715/neurodiveragents --skill ndv-parallel-safe
Clone the repo
git clone --depth 1 https://github.com/emb715/neurodiveragents

Made for: Claude Code.

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 ndv-parallel-safe

README.md
[![agentmods](https://agentmods.dev/badge/skills/emb715/neurodiveragents/ndv-parallel-safe.svg)](https://agentmods.dev/skills/emb715/neurodiveragents/ndv-parallel-safe)
Your own site
<a href="https://agentmods.dev/skills/emb715/neurodiveragents/ndv-parallel-safe"><img src="https://agentmods.dev/badge/skills/emb715/neurodiveragents/ndv-parallel-safe.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 417 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.
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.00044 $0.00417
Opus 5 $0.00022 $0.00209
Sonnet 5 $0.00009 $0.00083
Haiku 4.5 $0.00004 $0.00042

Measured 8d ago against content hash f43c6c0a2c10, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ndv-parallel-safe 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 8d 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.

skills/ndv-parallel-safe/SKILL.md · 39 lines

What it actually says

You are adversarial toward parallelism — not because parallel execution is wrong, but because assumed parallelism is a race condition in a non-concurrent system. Two streams touching the same file do not conflict at runtime. They conflict at write time, silently, producing the last writer's version with no record of what was lost.

Before any parallel write, you prove independence. You do not assume it.

Primordial rule: Parallel writes are only safe when each stream exclusively owns its files. Classify every target before dispatching. Shared files serialize, always — one stream writes, others wait for the export to exist.

Constraints:

  • Before parallelizing: list every file each stream will write
  • Classify each file: exclusively owned (safe to parallelize) or shared (must serialize)
  • Shared means: any other stream reads, imports, or writes to this file
  • Types, interfaces, and barrel exports are almost always shared — serialize them first
  • Declare the classification explicitly before dispatching streams — not as a mental note
  • When a stream needs something the other stream produces, that dependency is serialized
  • "These probably don't overlap" is not a classification — it is an untested assumption
  • When in doubt: serialize. A slow correct result beats a fast conflicted one

Never:

  • Parallelize writes to a file any other stream reads or imports
  • Assume independence because files are in different directories
  • Skip declaration because the ownership "seems obvious"
  • Treat a merge conflict as bad luck — it is a missing declaration
  • Declare done on a parallel implementation without verifying all streams completed cleanly
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. 8d ago First seen · 39 lines · 44 tokens per session scan A f43c6c0a2c10

Subscribe to this mod's changes

ndv-parallel-safe is a skill published in the GitHub repository emb715/neurodiveragents (2 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 417 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

audit

Audits recent work against its Definition of Done and project patterns. Runs the test suite, compares code against the spec, and reports PASS / PARTIAL / FAIL. Also runs the Critical Gate — a safety scan of the diff for destructive or dangerous operations. Generates an incremental prompt pack for any gaps found. With…

pe-menezes/vibeflow · 93 tokens

hotfix

Fixes an observed defect with reproducible evidence in one call: writes a short trace doc before touching code, implements the fix, and backs it with a regression test written before the fix. Production incidents are the motivating case, not a gate. When blocked, it halts by name and saves the doc for a later call to…

pe-menezes/vibeflow · 102 tokens

implement

Implements a feature from its spec following all guardrails: budget, DoD, anti-scope, and pattern compliance. Runs an 8-phase pipeline (find spec → extract guardrails → load patterns → plan → implement → test → refine → self-verify DoD). Use after gen-spec when you're ready to code. The agent has filesystem access and…

pe-menezes/vibeflow · 79 tokens

discover

Runs an interactive discovery dialogue (1–5 rounds) to turn a vague idea into a clear, actionable PRD. Challenges assumptions, cuts scope, and forces decisions. Saves the PRD to .vibeflow/prds/. Use before gen-spec when the idea is not yet well-defined or requirements are unclear.

pe-menezes/vibeflow · 66 tokens

prompt-pack

Generates a self-contained prompt pack from a spec. Embeds real code patterns from .vibeflow/ so any coding agent (Codex, Claude Code, Cursor, Copilot) follows the project's conventions without needing repo context. Use when handing off implementation to a separate session or agent.

pe-menezes/vibeflow · 63 tokens

vibeflow-prompt-pack

Generates a self-contained prompt pack from a spec. Embeds real code patterns from .vibeflow/ so any coding agent follows the project's conventions. Use when handing off implementation to a separate session or agent.

pe-menezes/vibeflow · 52 tokens