Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

understand-knowledge理解知识

Agent Skill

understand-knowledge 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

783

周安装

32

GitHub Stars

9,368

下载量

251
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:understand-knowledge(理解知识)
来源仓库:https://github.com/lum1104/understand-anything
仓库路径:skills/understand-knowledge
安装命令:
npx skills add https://github.com/lum1104/understand-anything --skill understand-knowledge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lum1104/understand-anything --skill understand-knowledge

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中整理项目状态。

  • 支持围绕仓库变更、协作事项进行信息梳理与分析,提升开发协同效率。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态及是否涉及联网或文件操作。
  • understand-knowledge 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/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

  1. 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/

  1. 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. The scan-manifest.json contains:

  • Article nodes (one per wiki.md file) with extracted wikilinks, headings, frontmatter
  • Source nodes (one per raw/ file)
  • Topic nodes (from index.md section headings)
  • related edges (from wikilinks)
  • categorized_under edges (from index.md sections)

No additional scanning is needed. Proceed to Phase 3.

Phase 3: ANALYZE

Dispatch article-analyzer subagents to extract implicit knowledge:

  1. Read the scan-manifest.json to get the article list
  2. Prepare batches of 10-15 articles each, grouped by category when possible (articles in the same category are more likely to have implicit cross-references)
  3. For each batch, dispatch an article-analyzer subagent with: The agent will write analysis-batch-{N}.json to the intermediate directory.

- The batch of articles (id, name, summary, wikilinks, category, content from knowledgeMeta) - The full list of existing node IDs (so the agent can reference them) - The batch number for output file naming - The intermediate directory path: $INTERMEDIATE_DIR = <TARGET_DIR>/.understand-anything/intermediate

  1. Run up to 3 batches concurrently. Wait for all batches to complete.
  2. If any batch fails, log a warning but continue — the scan-manifest provides a solid base graph even without LLM analysis.

Phase 4: MERGE

  1. Run the merge script bundled with this skill: python3 <SKILL_DIR>/merge-knowledge-graph.py <TARGET_DIR>
  2. The script:

- Combines scan-manifest.json + all analysis-batch-*.json files - Deduplicates entities (case-insensitive name matching) - Normalizes node/edge types via alias maps - Builds layers from index.md categories - Builds a tour from index.md section ordering - Writes assembled-graph.json to the intermediate directory

  1. Read the merge report from stderr and announce:

- Total nodes, edges, layers, tour steps - How many entities/claims the LLM analysis added

Phase 5: SAVE

  1. Read the assembled-graph.json
  2. Run basic validation:

- Every edge source/target must reference an existing node - Every node must have: id, type, name, summary, tags, complexity - Remove any edges with dangling references

  1. Copy the validated graph to <TARGET_DIR>/.understand-anything/knowledge-graph.json
  2. Write metadata to <TARGET_DIR>/.understand-anything/meta.json: {"lastAnalyzedAt": "<ISO timestamp>", "gitCommitHash": "<from git rev-parse HEAD or empty>", "version": "1.0.0", "analyzedFiles": <number of wiki articles>}
  3. Clean up intermediate files: rm -rf <TARGET_DIR>/.understand-anything/intermediate
  4. Report summary to the user:

- "Knowledge graph saved: N articles, N entities, N topics, N claims, N sources" - "N edges (N wikilink, N categorized, N implicit)" - "N layers, N tour steps"

  1. Auto-trigger the dashboard: /understand-dashboard <TARGET_DIR>

Notes

  • The parse script handles ALL deterministic extraction (wikilinks, headings, frontmatter, categories from index.md). The LLM agents only add implicit knowledge that requires inference.
  • Categories and taxonomy come from index.md section headings, NOT from filename prefixes. The Karpathy spec is intentionally abstract about naming conventions.
  • The graph uses kind: "knowledge" to signal the dashboard to use force-directed layout instead of hierarchical dagre.
  • Source nodes from raw/ are lightweight (filename + size only) — we don't parse PDFs or binary files.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.69%
按下载量换算90

Claude

28.76%
按下载量换算72

Cursor

20.08%
按下载量换算50

Gemini CLI

10.57%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills