/ Verzeichnis / Playground / Nexus-skills
● Community Haaaiawd ⚡ Sofort

Nexus-skills

von Haaaiawd · Haaaiawd/Nexus-skills

Codebase intelligence skills — build a persistent .nexus-map/ knowledge base and query file structure, dependencies, and change impact.

Nexus Skills makes Claude Code and other agents codebase-aware. Run it once to generate a .nexus-map/ knowledge base with file structure, dependency graphs, and call sites. After that, queries like 'what breaks if I change this function?' get precise answers instead of guesses. Useful in large, unfamiliar repos.

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

nexus-skill.replay ▶ bereit
0/0

Installation

Repository des Autors · Offizielle Dokumentation zu Claude Skills

Anwendungsfälle

Praxisnahe Nutzung: Nexus-skills

How to onboard to an unfamiliar codebase fast

👤 Engineers joining a new team or team inheriting a codebase ⏱ ~60 min intermediate

Wann einsetzen: Day one in a repo you've never seen; you want a map before making changes.

Ablauf
  1. Build the map
    Use nexus-skills to scan this repo and build .nexus-map/.✓ Kopiert
    → Progress output + map files produced
  2. Get the tour
    Using .nexus-map, tell me: entry points, top 10 most-imported modules, and any orphaned files.✓ Kopiert
    → Repo overview keyed to actual files
  3. Dig into a subsystem
    Show me the payments subsystem — files, dependencies, external calls.✓ Kopiert
    → Scoped subsystem view

Ergebnis: A factual mental model of the repo built in under an hour.

Fallstricke
  • Map goes stale after big merges — Re-run nexus update; it's incremental

Check blast radius before changing a core function

👤 Engineers about to touch a widely-used utility ⏱ ~30 min intermediate

Wann einsetzen: You're about to rename or change the signature of a function and want to see every call site.

Voraussetzungen
  • .nexus-map/ already built — Run once per repo; incremental after
Ablauf
  1. Query impact
    What calls formatCurrency(), and what would break if I change the signature to accept a locale?✓ Kopiert
    → Call-site list with each caller's likely break mode
  2. Generate migration
    Produce the minimal diff across all call sites to add the new locale param with a sensible default.✓ Kopiert
    → Multi-file patch

Ergebnis: A change with known blast radius and a prepared diff.

Find dead code and unused exports

👤 Engineers cleaning up before a refactor ⏱ ~40 min intermediate

Wann einsetzen: Before a refactor you want to know what's truly unused.

Ablauf
  1. Query map
    Using .nexus-map, list files with no imports from elsewhere, and exports with no external references.✓ Kopiert
    → Ranked list with confidence per finding
  2. Verify
    For the top 10 candidates, double-check by searching for string-based usage (reflection, dynamic imports).✓ Kopiert
    → Filtered list with false-positive caveats

Ergebnis: A dead-code delete list you can actually ship.

Fallstricke
  • Dynamic imports look dead statically — Always run the string-based sweep before deleting

Kombinationen

Mit anderen MCPs für 10-fache Wirkung

Security-impact queries: where does tainted input flow?

Using nexus-map, trace every call path from the /ingest endpoint into the DB layer. Then OWASP review those paths.✓ Kopiert

Werkzeuge

Was dieses MCP bereitstellt

WerkzeugEingabenWann aufrufenKosten
build_map repo_root Once per repo initially compute (local)
update_map changed_files After large merges compute (local)
query_structure question Answering structure questions Claude tokens
change_impact symbol or file Before breaking changes Claude tokens
dead_code - Pre-refactor cleanup Claude tokens

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
None
Tokens pro Aufruf
Map build is local compute (fast); queries consume Claude tokens
Kosten in €
Free
Tipp
Build once, query often. Re-build only when repo shape changes materially.

Sicherheit

Rechte, Secrets, Reichweite

Credential-Speicherung: No credentials. .nexus-map/ is local by default.
Datenabfluss: Map building is local. Querying sends map snippets to Claude.

Fehlerbehebung

Häufige Fehler und Lösungen

Map build crashes on monorepos

Run per-package rather than on the root; nexus supports a scope flag

Queries return stale results after edits

Run nexus update on the changed files; incremental is cheap

Language not recognized

Check supported languages in nexus docs; some frameworks need explicit parser config

Alternativen

Nexus-skills vs. andere

AlternativeWann stattdessenKompromiss
SourceGraph / CodyYou need hosted code intelligence at org scalePaid; not local
tree-sitter + custom queriesYou want full controlMuch more build time

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen