llm-wiki-newsroom: Command for Claude Code

.claude/commands/wiki-ingest.md

wiki-ingest is a command for Claude Code from alfadur7/llm-wiki-newsroom. It costs 0 tokens per session (3,358 once invoked), scanned A, original, MIT.

A command that imports a source document, folder, or inbox queue into an LLM Wiki, a knowledge base built for language-model-assisted work.

In plain words
What is it for?
Use it with a file, folder, or inbox to convert source material into wiki pages, citations, and related placeholder entries.
Why use it?
It organizes raw articles, HTML folders, PDFs, or shared links into structured wiki content and avoids duplicate imports.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions subagents.

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

Reuse

Borrowing it

Nothing to install: this file belongs to alfadur7/llm-wiki-newsroom. 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/alfadur7/llm-wiki-newsroom/main/.claude/commands/wiki-ingest.md
Clone the repo
git clone --depth 1 https://github.com/alfadur7/llm-wiki-newsroom

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/alfadur7/llm-wiki-newsroom/wiki-ingest"><img src="https://agentmods.dev/badge/commands/alfadur7/llm-wiki-newsroom/wiki-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,358 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.00000 $0.03358
Opus 5 $0.00000 $0.01679
Sonnet 5 $0.00000 $0.00672
Haiku 4.5 $0.00000 $0.00336

Measured today against content hash 665689f57363, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wiki-ingest 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 today.

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/commands/wiki-ingest.md · 107 lines

How it starts

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

Ingest a source document into the LLM Wiki.

Usage: /wiki-ingest <file|folder|inbox> — required argument

If $ARGUMENTS is empty: print the usage below and stop.

Usage: /wiki-ingest <file|folder path | inbox>

Examples:
  /wiki-ingest raw/articles/my-article.md       # single md
  /wiki-ingest raw/NewsScrap                    # HTML article folder
  /wiki-ingest raw/PDF                          # PDF folder
  /wiki-ingest inbox                            # process the mobile share-sheet URL queue

Traversal Pattern

L2-1 source + L2-2 stub cycle + Meta (full rebuild) — Writing-driven, tightly coupled. The Reporter performs the raw → structured conversion end to end.

Phase Cycle Owner
Prefilter dedup (deterministic) Editor-in-Chief → tools/_ingest/prefilter_ingest.py or _source_map.json matching
Pre-fanout wiki read GROUND common Editor-in-Chief (Read index.md·overview.md — shared sub-agent context)
Source page authoring L2-1 GROUND·APPLY Reporter (mode=apply; read body + claim atomization + citation type prefix + grade)
Stub creation/update L2-2 GROUND·APPLY Reporter (mode=apply; auto-generate entity·concept stubs — body ≥200 chars, 2 H2 required)
Person incumbency check GROUND external Reporter (mode=ground, WebSearch)
Source verification (1st) VERIFY₁ Reporter self (right after authoring, confirm python tools/lint.py source <slug> PASS — self-ADAPT on FAIL)
Source verification (2nd, sub-trigger) VERIFY₂ Editor-in-Chief — invoke the Desk on sources meeting [fact]≥7 AND citations≥3 (based on the tools/_lint/source.py Advisory auto-surface, batched at the post-fanout stage). SoT: agents/desk.md L2-1 source VERIFY₂.
Hub verification (1st) VERIFY Reporter (single-source stub during fanout) · Editor-in-Chief (post-fanout cross-source stub) — python tools/lint.py hub schema
Cascade update (deterministic) Editor-in-Chief → tools/build.py (graph → clusters → contradictions → index → dependencies) + hub sources: sync
Batch verification (full) VERIFY Editor-in-Chief — post-fanout python tools/build.py + python tools/lint.py all groups (deterministic check, so done directly by main — the deliberate lint cycle that needs lint-report.md output is delegated to the Copy Editor = /wiki-lint)
Log append + defect logging Editor-in-Chief (log.md append + batch this cycle's lint FAILs and Desk-actionable defects → tools/log_defect.py corpus). SoT: agents/editor-in-chief.md self-evolution automatic channel

Read the full file on GitHub · 107 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. today Changed 665689f57363
  2. 12d ago First seen · 107 lines · 0 tokens per session scan A e7d0ef95471b

Subscribe to this mod's changes

wiki-ingest is a command published in the GitHub repository alfadur7/llm-wiki-newsroom (85 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,358 tokens. 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.