Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

llm-wikiLLM Wiki

Agent Skill

llm-wiki 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,341

周安装

57

GitHub Stars

11

下载量

470
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/akillness/oh-my-skills --skill llm-wiki

简介

用于构建 LLM 维护的持久化 Markdown Wiki,实现知识累积而非每次重新发现。

  • 适合 Obsidian 或通用标记库的知识管理工作,保持原始源不可变。
  • 使用时需将维护责任写入 AGENTS.md 或 CLAUDE.md 以明确契约。
  • 适合从原始文章、笔记或研究材料构建长期可用的知识基础设施。
  • llm-wiki 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

llm-wiki - Persistent LLM-Maintained Markdown Wiki

Keyword: llm-wiki · obsidian wiki · research vault · knowledge base Use this skill when the user wants knowledge to accumulate as a maintained markdown artifact, not be rediscovered from raw files on every query.

llm-wiki turns Andrej Karpathy's gist into an operational workflow. The core pattern is simple: keep raw sources immutable, let the LLM own the wiki layer, and encode the maintenance contract in AGENTS.md or CLAUDE.md.

When to use this skill

  • Bootstrap a new Obsidian or markdown vault for long-lived knowledge work
  • Convert raw articles, papers, transcripts, or notes into source summaries plus cross-linked wiki pages
  • Maintain index.md and log.md as navigational primitives before adding heavier search infrastructure
  • File good answers back into the wiki instead of losing them in chat history
  • Run periodic lint passes for broken links, orphan pages, stale claims, and missing synthesis pages
  • Add optional helpers such as Scrapling for URL ingestion, qmd for search, or Obsidian CLI for vault automation

Instructions

Step 1: Bootstrap the vault

Create the wiki skeleton first:

bash scripts/bootstrap-vault.sh /path/to/vault

The bootstrap creates:

  • raw/sources/ for immutable source markdown or copied files
  • raw/assets/ for downloaded images and attachments
  • wiki/sources/ for per-source summaries
  • wiki/entities/ and wiki/concepts/ for durable synthesis pages
  • wiki/queries/ and wiki/reports/ for filed answers and higher-value outputs
  • index.md, log.md, and AGENTS.md

Do not skip the schema file. The schema is what makes the agent act like a disciplined maintainer instead of a generic assistant. See references/architecture.md and references/schema-playbook.md.

Step 2: Treat AGENTS.md or CLAUDE.md as the operating contract

The schema should encode the rules that stay true across sessions:

  • raw/ is source of truth and must stay immutable
  • wiki/ plus index.md and log.md are LLM-owned working artifacts
  • Every ingest updates the source summary, relevant synthesis pages, index.md, and log.md
  • Every durable query answer gets filed back into wiki/queries/ or wiki/reports/
  • Lint passes must look for broken links, orphan pages, stale claims, contradictions, and missing page candidates

Keep the schema short and enforceable. A small contract that the agent actually follows is better than a giant policy file nobody will reread. The starter schema from bootstrap-vault.sh is intentionally minimal; refine it with references/schema-playbook.md.

Step 3: Ingest one source at a time until the workflow is stable

If the source is already local, place it in raw/sources/ and ask the agent to process it. If the source is a URL, use the Scrapling-powered helper:

bash scripts/ingest-url.sh /path/to/vault "https://example.com/article"
bash scripts/ingest-url.sh /path/to/vault "https://app.example.com/post" --mode fetch --wait-selector article
bash scripts/ingest-url.sh /path/to/vault "https://protected.example.com/post" --mode stealth --solve-cloudflare

Expected ingest touch points:

  1. Save the immutable raw capture under raw/sources/
  2. Create or refresh a source page under wiki/sources/
  3. Update relevant entity or concept pages
  4. Update index.md
  5. Append a chronological entry to log.md

Prefer one-source-at-a-time ingest when starting. It forces the human to inspect what the wiki changed, surface missing conventions, and refine the schema. Once the workflow is reliable, batching is fine. Use references/ingest-playbook.md for the operating checklist.

