Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Build Structured Markdown Knowledge Wiki

ASecurity

LLM-maintained personal knowledge base. Compile raw sources into a structured markdown wiki, auto-lint for consistency, serve as a browsable website. Inspired by Karpathy's 'LLM Knowledge Bases' workflow. Use when: user asks to create/manage a wiki, 'wiki this', 'add to wiki', '…

19 stars
0 votes
0 copies
1 views
Added 9/19/2026
ai-agentspythongogit

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add rondoflow/rondoflow --skill build-structured-markdown-knowledge-wiki --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build Structured Markdown Knowledge Wiki?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Build Structured Markdown Knowledge Wiki
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-build-structured-markdown-knowledge-wiki/badge)](https://www.skillsdirectory.com/skills/rondoflow-build-structured-markdown-knowledge-wiki)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: build-structured-markdown-knowledge-wiki
description: "LLM-maintained personal knowledge base. Compile raw sources into a structured markdown wiki, auto-lint for consistency, serve as a browsable website. Inspired by Karpathy's 'LLM Knowledge Bases' workflow. Use when: user asks to create/manage a wiki, 'wiki this', 'add to wiki', '…"
category: "AI & Agents"
author: community
version: "1.2.0"
icon: bot
---

# Wiki — LLM-Maintained Knowledge Base

You maintain a personal wiki for the user. The wiki is a collection of markdown articles organized by topic. You are the compiler, editor, and librarian.

## Setup

If the wiki doesn't exist yet, run `scripts/bootstrap.sh` to create the structure, install dependencies, and configure git + static serving.

The wiki lives at `~/wiki/` with this structure:

```
~/wiki/
├── mkdocs.yml
├── docs/
│   ├── index.md              ← master index (you maintain)
│   ├── log.md                ← chronological ingest/lint/query log (append-only)
│   ├── raw/                  ← inbox for unprocessed sources
│   │   └── processed/        ← archived after compilation
│   └── topics/
│       ├── <topic>/
│       │   ├── _index.md     ← topic overview + article list
│       │   └── <article>.md  ← individual articles
│       └── ...
└── site/                     ← built static site (gitignored)
```

## Core Operations

### 1. Filing Knowledge (most common)

When conversations produce durable knowledge, file it directly:

1. Determine the right topic directory (create new one if needed)
2. Write or update the article in `docs/topics/<topic>/<article>.md`
3. **Update related pages** — scan existing articles for references to the same concepts, entities, or data. Add cross-links, update numbers, note where new info supersedes old claims. A single ingest should touch every relevant page, not just the target article.
4. Update `docs/topics/<topic>/_index.md` with the new article link
5. Update `docs/index.md` stats if a new topic/article was added
6. Update `mkdocs.yml` nav section
7. Append an entry to `docs/log.md`
8. Rebuild: `scripts/build.sh`

Articles should be self-contained, factual, and cross-linked where relevant. Use `See also: [Title](relative-path.md)` for connections.

### 2. Compiling from raw/

When the user drops sources in `docs/raw/` or gives you a URL:

1. Read/fetch the source material
2. Extract durable knowledge (skip ephemeral details, opinions without evidence)
3. File into appropriate topic articles (new or existing)
4. **Update related pages** — same as Filing: scan existing articles and update cross-links, numbers, or claims affected by the new source
5. Move the raw source to `docs/raw/processed/`
6. Append an entry to `docs/log.md`
7. Rebuild: `scripts/build.sh`

### 3. Linting (daily via heartbeat)

Scan `~/wiki/docs/` for:
- **Contradictions** — facts/numbers/claims in one article that conflict with another. Flag the specific pages and the conflicting statements.
- **Stale data** — outdated references, old dates paired with "current"/"latest" language, version numbers that have been superseded
- **Missing links** — references to topics without articles
- **Dead cross-links** — broken `See also` links
- **Orphan pages** — pages with no inbound links from other articles
- **Weak pages** — articles that are too thin to be useful on their own (candidates for merging or expanding)

Fix within `~/wiki/docs/`: broken links, typos, missing cross-links, orphan pages (add links from related articles).
Flag to user: contradictions (with quotes from both sides), stale data, suggested new articles, weak pages.
Append a lint entry to `docs/log.md`.

### 4. Filing Good Answers

When a conversation produces a solid synthesized answer (comparison, analysis, deep-dive), proactively offer to file it as a wiki page. Good candidates:
- Comparisons or evaluations (model benchmarks, tool comparisons)
- How-to knowledge derived from troubleshooting
- Synthesized research across multiple sources
- Decisions with rationale

These shouldn't disappear into chat history — they compound in the wiki.

### 5. Browsing

The wiki is served as a static MkDocs site. After any content change, run `scripts/build.sh` to regenerate.

## Article Style Guide

- **Title**: H1 at top, descriptive
- **Date/context**: italicized line under title when relevant (e.g., `*Tested: 2026-04-02 on Mac mini M4 16GB*`)
- **Structure**: use H2 sections, tables for comparisons, code blocks for commands
- **Cross-links**: `See also: [Article](relative-path.md)` at bottom
- **Be factual**: cite sources, include numbers, avoid vague claims
- **Keep it dense**: this is a reference, not a blog post

## Adding New Topics

1. Create `docs/topics/<topic>/` directory
2. Create `docs/topics/<topic>/_index.md` with overview + article list
3. Add to `docs/index.md` topic list
4. Add to `mkdocs.yml` nav section

## Dependencies & System Changes

This skill requires or will install the following:

| Dependency | Purpose | Installed by |
|---|---|---|
| Python 3 | MkDocs runtime | Must be pre-installed |
| mkdocs + mkdocs-material | Static site generator | `bootstrap.sh` via pipx or pip3 |
| git | Version control | Must be pre-installed |

### What `bootstrap.sh` does

- Creates `~/wiki/` directory structure
- Installs `mkdocs` + `mkdocs-material` via pipx/pip3 **if not already installed**
- Initializes a git repository
- Creates a **persistent static server** as a LaunchAgent (macOS) or systemd user service (Linux) on port 8300
- The static server serves `~/wiki/site/` on `127.0.0.1` only (not publicly accessible)

### What `build.sh` does

- Rebuilds the MkDocs static site
- Commits all changes to git (local only by default)
- Use `--push` to also push to a configured git remote (requires SSH keys or stored HTTP credentials)

### Optional: heartbeat integration

You can integrate wiki linting into your agent's heartbeat cycle. This is opt-in and requires adding config to your `HEARTBEAT.md`. The heartbeat integration reads `heartbeat-state.json` (for timing) and optionally `memory/` daily notes (to detect wiki gaps). See `references/heartbeat-integration.md` for setup.

## Log (`docs/log.md`)

Append-only chronological record of wiki activity. Every ingest, lint, and filed answer gets an entry. Format:

```markdown
## [YYYY-MM-DD] ingest | Article Title
- Source: <URL or filename>
- Pages touched: page1.md, page2.md, ...
- Summary: one-line description of what was added/changed

## [YYYY-MM-DD] lint
- Fixed: <list of silent fixes>
- Flagged: <list of issues reported to user>

## [YYYY-MM-DD] filed | Article Title
- Origin: conversation / Q&A synthesis
- Summary: one-line description
```

The log is parseable with grep: `grep "^## \[" docs/log.md | tail -10` gives the last 10 entries.

## Build & Deploy

Always run `scripts/build.sh` after content changes. This:
1. Rebuilds MkDocs static site
2. Commits all changes to git
3. Pushes to remote

Attribution

rondoflowrondoflow
View sourceMore from rondoflow →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693161 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →