Agent skill · research science · lum1104
understand-knowledge
Analyze a Karpathy-pattern LLM wiki knowledge base and generate an interactive knowledge graph with entity extraction, implicit relationships, and topic clustering.
Why this skill is useful
Adds a complete executable workflow for generating an interactive knowledge graph from a Karpathy-pattern LLM wiki, including scripts for detection, analysis, and merging.
What it needs
Requires python3 installed locally. About 3k tokens when loaded. Last updated 2026-07-30. 77,791 stars on the source repository.
What this skill does
/understand-knowledge Analyzes a Karpathy-pattern LLM wiki — a three-layer knowledge base with raw sources, wiki markdown, and a schema file — and produces an interactive knowledge graph dashboard. What It Detects The Karpathy LLM wiki pattern (see https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f): Raw sources — immutable source documents (articles, papers, data files) Wiki — LLM-generated markdown files with wikilinks ([[target]] syntax) Schema — CLAUDE.md, AGENTS.md, or similar configuration file index.md — content catalog organized by categories log.md — chronological operation log Detection signals: has index.md + multiple .md files with wikilinks. May have raw/ directory and schema file. Instructions Phase 1: DETECT 1. Determine the target directory: If the user provided a path argument, use that Otherwise, use the current working directory Resolve the data directory $UADIR once, and reuse it for every read and write below: UADIR="<TARGETDIR>/$([ -d "<TARGETDIR>/.understand-anything" ] && echo .understand-anything echo .ua)" — this selects the legacy .understand-anything/ when it already exists, otherwise the new .ua/. 2. Run the format detection script bundled with this skill: If the script exits with an error, tell the user this doesn't appear to be a Karpathy-pattern wiki and explain what was expected If successful, proceed. The script writes scan-manifest.json to $UADIR/intermediate/ 3. Read the scan-manifest.json and announce the results: "Detected Karpathy wiki: N articles, N sources, N topics, N wikilinks (N unresolved)" List the categories found from index.md Phase 2: SCAN (already done) The parse script in Phase 1 already performed the deterministic scan. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills lum1104/understand-knowledge