Agent skill

Wiki Aggregate

by LichAmnesia in LichAmnesia/lich-skills

A skill your agent uses when you have N≥3 raw research artifacts (notes, podcast summaries, deep-research dumps, daily intel, paper analyses) on one topic and want to lift them into a single…

MITAuto-check passedResearch & Science

Install Wiki Aggregate

skills CLI
$ npx skills add LichAmnesia/lich-skills --skill wiki-aggregate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LichAmnesia/lich-skills wiki-aggregate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/wiki-aggregate .claude/skills/wiki-aggregate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
wiki-aggregate
GitHub stars
234
Token cost
~2.9k tokens
SKILL.md length
927 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when you have N≥3 raw research artifacts (notes, podcast summaries, deep-research dumps, daily intel, paper analyses) on one topic and want to lift them into a single…

  • Works in 6 steps: Scope → Cheap-Pass (Skim) → Aggregator Loop (budget = 25 by default) → …
  • You have N≥3 raw research artifacts (notes
  • SKILL.md covers Why this exists, When to Use, When NOT to Use and The Aggregation Loop, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Wiki Aggregate is an agent skill from LichAmnesia/lich-skills. Use when you have N≥3 raw research artifacts (notes, podcast summaries, deep-research dumps, daily intel, paper analyses) on one topic and want to lift them into a single structured pack with cross-source claims and provenance — instead of one-shot summarization that loses 90% of intermediate evidence. Treats the N sources as an environment a lite aggregator agent navigates with inspect / search / synthesize tools, rather than concatenating into one prompt.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Summarization and Deep research. The licence is MIT.

When your agent uses it

  • You have N≥3 raw research artifacts (notes
  • Podcast summaries
  • Deep-research dumps

Example prompts

  • “/wiki-aggregate”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Scope
  2. Cheap-Pass (Skim)
  3. Aggregator Loop (budget = 25 by default)
  4. Write the Pack
  5. Index hint
  6. Report

What it can do on your machine

Read from SKILL.md and the folder at commit ebbc355. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and tsv).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Wiki Aggregate loads about 2.9k tokens when it runs. Until then it costs about 121 tokens; SKILL.md has 927 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~121
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LichAmnesia/lich-skills at commit ebbc355, republished under its MIT licence (© LichAmnesia). 927 words, ~2,859 tokens.

Download SKILL.mdSave it as .claude/skills/wiki-aggregate/SKILL.md (or your agent's skills folder).
name
wiki-aggregate
description
Use when you have N≥3 raw research artifacts (notes, podcast summaries, deep-research dumps, daily intel, paper analyses) on one topic and want to lift them into a single structured pack with cross-source claims and provenance — instead of one-shot summarization that loses 90% of intermediate evidence. Treats the N sources as an environment a lite aggregator agent navigates with `inspect` / `search` / `synthesize` tools, rather than concatenating into one prompt.

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

The Aggregation Loop

                    Trajectories-as-environment
            ╔════════════════════════════════════════╗
            ║                                        ║
            ║   src_1   src_2   src_3  ...   src_N   ║
            ║   [..]    [..]    [..]         [..]    ║
            ║   [..]    [..]    [..]         [..]    ║
            ║                                        ║
            ╚═══════════════════╤════════════════════╝
                                │
                                │  not concatenated.
                                │  not summarized.
                                │  navigated.
                                │
                                ▼
            ┌────────────────────────────────────────┐
            │       AGGREGATOR (lite agent)          │
            │  ┌──────────────────────────────────┐  │
            │  │  inspect_file / inspect_section  │  │
            │  │  search_sources                  │  │
            │  │  cross_pack_check                │  │
            │  └──────────────────────────────────┘  │
            │                                        │
            │  scratch state:                        │
            │   notes   = []   # {claim, evidence,   │
            │                  #  source, line_ref}  │
            │   budget  = 25   # tool calls          │
            │   subtopics = derived from skim pass   │
            │                                        │
            │  loop until: subtopic coverage met,    │
            │              OR budget = 0,            │
            │              OR 2 zero-info calls      │
            └───────────────────┬────────────────────┘
                                │
                                ▼
                ┌─────────────────────────────┐
                │   pack/                     │
                │     brief.md                │
                │     findings.md   ← claims  │
                │     sources.tsv   ← S-IDs   │
                │     _aggregation_log.md     │
                └─────────────────────────────┘

Process

Phase 1: Scope
  1. Resolve the source glob. Count N.
  2. Hard stop if N < 3 — abort and tell the user to either collect more or summarize manually.
  3. Warn if N > 30 — suggest narrowing by sub-topic or batching across runs.
  4. If updating an existing pack, locate it and read its current brief.md + findings.md so you know what already exists.
Phase 2: Cheap-Pass (Skim)

For each source, do one cheap read:

  • File ≤ 200 LOC: read the whole file.
  • File > 200 LOC: read first 80 lines (frontmatter + intro + section headers).

Build an in-memory source map:

S1  | path/to/source_1.md  | what it covers (1-2 lines) | rough_topics
S2  | path/to/source_2.md  | ...                        | ...

This pass costs ~N reads, each bounded. Do not skip — the source map is what makes Phase 3 efficient.

Phase 3: Aggregator Loop (budget = 25 by default)

Tool inventory (use whatever your harness provides — Read, Grep are sufficient):

VerbImplementationWhen to use
inspect_file(path)Read whole fileSource < 200 LOC and you need full content
inspect_section(path, line_range)Read with offset + limitDrilling into a specific span of a long source
search_sources(pattern)Grep over the N source paths onlyFinding a keyword / theme across sources
cross_pack_check(pattern)Grep over your wider knowledge base, excluding the target pack and the raw sourcesAvoiding duplicate claims with existing packs

Loop discipline:

state.notes = []
state.budget = 25  (or user-specified)

while state.budget > 0:
    pick highest-value next action:
      drill         — a subtopic has a hot lead in one source
      cross_search  — a claim from S1 should be cross-checked against others
      dedup_check   — a claim looks novel; verify no existing pack covers it
      resolve       — two sources disagree; inspect both passages
      explore       — a subtopic has zero notes after Phase 2; broaden search
      DONE          — coverage threshold met

    record note → {claim, evidence_quote, source_id, line_ref, confidence}
    state.budget -= 1

Stopping criteria — declare DONE when ANY holds:

  • ≥3 high-confidence notes per subtopic
  • Budget exhausted
  • Two consecutive tool calls returned no new info

Hard rule: every note MUST have a source_id + line_ref (path + line range). No provenance, no claim. This is what makes the pack auditable.

Phase 4: Write the Pack

Output location: <pack-name>/. If updating, merge with existing files (preserve original sources for existing claims, add new claims, flag superseded ones).

Files:

  1. brief.md — 200-400 word executive overview. Subtopic skeleton. Reading order suggestion.

  2. findings.md — claims, one block per finding, grouped under subtopic headers:

    markdown
    ## Claim: <one-line claim>
    Status: supported | contradicted | uncertain
    Confidence: high | medium | low
    Sources: S1, S3, S7
    Evidence:
    - "exact quote or paraphrase" — S1 (path/to/source.md:L120-128)
    - "..." — S3 (path/to/other.md:L45-50)
    Notes: <optional — e.g., "S3 contradicts S7 on date">
  3. sources.tsv — S-ID mapping:

    tsv
    id   path                          type             captured_at   url_or_origin
    S1   path/to/source_1.md           podcast-notes    2026-04-12    https://...
    S2   path/to/source_2.md           daily-intel      2026-04-13    ...
  4. _aggregation_log.md — always written. Audit trail:

    markdown
    # Aggregation Log
    Date: YYYY-MM-DD
    Topic: <topic>
    Sources: N=<N>
    Tool calls: X / budget Y
    Cross-pack overlaps: <list or "none">
    Subtopics covered: <list>
    Skipped sources (no relevant content): <list>
    Stopping criterion triggered: <which one>
Show full SKILL.md (346 more words)Show less
Phase 5: Index hint

Append a one-line entry to your pack index (do not trigger a full reindex — that's a different skill's job).

Phase 6: Report

Print:

Pack written: <pack-name>/
Sources processed: N
Aggregator tool calls: X / budget Y
Subtopics: K
Claims extracted: M (high: a, medium: b, low: c)
Cross-pack overlaps: <list or "none">
Sources with low yield: <list>
Suggested next: <reindex command> && <lint command>

Anti-rationalizations

Excuse the agent will inventRebuttal
"I'll just read all N files in Phase 2 to be safe"That's the V1 mistake this skill exists to fix. Long-context attention degrades; you'll lose information you "read." Stay disciplined: cheap-pass first, drill on demand.
"Skipping cross_pack_check — it's a small repo"Repos grow. Duplicate claims accumulate silently. One Grep per novel claim costs almost nothing.
"I have a great quote but I don't remember the line number"Then the note is invalid. Re-Read to get path:L<lines>. No provenance, no claim — refuse to write findings.md if any note is missing.
"Only 2 sources matched the glob — I'll proceed anyway"No. Hard stop at N < 3. Either collect more or write a summary by hand. The protocol overhead is wasted on small N.
"All sources got 'low yield' — I'll write findings from my prior knowledge"No. The pack is supposed to reflect what's in the sources. If yield is low, the brief is empty + log says so. Don't fabricate.
"I'll skip writing _aggregation_log.md, it's just paperwork"No. The log is what makes the next run reproducible. It's also the audit trail when someone questions a claim months later.

Verification

A successfully completed run produces:

  • <pack-name>/brief.md exists, ≤ 400 words, organized by subtopic
  • <pack-name>/findings.md exists; every ## Claim: block has ≥1 Evidence: line with path:L<lines> provenance
  • <pack-name>/sources.tsv exists with N rows matching N sources
  • <pack-name>/_aggregation_log.md exists with tool-call count and stopping reason
  • Tool budget utilization ≥ 30% (if much lower, sources were too pre-digested or coverage was shallow — re-evaluate)
  • Source utilization ≥ 80% (if much lower, glob was wrong or aggregator skipped sources — investigate)
  • At least one cross-source signal: either ≥1 claim cites multiple sources, OR ≥1 contradiction is logged

If any checkbox fails, the run is incomplete — do not declare DONE.

  • debug-hypothesis — same disciplined-loop pattern, applied to bug investigation rather than research synthesis
  • spec-driven-dev — same explicit-exit-criteria philosophy, applied to building software end-to-end

© LichAmnesia, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/wiki-aggregate of LichAmnesia/lich-skills.

Open the folder on GitHubat commit ebbc355

Compare with similar skills

Wiki Aggregate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Wiki Aggregate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wiki Aggregate this skillLichAmnesia/lich-skills234—~2.9kAutomated safety check: PassMIT
Rebuttal ResponseM1n-n9/paper-lifecycle687—~1.9kAutomated safety check: PassNone
GitHub Deep Researchbytedance/deer-flow83k5 repos~1.3kAutomated safety check: PassMIT
Research Summarizeralirezarezvani/claude-skills28k2 repos~2.7kAutomated safety check: PassMIT
Deep ResearchTheCraigHewitt/skills156—~1.5kAutomated safety check: PassMIT
Research BriefOpenHands/extensions157—~831Automated safety check: PassMIT

Similar skills

  • Rebuttal Response

    M1n-n9/paper-lifecycle

    Plan, triage, and write academic rebuttals and review responses.

    687 GitHub stars~1.9k tokensUpdated 3 mo ago
    Research & ScienceAuto-check passed
  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    83k GitHub starsUsed in 5 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Research Summarizer

    alirezarezvani/claude-skills

    Structured research summarization agent skill for non-dev users.

    28k GitHub starsUsed in 2 repos~2.7k tokens
    Research & ScienceAuto-check passed
  • Deep Research

    TheCraigHewitt/skills

    Research a topic deeply across multiple sources and produce a sourced, bite-sized brief the user can read in 5 minutes.

    156 GitHub stars~1.5k tokensUpdated 4 mo ago
    Research & ScienceAuto-check passed
  • Research Brief

    OpenHands/extensions

    Create an automation that writes a recurring research brief.

    157 GitHub stars~831 tokensUpdated today
    Research & ScienceAuto-check passed
  • Prediction Report Writer

    NVIDIA-AI-Blueprints/deep-researcher-agent

    A skill your agent uses when the final answer strategy calls for a prediction, forecast, probability estimate, price target, expected value, threshold outcome, scenario outlook, or prediction-style…

    883 GitHub stars~2.5k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from LichAmnesia/lich-skills

All 11 skills in this repo
  • Google Analytics 4 Analysis

    LichAmnesia/lich-skills

    Pulls Google Analytics 4 data through the Data API with TypeScript scripts and turns it into a daily SEO report or prioritized traffic and bounce-rate recommendations.

    234 GitHub stars~2k tokensUpdated 3 mo ago
    Auto-check: notes
  • Nano Banana Image Generator

    LichAmnesia/lich-skills

    Generates or edits PNG images with Google's Nano Banana 2 model through a small script, with a choice of 512, 1K, 2K or 4K output.

    234 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check: notes
  • Spec-Driven Development v2

    LichAmnesia/lich-skills

    Organizes long-running agent work into a Project, Sprint and Task hierarchy with per-task state files, isolated worktrees, review loops and script-checked rules.

    234 GitHub stars~3.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Tavily Web Search

    LichAmnesia/lich-skills

    Runs headless web searches and single-page extraction through the Tavily API from a Python script, returning cited, summarized results without a browser.

    234 GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check: notes
  • Build Until Pass Loop

    LichAmnesia/lich-skills

    Drives a failing build, typecheck, lint or test command to a passing exit code through small, one-fix-at-a-time rounds, stopping at a hard attempt cap instead of looping forever.

    234 GitHub stars~2.8k tokensUpdated 3 mo ago
    Auto-check passed
  • Hypothesis-Driven Debugging

    LichAmnesia/lich-skills

    Replaces trial-and-error fixing with an observe, hypothesize, experiment and conclude loop kept in DEBUG.md, where no fix is allowed before evidence supports a cause.

    234 GitHub stars~2.5k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Wiki Aggregate

What does Wiki Aggregate do?

A skill your agent uses when you have N≥3 raw research artifacts (notes, podcast summaries, deep-research dumps, daily intel, paper analyses) on one topic and want to lift them into a single…. Wiki Aggregate is an agent skill from LichAmnesia/lich-skills. Use when you have N≥3 raw research artifacts (notes, podcast summaries, deep-research dumps, daily intel, paper analyses) on one topic and want to lift them into a single structured pack with cross-source claims and provenance — instead of one-shot summarization that loses 90% of intermediate evidence.

When should I use Wiki Aggregate?

Wiki Aggregate fits situations like: you have N≥3 raw research artifacts (notes; podcast summaries; deep-research dumps.

How do I install Wiki Aggregate in Claude Code?

Run `npx skills add LichAmnesia/lich-skills --skill wiki-aggregate -a claude-code`. Or copy the skill folder (skills/wiki-aggregate in LichAmnesia/lich-skills) into .claude/skills/wiki-aggregate in your project. Claude Code loads it when a task matches its description.

How do I install Wiki Aggregate in Codex?

Run `npx skills add LichAmnesia/lich-skills --skill wiki-aggregate -a codex`. Or copy the skill folder (skills/wiki-aggregate in LichAmnesia/lich-skills) into .agents/skills/wiki-aggregate in your project. Codex loads it when a task matches its description.

Can I use Wiki Aggregate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LichAmnesia/lich-skills --skill wiki-aggregate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wiki-aggregate, .gemini/skills/wiki-aggregate, .github/skills/wiki-aggregate and .opencode/skills/wiki-aggregate in your project.

What does Wiki Aggregate need to run?

SKILL.md names no scripts, command-line tools or credentials: Wiki Aggregate is instructions for the agent only.

Does Wiki Aggregate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Wiki Aggregate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Wiki Aggregate use?

Wiki Aggregate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Wiki Aggregate use?

About 2.9k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Wiki Aggregate?

Skills that share tags, products or a category with Wiki Aggregate: Rebuttal Response (M1n-n9/paper-lifecycle, 687 stars), GitHub Deep Research (bytedance/deer-flow, 83k stars), Research Summarizer (alirezarezvani/claude-skills, 28k stars) and Deep Research (TheCraigHewitt/skills, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wiki Aggregate?

LichAmnesia (a GitHub user) maintains it in LichAmnesia/lich-skills, which has 234 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on June 9, 2026.

Source: LichAmnesia/lich-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.