edgequake: Skill for Claude Code

.github/skills/doc-traceability-validator/SKILL.md

doc-traceability-validator is a skill for Claude Code, Codex from raphaelmansuy/edgequake. It costs 42 tokens per session (3,073 once invoked), scanned A, original, Apache-2.0.

A documentation checker that compares code annotations, feature lists, business rules, and use cases. It checks whether these records refer to one another correctly.

In plain words
What is it for?
Use it to audit documentation, generate registry entries from code annotations, and enforce documentation checks in a software delivery pipeline.
Why use it?
It finds undocumented features, duplicate identifiers, broken links between records, and naming conflicts before the documentation becomes unreliable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

This is raphaelmansuy/edgequake's own configuration. It tells Claude Code and Codex how to work on edgequake itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything edgequake configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is | **Code Reference** | [use-conversations.ts](../edgequake_webui/src/hooks/use-conversations.ts#L10) |.

About the project

EdgeQuake is a Rust framework that turns documents into knowledge graphs for GraphRAG, a retrieval-and-generation approach that uses linked facts to help language models find relevant information. It is used to build applications that search and generate answers from document collections.

raphaelmansuy/edgequake · 2,281 stars · on GitHub · edgequake.com

Reuse

Borrowing it

Nothing to install: this file belongs to raphaelmansuy/edgequake. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/raphaelmansuy/edgequake/edgequake-main/.github/skills/doc-traceability-validator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/raphaelmansuy/edgequake

Made for: Claude Code, Codex.

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 doc-traceability-validator

README.md
[![agentmods](https://agentmods.dev/badge/skills/raphaelmansuy/edgequake/doc-traceability-validator/github.svg)](https://agentmods.dev/skills/raphaelmansuy/edgequake/doc-traceability-validator)
Your own site
<a href="https://agentmods.dev/skills/raphaelmansuy/edgequake/doc-traceability-validator"><img src="https://agentmods.dev/badge/skills/raphaelmansuy/edgequake/doc-traceability-validator/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 doc-traceability-validator

Your own site · 80×15
<a href="https://agentmods.dev/skills/raphaelmansuy/edgequake/doc-traceability-validator"><img src="https://agentmods.dev/badge/skills/raphaelmansuy/edgequake/doc-traceability-validator.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 3,073 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 298
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00042 $0.03073
Opus 5.5 $0.00017 $0.01229
Sonnet 5.5 $0.00008 $0.00615
Haiku 4.5 $0.00004 $0.00307

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

Security

Grade A, and why

doc-traceability-validator 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 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/check_namespace.py, scripts/generate_index.py, scripts/generate_registry.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.github/skills/doc-traceability-validator/SKILL.md · 402 lines

How it starts

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

Documentation Traceability Validator Skill

Validate and maintain accurate traceability between code annotations (@implements FEATXXXX) and documentation registries (features.md, business_rules.md, use_cases.md). This skill detects gaps, collisions, and broken cross-references that compromise documentation accuracy.

When to use

Use this skill when you need to:

  • Audit documentation accuracy: Verify all code features are documented
  • Detect ID collisions: Find duplicate FEAT/BR/UC IDs before they break traceability
  • Find undocumented features: Discover @implements annotations missing from registries
  • Validate cross-references: Ensure FEAT↔BR↔UC links are valid
  • Enforce namespace allocation: Verify features use correct ID ranges
  • Generate registry entries: Auto-create documentation from code annotations
  • CI/CD quality gates: Block PRs with documentation gaps
  • Track documentation coverage: Monitor doc completeness over time

Core concepts

Traceability Chain

The validation framework ensures bidirectional traceability:

Code (@implements FEATXXXX) ←→ features.md ←→ business_rules.md ←→ use_cases.md

Chain integrity requires:

  1. Every @implements annotation has a features.md entry
  2. Every features.md entry references valid BR/UC IDs
  3. Every BR references valid FEAT IDs
  4. Every UC references valid BR/FEAT IDs

Validation Dimensions

Dimension Weight Description
Completeness 40% % of code @implements that have docs
Uniqueness 30% % of IDs that are unique (no collisions)
Cross-refs 20% % of BR/UC references that resolve
Namespace 10% % of IDs in correct allocated ranges

Composite Score:

Score = (0.40 × Completeness) + (0.30 × Uniqueness)
      + (0.20 × CrossRefs) + (0.10 × Namespace)

Namespace Allocation

Read the full file on GitHub · 402 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 402 lines · 42 tokens per session scan A 5432edc4f884

Subscribe to this mod's changes

doc-traceability-validator is a skill published in the GitHub repository raphaelmansuy/edgequake (2,281 stars, last pushed yesterday), licensed Apache-2.0. It adds 42 tokens to every session and 3,073 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-08-30.

Related

Other skills, from other repositories

graphify

Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community…

Graphify-Labs/graphify · 76 tokens

rag-mcp-tool-selection

Select the top-K tools from a registry of 30+ MCP / AWS / internal-API tools for a given natural-language query, replacing MCP's tools/list dump with a RAG-style filter that reduces prompt tokens 50-70%. Three-step pipeline: retrieve / validate / format. Use when the agent has access to many tools and prompt bloat is…

AnthonyAlcaraz/agentic-graph-rag-skills · 132 tokens

rrf-hybrid-retrieval

Reciprocal Rank Fusion (RRF) hybrid retrieval across 4 parallel channels — semantic / keyword / graph-traversal / temporal — followed by cross-encoder rerank and token-budget filter (HINDSIGHT, Latimer et al. 2025, cited in Ch4). Rank-based fusion means scores don't need calibration across channels; absent items…

AnthonyAlcaraz/agentic-graph-rag-skills · 144 tokens

vector-vs-graph-retrieval-selector

Recommend VECTOR / GRAPH / HYBRID retrieval for a query workload, grounded in Ch1's BenchmarkQED evidence for where vector RAG succeeds and where it collapses. Classifies the workload on the BenchmarkQED scope x type axes (local/global, data/activity), weighs multi-hop / temporal / associativity needs, domain…

AnthonyAlcaraz/agentic-graph-rag-skills · 215 tokens

three-graph-router

Route an incoming record/fact into the correct graph of the Three-Graph Architecture (Ch3) — DOMAIN (trusted, entity-resolved single source of truth), LEXICAL (verbatim source text with provenance, the "retrieval" in RAG), or SUBJECT (LLM-extracted artifacts kept SEPARATE from domain until entity resolution links…

AnthonyAlcaraz/agentic-graph-rag-skills · 219 tokens

rag-setup-project

Set up LightRAG persistent memory for a Cursor project with MCP configuration.

butchokoy25/lightrag-claude-skills · 19 tokens