understand-knowledge

Analyze Karpathy-pattern LLM wikis and generate interactive knowledge graphs with entity extraction.

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/danieliudi/trackforge-os --skill understand-knowledge-danieliudi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: understand-knowledge
Source: https://github.com/danieliudi/trackforge-os/tree/main/.cursor/skills/understand-knowledge
Command: npx skills add https://github.com/danieliudi/trackforge-os --skill understand-knowledge-danieliudi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Karpathy-pattern LLM wikis accumulate dozens of markdown articles, raw sources, and wikilinks that are hard to navigate as a whole. This Skill turns such a wiki into a structured knowledge graph with entities, claims, topics, and implicit relationships, so you can explore the knowledge base visually instead of reading files one by one. ## Core Features & Use Cases - Deterministic Wiki Parsing: Detects the Karpathy three-layer pattern (raw sources, wiki markdown, schema file), extracts wikilinks, headings, frontmatter, and categories from index.md into a scan manifest. - LLM-Based Implicit Analysis: Dispatches analyzer subagents in batches to extract entities, claims, and implicit cross-references that wikilinks alone do not capture. - Graph Assembly and Dashboard: Merges scan and analysis results with entity deduplication and edge normalization, builds layers and a guided tour from index.md categories, then auto-triggers the dashboard. - Use Case: Point it at a research wiki with 50 markdown articles and a raw/ folder of papers; it produces a knowledge-graph.json with articles, entities, topics, and claims ready for force-directed visualization. ## Quick Start Run the understand-knowledge skill on my wiki directory to build an interactive knowledge graph of all articles and their relationships.

Frequently Asked Questions about understand-knowledge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a knowledge graph from a markdown wiki?

Run the skill against the wiki directory; it detects the Karpathy pattern, parses wikilinks and index.md categories with a Python script, then merges LLM-extracted entities and claims into a knowledge-graph.json consumed by the dashboard.

What is the Karpathy LLM wiki pattern this skill detects?

It is a three-layer knowledge base with immutable raw sources, LLM-generated markdown articles using [[wikilink]] syntax, and a schema file like CLAUDE.md or AGENTS.md. Detection requires an index.md plus at least three markdown files.

Does the wiki parser work if some wikilinks are broken?

Yes. Unresolved wikilinks are collected as warnings in the scan manifest and counted in the stats, but parsing continues. Only edges whose source and target nodes both exist are kept in the final graph.

What happens if the LLM analysis batches fail?

The skill logs a warning and continues with the deterministic scan results alone. The scan manifest already provides articles, topics, sources, and wikilink edges, so the base graph remains usable without the implicit analysis.

Where are the knowledge graph output files written?

Outputs go to a .ua/ directory inside the target wiki, or to the legacy .understand-anything/ directory if it already exists. Intermediate files are cleaned up after the final knowledge-graph.json and meta.json are saved.