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.
npx skills add nWave-ai/nWave --skill nw-code-analysis-portgit clone --depth 1 https://github.com/nWave-ai/nWaveWrote 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.
[](https://agentmods.dev/skills/nwave-ai/nwave/nw-code-analysis-port)<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-code-analysis-port"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-code-analysis-port/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.
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-code-analysis-port"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-code-analysis-port.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.02067 |
| Opus 5.5 | $0.00033 | $0.00827 |
| Sonnet 5.5 | $0.00016 | $0.00413 |
| Haiku 4.5 | $0.00008 | $0.00207 |
Grade A, and why
nw-code-analysis-port 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 27d 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.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
nw-code-analysis-port (KNOWLEDGE)
Kind: KNOWLEDGE (reference / discipline). Consulted whenever you need a fact about code. No forced sequence — load it, obey the resolution rule.
TRIGGER
Any time you design, write, analyze, or review code or tests and need a code fact — who calls X, where Y is defined or read, the call graph, the blast-radius of a change, or what a file contains — resolve it through the vendor-neutral code-fact CLI, not ad-hoc grep.
Public CLI — available now
The five-capability public stable core is wrapped in the production CLI:
code-fact query.callers-of SYMBOL --root ROOT
code-fact query.reads-of SYMBOL --root ROOT
code-fact query.never-wired SYMBOL --root ROOT
code-fact query.atoms-in-file --root FILE_OR_ROOT
code-fact query.adr-section ANCHOR --root ROOT
The CLI returns JSON: { provider, confidence, payload, index, coverage, trace }. Agents consume that envelope and degrade LOUD; they never probe/install/select an analyzer themselves. code-fact refresh --root ROOT is the one explicit way to regenerate the index (see "Index snapshot, coverage and refresh").
The resolution rule (one order, every time)
The CLI delegates to the best available bundled adapter. You report the answer tagged with which adapter answered.
The chain is walked top-down, highest declared precision first; the first provider covering the capability answers. The query's trace names the answering provider and scope. Do not duplicate a provider ranking in prose or infer precision from a familiar module name. What is stable, and all a consumer needs:
- AST gives
approxconfidence (structural, per-language) on any parseable target. - grep / lexical search is the last resort, never the default. Reach for it only when AST cannot answer.
DEGRADE-LOUD (never silent)
- Always state which adapter answered and at what confidence:
approx|binding-resolved|noisy. - If the answer came from TextSearch (grep), announce the degradation AND its limits. Example: "AST unavailable → grep fallback (
noisy): may include false positives, miss dynamic/indirect references, and conflate same-named symbols." - Never silently let grep stand in for the port. A
noisyanswer presented as fact is the failure mode this skill exists to prevent. - The CLI's
tracearray names which provider answered and its scan-scope honesty (complete|filtered|unfiltered) — that per-query record is the loud announcement a gate reads.
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.
- 27d ago First seen · 95 lines · 82 tokens per session scan A 462dd738905f
nw-code-analysis-port is a skill published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 82 tokens to every session and 2,067 once invoked, about $0.0003 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.
nw-code-analysis-port compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nw-code-analysis-portnWave-ai/nWave | Skill | 636 | 11d ago | MIT | A | 82 | Claude Code |
| ase-code-lintrse/ase | Skill | 78 | today | Apache-2.0 | A | 30 | Claude Code |
| Pair Programmingruvnet/ruflo | Skill | 83k | today | MIT | A | 61 | Claude Code |
| addressing-review-feedbackmakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 37 | Claude Code, Codex |
| debug-flowDVNghiem/FlowDeck | Skill | 44 | 15d ago | MIT | A | 34 | Claude Code, Codex |
| blast-radius-previewDVNghiem/FlowDeck | Skill | 44 | 15d ago | MIT | A | 27 | Claude Code, Codex |
| hk-rcadeepklarity/harness-kit | Skill | 108 | 20d ago | MIT | A | 115 | Claude Code |