Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
TypeScript antigravity-skillsbusiness-knowledgeclaude-codeclaude-skillscodebase-analysiscodexcodex-skillsdeveloper-tools-ai-agentgemini-cli-skillskarpathy-llm-wikiknowledge-baseknowledge-graphmemoryopencode-skillspi-agentunderstandcodevibe-coding
fix(understand-knowledge): Windows path + zod schema null compatibility
nieaof3ea1a3088ef
diff --git a/understand-anything-plugin/skills/understand-knowledge/parse-knowledge-base.py b/understand-anything-plugin/skills/understand-knowledge/parse-knowledge-base.pyindex 45d95e46..d6070512 100644--- a/understand-anything-plugin/skills/understand-knowledge/parse-knowledge-base.py+++ b/understand-anything-plugin/skills/understand-knowledge/parse-knowledge-base.py@@ -232,7 +232,7 @@ def build_name_to_stem_map(wiki_root: Path) -> dict[str, str]:basename_counts: dict[str, int] = {}for md_file in wiki_root.rglob("*.md"):rel = md_file.relative_to(wiki_root)- stem = str(rel.with_suffix("")) # e.g., "decisions/decision-foo"+ stem = rel.with_suffix("").as_posix() # e.g., "decisions/decision-foo"basename = md_file.stem # e.g., "decision-foo"# Full relative path always maps uniquelyname_map[stem.lower()] = stem@@ -313,7 +313,7 @@ def parse_wiki(root: Path) -> dict:article_ids: set[str] = set()for md_file in sorted(wiki_root.rglob("*.md")):rel = md_file.relative_to(wiki_root)- stem = str(rel.with_suffix(""))+ stem = rel.with_suffix("").as_posix()# Only filter infra files at root level (no parent directory)if rel.parent == Path(".") and rel.name.lower() in INFRA_FILES:continue@@ -327,7 +327,7 @@ def parse_wiki(root: Path) -> dict:for md_file in sorted(wiki_root.rglob("*.md")):rel = md_file.relative_to(wiki_root)- stem = str(rel.with_suffix(""))+ stem = rel.with_suffix("").as_posix()basename = md_file.stem# Skip infrastructure files only at wiki root level@@ -381,7 +381,7 @@ def parse_wiki(root: Path) -> dict:"complexity": complexity,"knowledgeMeta": {"wikilinks": [wl["target"] for wl in wikilinks],- "category": category or None,+ **({"category": category} if category else {}),"content": text[:3000], # First 3000 chars for LLM analysis},})