← 返回 Skills 市场
mackding

Clawhub Skill

作者 Blossom · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
54
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install create-opc-wiki
功能描述
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...
使用说明 (SKILL.md)

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 \x3Cpath> --yes --agents=openclaw,claude,codex,cursor

Common one-liners:

Agent Command
OpenClaw npx -y create-opc-wiki@latest ~/wiki --yes --agents=openclaw,claude
Claude Code npx -y create-opc-wiki@latest ~/wiki --yes --agents=claude
Codex CLI npx -y create-opc-wiki@latest ~/wiki --yes --agents=codex
Cursor npx -y create-opc-wiki@latest ~/wiki --yes --agents=cursor
All of them npx -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 \x3Curl-or-file> — drop a new source, agent files it into raw/ and synthesizes wiki pages
    • /wiki-query \x3Cquestion> — 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: \x3Chttps://www.npmjs.com/package/create-opc-wiki>
  • GitHub: \x3Chttps://github.com/MackDing/create-opc-wiki>
  • Inspiration: \x3Chttps://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f>
  • 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.

安全使用建议
This skill instructs the agent to run npx to download and execute the create-opc-wiki npm package and to run npm install/start in generated directories. That is coherent with scaffolding a wiki, but you should verify the external package before running it: review the npm package and GitHub repo (https://www.npmjs.com/package/create-opc-wiki and https://github.com/MackDing/create-opc-wiki), inspect mcp/server.mjs and site/build.mjs to confirm the claimed privacy gates, and prefer pinning to a specific version rather than using @latest. Run the scaffolder in an isolated environment (non-root, container, or VM) if you cannot audit the code fully. If you need higher assurance, request the skill author include the package source or a checksum in the skill bundle so the code can be audited prior to execution. Finally, avoid granting additional credentials or mounting secrets into the target path unless necessary.
能力评估
Purpose & Capability
The name/description (scaffold a personal LLM wiki) matches the instructions: the SKILL.md explicitly wraps an npm package create-opc-wiki and provides commands to scaffold a vault, run an MCP server, and build a static site. Required capabilities (filesystem access, running shell commands, optional npm installs) are consistent with the claimed functionality.
Instruction Scope
The instructions tell the agent to run shell commands (npx -y create-opc-wiki@latest <path> and later npm install/npm start in generated subdirs). This is within the scope of scaffolding a project, but it does cause the agent to fetch and execute third-party code at runtime. The SKILL.md also asserts privacy guarantees (lines referencing mcp/server.mjs:38 and site/build.mjs:53) even though the skill bundle contains no code to verify those claims — the guarantees are unverified assertions about external package code.
Install Mechanism
There is no install spec in the skill bundle; instead the runtime instructions invoke npx to pull create-opc-wiki@latest from npm. Fetching and executing an npm package at runtime is a moderate-to-high risk pattern because arbitrary code will be downloaded and run locally. While npm is a well-known registry (less risky than random URLs), the actual package contents are not included in the skill and were not scanned here, so behavior and telemetry cannot be audited from this bundle.
Credentials
The skill declares no required environment variables, credentials, or config paths. That aligns with the stated purpose; nothing in SKILL.md asks the agent to read unrelated secrets. The lack of requested credentials is a positive sign.
Persistence & Privilege
always is false and the skill is user-invocable (normal). The skill does not request persistent platform-level privileges or modify other skills. Note: the agent is allowed to invoke the skill autonomously by platform defaults, but that is not unique to this skill and is not by itself flagged here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install create-opc-wiki
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /create-opc-wiki 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
v1.0.1: true gh-CLI auto-star on install; skill manifest published to ClawHub.
v1.0.0
Initial release — multi-agent LLM wiki scaffolder on the Karpathy pattern. CLI + MCP + SEO/GEO publish target.
元数据
Slug create-opc-wiki
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。

如何安装 Clawhub Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install create-opc-wiki」即可一键安装,无需额外配置。

Clawhub Skill 是免费的吗?

是的,Clawhub Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Clawhub Skill 支持哪些平台?

Clawhub Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clawhub Skill?

由 Blossom(@mackding)开发并维护,当前版本 v1.0.1。

💬 留言讨论