nw-collapse-detection

nw-collapse-detection is a skill for Claude Code from nWave-ai/nWave. It costs 25 tokens per session (488 once invoked), scanned A, original, MIT.

A guide to spotting documentation that mixes different purposes, such as teaching, explaining, giving task steps, and listing facts. It describes common problems and rules for deciding when content should be separated.

In plain words
What is it for?
Use it to review documentation, identify misplaced content, and decide whether material belongs in a tutorial, how-to guide, explanation, or reference page.
Why use it?
It helps keep documentation focused on one reader need at a time. This makes pages easier to use and prevents tutorials, procedures, explanations, and references from becoming confusing hybrids.

Skill for Claude Code

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

Good fit Use it to review documentation, identify misplaced content, and decide whether material belongs in a tutorial, how-to guide, explanation, or reference page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nwave-ai/nwave/nw-collapse-detection
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-collapse-detection
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-collapse-detection

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-collapse-detection"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-collapse-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 488 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 pass 7 Sept 2026
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.00025 $0.00488
Opus 5.5 $0.00010 $0.00195
Sonnet 5.5 $0.00005 $0.00098
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

nw-collapse-detection 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 3mo 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-collapse-detection/SKILL.md · 64 lines

How it starts

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

Collapse Detection

Documentation collapse = types merge inappropriately, serving no audience well.

Anti-Patterns

Tutorial Creep

Description: Tutorial explains "why" extensively | Detection: explanation >20% | Fix: extract to separate doc, link back

How-to Bloat

Description: How-to teaches basics first | Detection: teaching fundamentals before steps | Fix: link to tutorial, assume baseline

Reference Narrative

Description: Reference includes conversational prose | Detection: prose paragraphs in entries | Fix: move to explanation doc, keep factual

Explanation Task Drift

Description: Explanation ends with "do this" steps | Detection: step-by-step in explanation | Fix: move steps to how-to, link

Hybrid Horror

Description: Single doc tries all four types | Detection: 3+ quadrants in one doc | Fix: split with clear boundaries

Detection Rules

Flag collapse when:

  • 20% content from adjacent quadrant | Two user needs served simultaneously | Ambiguous user journey stage

  • "Why" in tutorials | Task steps in explanations | Teaching in how-tos | Narrative in references

Bad Examples for Calibration

Tutorial with Task Focus

# Getting Started
If you need to deploy to production, follow these steps...

Problem: Assumes user knows what "deploy to production" means. A tutorial should assume nothing.

How-to Teaching Basics

# How to Configure Authentication
First, let's understand what authentication is. Authentication is...

Problem: Should assume user knows what authentication is. Link to a tutorial instead.

Reference with Opinions

## login(username, password)
This is probably the most important function you'll use...

Problem: Reference should be factual, not opinionated. Remove "probably the most important" editorializing.

Explanation with Steps

# Why We Use Microservices
... therefore, you should: 1. Create a service, 2. Deploy it...

Problem: Steps belong in a how-to guide. The explanation should end with reasoning and link to the how-to for action.

Read the full file on GitHub · 64 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. 3mo ago First seen · 64 lines · 25 tokens per session scan A f6cc9d14d790

Subscribe to this mod's changes

nw-collapse-detection is a skill published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 25 tokens to every session and 488 once invoked, about $0.0001 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-08-30.

Related

nw-collapse-detection compared with skills from other repositories

nw-collapse-detection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-collapse-detectionnWave-ai/nWaveSkill63611d agoMITA25Claude 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
tddInsajin/autopus-adkSkill1112mo agoMITA11Claude Code, Codex