understand-knowledge

Solid

Analyze a Karpathy-pattern LLM wiki knowledge base and generate an interactive knowledge graph with entity extraction, implicit relationships, and topic clustering.

AI & Automation 57,852 stars 4812 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /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 2. Run the format detection script bundled with this skill: ``` python3 <SKILL_DIR>/parse-knowledge-base.py <TARGET_DIR> ``` - 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 `<TARGET_DIR>/.understand-anything/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 c...

Details

Author
Lum1104
Repository
Lum1104/Understand-Anything
Created
2 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category