Karpathy LLM Wiki
Astro-Han/karpathy-llm-wiki
A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.
Define knowledge bundles with Google's Open Knowledge Format (OKF) v0.1.
$ npx skills add magnus919/agent-skills --skill open-knowledge-format -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install magnus919/agent-skills open-knowledge-format --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/magnus919/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/open-knowledge-format .claude/skills/open-knowledge-format && 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 "open-knowledge-format" agent skill from https://github.com/magnus919/agent-skills/tree/main/open-knowledge-format into .claude/skills/open-knowledge-format/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-knowledge-format", 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/magnus919/agent-skills/tree/main/open-knowledge-formatType 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 magnus919/agent-skills --skill open-knowledge-format -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install magnus919/agent-skills open-knowledge-format --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/open-knowledge-format .agents/skills/open-knowledge-format && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "open-knowledge-format" agent skill from https://github.com/magnus919/agent-skills/tree/main/open-knowledge-format into .agents/skills/open-knowledge-format/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-knowledge-format", 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 magnus919/agent-skills --skill open-knowledge-format -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install magnus919/agent-skills open-knowledge-format --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/open-knowledge-format .cursor/skills/open-knowledge-format && 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 "open-knowledge-format" agent skill from https://github.com/magnus919/agent-skills/tree/main/open-knowledge-format into .cursor/skills/open-knowledge-format/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-knowledge-format", 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/magnus919/agent-skills.git --path open-knowledge-format--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 magnus919/agent-skills --skill open-knowledge-format -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install magnus919/agent-skills open-knowledge-format --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/open-knowledge-format .gemini/skills/open-knowledge-format && 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 "open-knowledge-format" agent skill from https://github.com/magnus919/agent-skills/tree/main/open-knowledge-format into .gemini/skills/open-knowledge-format/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-knowledge-format", 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 magnus919/agent-skills open-knowledge-formatInstalls 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 magnus919/agent-skills --skill open-knowledge-format -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/open-knowledge-format .github/skills/open-knowledge-format && 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 "open-knowledge-format" agent skill from https://github.com/magnus919/agent-skills/tree/main/open-knowledge-format into .github/skills/open-knowledge-format/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-knowledge-format", 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 magnus919/agent-skills --skill open-knowledge-format -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install magnus919/agent-skills open-knowledge-format --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/open-knowledge-format .opencode/skills/open-knowledge-format && 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 "open-knowledge-format" agent skill from https://github.com/magnus919/agent-skills/tree/main/open-knowledge-format into .opencode/skills/open-knowledge-format/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "open-knowledge-format", 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.
open-knowledge-formatDefine knowledge bundles with Google's Open Knowledge Format (OKF) v0.1.
Open Knowledge Format is an agent skill from magnus919/agent-skills. Define knowledge bundles with Google's Open Knowledge Format (OKF) v0.1. Use when the user mentions OKF, Open Knowledge Format, Google's knowledge format, LLM wiki bundles, agent knowledge packs, creating OKF bundles, validating OKF documents, or converting knowledge into the OKF standard. Do not use this skill for unrelated requests; route to the nearest named specialist.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including scripts, reference files and assets (for example `README.md`, `assets/concept-template.md` and `assets/example-bundle/datasets/index.md`). Compatibility notes: Portable across any AgentSkills-compatible harness. The validation script requires Python 3.8+ with PyYAML (pip install PyYAML). All examples use standard…
It sits in Knowledge Management, covering LLM wikis. The repository describes itself as: Curated collection of AI agent skills for Hermes and other agent frameworks. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 96fbe07. 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.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3gitFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
cloud.google.comgist.github.comFrom 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.
Portable across any AgentSkills-compatible harness. The validation script requires Python 3.8+ with PyYAML (pip install PyYAML). All examples use standard markdown — readable in any editor or terminal.
From compatibility in the SKILL.md frontmatter.
Open Knowledge Format loads about 2k tokens when it runs, and up to ~5.7k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 704 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); the scripts in this folder are not scanned.
The full file from magnus919/agent-skills at commit 96fbe07, republished under its MIT licence (© magnus919). 704 words, ~2,019 tokens.
.claude/skills/open-knowledge-format/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.Google Cloud published the Open Knowledge Format v0.1 on June 12, 2026 — an open specification that formalizes the LLM-wiki pattern into a portable, vendor-neutral format for AI agent knowledge.
The design is intentionally minimal: a directory of markdown files with YAML frontmatter. No schema registry, no central authority, no required tooling.
"If you can
cata file, you can read OKF; if you cangit clonea repo, you can ship it."
| Concept | Definition |
|---|---|
| Knowledge Bundle | A self-contained directory tree of markdown files. The unit of distribution. |
| Concept | A single unit of knowledge — one markdown file. May describe a table, a metric, a playbook, an API, or any idea. |
| Concept ID | The file path with .md stripped (e.g. tables/users.md has ID tables/users). |
| Frontmatter | YAML block at the top of each file with structured metadata. |
| Body | Standard markdown content after the frontmatter. |
| Link | A markdown link from one concept to another — expresses relationships. |
| Reference | Load when | File |
|---|---|---|
| Spec summary | You need the full OKF v0.1 specification, conformance criteria, and field definitions | references/spec-summary.md |
| Bundle architecture | You're creating or structuring an OKF bundle — directory layout, index files, cross-linking conventions | references/bundle-architecture.md |
| Use cases | You need real-world examples, third-party implementations, and adoption patterns | references/use-cases.md |
| Script | Purpose | Load when |
|---|---|---|
okf-bundle-validate.py | Validate an OKF bundle directory — checks frontmatter, required fields, reserved filenames, and cross-link integrity | You've created or modified an OKF bundle and want to verify conformance |
| Asset | Purpose | Path |
|---|---|---|
| Concept template | A template markdown file with all recommended frontmatter fields and body sections | assets/concept-template.md |
| Example bundle | A minimal but complete OKF bundle showing directory structure, index files, and cross-linked concepts | assets/example-bundle/ |
path/to/bundle/
├── index.md # Optional. Directory listing for progressive disclosure.
├── log.md # Optional. Chronological update history.
├── <concept>.md # A concept at the bundle root.
└── <subdirectory>/ # Subdirectories organize concepts into groups.
├── index.md
├── <concept>.md
└── <subdirectory>/
└── …Files named index.md and log.md are reserved — they have defined semantics and must not be used for concept documents.
---
type: <Type name> # REQUIRED
title: <Optional display name>
description: <Optional one-line summary>
resource: <Optional canonical URI for the underlying asset>
tags: [<tag>, <tag>, …] # Optional
timestamp: <ISO 8601 datetime> # Optional last-modified time
# … other producer-defined key/value pairs
---Required: type — a short string identifying the kind of concept. Types are NOT registered centrally. Producers pick descriptive values; consumers tolerate unknown types gracefully.
Conventional body sections:
| Heading | Purpose |
|---|---|
# Schema | Structured description of an asset's columns/fields |
# Examples | Concrete usage examples, often as code blocks |
# Citations | External sources backing claims in the body |
Concepts link to each other via standard markdown links:
/, relative to bundle root. Recommended — stable when documents move.A link from concept A to concept B asserts a relationship. The specific kind (references, depends-on, joins-with) is conveyed by the surrounding prose, not by the link syntax.
Consumers MUST tolerate broken links — a link whose target doesn't exist is not malformed; it may represent not-yet-written knowledge.
A bundle is conformant with OKF v0.1 if:
.md file contains parseable YAML frontmattertype fieldindex.md, log.md) follow their defined structureConsumers MUST NOT reject a bundle for: missing optional frontmatter fields, unknown type values, unknown frontmatter keys, broken cross-links, or missing index.md files.
| Format | How OKF Differs |
|---|---|
| Karpathy's LLM Wiki | OKF specifies the interoperability surface — required fields, reserved filenames, conformance criteria |
| Obsidian / Notion vaults | OKF is format-only — no tooling, no runtime, no UI. Any editor works |
| AGENTS.md / CLAUDE.md | OKF is multi-file, hierarchical, cross-linked — not a single convention file |
| Metadata-as-code repos | OKF standardizes the file format so different producers and consumers interoperate |
| Domain schemas (Avro, Protobuf, OpenAPI) | OKF references them — it does not subsume or replace them |
# 1. Create a bundle directory
mkdir my-knowledge && cd my-knowledge
# 2. Create a concept file
cat > datasets/sales.md << 'EOF'
---
type: BigQuery Dataset
title: Sales
description: All sales-related tables for the retail business.
tags: [sales]
timestamp: 2026-06-18T00:00:00Z
---
The sales dataset contains [orders](/tables/orders.md) and [customers](/tables/customers.md).
EOF
# 3. Add an index for navigation
cat > index.md << 'EOF'
# Knowledge Bundle
* Sales Dataset (`datasets/sales.md`) - Retail sales data in an example OKF bundle
EOF
# 4. Validate your bundle
python3 scripts/okf-bundle-validate.py .BigQuery Table, Playbook, Metric). Consumers should handle unknown types gracefully.index.md uses no frontmatter (except optionally at the bundle root for okf_version). The body is a markdown list with links.log.md date headings must be ISO 8601 (YYYY-MM-DD).© magnus919, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 13 other files (scripts, references, assets) in open-knowledge-format of magnus919/agent-skills.
Open the folder on GitHubat commit 96fbe07
Open Knowledge Format 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 |
|---|---|---|---|---|---|---|
| Open Knowledge Format this skillmagnus919/agent-skills | 113 | — | ~2k | Automated safety check: Pass | MIT | |
| Karpathy LLM WikiAstro-Han/karpathy-llm-wiki | 2.4k | — | ~3.6k | Automated safety check: Pass | MIT | |
| LLM Wiki Knowledge GraphEgonex-AI/Understand-Anything | 86k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Hermes History IngestAr9av/obsidian-wiki | 3.5k | 1 repos | ~2.2k | Automated safety check: Notes | MIT | |
| LLM Wikilewislulu/llm-wiki-skill | 655 | — | ~3.7k | Automated safety check: Pass | None | |
| Wiki Builderrohitg00/pro-workflow | 2.9k | — | ~1k | Automated safety check: Pass | None |
Astro-Han/karpathy-llm-wiki
A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.
Egonex-AI/Understand-Anything
Detects a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit relationships and topic clusters.
Ar9av/obsidian-wiki
Ingest Hermes agent history into Obsidian as distilled knowledge.
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…
rohitg00/pro-workflow
Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base.
rohitg00/pro-workflow
Query pro-workflow wikis via SQLite FTS5 BM25 retrieval. An agent skill from rohitg00/pro-workflow.
magnus919/agent-skills
Organize durable agent research outputs as summaries, analysis, and evidence dossiers.
magnus919/agent-skills
Build portable, first-person colored ASCII city engines and small GIS-derived city packs.
magnus919/agent-skills
Manage color workflows with ICC profiles, working spaces, gamut mapping, and color science.
magnus919/agent-skills
A skill your agent uses for PhD-level expertise in data science, statistics, and machine learning: rigorous statistical analysis, experimental design, causal inference, advanced modeling, research…
magnus919/agent-skills
Use Docker Compose to define, run, debug, and harden multi-container applications.
magnus919/agent-skills
Design, review, simulate, and verify FPGA logic using explicit RTL contracts, clock and reset models, CDC analysis, timing constraints, and reproducible implementation evidence.
Categories
Define knowledge bundles with Google's Open Knowledge Format (OKF) v0.1. Open Knowledge Format is an agent skill from magnus919/agent-skills.1.
Open Knowledge Format fits situations like: the user mentions OKF; open Knowledge Format; googles knowledge format; LLM wiki bundles.
Run `npx skills add magnus919/agent-skills --skill open-knowledge-format -a claude-code`. Or copy the skill folder (open-knowledge-format in magnus919/agent-skills) into .claude/skills/open-knowledge-format in your project. Claude Code loads it when a task matches its description.
Run `npx skills add magnus919/agent-skills --skill open-knowledge-format -a codex`. Or copy the skill folder (open-knowledge-format in magnus919/agent-skills) into .agents/skills/open-knowledge-format 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 magnus919/agent-skills --skill open-knowledge-format -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/open-knowledge-format, .gemini/skills/open-knowledge-format, .github/skills/open-knowledge-format and .opencode/skills/open-knowledge-format in your project.
Going by SKILL.md and its folder, Open Knowledge Format needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and git). Our summary lists: Python 3. Compatibility (from SKILL.md): Portable across any AgentSkills-compatible harness. The validation script requires Python 3.8+ with PyYAML (pip install PyYAML). All examples use standard markdown — readable in any editor or terminal..
SKILL.md names 2 domains. As links in the text: cloud.google.com and gist.github.com. 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Open Knowledge Format is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Open Knowledge Format: Karpathy LLM Wiki (Astro-Han/karpathy-llm-wiki, 2.4k stars), LLM Wiki Knowledge Graph (Egonex-AI/Understand-Anything, 86k stars), Hermes History Ingest (Ar9av/obsidian-wiki, 3.5k stars) and LLM Wiki (lewislulu/llm-wiki-skill, 655 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
magnus919 (a GitHub user) maintains it in magnus919/agent-skills, which has 113 GitHub stars. The repository holds 115 skills in this directory. The repository was last updated on October 6, 2026.
Source: magnus919/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.