knowledge-wiki

knowledge-wiki is a skill for Claude Code from wigtn/wigtn-plugins. It costs 97 tokens per session (1,855 once invoked), scanned A, original, Apache-2.0.

A tool that turns useful lessons from coding sessions into general articles for a team wiki. A wiki is a collection of linked reference pages, and this one can be kept locally or shared through a Git repository.

In plain words
What is it for?
Recording project lessons, maintaining a team knowledge base, configuring wiki storage, and diagnosing knowledge-wiki behaviour.
Why use it?
It preserves reusable knowledge without storing secrets, personal data, or customer-identifying information. Policy checks control what may be saved or pushed to a remote repository.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the wigtn-plugins plugin — 7 skills, 5 commands, 11 agents, 3 hooks shipped together

Good fit Recording project lessons, maintaining a team knowledge base, configuring wiki storage, and diagnosing knowledge-wiki behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wigtn/wigtn-plugins/knowledge-wiki
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wigtn/wigtn-plugins --skill knowledge-wiki
Clone the repo
git clone --depth 1 https://github.com/wigtn/wigtn-plugins

Made for: Claude Code.

Or install wigtn-plugins, the plugin that ships this one along with the rest of its 7 skills, 5 commands, 11 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for knowledge-wiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/wigtn/wigtn-plugins/knowledge-wiki/github.svg)](https://agentmods.dev/skills/wigtn/wigtn-plugins/knowledge-wiki)
Your own site
<a href="https://agentmods.dev/skills/wigtn/wigtn-plugins/knowledge-wiki"><img src="https://agentmods.dev/badge/skills/wigtn/wigtn-plugins/knowledge-wiki/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for knowledge-wiki

Your own site · 80×15
<a href="https://agentmods.dev/skills/wigtn/wigtn-plugins/knowledge-wiki"><img src="https://agentmods.dev/badge/skills/wigtn/wigtn-plugins/knowledge-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,855 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01855
Opus 5.5 $0.00039 $0.00742
Sonnet 5.5 $0.00019 $0.00371
Haiku 4.5 $0.00010 $0.00186

Measured 1mo ago against content hash f47ca7b40eaf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

knowledge-wiki scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/wigtn-plugins/skills/knowledge-wiki/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Knowledge Wiki

세션 지식을 일반화된 article로 컴파일해서 팀 위키에 쌓는다. Karpathy KB 패턴 — 매번 찾는 게 아니라 위키 자체가 자란다.

한 줄: 세션에서 배운 것만 쌓는다. 있었던 일은 쌓지 않는다.

켜는 법 — 없음. 설치하면 켜집니다

첫 세션이 끝나면 플러그인이 알아서 만듭니다:

~/.wigtn/knowledge-wiki.yml   설정 (자동 생성)
~/.wigtn/wiki/                위키 repo (자동 git init)

그리고 한 번만 안내합니다:

[wigtn] 지식 위키를 켰습니다 → ~/.wigtn/wiki
        세션에서 배운 것이 자동으로 쌓입니다 (로컬 전용, push 없음).

기본값 = 로컬 축적만. remote 가 없으면 push 하지 않습니다. transcript 는 이미 로컬에 있으므로, 로컬 article 은 새로운 노출이 아닙니다. 기계 밖으로 나가는 것만 명시적 설정을 요구합니다.

팀과 공유하려면 — remote 한 줄

wiki:
  remote: [email protected]:myteam/team-wiki.git   # 추가하면 push 시작
  path: ~/Dev/team-wiki                          # 없는 경로면 자동 clone
  subdir: per-user/harry

path 가 없고 remote 가 있으면 자동으로 clone 합니다. 새 팀원은 이 두 줄만 받으면 됩니다. clone 실패 시에는 축적하지 않습니다 (fail-closed).

범위 조정

include:            # 기본값 = 홈 전체 (로컬 전용이라 허용)
  - ~/Dev
exclude:            # 고객사·NDA repo. include 와 repo 마커보다 강하다
  - ~/Dev/client-nda

remote 가 있어도 include 가 홈/루트 전체면 push 는 보류됩니다. 축적과 로컬 커밋은 계속되고, 로그에 사유가 남습니다. include 를 좁히면 그때 push 가 켜집니다. 로컬 축적과 팀 공유는 위험도가 다르고, 그 경계는 권고가 아니라 코드가 집행합니다.

subdir 은 per-user/ 또는 ouroboros/ 아래만 허용됩니다. shared/ 는 사람이 PR 로 승격합니다.

템플릿: scripts/knowledge_wiki/knowledge-wiki.example.yml

repo 마커 (선택) — 예외 처리용

보통은 필요 없다. 아래 세 경우에만 repo 루트에 .wigtn-wiki.yml 을 둔다:

상황 마커 내용
include 밖 repo를 개별 opt-in enabled: true
이 repo만 다른 위키로 wiki: {path: ..., subdir: ...}
이 repo만 끄기 enabled: false

⚠️ 전역 exclude 와 전역 enabled: false 는 마커보다 강하다. exclude 된 경로, 그리고 전역으로 꺼 둔 상태는 마커가 있어도 거부된다. 마커는 범위 opt-in 이지 kill-switch 해제 가 아니다.

어떻게 동작하나

세션 종료(Stop 훅) 시 4단 게이트를 통과한 것만 커밋·push 된다.

G0 스코프 게이트   include 밖·exclude·자기오염이면 즉시 종료
G1 결정론 차단    원문에 키·자격증명·주민번호 → 1건이라도 hit면 세션 폐기
G2 LLM 컴파일     transcript → 일반화 article (원문 인용 금지)
G3 LLM 감사       별도 호출로 반출 위반 탐지 (통과 판정 권한 없음)
G4 결정론 재검사   article에 전체 패턴 적용 — 이메일·사설 IP·절대경로까지
     ↓
per-user/ 커밋 + push

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 159 lines · 97 tokens per session scan A f47ca7b40eaf

Subscribe to this mod's changes

knowledge-wiki is a skill published in the GitHub repository wigtn/wigtn-plugins (45 stars, last pushed 17d ago), licensed Apache-2.0. It adds 97 tokens to every session and 1,855 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories