# create-opc-wiki [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/MackDing/create-opc-wiki  
**GitHub Stars:** 4  
**npm Downloads (last month):** 170  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/create-opc-wiki

## Description
Scaffold a personal LLM wiki (Karpathy pattern). MCP-ready, multi-agent, publishable. Zero-prompt install for IM agents (OpenClaw, Hermes, Codex, Claude Code).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "create-opc-wiki": {
    "command": "npx",
    "args": ["-y","create-opc-wiki"]
  }
}
```

## Documentation

## What create-opc-wiki does

create-opc-wiki scaffolds a personal knowledge base based on the persistent-wiki pattern associated with Andrej Karpathy. It creates a local directory containing three main layers:

- `agent-rules/main.md` defines agent behavior and can be synchronized into several agent-specific instruction formats.

The generated project can include an MCP server, source-ingestion recipes, a static publishing target, and an initial Git repository. Its default knowledge domains include technology, finance, reading, growth, and insights, though domains can be customized during scaffolding.

## How it works

Run the package through `npx` to create a new wiki interactively or in non-interactive mode. The `--yes` option accepts defaults, which allows an agent, CI job, or shell automation to create the project without prompts. Agent targets can be selected with `--agents`, while separate flags control the MCP server, site, recipes, and Git initialization.

After generation, the directory can be opened as an Obsidian vault or used by supported coding and agent tools. Agents can ingest sources, query the accumulated wiki, and maintain its Markdown content through the included `/wiki-ingest`, `/wiki-query`, and `/wiki-lint` skills.

The optional MCP process runs locally over stdio. Privacy is represented in frontmatter with `public`, `private`, and `secret` levels. Secret content remains local, private content is excluded from publishing, and the MCP boundary enforces the privacy rules.

## Setup and configuration

An interactive setup starts with:

```bash
npx create-opc-wiki my-wiki
```

For automation, provide a destination and `--yes`:

```bash
npx -y create-opc-wiki@latest ~/wiki --yes --agents=claude,codex,cursor
```

Useful options include `--domains <csv>` for knowledge areas, `--mcp` or `--no-mcp` for the MCP component, `--site` or `--no-site` for the Astro target, `--recipes` or `--no-recipes` for source recipes, and `--git` or `--no-git` for repository initialization. `--json` emits a machine-readable result. The optional MCP server and Astro site require Node.js 20 or newer; the generated Markdown wiki can be used without Node after scaffolding.

## Tools and capabilities

The generated MCP server provides three tools:

- `wiki_query` searches or queries the compiled wiki.
- `wiki_list` lists available wiki content.
- `wiki_read` reads wiki content.

The scaffold also supports five source recipes covering arXiv papers, X threads, YouTube transcripts, RSS articles, and podcast transcripts. Its frontmatter includes confidence levels—`high`, `medium`, or `speculative`—with reminders for aging speculative claims. Publishing creates an Astro Starlight site with a sitemap, `llms.txt`, `robots.txt`, RSS, OpenGraph metadata, and JSON-LD, while limiting output to pages marked `public`.

Agent instructions can be synchronized to formats used by Claude Code, Codex, Cursor, GitHub Copilot, Trae, OpenClaw, and Hermes, among others named by the project.

## Limitations and notes

The scaffolder currently requires npm and Node.js to run through `npx`. The generated wiki itself is plain Markdown, but the optional MCP server and publishing site retain the Node.js 20+ requirement. Publishing is intentionally restricted by privacy frontmatter, so private and secret material is not included in the static site.

_Full upstream README: https://allmcps.com/mcp/create-opc-wiki/readme_

