Skip to content
Development
Skill

/nw-cross-cutting-context-residency

KNOWLEDGE — use when choosing resident, map-only, or on-demand context.

From plugin
nwave
635183 skills37 agents

Claude Code

$ npx -y skills add nWave-ai/nWave --skill nw-cross-cutting-context-residency --agent claude-code

SKILL.md

nw-cross-cutting-context-residency.SKILL.md
name: nw-cross-cutting-context-residency
description: KNOWLEDGE — use when choosing resident, map-only, or on-demand context.
user-invocable: false
disable-model-invocation: true

Context Residency

**Composition:** Load with `nw-cross-cutting-invariants`; no forced sequence; return to its routing table for other concerns.

`context:pay-on-demand-not-every-session` — resident context is paid every session (STANDING)

**Whoever needs it loads it; whoever does not need it must not pay for it in every session.** Context injected at session start is a per-session tax on every reader, including the readers who will never touch that subject. Detail belongs where it is needed, at the moment it is needed — not resident.

Three residency classes; classify before you inject anything:

  • **MUST-BE-RESIDENT** — if it is absent from context, it does not happen. The load-bearing case is

a **trigger**: an instruction to arm, to check, to refuse. Nobody goes looking for what they do not know exists, so a trigger cannot be made reachable-on-demand — its absence is silent. Same for a safety warning whose omission causes harm before anyone would think to consult it.

  • **MAP-ONLY** — the reader must know THAT a thing exists and roughly WHEN to reach for it. Not how

it works. A name plus a one-line "reach for this when…" is the whole resident cost.

  • **REFERENCEABLE** — pure detail, needed only by whoever is doing that specific thing.

**Density is a second axis, independent of residency.** Normative content cannot be GENERATED from code, but it can be COMPRESSED: doctrine is usually rules — subject · condition · action — written as narrative. A table says the same thing in a fraction of the bytes and reads better. Do not confuse "not derivable" with "not compressible"; measuring the first tells you nothing about the second.

**The failure this clause prevents**: a projection that ADDS instead of REPLACING. Retiring a duplicate is a saving; generating a new view beside a surviving hand-written one is a new divergence surface AND a bigger payload.

`context:resident-doctrine-can-be-compensation-debt` — resident prose that patches bad guidance is debt (STANDING)

When a body of resident context exists to compensate for guidance that **fails to arrive at the point of need**, that context is not doctrine — it is **debt**, and it is the SECOND cost of a defect whose first cost is already being paid at the gate.

The chain: a gate refuses reactively instead of guiding at the authoring surface (the GDP-2 emission corollary) → readers keep getting caught → someone compensates by injecting standing prose into every session → now everyone pays, every session, for a message that should have arrived once, in place, to the one person who needed it.

**So, before adding anything to a resident payload, ask: is the real gap a MESSAGE that fails to guide?** If yes, fix the message; the resident need dissolves rather than being served. And the converse is the practical lever: **as guidance moves to the point of need, resident doctrine can thin without losing anything** — the two workstreams compose, and the thinning is only safe in that order.

**Do not thin first.** Removing resident prose while the corresponding guidance still arrives too late removes the compensation and keeps the defect.

Read more
@nwave-ai
Ships withnwave

nWave supplies specialist roles and a host-led delivery workflow for software teams.

635183 skills37 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
635
Star history of nWave-ai/nWave on GitHub, a chart by star-history.com

Other skills on nwave.

nw-ab-agent-template

nw-ab-agent-template

KNOWLEDGE — the canonical agent-spec template (frontmatter + body skeleton). Reference loaded by the create/migrate procedures;…

@nwave-ai@nwave-aiInstall Skill
nw-ab-anti-patterns

nw-ab-anti-patterns

KNOWLEDGE — agent/skill/command anti-pattern catalog with fixes. Reference scanned by validate-spec; no sequence.

@nwave-ai@nwave-aiInstall Skill
nw-ab-create-agent

nw-ab-create-agent

PROCEDURE — create a NEW agent via the 5-phase workflow (ANALYZE→DESIGN→CREATE→VALIDATE→REFINE). Trigger: build a new AI agent.…

@nwave-ai@nwave-aiInstall Skill
nw-ab-examples

nw-ab-examples

KNOWLEDGE — canonical worked examples for agent creation, migration, and command optimization. Reference for the relevant…

@nwave-ai@nwave-aiInstall Skill
nw-ab-house-style

nw-ab-house-style

KNOWLEDGE — caveman-native authoring house style + by-construction guarantees (Reasoning Mandate injection, measured-gain…

@nwave-ai@nwave-aiInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills13d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about nw-cross-cutting-context-residency.

Which coding agents can use nw-cross-cutting-context-residency?
nw-cross-cutting-context-residency installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.