Agent skill

Knowledge Wiki Concept

by CatChen in CatChen/knowledge-wiki-template

Create or update wiki concept files from knowledge base summaries.

MITAuto-check passedKnowledge Management

Install Knowledge Wiki Concept

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

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

GitHub CLI
$ gh skill install CatChen/knowledge-wiki-template knowledge-wiki-concept --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-concept .claude/skills/knowledge-wiki-concept && 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-concept
GitHub stars
106
Token cost
~1.3k tokens
SKILL.md length
593 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Create or update wiki concept files from knowledge base summaries.

  • Works in 5 steps: Establish the working directory → Find summary files to process → Process each summary file → …
  • The user wants to build
  • Calls node and git
  • Refresh concept articles

What it does

Knowledge Wiki Concept is an agent skill from CatChen/knowledge-wiki-template. Create or update wiki concept files from knowledge base summaries. Use when the user wants to build or refresh concept articles, populate Wiki/Concepts, or run the concept-creation step after summarizing new files.

Its SKILL.md is about 1.3k 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 build
  • Refresh concept articles
  • Populate Wiki/Concepts
  • Run the concept-creation step after summarizing new files

Example prompts

  • “/knowledge-wiki-concept”

Workflow steps

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

  1. Establish the working directory
  2. Find summary files to process
  3. Process each summary file
  4. Update state
  5. 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 Concept loads about 1.3k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 593 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.3k

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). 593 words, ~1,328 tokens.

