wiki-aggregate

wiki-aggregate is a skill for Claude Code from LichAmnesia/lich-skills. It costs 103 tokens per session (2,758 once invoked), scanned A, original, MIT.

A research-aggregation workflow that combines three or more source files—such as notes, podcast summaries, or paper analyses—into one structured research pack while recording where each claim came from.

In plain words
What is it for?
Use it to combine long-running research, daily intelligence, literature reviews, and other collections of notes into briefs, findings, source lists, and an aggregation log.
Why use it?
It avoids overwhelming one prompt with all the material or losing useful evidence by summarising sources too early. It keeps findings from different sources traceable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the lich-skills plugin — 12 skills shipped together

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.

agentmods
npx agentmods add skills/lichamnesia/lich-skills/wiki-aggregate
Any agent
npx skills add LichAmnesia/lich-skills --skill wiki-aggregate
Clone the repo
git clone --depth 1 https://github.com/LichAmnesia/lich-skills

Made for: Claude Code.

Or install lich-skills, the plugin that ships this one along with the rest of its 12 skills.

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-aggregate

README.md
[![agentmods](https://agentmods.dev/badge/skills/lichamnesia/lich-skills/wiki-aggregate.svg)](https://agentmods.dev/skills/lichamnesia/lich-skills/wiki-aggregate)
Your own site
<a href="https://agentmods.dev/skills/lichamnesia/lich-skills/wiki-aggregate"><img src="https://agentmods.dev/badge/skills/lichamnesia/lich-skills/wiki-aggregate.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,758 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00103 $0.02758
Opus 5 $0.00051 $0.01379
Sonnet 5 $0.00021 $0.00552
Haiku 4.5 $0.00010 $0.00276

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

Security

Grade A, and why

wiki-aggregate 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 6d 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.

skills/wiki-aggregate/SKILL.md · 244 lines

How it starts

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

Wiki Aggregate — N raw sources → 1 structured pack

A protocol for agentic aggregation of long-horizon research material. Inverts the standard "concat all → ask LLM to summarize" pipeline: instead, an aggregator agent navigates the N source files with three tools, building a notes scratchpad with full path:line provenance, and finally writes a structured pack (brief / findings / sources / aggregation log).

Core principle: don't read everything upfront. Don't merge final answers. Treat the N sources as a queryable environment.

Why this exists

Three traditional ways to aggregate N parallel research outputs all fail on long-horizon, open-ended tasks:

  ❌ concat all sources into one prompt
       → 200K+ token explosion, attention collapse on long context

  ❌ summarize each, then merge summaries
       → ~90% of intermediate evidence (the "I noticed X but..." asides) is lost

  ❌ LLM-as-judge picks the single best source
       → discards the other N-1 sources' independent findings

These failure modes show up clearly on open-ended research tasks where there's no ground-truth verifier. The alternative: treat the N sources as an environment, send a lite agent in to inspect / search / synthesize on demand. Cost ≈ a single rollout, recall is materially higher, and cross-source contradictions get surfaced explicitly.

This skill is the protocol. No Python, no MCP — pure markdown protocol that any harness with Read + Grep can execute.

When to Use

  • You have 3-30 raw notes / transcripts / research dumps on one topic, scattered across files
  • The current pack on this topic feels thin or you suspect raw evidence wasn't fully lifted
  • You want claims with path:line provenance, not vibes
  • You want cross-source contradictions surfaced, not buried

When NOT to Use

  • N < 3 sources — protocol overhead exceeds value, just write a summary by hand
  • N > 30 — budget will be exhausted; narrow the scope or batch by sub-topic
  • Sources are not yet collected — this is a synthesis tool, not a research tool. Run your collectors first.
  • You only need a one-shot Q&A — use a reactive wiki-ask-style skill instead

Read the full file on GitHub · 244 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. 6d ago First seen · 244 lines · 103 tokens per session scan A 6c48ead20aac

Subscribe to this mod's changes

wiki-aggregate is a skill published in the GitHub repository LichAmnesia/lich-skills (233 stars, last pushed 2mo ago), licensed MIT. It adds 103 tokens to every session and 2,758 once invoked, about $0.0005 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.