nw-cross-cutting-invariants

nw-cross-cutting-invariants is a skill for Claude Code from nWave-ai/nWave. It costs 42 tokens per session (12,438 once invoked), scanned A, original, MIT.

A set of shared rules for designing software boundaries, checks, construction choices, and context loading. It also routes developers to more specific guidance when a particular design issue applies.

In plain words
What is it for?
Use it when designing gates, error handling, restrictions, construction alternatives, context handling, or evidence and instrumentation for software work.
Why use it?
It reduces inconsistent design decisions and prevents relying on instructions or references that the consuming agent has not actually loaded.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it when designing gates, error handling, restrictions, construction alternatives, context handling, or evidence and instrumentation for software work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nwave-ai/nwave/nw-cross-cutting-invariants
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 nWave-ai/nWave --skill nw-cross-cutting-invariants
Clone the repo
git clone --depth 1 https://github.com/nWave-ai/nWave

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 nw-cross-cutting-invariants

README.md
[![agentmods](https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-cross-cutting-invariants/github.svg)](https://agentmods.dev/skills/nwave-ai/nwave/nw-cross-cutting-invariants)
Your own site
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-cross-cutting-invariants"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-cross-cutting-invariants/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 nw-cross-cutting-invariants

Your own site · 80×15
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-cross-cutting-invariants"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-cross-cutting-invariants.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,438 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.00042 $0.12438
Opus 5.5 $0.00017 $0.04975
Sonnet 5.5 $0.00008 $0.02488
Haiku 4.5 $0.00004 $0.01244

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

Security

Grade A, and why

nw-cross-cutting-invariants 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 13d 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.

nWave/skills/nw-cross-cutting-invariants/SKILL.md · 776 lines

How it starts

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

Cross-Cutting Invariants — Recomposition Core

Normative rules hold regardless of paradigm and role. nw-cross-cutting-invariants is their SHIPPED public home: cite a clause id; do not re-declare it. This core owns global gate/construction doctrine and routes independent KNOWLEDGE lenses; load every applicable lens.

Reachability precondition. A pointer works only when the consumer actually loads its referent. Check what the consumer really loads, not what it ought to; otherwise self-contain the bounded rule. Cite skills by NAME, never vendor filesystem path: a path is a GDP-8 designation that can dangle on another host.

Known correct exception — reviewer family. The 22 *-reviewer agents have no common narrow skill; their absence-is-a-claim rule is deliberately inlined. Do not replace it with a dangling pointer.

Phase Load Trigger
Gate or construction design this core designing a gate, oracle, error surface, restriction, or a construction alternative
Context residency nw-cross-cutting-context-residency choosing resident versus on-demand context, or repairing compensation prose
Evidence and instrumentation nw-cross-cutting-evidence-instrumentation asserting from a measurement, demonstrating a check, or repairing a misleading instrument/count
Input and data contracts nw-cross-cutting-input-data-contracts adding data, declaring inputs, choosing a join key, or diagnosing ambient reads
Test time and test location this core (test:feedback-loop-budget) declaring test budgets, requesting a feature derogation, writing or reviewing a test, placing an infrastructure test, or a default CI suite over its ceiling
Design simplicity this core (design:simplest-design-that-delivers) making or reviewing a design decision, receiving a new requirement or owner answer

The lenses are independent KNOWLEDGE: no forced sequence and no artificial precedence. A compound task loads multiple lenses; return here only to route the next concern.

Read the full file on GitHub · 776 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. 13d ago Changed · +26 lines e0ffc2e014c4
  2. 27d ago First seen · 750 lines · 42 tokens per session scan A 5716448d7f30

Subscribe to this mod's changes

nw-cross-cutting-invariants is a skill published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 42 tokens to every session and 12,438 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-11-03.

Related

nw-cross-cutting-invariants compared with skills from other repositories

nw-cross-cutting-invariants next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-cross-cutting-invariantsnWave-ai/nWaveSkill63611d agoMITA42Claude Code
moai-runmodu-ai/moai-adkSkill1.3ktodayApache-2.0A13Claude Code
test-driven-developmenta5c-ai/babysitterSkill1.9k29d agoMITA35Claude Code
test-driven-developmentdamianvtran/local-operatorSkill232todayMITA48Claude Code, Codex
Pair Programmingruvnet/rufloSkill83ktodayMITA61Claude Code
speq-implementmarconae/speq-skillSkill541mo agoMITA57Claude Code
hk-rcadeepklarity/harness-kitSkill10820d agoMITA115Claude Code