Download SKILL.mdSave it as .claude/skills/knowledge-wiki-concept/SKILL.md (or your agent's skills folder).
name
knowledge-wiki-concept
description
Create or update wiki concept files from knowledge base summaries. Use when the user wants to build or refresh concept articles, populate Wiki/Concepts, or run the concept-creation step after summarizing new files.

Knowledge Wiki Concept

Create or update concept articles in Wiki/Concepts/ by extracting concepts from summary files that have been updated since the last run.

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 summary files to process

Run:

bash
node {KNOWLEDGE_PATH}/scripts/wiki/wiki-state.mjs find-unprocessed-summaries knowledge-wiki-concept

This outputs a JSON array of summary file paths (relative to KNOWLEDGE_PATH) that are new or updated since the last run. Example:

json
[
  "Wiki/Summaries/Posts/Alexa, tell me a joke..summary.md",
  "Wiki/Summaries/Posts/Vision Pro 使用体验(Part 1).summary.md"
]

If the array is empty, print Nothing to process. and stop.

3. Process each summary file

For each path in the array from step 2, run the following sub-steps.


3a. Read the summary file

Read the summary file using the Read tool.

Parse the ## Key Concepts section. Each line has the form:

- [[Wiki/Concepts/{concept-slug}|{Display Name}]] — {description}

Extract the slug, display name, and description for each concept.

Also note the summary file's tags frontmatter field — you may draw on these when choosing concept tags, but only include tags that are genuinely relevant to the concept itself.

Derive the summary's link-path by stripping the .md extension from the summary file path, and store it as {summary-link-path}. Example: Wiki/Summaries/Posts/foo.summary.md → Wiki/Summaries/Posts/foo.summary


3b. For each concept, create or update its file

If the concept file does NOT exist, create it:

  1. Run:

    bash
    node {KNOWLEDGE_PATH}/scripts/wiki/wiki-concept.mjs create "{concept-slug}" "{Display Name}"

    This creates Wiki/Concepts/{concept-slug}.md with frontmatter and an empty ## Sources section. The command prints the file path.

  2. Read the file using the Read tool, then edit it to add:

    • Article body — insert between the # {Display Name} line and ## Sources: a 2–4 paragraph article explaining this concept clearly. Write it as a standalone reference: define the concept, explain why it matters, describe how it works, and note any important variants or related ideas. Assume the reader knows the field but is encountering this concept for the first time.
    • tags: [] — replace with relevant lowercase English tags. You may draw on the summary's tags frontmatter field as a starting point, but only include tags that are genuinely relevant to the concept itself.

    Language: Always write concept articles in English, regardless of the language of the source summaries. Concepts are the cross-language synthesis layer of the knowledge base. Use American English spelling.

  3. Add the source link:

    bash
    node {KNOWLEDGE_PATH}/scripts/wiki/wiki-concept.mjs insert-source "{concept-slug}" "{summary-link-path}"

    If insert-source fails with summary file not found, the {summary-link-path} may have been transcribed incorrectly (e.g. a curly apostrophe retyped as a straight one). Run ls "{KNOWLEDGE_PATH}/$(dirname "{summary-link-path}")" to find the exact filename on disk, correct the path, and retry.

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

If the concept file DOES exist, update it:

  1. Read the existing file.
  2. Add any tags that are relevant to the concept and not already present — use judgement, do not blindly copy all tags from the summary. Never remove existing tags.
  3. If the summary introduces information not already covered in the article body, integrate it naturally — extend an existing paragraph or add a new one. Do not duplicate content already there.
  4. Add the source link (idempotent — no-op if already present):
    bash
    node {KNOWLEDGE_PATH}/scripts/wiki/wiki-concept.mjs insert-source "{concept-slug}" "{summary-link-path}"
    If insert-source fails with summary file not found, see the recovery step above.

3c. Update the index

Write a one-line English description for the index entry. This must be synthesized fresh from the concept article body you just wrote or read — do not copy the description from the ## Key Concepts line in the summary, and do not lift the first sentence of the article verbatim. The description should be a compact, self-contained characterization: what the concept is and why it matters, in one sentence, written for someone who has never encountered it.

Run:

bash
node {KNOWLEDGE_PATH}/scripts/wiki/wiki-index.mjs upsert-concept "{concept-slug}" "{Display Name}" "{one-line English description}"

4. Update state

Run:

bash
node {KNOWLEDGE_PATH}/scripts/wiki/wiki-state.mjs set-last-run knowledge-wiki-concept
5. Print summary
Processed {N} summary file(s), created/updated {M} concept(s):
  Created: {concept-slug} — {Display Name}
  Updated: {concept-slug} — {Display Name}
  ...

© 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-concept of CatChen/knowledge-wiki-template.

Open the folder on GitHubat commit 77b9be8

Compare with similar skills

Knowledge Wiki Concept 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 Concept compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Knowledge Wiki Concept this skillCatChen/knowledge-wiki-template106—~1.3kAutomated safety check: PassMIT
LLM Wiki Knowledge GraphEgonex-AI/Understand-Anything85k1 repos~1.5kAutomated safety check: PassMIT
Xhs Virtual Productchenjin-cmd/xhs-virtual-product726—~862Automated safety check: PassMIT
OpenkbVectifyAI/OpenKB4.7k1 repos~2kAutomated safety check: WarnApache-2.0
Learn From Materialsdmoshehun-prog/learn-from-materials902—~7.9kAutomated safety check: PassMIT
Onyx CLIonyx-dot-app/onyx32k1 repos~2.6kAutomated safety check: PassCustom licence

Similar skills

  • 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.

    85k GitHub starsUsed in 1 repo~1.5k tokens
    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.

    726 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
  • Learn From Materials

    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.

    902 GitHub stars~7.9k tokensUpdated 6 days ago
    Knowledge ManagementAuto-check passed
  • Onyx CLI

    onyx-dot-app/onyx

    Query the Onyx knowledge base using the onyx-cli command. An agent skill from onyx-dot-app/onyx.

    32k GitHub starsUsed in 1 repo~2.6k tokens
    Knowledge ManagementAuto-check passed
  • 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…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed

More from CatChen/knowledge-wiki-template

  • Knowledge Wiki Summary

    CatChen/knowledge-wiki-template

    Generate or refresh wiki summaries for knowledge base markdown files.

    106 GitHub stars~1.4k 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 Concept

What does Knowledge Wiki Concept do?

Create or update wiki concept files from knowledge base summaries. Knowledge Wiki Concept is an agent skill from CatChen/knowledge-wiki-template. Create or update wiki concept files from knowledge base summaries.

When should I use Knowledge Wiki Concept?

Knowledge Wiki Concept fits situations like: the user wants to build; refresh concept articles; populate Wiki/Concepts; run the concept-creation step after summarizing new files.

How do I install Knowledge Wiki Concept in Claude Code?

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

How do I install Knowledge Wiki Concept in Codex?

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

Can I use Knowledge Wiki Concept 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-concept -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-concept, .gemini/skills/knowledge-wiki-concept, .github/skills/knowledge-wiki-concept and .opencode/skills/knowledge-wiki-concept in your project.

What does Knowledge Wiki Concept need to run?

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

Does Knowledge Wiki Concept 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 Concept 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 Concept use?

Knowledge Wiki Concept 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 Concept use?

About 1.3k tokens (SKILL.md is roughly 5.3k 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 Concept?

Skills that share tags, products or a category with Knowledge Wiki Concept: LLM Wiki Knowledge Graph (Egonex-AI/Understand-Anything, 85k stars), Xhs Virtual Product (chenjin-cmd/xhs-virtual-product, 726 stars), Openkb (VectifyAI/OpenKB, 4.7k stars) and Learn From Materials (dmoshehun-prog/learn-from-materials, 902 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Knowledge Wiki Concept?

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.