AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

llm-wiki

Use when building or maintaining an Obsidian second brain that an LLM keeps up to date, or when ingesting a paper, article or book into it. Ingests with ingest_source.py, maintains index and links and checks the vault with lint_wiki.py.

Original source
alirezarezvani
License
MIT
Pinned revision
e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read alirezarezvani--llm-wiki at revision e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 22

references/cross-tool-setup.md

Cross-Tool Setup

The LLM Wiki plugin is tool-agnostic. The scripts are pure Python stdlib and run anywhere. Only the schema loader file (the file the tool reads to understand conventions) differs per tool.

How different CLIs discover project-level instructions

| Tool | Loader file | Notes | |---|---|---| | Claude Code | CLAUDE.md | Loaded automatically when CC starts in the vault dir | | Codex CLI (OpenAI) | AGENTS.md | Loaded at session start | | Cursor (new) | AGENTS.md | Modern Cursor reads AGENTS.md | | Cursor (legacy) | .cursorrules | Older Cursor versions | | Google Antigravity | AGENTS.md | Uses the standard AGENTS.md convention | | OpenCode / Pi | AGENTS.md | Same convention | | Gemini CLI | AGENTS.md | Same convention | | Aider | CONVENTIONS.md or .aider.conf.yml | Point Aider at CLAUDE.md with --read CLAUDE.md |

Recommendation: ship both CLAUDE.md and AGENTS.md in every vault. init_vault.py --tool all does this by default.

Multi-tool vault

If you use multiple CLIs against the same vault:

python scripts/init_vault.py --path ~/vaults/research --topic "X" --tool all

This creates:

  • CLAUDE.md
  • AGENTS.md
  • .cursorrules

All three are the same content, formatted appropriately. You can symlink to keep them in sync:

cd <vault>
ln -sf CLAUDE.md AGENTS.md
# or edit both manually when you tune the schema

Per-tool quickstart

Claude Code

cd <vault>
claude
> /wiki-init              # if vault isn't initialized
> /wiki-ingest raw/paper.pdf
> /wiki-query "what does the paper say about X?"

The slash commands ship with this plugin. To install the plugin itself, either:

  • Clone claude-code-skills and copy engineering/llm-wiki/ into ~/.claude/skills/, or
  • Install via the marketplace if published

Codex CLI

Codex reads AGENTS.md automatically. Then:

cd <vault>
codex
> ingest raw/paper.pdf into the wiki
> query: what does the paper say about X?

Codex doesn't have slash commands, but the schema file teaches it the ingest/query/lint workflow, so natural-language triggers work.

Cursor

cd <vault>
cursor .

Open the Cursor chat in the sidebar. Cursor auto-reads AGENTS.md. Ask the same questions.

Antigravity / OpenCode / Pi

Same as Codex — drop AGENTS.md in the vault root and use natural language.

Multi-tool same session

You can run Claude Code and Codex simultaneously against the same vault. They'll both see updates if one writes a page — filesystem is the source of truth. Just make sure each vault is committed to git so you can resolve conflicts.

Running the scripts directly (any tool)

The scripts don't care which tool calls them. You can run them from the shell any time:

# from inside the vault
python ~/.claude/skills/llm-wiki/scripts/lint_wiki.py --vault .
python ~/.claude/skills/llm-wiki/scripts/update_index.py --vault .
python ~/.claude/skills/llm-wiki/scripts/wiki_search.py --vault . --query "superposition"

Aliases are handy. Add to your shell rc:

alias wiki-lint='python ~/.claude/skills/llm-wiki/scripts/lint_wiki.py --vault .'
alias wiki-index='python ~/.claude/skills/llm-wiki/scripts/update_index.py --vault .'
alias wiki-search='python ~/.claude/skills/llm-wiki/scripts/wiki_search.py --vault .'

MCP exposure (future)

The wiki can be exposed as an MCP tool so any MCP-capable client (Claude Desktop, Claude Code, etc.) can query it. See engineering/mcp-design in this repo for the pattern. A future version of this plugin will ship an mcp/ directory with a reference MCP server.