TheKnowledge: Skill for Claude Code

.claude/skills/wiki-ingest-triage/SKILL.md

wiki-ingest-triage is a skill for Claude Code from badwally/TheKnowledge. It costs 31 tokens per session (499 once invoked), scanned A, original, MIT.

A workflow for deciding whether a URL, PDF, or local file belongs in a knowledge wiki, choosing its topic area, and importing it.

In plain words
What is it for?
Use it to assess web pages, videos, research papers, medical articles, PDFs, notes, audio, and images, then ingest suitable sources into the correct wiki domain.
Why use it?
It prevents unsuitable sources from entering the wiki and makes the source type, destination, and planned pages explicit before import.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is badwally/TheKnowledge's own configuration. It tells Claude Code how to work on TheKnowledge 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 TheKnowledge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to badwally/TheKnowledge. 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/badwally/TheKnowledge/main/.claude/skills/wiki-ingest-triage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/badwally/TheKnowledge

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 wiki-ingest-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/badwally/theknowledge/wiki-ingest-triage/github.svg)](https://agentmods.dev/skills/badwally/theknowledge/wiki-ingest-triage)
Your own site
<a href="https://agentmods.dev/skills/badwally/theknowledge/wiki-ingest-triage"><img src="https://agentmods.dev/badge/skills/badwally/theknowledge/wiki-ingest-triage/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 wiki-ingest-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/badwally/theknowledge/wiki-ingest-triage"><img src="https://agentmods.dev/badge/skills/badwally/theknowledge/wiki-ingest-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 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.00031 $0.00499
Opus 5 $0.00015 $0.00249
Sonnet 5 $0.00006 $0.00100
Haiku 4.5 $0.00003 $0.00050

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

Security

Grade A, and why

wiki-ingest-triage 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 9d 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/wiki-ingest-triage/SKILL.md · 50 lines

What it actually says

What This Does

Evaluates whether a source belongs in the wiki, picks the right domain, and runs wiki ingest. Covers the full triage loop: fit check → domain selection → ingest → confirm frontmatter.

Reference conventions: WIKI.md § 3 (source types), § 9 (hard rules), § 10 (filter policy).

Usage

/wiki-ingest-triage <url-or-path>          # Triage a single source
/wiki-ingest-triage <url> --domain glp1   # Skip domain selection, use glp1

Execution Steps

  1. Identify source type: Determine type from URL/path extension per WIKI.md § 3.1. Supported: web, youtube, arxiv, pubmed, pdf, voice, note, image, etc.

  2. Assess fit: Ask one question — does this source contribute novel, citable evidence to any existing domain? If no, say so and stop.

  3. Select domain: Run wiki status to see active domains. Match source topic to the best-fit domain slug. If ambiguous, ask the user.

  4. Plan before ingest (hard rule — WIKI.md § 9): State which pages will be created before running any command.

  5. Run ingest:

    .venv/bin/wiki ingest <path-or-url> --domain <slug>
    

    Add --draft if the source needs citation review before finalization.

  6. Confirm: Read the created raw page and wiki/sources page. Verify frontmatter has domains:, content_hash:, ingested_at:. Report the source ID.

Key constraints

  • Never write directly to wiki/ or raw/. All writes go through the gateway (WIKI.md § 9).
  • Large batches (50+ sources) belong in wiki batch-ingest, not this skill.
  • If the source type is unsupported, report the gap — don't attempt a manual write.
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. 9d ago First seen · 50 lines · 31 tokens per session scan A e18fd9450e64

Subscribe to this mod's changes

wiki-ingest-triage is a skill published in the GitHub repository badwally/TheKnowledge (23 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 499 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories