# Wiki Update

> Use when revising existing wiki pages because knowledge has changed, a new piece of information updates or contradicts existing content, or the user wants to directly edit wiki content with LLM assistance.

- **Type:** Skill
- **Install:** `agentstack add skill-kfchou-wiki-skills-wiki-update`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [kfchou](https://agentstack.voostack.com/s/kfchou)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [kfchou](https://github.com/kfchou)
- **Source:** https://github.com/kfchou/wiki-skills/tree/main/skills/wiki-update

## Install

```sh
agentstack add skill-kfchou-wiki-skills-wiki-update
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Wiki Update

Revise existing wiki pages. Always show diffs before writing. Always log. Always cite the source of new information.

## Pre-condition

Find `SCHEMA.md` (search from cwd upward, or `~/wikis/`). If not found, tell the user to run `wiki-init` first. Read it to get wiki root path and conventions.

## Process

### 1. Identify what to update

The user may provide:
- **Specific page names** — update those pages
- **New information** — read `wiki/index.md` to find affected pages, then read those pages
- **A lint report** — work through its recommendations item by item

### 2. For each page to update

Read the current content in full. Propose the change:

> **Current:** ``
> **Proposed:** ``
> **Reason:** ``
> **Source:** ``

**Always include Source.** An edit without a source citation creates untraceability — future you won't know why the change was made.

Ask for confirmation before writing each page. Do not batch-apply changes without per-page confirmation.

### 3. Check for downstream effects

After identifying the primary pages to update, grep for `[[slug]]` references to those pages across all of `wiki/pages/`. For each page that links to an updated page:

- Does the update change anything that page asserts?
- If yes: flag it explicitly — "[[other-page]] may also need updating based on this change"
- Offer to update it with the same confirm-before-write flow

### 4. Contradiction sweep

If the new information contradicts something in the wiki: search all pages for the contradicted claim before updating. It may appear in more than one place. Update all occurrences, not just the most obvious one.

### 5. Update `wiki/index.md`

If the one-line summary for any updated page has changed, update it in `index.md`. Update the `updated` date in the page's frontmatter.

### 6. Update `wiki/overview.md`

Re-read `overview.md`. If the updates shift the overall synthesis (new understanding, resolved open question, changed key claim), propose edits to overview.md using the same confirm-before-write flow.

### 7. Append to `wiki/log.md`

Always append — do not ask permission, do not skip if `log.md` exists:
```
## [] update | 
Reason: 
Source: 
```

## Common Mistakes

- **Updating without citing the source** — Always include where the new information came from. This makes the wiki auditable.
- **Skipping the downstream check** — An update that contradicts a page's content while leaving pages that link to it unchanged creates silent inconsistency.
- **Skipping the log** — Every change must be logged. The log is append-only; if `log.md` doesn't exist, create it.
- **Batch-writing without confirmation** — Show each diff individually. The user may accept some changes and reject others.
- **Appending instead of updating** — Do not add `## [date] update` sections to page bodies. Edit the relevant section in-place, bump the `updated` frontmatter date, and log the change in `log.md`. If you find existing date-stamped sections, offer to integrate them in-place as part of the update.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [kfchou](https://github.com/kfchou)
- **Source:** [kfchou/wiki-skills](https://github.com/kfchou/wiki-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-kfchou-wiki-skills-wiki-update
- Seller: https://agentstack.voostack.com/s/kfchou
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
