@neat.is/claude-skill 0.4.16 → 0.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +27 -13
- package/claude_code_config.json +1 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -4,21 +4,35 @@ This skill exposes NEAT's live semantic graph to Claude Code over MCP. Once inst
|
|
|
4
4
|
|
|
5
5
|
## What you get
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Sixteen MCP tools, served by `@neat.is/mcp` over stdio — ten read-only graph queries plus six `/neat extend` tools for instrumentation. The canonical list lives in `MCP_TOOL_NAMES` (`@neat.is/types`); the server registrations are the source for every description below.
|
|
8
|
+
|
|
9
|
+
### Read tools
|
|
8
10
|
|
|
9
11
|
| Tool | What it does |
|
|
10
12
|
|------|--------------|
|
|
11
|
-
| `
|
|
12
|
-
| `
|
|
13
|
-
| `get_dependencies` | Transitive
|
|
14
|
-
| `
|
|
15
|
-
| `
|
|
16
|
-
| `
|
|
17
|
-
| `
|
|
18
|
-
| `
|
|
19
|
-
| `
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
| `get_root_cause` | Trace a failing node up its dependency graph to the underlying cause. Use when something is breaking and you want the upstream culprit. |
|
|
14
|
+
| `get_blast_radius` | List every node downstream of a node — what would break if it failed or was redeployed. |
|
|
15
|
+
| `get_dependencies` | Transitive outgoing dependencies, BFS to depth N, each carrying distance, edge type, and provenance (EXTRACTED vs OBSERVED). |
|
|
16
|
+
| `get_observed_dependencies` | Only the runtime (OBSERVED via OTel) outgoing dependencies — compare what code declares against what production does. |
|
|
17
|
+
| `get_incident_history` | Recent OTel error events recorded against a node, most recent first. |
|
|
18
|
+
| `get_divergences` | Places where the code (EXTRACTED) and production (OBSERVED) disagree, ranked by confidence × severity. The most NEAT-shaped query — reach for it on "is anything weird?" |
|
|
19
|
+
| `get_graph_diff` | Diff a saved graph snapshot against the current live graph — added/removed/changed nodes and edges. |
|
|
20
|
+
| `get_recent_stale_edges` | Most recent OBSERVED → STALE transitions — integrations that have gone quiet. |
|
|
21
|
+
| `check_policies` | Inspect or dry-run the project's `policy.json`. Returns current violations, or violations a hypothetical action would cause. |
|
|
22
|
+
| `semantic_search` | Search nodes by natural-language query (embedding vectors when available, substring fallback otherwise). |
|
|
23
|
+
|
|
24
|
+
### Extend tools (`/neat extend`, ADR-081 / ADR-086)
|
|
25
|
+
|
|
26
|
+
| Tool | What it does |
|
|
27
|
+
|------|--------------|
|
|
28
|
+
| `neat_list_uninstrumented` | List libraries that need instrumentation beyond the auto-instrumentations bundle. |
|
|
29
|
+
| `neat_lookup_instrumentation` | Look up the registry entry for a library — canonical instrumentation package, version, registration snippet. |
|
|
30
|
+
| `neat_describe_project_instrumentation` | Describe the current OTel state: which hook files exist, whether `.env.neat` is present, which OTel deps are installed. |
|
|
31
|
+
| `neat_dry_run_extension` | Preview what an apply would do — the exact file diff, deps to add, install command — without changing anything. |
|
|
32
|
+
| `neat_apply_extension` | Install an instrumentation package and splice its registration into the OTel hook file. Idempotent. |
|
|
33
|
+
| `neat_rollback_extension` | Undo the last apply for a library — removes the dep and registration. |
|
|
34
|
+
|
|
35
|
+
The ten read tools read from the live graph the daemon maintains in memory. No fs reads of `graph.json` at request time. The extend tools modify instrumentation files, `package.json`, and the lockfile only; NEAT never calls an LLM and the agent reasons over their output (ADR-084).
|
|
22
36
|
|
|
23
37
|
## Install
|
|
24
38
|
|
|
@@ -54,7 +68,7 @@ This merges the `neat` server into `~/.claude.json` without touching other entri
|
|
|
54
68
|
|
|
55
69
|
- Auto-detection of an alternate Claude Code config path. The installer assumes `~/.claude.json`.
|
|
56
70
|
- Per-project skill overrides. The skill is user-scoped; project-level MCP config can be added later as a follow-up.
|
|
57
|
-
- Tool-level disable flags. All
|
|
71
|
+
- Tool-level disable flags. All sixteen tools are wired in; if you want to hide one, edit the snippet by hand.
|
|
58
72
|
|
|
59
73
|
## Where to look when it doesn't work
|
|
60
74
|
|
package/claude_code_config.json
CHANGED
package/package.json
CHANGED