Step 4: Query against the wiki, not the raw pile

When answering questions:

  1. Read index.md first
  2. Open the most relevant wiki pages
  3. Drill into raw sources only when the wiki needs grounding or conflict resolution
  4. Cite page paths and raw source paths explicitly
  5. File durable outputs back into the vault

Create a reusable note stub for high-value answers:

bash scripts/new-query-note.sh /path/to/vault "How does Company A differ from Company B?" --question "How does Company A differ from Company B?"
bash scripts/new-query-note.sh /path/to/vault "Q2 product thesis" --section reports --citation "[[wiki/concepts/product-thesis]]"

Use wiki/queries/ for question-shaped outputs and wiki/reports/ for more durable synthesized artifacts such as memos, comparisons, or presentation backbones. More detail lives in references/query-and-filing.md.

Step 5: Lint and repair the wiki periodically

Run the local health check:

python3 scripts/lint-wiki.py /path/to/vault
python3 scripts/lint-wiki.py /path/to/vault --format json

This script focuses on structure, not truth. It checks required files and directories, broken wiki links, and orphan pages. Use the lint output as the starting point for a human-guided cleanup pass:

  • merge duplicate concepts
  • promote heavily referenced ideas into their own page
  • retire stale claims superseded by newer sources
  • add backlinks or summary pages where the graph is too sparse

See references/maintenance-and-scaling.md for the higher-level lint checklist.

Step 6: Add search and automation only when scale justifies it

index.md plus log.md is enough for small-to-medium vaults. Add heavier tools later:

  • Scrapling when URL ingestion becomes common
  • qmd when the index is no longer sufficient for wiki search
  • Obsidian CLI when you want shell-driven vault automation against a running desktop app
  • Dataview when you start relying on frontmatter-driven tables and lists
  • Git from day one for version history, branching, and reviewable diffs

Do not force embeddings, MCP, or browser automation on day one. The point of this workflow is that a simple markdown repo already compounds knowledge surprisingly well.

Examples

Example 1: Bootstrap a fresh vault

bash scripts/bootstrap-vault.sh ~/vaults/company-research

Example 2: Capture a static article into raw sources and create a source stub

bash scripts/ingest-url.sh ~/vaults/company-research "https://example.com/article"

Example 3: Capture a JavaScript-rendered page

bash scripts/ingest-url.sh ~/vaults/company-research "https://app.example.com/dashboard" --mode fetch --network-idle

Example 4: Create a durable query note

bash scripts/new-query-note.sh ~/vaults/company-research "Why this market is consolidating" \
  --question "Why is this market consolidating?" \
  --citation "[[wiki/concepts/market-structure]]"

Example 5: Create a report stub instead of a query note

bash scripts/new-query-note.sh ~/vaults/company-research "Q3 diligence memo" --section reports

Example 6: Run the structure lint

python3 scripts/lint-wiki.py ~/vaults/company-research

Best practices

  1. Keep raw/ immutable. Corrections belong in wiki pages or follow-up source notes, not in rewritten raw captures.
  2. Update index.md and log.md on every ingest, query filing, and lint pass. If these drift, the whole workflow gets harder to navigate.
  3. Prefer a few strong entity and concept pages over hundreds of weak fragments. Compounding happens through synthesis, not page count.
  4. Read index.md before doing expensive retrieval work. It is the simplest useful search system for moderate vault sizes.
  5. Distinguish facts from synthesis. Source pages should be grounded; concept pages can be more interpretive.
  6. File good answers back into the vault. If the answer mattered once, it will probably matter again.
  7. Use git commits to separate ingest, query, and lint operations so the wiki stays auditable.
  8. Keep the schema alive. Update AGENTS.md when you notice repeated drift or ambiguity.

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.84%
按下载量换算173

Claude

32.47%
按下载量换算153

Cursor

17.15%
按下载量换算81

Gemini CLI

10.12%
按下载量换算48

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills