LLM Wiki
lewislulu/llm-wiki-skill
Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…
Interactive onboarding to create a structured knowledge base.
$ npx skills add techwolf-ai/ai-first-toolkit --skill setup-knowledge-base -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install techwolf-ai/ai-first-toolkit setup-knowledge-base --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/techwolf-ai/ai-first-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/knowledge-base/skills/setup-knowledge-base .claude/skills/setup-knowledge-base && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "setup-knowledge-base" agent skill from https://github.com/techwolf-ai/ai-first-toolkit/tree/main/plugins/knowledge-base/skills/setup-knowledge-base into .claude/skills/setup-knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-knowledge-base", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/techwolf-ai/ai-first-toolkit/tree/main/plugins/knowledge-base/skills/setup-knowledge-baseType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add techwolf-ai/ai-first-toolkit --skill setup-knowledge-base -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install techwolf-ai/ai-first-toolkit setup-knowledge-base --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/techwolf-ai/ai-first-toolkit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/knowledge-base/skills/setup-knowledge-base .agents/skills/setup-knowledge-base && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "setup-knowledge-base" agent skill from https://github.com/techwolf-ai/ai-first-toolkit/tree/main/plugins/knowledge-base/skills/setup-knowledge-base into .agents/skills/setup-knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-knowledge-base", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add techwolf-ai/ai-first-toolkit --skill setup-knowledge-base -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install techwolf-ai/ai-first-toolkit setup-knowledge-base --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/techwolf-ai/ai-first-toolkit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/knowledge-base/skills/setup-knowledge-base .cursor/skills/setup-knowledge-base && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "setup-knowledge-base" agent skill from https://github.com/techwolf-ai/ai-first-toolkit/tree/main/plugins/knowledge-base/skills/setup-knowledge-base into .cursor/skills/setup-knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-knowledge-base", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/techwolf-ai/ai-first-toolkit.git --path plugins/knowledge-base/skills/setup-knowledge-base--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add techwolf-ai/ai-first-toolkit --skill setup-knowledge-base -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install techwolf-ai/ai-first-toolkit setup-knowledge-base --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/techwolf-ai/ai-first-toolkit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/knowledge-base/skills/setup-knowledge-base .gemini/skills/setup-knowledge-base && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "setup-knowledge-base" agent skill from https://github.com/techwolf-ai/ai-first-toolkit/tree/main/plugins/knowledge-base/skills/setup-knowledge-base into .gemini/skills/setup-knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-knowledge-base", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install techwolf-ai/ai-first-toolkit setup-knowledge-baseInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add techwolf-ai/ai-first-toolkit --skill setup-knowledge-base -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/techwolf-ai/ai-first-toolkit.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/knowledge-base/skills/setup-knowledge-base .github/skills/setup-knowledge-base && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "setup-knowledge-base" agent skill from https://github.com/techwolf-ai/ai-first-toolkit/tree/main/plugins/knowledge-base/skills/setup-knowledge-base into .github/skills/setup-knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-knowledge-base", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add techwolf-ai/ai-first-toolkit --skill setup-knowledge-base -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install techwolf-ai/ai-first-toolkit setup-knowledge-base --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/techwolf-ai/ai-first-toolkit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/knowledge-base/skills/setup-knowledge-base .opencode/skills/setup-knowledge-base && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "setup-knowledge-base" agent skill from https://github.com/techwolf-ai/ai-first-toolkit/tree/main/plugins/knowledge-base/skills/setup-knowledge-base into .opencode/skills/setup-knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-knowledge-base", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
setup-knowledge-baseInteractive onboarding to create a structured knowledge base.
Setup Knowledge Base is an agent skill from techwolf-ai/ai-first-toolkit. Interactive onboarding to create a structured knowledge base. Defines categories, scaffolds the directory structure, creates the index, and optionally imports initial content. Run this first before using /kb-answer or /kb-import.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Knowledge Management, covering Knowledge bases and Project scaffolding. The repository describes itself as: Open-source Claude Code skills and Codex skills for AI-first work. Audit, re-engineer, and bootstrap projects with AI-first design principles. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2ee7841. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Setup Knowledge Base loads about 1.2k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 535 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from techwolf-ai/ai-first-toolkit at commit 2ee7841, republished under its MIT licence (© techwolf-ai). 535 words, ~1,215 tokens.
.claude/skills/setup-knowledge-base/SKILL.md (or your agent's skills folder).Interactive setup that creates a structured, evidence-backed knowledge base in your project.
Ask the user (one question at a time, use AskUserQuestion):
Example category suggestions by domain:
Before creating anything, present the plan to the user:
I'll create this structure in your project:
kb/
.kb-config.yaml
index.md
scopes/
_default.yaml
README.md
{category1}/
{category2}/
{category3}/
scripts/
kb-index.py
kb-verify.py
kb-validate.py
kb-search.py
CLAUDE.md (or append to existing)
Ready to proceed?Wait for user confirmation.
Read the template files from this plugin and adapt them for the user's project:
Read templates/kb/.kb-config.yaml from this plugin. Create kb/.kb-config.yaml in the user's project, replacing the placeholder categories with the ones chosen in Step 1. Replace {{today}} with today's date.
Read templates/kb/index.md from this plugin. Create kb/index.md, adding seed keywords for each chosen category. For example, if the user chose "security" and "technical", add initial keyword entries:
| encryption, certificates, access | security/ |
| API, architecture, deployment | technical/ |Read templates/kb/scopes/_default.yaml from this plugin. Copy to kb/scopes/_default.yaml.
Read templates/kb/scopes/README.md from this plugin. Copy to kb/scopes/README.md.
Create empty directories for each chosen category: kb/{category1}/, kb/{category2}/, etc.
Read scripts/kb-index.py from this plugin. Copy to scripts/kb-index.py in the user's project.
Read scripts/kb-verify.py from this plugin. Copy to scripts/kb-verify.py in the user's project.
Read scripts/kb-validate.py from this plugin. Copy to scripts/kb-validate.py in the user's project.
Read scripts/kb-search.py from this plugin. Copy to scripts/kb-search.py in the user's project.
Read templates/CLAUDE.md from this plugin. Create (or append to existing) CLAUDE.md in the user's project root. Replace {{category}} placeholders with the actual categories chosen in Step 1.
The KB structure is ready, but empty. Ask the user:
"Do you have existing knowledge sources you'd like to import? (Notion pages, Slack channels, Confluence, local files)"
/kb-refresh to populate the KB from those sources. It handles source discovery, scraping, and entry creation.templates/kb/example/sample-entry.md from this plugin for the format, but write an entry relevant to the user's domain rather than copying the sample.Run the index script to confirm everything is wired up:
python3 scripts/kb-index.pyRegenerate the "All Files by Category" section of kb/index.md from the current entries:
python3 scripts/kb-index.py --writeValidate KB health (frontmatter, categories, related links):
python3 scripts/kb-validate.pyIf kb-index.py lists the entries and kb-validate.py reports "All entries valid", setup is complete.
Tell the user:
kb/{category}/ folder; nested sub-folders like kb/security/access/ are supported)/kb-answer)/kb-import)/kb-refresh)python3 scripts/kb-index.py)python3 scripts/kb-search.py "keyword")© techwolf-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/knowledge-base/skills/setup-knowledge-base of techwolf-ai/ai-first-toolkit.
Open the folder on GitHubat commit 2ee7841
Setup Knowledge Base next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Setup Knowledge Base this skilltechwolf-ai/ai-first-toolkit | 132 | — | ~1.2k | Automated safety check: Pass | MIT | |
| LLM Wikilewislulu/llm-wiki-skill | 655 | — | ~3.7k | Automated safety check: Pass | None | |
| LLM Wiki Knowledge GraphEgonex-AI/Understand-Anything | 85k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Xhs Virtual Productchenjin-cmd/xhs-virtual-product | 726 | — | ~862 | Automated safety check: Pass | MIT | |
| OpenkbVectifyAI/OpenKB | 4.7k | 1 repos | ~2k | Automated safety check: Warn | Apache-2.0 | |
| Learn From Materialsdmoshehun-prog/learn-from-materials | 902 | — | ~7.9k | Automated safety check: Pass | MIT |
lewislulu/llm-wiki-skill
Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…
Egonex-AI/Understand-Anything
Detects a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit relationships and topic clusters.
chenjin-cmd/xhs-virtual-product
This skill helps plan, select, produce, and market Xiaohongshu (RED) virtual/digital products — templates, knowledge bases, test tools, study materials.
VectifyAI/OpenKB
A skill your agent uses when the user asks about content in their OpenKB knowledge base — research topics, concepts compiled from their documents, cross-document synthesis — or mentions openkb, an…
dmoshehun-prog/learn-from-materials
Turns books, PDFs, slides and web pages into a source-grounded knowledge base and an interactive learning page in English or Chinese, with quizzes, relationship maps and reusable methodology notes.
onyx-dot-app/onyx
Query the Onyx knowledge base using the onyx-cli command. An agent skill from onyx-dot-app/onyx.
techwolf-ai/ai-first-toolkit
Mine the user's Claude Code + Cowork session history into a structured task profile, what they do with AI, how often, how successfully where friction lives, then propose atomic skills that would…
techwolf-ai/ai-first-toolkit
Personal diagnosis of where your Claude Code + Cowork spend goes.
techwolf-ai/ai-first-toolkit
Find context from past Claude Code (CLI) and Claude Cowork (desktop) sessions on this Mac.
techwolf-ai/ai-first-toolkit
Write or develop a blog post. An agent skill from techwolf-ai/ai-first-toolkit.
techwolf-ai/ai-first-toolkit
Write or develop an opinion piece (opiniestuk/op-ed). An agent skill from techwolf-ai/ai-first-toolkit.
techwolf-ai/ai-first-toolkit
Analyze, re-engineer, or bootstrap projects to align with AI-first design principles.
Categories
Interactive onboarding to create a structured knowledge base. Setup Knowledge Base is an agent skill from techwolf-ai/ai-first-toolkit. Interactive onboarding to create a structured knowledge base.
Setup Knowledge Base fits situations like: tasks that involve Knowledge bases; tasks that involve Project scaffolding.
Run `npx skills add techwolf-ai/ai-first-toolkit --skill setup-knowledge-base -a claude-code`. Or copy the skill folder (plugins/knowledge-base/skills/setup-knowledge-base in techwolf-ai/ai-first-toolkit) into .claude/skills/setup-knowledge-base in your project. Claude Code loads it when a task matches its description.
Run `npx skills add techwolf-ai/ai-first-toolkit --skill setup-knowledge-base -a codex`. Or copy the skill folder (plugins/knowledge-base/skills/setup-knowledge-base in techwolf-ai/ai-first-toolkit) into .agents/skills/setup-knowledge-base in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add techwolf-ai/ai-first-toolkit --skill setup-knowledge-base -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup-knowledge-base, .gemini/skills/setup-knowledge-base, .github/skills/setup-knowledge-base and .opencode/skills/setup-knowledge-base in your project.
Going by SKILL.md and its folder, Setup Knowledge Base needs the command-line tools its instructions call (python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Setup Knowledge Base is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Setup Knowledge Base: LLM Wiki (lewislulu/llm-wiki-skill, 655 stars), LLM Wiki Knowledge Graph (Egonex-AI/Understand-Anything, 85k stars), Xhs Virtual Product (chenjin-cmd/xhs-virtual-product, 726 stars) and Openkb (VectifyAI/OpenKB, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
techwolf-ai (a GitHub organization) maintains it in techwolf-ai/ai-first-toolkit, which has 132 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on September 29, 2026.
Source: techwolf-ai/ai-first-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.