← 返回
未分类 中文

Clawhub Skill

Scaffold a personal LLM wiki (Karpathy pattern) — multi-agent, MCP-ready, with SEO/GEO publish target. Compiles knowledge into a persistent wiki instead of r...
Scaffold a personal LLM wiki (Karpathy pattern) — multi-agent, MCP-ready, with SEO/GEO publish target. Compiles knowledge into a persistent wiki instead of r...
mackding mackding 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 317
下载
💾 0
安装
1
版本
#karpathy#knowledge-base#latest#llm-wiki#mcp#obsidian#openclaw#scaffolder

概述

create-opc-wiki

Scaffold a personal LLM wiki on the Karpathy pattern in 30 seconds. Multi-agent native, MCP server built-in, SEO/GEO-optimized publish target.

What this skill does

Run the scaffolder against any folder and you get a complete personal-knowledge-base vault:

  • agent-rules/main.md — single source of truth, synced to 9 agent file formats (CLAUDE.md, AGENTS.md, .cursor/rules/main.mdc, .cursorrules, .github/copilot-instructions.md, .trae/rules.md, .openclaw/rules.md, .hermes/agent.md)
  • Three reusable skills: /wiki-ingest, /wiki-query, /wiki-lint
  • Five source recipes: arXiv paper, X thread, YouTube transcript, RSS article, podcast transcript
  • Privacy-tagged frontmatter: public | private | secret
  • An MCP server with three tools (wiki_query, wiki_list, wiki_read) and a hard privacy gate (privacy: secret pages never leave the box)
  • Optional Astro static site target with sitemap.xml, llms.txt, robots.txt, RSS feed, OpenGraph + JSON-LD per page

How to invoke

The skill wraps the published npm package create-opc-wiki@latest. From any agent that can run a shell command:

npx -y create-opc-wiki@latest <path> --yes --agents=openclaw,claude,codex,cursor

Common one-liners:

AgentCommand
------
OpenClawnpx -y create-opc-wiki@latest ~/wiki --yes --agents=openclaw,claude
Claude Codenpx -y create-opc-wiki@latest ~/wiki --yes --agents=claude
Codex CLInpx -y create-opc-wiki@latest ~/wiki --yes --agents=codex
Cursornpx -y create-opc-wiki@latest ~/wiki --yes --agents=cursor
All of themnpx -y create-opc-wiki@latest ~/wiki --yes --agents=openclaw,claude,codex,cursor,hermes,vscode,trae

Add --no-mcp, --no-site, --no-recipes, or --no-git to skip those layers. --json emits machine-readable result on stdout.

How to use the generated vault

  1. Open the folder in Obsidian (it's a valid Obsidian vault) — and/or
  2. Open the folder in your AI agent (it reads CLAUDE.md / AGENTS.md / .openclaw/rules.md / etc.)
  3. From inside the agent, use the three skills:
    • /wiki-ingest — drop a new source, agent files it into raw/ and synthesizes wiki pages
    • /wiki-query — natural-language query across compiled wiki
    • /wiki-lint — health-check (contradictions, stale speculative claims, orphan pages)

The MCP server in mcp/server.mjs exposes the wiki to any MCP client (Claude Desktop, Cursor, Codex). Run npm install && npm start from the mcp/ directory.

Why a wiki and not just RAG

Most LLM-on-files setups re-derive answers from raw docs at every query. There's no accumulation. Quoting Karpathy's gist:

> The LLM incrementally builds and maintains a persistent wiki — a structured, interlinked collection of markdown files that sits between you and the raw sources. The wiki keeps getting richer with every source you add and every question you ask.

This skill operationalizes exactly that, with concrete choices for ontology, agent rules, MCP, and publishing.

Privacy & security

  • privacy: secret pages never returned by the MCP server (enforced at mcp/server.mjs:38)
  • privacy: public is the only level that publishes (enforced at site/build.mjs:53)
  • Default frontmatter privacy is private — nothing publishes by accident
  • The scaffolder runs once, locally, and exits — no telemetry, no network calls during scaffolding except the optional npm install you trigger yourself

Links

  • npm:
  • GitHub:
  • Inspiration:
  • Stability scope: see STABILITY.md in the repo for the semver-stable surface
  • Per-agent install recipes: see docs/INSTALL-FOR-AGENTS.md in the repo

License

MIT. Inspired by Andrej Karpathy's "LLM Wiki" gist; implementation choices are this project's. Full attribution in INSPIRATION.md.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 23:56 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

Agent Auditor

mackding
对任意 AI 编程工具进行遥测、远程控制、权限、隐私及隐藏功能的审计,生成等级报告(A-F)。
★ 0 📥 317

Agent Gateway

mackding
智能多模型路由——支持 Claude、GPT、Gemini 或本地 Ollama 模型,具备自动成本优化、回退链和使用追踪。
★ 0 📥 322

Agent Intelligence

mackding
研究驱动的情报数据库,涵盖AI编程工具的隐藏功能、模型代号、功能标志和版本变更。
★ 0 📥 397