Logo: Wiki Aggregate

Wiki Aggregate

Communautéit
LichAmnesia
wiki-aggregate

Benotzt dës Skill, wann Dir N≥3 réi Recherche-Artefakter zu engem Thema hutt (Notizen, Podcast-Zesummefaassungen, Deep-Research-Dumps, deeglech Intel, Paper-Analysen) an dës zu engem eenzege strukturéierte Pack mat quelleiwwergräifenden Aussoen an hirer Hierkonft zesummeféiere wëllt – amplaz vun enger eemoleger Zesummefaassung, déi 90% vun den Zwëschennoblécken verléiert. D'Skill behandelt déi N Quellen als Ëmfeld, duerch dat en einfache Aggregator-Agent mat den Tools `inspect` / `search` / `synthesize` navigéiert, amplaz alles an ee Prompt zesummenzeféieren.

Add to TypingMind

Iwwersiicht

EditeurLichAmnesia
Repositorylich-skills
Skill-Nummwiki-aggregate
Stären
231
Forks
26
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    LichAmnesia huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Wiki Aggregate an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/LichAmnesia/lich-skills/tree/main/skills/wiki-aggregate
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LichAmnesia/lich-skills.git /tmp/lich-skills
mkdir -p .claude/skills
cp -r /tmp/lich-skills/skills/wiki-aggregate .claude/skills/wiki-aggregate
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Wiki Aggregate an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Wiki Aggregate automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Wiki Aggregate net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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>

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.

Related skills in this repo

  • 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

Heefeg gestallte Froen

Wat mécht de KI-Skill Wiki Aggregate?

Benotzt dës Skill, wann Dir N≥3 réi Recherche-Artefakter zu engem Thema hutt (Notizen, Podcast-Zesummefaassungen, Deep-Research-Dumps, deeglech Intel, Paper-Analysen) an dës zu engem eenzege strukturéierte Pack mat quelleiwwergräifenden Aussoen an hirer Hierkonft zesummeféiere wëllt – amplaz vun enger eemoleger Zesummefaassung, déi 90% vun den Zwëschennoblécken verléiert. D'Skill behandelt déi N Quellen als Ëmfeld, duerch dat en einfache Aggregator-Agent mat den Tools `inspect` / `search` / `synthesize` navigéiert, amplaz alles an ee Prompt zesummenzeféieren.

Firwat Wiki Aggregate op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Wiki Aggregate besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Wiki Aggregate an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/LichAmnesia/lich-skills/tree/main/skills/wiki-aggregate an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Wiki Aggregate benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Wiki Aggregate benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Wiki Aggregate domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Wiki Aggregate gratis?

Jo. LichAmnesia huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