crombieman/undercurrent-cortex/graph

Claude Code and agent skill by crombieman/undercurrent-cortex

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

This skill should be used to generate a Mermaid diagram of the reference file knowledge graph from See Also metadata — visual navigation aid for the reference tree.

Install

npx vskill@latest install crombieman/undercurrent-cortex/graph

SKILL.md

The same SKILL.md was published earlier as crombieman/undercurrent-cortex/graph.

Reference Graph

TL;DR: Generate a Mermaid diagram showing all reference files and their See Also connections. Output to references/GRAPH.md.

When to Use

  • After adding or restructuring reference files
  • For onboarding (visual overview of knowledge architecture)
  • To spot structural gaps (isolated nodes, missing connections)

Process

1. Scan All Reference Files

Read every references/*.md file. For each:

  • Extract the file name (node)
  • Extract all See Also links with relationship types
2. Build the Graph

Create a Mermaid graph LR diagram where:

  • Each reference file is a node
  • Each See Also link is a labeled edge
  • Relationship types become edge labels
3. Write Output

Write to references/GRAPH.md:

markdown
# Reference Knowledge Graph
> Auto-generated by `cortex:graph`. Do not edit manually.
> Last generated: YYYY-MM-DD

graph LR scoring["scoring.md"] signals["signals.md"] pipeline["pipeline.md"] database["database.md"] api-routes["api-routes.md"] frontend["frontend.md"] data-sources["data-sources.md"] auth["auth.md"] github-actions["github-actions.md"]

scoring -->|upstream| signals scoring -->|schema| database scoring -->|execution| pipeline ...

## Metrics
- Nodes: [count]
- Edges: [count]
- Avg connections per node: [count]
- Isolated nodes (0 connections): [list or "none"]
4. Present Summary

Show the user:

  • Total nodes and edges
  • Average connections per node
  • Any isolated nodes (structural gaps)
  • Whether any reference file has fewer than 3 connections (below minimum density)

Execution

Use Read tool to scan each reference file. Parse See Also sections with pattern matching. Build the Mermaid syntax. Write to references/GRAPH.md. GitHub renders Mermaid natively, so the graph is browsable in the repo.


See Also

  • validate-refs — Validates links that this skill visualizes [related]
  • plan-audit — Gates 14-15 use the same reference graph for coverage checks [consumer]

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/crombieman/undercurrent-cortex/graph/badge)](https://verified-skill.com/skills/crombieman/undercurrent-cortex/graph)

Something wrong with this skill or its page? Tell us.