K-Ops: Skill for Claude Code

.claude/skills/compile-wiki/SKILL.md

compile-wiki is a skill for Claude Code from arnaudgelas/K-Ops. It costs 22 tokens per session (1,061 once invoked), scanned A, original, MIT.

A skill for turning source summaries into durable concept pages in a linked knowledge base. It also maintains the home page, task list, backlinks, evidence, and open questions.

In plain words
What is it for?
Use it to merge duplicate topics, create or update concept pages, add reciprocal links and index entries, cite factual claims, and track unresolved follow-up work.
Why use it?
It keeps related information consolidated, preserves uncertainty and source origins, and prevents navigation from becoming fragmented or outdated.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is arnaudgelas/K-Ops's own configuration. It tells Claude Code how to work on K-Ops itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything K-Ops configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arnaudgelas/K-Ops. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/arnaudgelas/K-Ops/main/.claude/skills/compile-wiki/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/arnaudgelas/K-Ops

Made for: Claude Code.

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 compile-wiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/arnaudgelas/k-ops/compile-wiki.svg)](https://agentmods.dev/skills/arnaudgelas/k-ops/compile-wiki)
Your own site
<a href="https://agentmods.dev/skills/arnaudgelas/k-ops/compile-wiki"><img src="https://agentmods.dev/badge/skills/arnaudgelas/k-ops/compile-wiki.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,061 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.
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.00022 $0.01061
Opus 5 $0.00011 $0.00531
Sonnet 5 $0.00004 $0.00212
Haiku 4.5 $0.00002 $0.00106

Measured 8d ago against content hash af9a404ac532, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

compile-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 8d 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.

.claude/skills/compile-wiki/SKILL.md · 87 lines

How it starts

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

Compile Wiki

Goal

Turn source summaries into durable concept pages and keep the navigation layer coherent.

Rules

  • Prefer fewer, stronger concept pages over many overlapping pages.
  • Merge duplicates instead of proliferating similar pages.
  • Keep backlinks reciprocal when possible.
  • Preserve uncertainty and provenance.

Desired outcomes

  • notes/Concepts/*.md becomes the main knowledge layer.
  • notes/Home.md becomes the best navigation entry point.
  • notes/TODO.md captures unresolved gaps and follow-up fetches.

Required concept shape

Every compiled concept page must strictly contain the following sections in order:

  1. # <Concept Name>
  2. ## What It Is
  3. ## Why It Matters
  4. ## Key Claims
  5. ## Related Concepts
  6. ## Evidence / Source Basis
  7. ## Open Questions (required on every concept page; write at least one question or state _No open questions identified._)
  8. ## Backlinks

Citation requirement

Every bullet in ## Key Claims that makes a factual assertion must end with at least one inline source wikilink: ([[Sources/<source_id>|<source_id>]]) or ([[Concepts/<name>|<name>]]).

  • supported concept pages require ≥ 90% direct inline citation coverage on claims.
  • provisional concept pages require ≥ 70% direct inline citation coverage.
  • If a claim cannot be sourced, mark it (unverified) and set claim_quality: provisional.

Contradiction alerts

Before writing or updating a concept page, check data/contradictions.json for entries where concept matches the page stem. If any exist:

  1. Set claim_quality: conflicting and evidence_status: contested in the frontmatter.
  2. Inject this warning callout immediately after the frontmatter block (before the title and ## What It Is):
    > [!warning] Contradiction
    > This concept has documented conflicting evidence. See `## Open Questions` for details.
    
  3. In ## Open Questions, list each contradiction's open_question text as a bullet.

Read the full file on GitHub · 87 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 87 lines · 22 tokens per session scan A af9a404ac532

Subscribe to this mod's changes

compile-wiki is a skill published in the GitHub repository arnaudgelas/K-Ops (1 stars, last pushed 19d ago), licensed MIT. It adds 22 tokens to every session and 1,061 once invoked, about $0.0001 per session on Opus 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-31.

Related

Other skills, from other repositories

kb-lint

Health check for the PARA Knowledge Base. Detects orphan documents, broken links, index drift, tag issues, and stale content. Run periodically or as part of weekly review.

ernestolee13/para-knowledge-base · 39 tokens

wiki-export

Export the Obsidian wiki's knowledge graph to structured formats for use in external tools. Use this skill when the user says "export wiki", "export graph", "export to JSON", "export to Gephi", "export to Neo4j", "export to Postgres", "export to SQL", "graphml", "visualize wiki", "knowledge graph export", "export to…

Ar9av/obsidian-wiki · 172 tokens

wiki-query

Answer questions by searching the compiled Obsidian wiki. Use this skill when the user asks a question about their knowledge base, wants to find information across their wiki, asks "what do I know about X", "find everything related to Y", or wants synthesized answers with citations from their wiki pages. Also use when…

Ar9av/obsidian-wiki · 200 tokens

cross-linker

Scan the Obsidian wiki and automatically discover missing cross-references between pages. Use this skill when the user says "link my pages", "find missing links", "cross-reference", "connect my wiki", "add wikilinks", "what pages should be linked", or after any large ingestion to ensure new pages are woven into the…

Ar9av/obsidian-wiki · 137 tokens

pi-history-ingest

Ingest Pi coding agent session history into the Obsidian wiki. Use this skill when the user wants to mine their past Pi sessions for knowledge, import their /.pi/agent/sessions folder, extract insights from previous coding sessions, or says things like "process my Pi history", "add my Pi sessions to the wiki", "ingest…

Ar9av/obsidian-wiki · 112 tokens

wiki-agent

Query-driven targeted ingest from a specific AI agent's raw history. Use this skill when the user invokes /wiki-claude, /wiki-codex, /wiki-hermes, /wiki-openclaw, /wiki-copilot, /wiki-pi — with or without a search topic. Different from wiki-history-ingest (which bulk-ingests everything new): this skill finds sessions…

Ar9av/obsidian-wiki · 190 tokens