Agent skill

Knowledge Wiki Summary

by CatChen in CatChen/knowledge-wiki-template

Generate or refresh wiki summaries for knowledge base markdown files.

MITAuto-check passedKnowledge Management

Install Knowledge Wiki Summary

skills CLI
$ npx skills add CatChen/knowledge-wiki-template --skill knowledge-wiki-summary -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install CatChen/knowledge-wiki-template knowledge-wiki-summary --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/CatChen/knowledge-wiki-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/knowledge-wiki-summary .claude/skills/knowledge-wiki-summary && rm -rf skills-src

Use ~/.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/

Facts

Skill name
knowledge-wiki-summary
GitHub stars
106
Token cost
~1.4k tokens
SKILL.md length
645 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Generate or refresh wiki summaries for knowledge base markdown files.

  • Works in 4 steps: Establish the working directory → Find files that need summarizing → Process each file → …
  • The user wants to summarize notes
  • Calls node and git
  • Update the wiki

What it does

Knowledge Wiki Summary is an agent skill from CatChen/knowledge-wiki-template. Generate or refresh wiki summaries for knowledge base markdown files. Use when the user wants to summarize notes, update the wiki, compile stale summaries, or process new knowledge base files into Wiki/Summaries.

Its SKILL.md is about 1.4k 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. The licence is MIT.

When your agent uses it

  • The user wants to summarize notes
  • Update the wiki
  • Compile stale summaries
  • Process new knowledge base files into Wiki/Summaries

Example prompts

  • “/knowledge-wiki-summary”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Establish the working directory
  2. Find files that need summarizing
  3. Process each file
  4. Print summary

What it can do on your machine

Read from SKILL.md and the folder at commit 77b9be8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • node
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Knowledge Wiki Summary loads about 1.4k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 645 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from CatChen/knowledge-wiki-template at commit 77b9be8, republished under its MIT licence (© CatChen). 645 words, ~1,396 tokens.

Download SKILL.mdSave it as .claude/skills/knowledge-wiki-summary/SKILL.md (or your agent's skills folder).
name
knowledge-wiki-summary
description
Generate or refresh wiki summaries for knowledge base markdown files. Use when the user wants to summarize notes, update the wiki, compile stale summaries, or process new knowledge base files into Wiki/Summaries.

Knowledge Wiki Summary

Batch process all stale or new knowledge base files and write their wiki summaries. Incremental — only processes files whose content has changed since the last summary was written.

Steps

1. Establish the working directory

The knowledge base root is the Git repository root. Run git rev-parse --show-toplevel and store the result as KNOWLEDGE_PATH.

Use KNOWLEDGE_PATH for all subsequent steps.

2. Find files that need summarizing

Run:

bash
node {KNOWLEDGE_PATH}/scripts/wiki/wiki-summary.mjs list-stale

Output format:

json
{ "sources": ["Posts/Buy Me a Coffee.md", ...] }

Each entry is a source file path relative to KNOWLEDGE_PATH.

If sources is empty, print Nothing to summarize. and stop.

3. Process each file

For each entry in sources, run the following sub-steps in order.


3a. Read the source file

If the source file is 1500 lines or fewer, read it directly with the Read tool in the main context and proceed to step 3b.

If the source file is over 1500 lines, spawn a subagent to read the full source. Brief the subagent with:

  • The source file path: {KNOWLEDGE_PATH}/{source_path}
  • The full step 3b content-generation instructions (copy the entire section into the prompt)

Instruct the subagent to:

  1. Read the full source file using the Read tool, using offset/limit for subsequent pages if the file is truncated
  2. Generate and return all of the following (do not write any files):
    • Tags (3–8 lowercase English tags, comma-separated)
    • Title (in source language)
    • ## Summary content (2–4 sentences in source language)
    • ## Key Concepts bullets (in source language)
    • ## Notable Details content (in source language)
    • A one-line English description of the source document (used in step 3d)

When the subagent returns, skip the generation part of step 3b and proceed directly to the create command in step 3c, using the content the subagent returned.


3b. Generate the summary content

Language: Write the title, summary prose, and key points in the same language as the source document. If the source is in Mandarin, write in Mandarin. If in Cantonese, write in Cantonese. Only fall back to English if the source language is ambiguous or mixed. Section headers (## Summary, ## Key Concepts) stay in English regardless of source language. When writing in English, use American English spelling (e.g. "realize" not "realise", "organize" not "organise").

Generate the following content from the source document:

  1. tags — 3–8 lowercase English tags based on content, comma-separated

  2. Title — infer from content or filename, in source language

  3. ## Summary — 2–4 sentences in source language summarizing the document's main subject, argument, or purpose

  4. ## Key Concepts — a bulleted list of 3–8 key concepts this source covers, each formatted as:

    - [[Wiki/Concepts/{concept-slug}|{Display Name}]] — {brief description in source language}
    • Concept slugs are always lowercase English kebab-case regardless of source language.
    • Display Name is the correctly-cased human-readable title always in English, regardless of source language (e.g. [[Wiki/Concepts/restful-api|RESTful API]]). Infer the English concept name from the source text — don't derive it mechanically from the slug.
    • Concept files may not exist yet — broken links are acceptable here.
  5. ## Notable Details — any specific facts, figures, quotes, findings, or techniques worth preserving verbatim, in source language

Show full SKILL.md (158 more words)Show less

3c. Write the summary file

First, generate a unique temp file path:

bash
mktemp /tmp/wiki_summary_body.XXXXXX

The command prints the path (e.g. /tmp/wiki_summary_body.aB3xYz). Store this as {tmpfile}.

Use the Write tool to write the generated content to {tmpfile}:

# Title

## Summary
...

## Key Concepts
- [[Wiki/Concepts/example-concept|Example Concept]] — brief description

## Notable Details
...

Then pipe it into create and clean up:

bash
node {KNOWLEDGE_PATH}/scripts/wiki/wiki-summary.mjs create "{source_path}" --tags "[tag1, tag2, tag3]" < "{tmpfile}" && rm "{tmpfile}"

The script writes all frontmatter (source, hash, summarized_at, type, _icon) and the ## Backlinks section automatically, then prints the summary file path. Store this as {summary_path}.

If create exits with an error (e.g. source file not found), do not proceed. Run ls "{KNOWLEDGE_PATH}/$(dirname "{source_path}")" to find the exact filename on disk, then retry with the correct path.


3d. Update the index

Derive the summary's rel-path by stripping the Wiki/Summaries/ prefix and the .md extension from {summary_path}.

Example: Wiki/Summaries/Posts/Buy Me a Coffee.summary.md → Posts/Buy Me a Coffee.summary

Generate a one-line English description of the source document. If a subagent was used in step 3a, use the description it returned instead of generating a new one.

Run:

bash
node {KNOWLEDGE_PATH}/scripts/wiki/wiki-index.mjs upsert-summary "{rel-path}" "{one-line description}"

4. Print summary
Summarized {N} file(s):
  - {source_path} → {summary_path}
  - {source_path} → {summary_path}
  ...

© CatChen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/knowledge-wiki-summary of CatChen/knowledge-wiki-template.

Open the folder on GitHubat commit 77b9be8

Compare with similar skills

Knowledge Wiki Summary 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.

Knowledge Wiki Summary compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Knowledge Wiki Summary this skillCatChen/knowledge-wiki-template106—~1.4kAutomated safety check: PassMIT
Capture Conversationoutline/outline41k—~474Automated safety check: PassCustom licence
Project CairniBlinkQ/project-cairn2352 repos~861Automated safety check: PassMIT
LLM Wiki Knowledge GraphEgonex-AI/Understand-Anything86k1 repos~1.5kAutomated safety check: PassMIT
Find And Citeoutline/outline41k—~537Automated safety check: PassCustom licence
Xhs Virtual Productchenjin-cmd/xhs-virtual-product727—~862Automated safety check: PassMIT

Similar skills

  • Capture Conversation

    outline/outline

    Save the current conversation, a decision, or a set of notes as a document in an Outline collection; use when the user wants to keep what was discussed in their knowledge base.

    41k GitHub stars~474 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Project Cairn

    iBlinkQ/project-cairn

    Standardize how an AI-collaboration project turns work into reusable knowledge.

    235 GitHub starsUsed in 2 repos~861 tokens
    Knowledge ManagementAuto-check passed
  • LLM Wiki Knowledge Graph

    Egonex-AI/Understand-Anything

    Detects a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit relationships and topic clusters.

    86k GitHub starsUsed in 1 repo~1.5k tokens
    Knowledge ManagementAuto-check passed
  • Find And Cite

    outline/outline

    Answer questions from the Outline knowledge base with quotes and links to the source documents; use when the user asks what the team knows, documented, or decided about a topic.

    41k GitHub stars~537 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Xhs Virtual Product

    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.

    727 GitHub stars~862 tokensUpdated 7 days ago
    Knowledge ManagementAuto-check passed
  • Openkb

    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…

    4.7k GitHub starsUsed in 1 repo~2k tokens
    Knowledge ManagementAuto-check: warnings

More from CatChen/knowledge-wiki-template

  • Knowledge Wiki Concept

    CatChen/knowledge-wiki-template

    Create or update wiki concept files from knowledge base summaries.

    106 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Knowledge Wiki Synthesis

    CatChen/knowledge-wiki-template

    Scan the wiki for cross-cutting connections, implicit relationships, contradictions, and gaps across concepts and summaries, then write synthesis concept files.

    106 GitHub stars~1.9k tokensUpdated 3 mo ago
    Auto-check passed
  • Knowledge Wiki Cluster

    CatChen/knowledge-wiki-template

    Find groups of concepts that share an implied parent slug and handle them: if the parent does not exist, create it; if it already exists, link unconnected children to it.

    106 GitHub stars~5k tokensUpdated 3 mo ago
    Auto-check passed
  • Knowledge Wiki Enrich

    CatChen/knowledge-wiki-template

    Expand thin concept articles in the knowledge wiki using web search.

    106 GitHub stars~636 tokensUpdated 3 mo ago
    Auto-check passed
  • Knowledge Wiki Lint

    CatChen/knowledge-wiki-template

    Audit and repair the knowledge wiki. An agent skill from CatChen/knowledge-wiki-template.

    106 GitHub stars~3.5k tokensUpdated 3 mo ago
    Auto-check passed
  • Knowledge Wiki Merge

    CatChen/knowledge-wiki-template

    Interactively find and merge duplicate concept files in the knowledge wiki.

    106 GitHub stars~2.6k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Knowledge Wiki Summary

What does Knowledge Wiki Summary do?

Generate or refresh wiki summaries for knowledge base markdown files. Knowledge Wiki Summary is an agent skill from CatChen/knowledge-wiki-template. Generate or refresh wiki summaries for knowledge base markdown files.

When should I use Knowledge Wiki Summary?

Knowledge Wiki Summary fits situations like: the user wants to summarize notes; update the wiki; compile stale summaries; process new knowledge base files into Wiki/Summaries.

How do I install Knowledge Wiki Summary in Claude Code?

Run `npx skills add CatChen/knowledge-wiki-template --skill knowledge-wiki-summary -a claude-code`. Or copy the skill folder (.claude/skills/knowledge-wiki-summary in CatChen/knowledge-wiki-template) into .claude/skills/knowledge-wiki-summary in your project. Claude Code loads it when a task matches its description.

How do I install Knowledge Wiki Summary in Codex?

Run `npx skills add CatChen/knowledge-wiki-template --skill knowledge-wiki-summary -a codex`. Or copy the skill folder (.claude/skills/knowledge-wiki-summary in CatChen/knowledge-wiki-template) into .agents/skills/knowledge-wiki-summary in your project. Codex loads it when a task matches its description.

Can I use Knowledge Wiki Summary in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add CatChen/knowledge-wiki-template --skill knowledge-wiki-summary -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/knowledge-wiki-summary, .gemini/skills/knowledge-wiki-summary, .github/skills/knowledge-wiki-summary and .opencode/skills/knowledge-wiki-summary in your project.

What does Knowledge Wiki Summary need to run?

Going by SKILL.md and its folder, Knowledge Wiki Summary needs the command-line tools its instructions call (node and git).

Does Knowledge Wiki Summary access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Knowledge Wiki Summary safe to install?

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.

What licence does Knowledge Wiki Summary use?

Knowledge Wiki Summary is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Knowledge Wiki Summary use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Knowledge Wiki Summary?

Skills that share tags, products or a category with Knowledge Wiki Summary: Capture Conversation (outline/outline, 41k stars), Project Cairn (iBlinkQ/project-cairn, 235 stars), LLM Wiki Knowledge Graph (Egonex-AI/Understand-Anything, 86k stars) and Find And Cite (outline/outline, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Knowledge Wiki Summary?

CatChen (a GitHub user) maintains it in CatChen/knowledge-wiki-template, which has 106 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on June 24, 2026.

Source: CatChen/knowledge-wiki-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.