agent-wiki-summarize

agent-wiki-summarize is a skill for Claude Code, Codex from AgentToolkit/altk-evolve. It costs 45 tokens per session (1,967 once invoked), scanned A, original, Apache-2.0.

A tool for turning saved AI coding-session records into readable wiki pages, with a short story of what happened and notes on which guidelines were followed or broken.

In plain words
What is it for?
Use it to review one or more normalized session files, record important turns, and compare recalled guidelines with evidence from the session.
Why use it?
It removes the need to read raw session data by hand and keeps one summary per session, with the wiki index updated.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is echo '<json>' | uv run python explorations/agent-wiki/skills/scripts/build_agent_wiki.py render-summary.

Good fit Use it to review one or more normalized session files, record important turns, and compare recalled guidelines with evidence from the session.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/AgentToolkit/altk-evolve
agentmods
npx agentmods add skills/agenttoolkit/altk-evolve/agent-wiki-summarize

Made for: Claude Code, Codex.

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 agent-wiki-summarize

README.md
[![agentmods](https://agentmods.dev/badge/skills/agenttoolkit/altk-evolve/agent-wiki-summarize/github.svg)](https://agentmods.dev/skills/agenttoolkit/altk-evolve/agent-wiki-summarize)
Your own site
<a href="https://agentmods.dev/skills/agenttoolkit/altk-evolve/agent-wiki-summarize"><img src="https://agentmods.dev/badge/skills/agenttoolkit/altk-evolve/agent-wiki-summarize/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 agent-wiki-summarize

Your own site · 80×15
<a href="https://agentmods.dev/skills/agenttoolkit/altk-evolve/agent-wiki-summarize"><img src="https://agentmods.dev/badge/skills/agenttoolkit/altk-evolve/agent-wiki-summarize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,967 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00045 $0.01967
Opus 5.5 $0.00018 $0.00787
Sonnet 5.5 $0.00009 $0.00393
Haiku 4.5 $0.00005 $0.00197

Measured 3mo ago against content hash 3e2d55bad102, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-wiki-summarize 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 3mo 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.

explorations/agent-wiki/skills/agent-wiki-summarize/SKILL.md · 186 lines

How it starts

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

Agent Wiki — Summarize Trajectory

Overview

Witness one session at a time. For each normalized trajectory JSON, author a 1–3 paragraph narrative + key turns + (when present) a classification of each recalled guideline as followed | ignored | contradicted with an evidence quote.

This is the per-trajectory witness pass of the agent-wiki family. It writes one page per session and tail-calls the bookkeeping catalog subcommand so indexes stay fresh.

Input

A path that is either:

  • a normalized trajectory JSON file
  • a directory of such files (recurse one level into <label>/items/)

Default if no path is given: trajectories/normalized.

Workflow

Step 1: Resolve input files

Use Glob to enumerate *.json. Accept either a single file, a flat dir of files, or a normalized/ root with <label>/items/ subdirs.

Step 2: Glance at existing summaries

Glob wiki-twobatch/summaries/*.md so you can skip-if-exists per session without re-doing LLM work. Skip is the default; pass --rewrite (forwarded to the helper below) to overwrite.

Step 3: For each trajectory JSON

Read the file. The fields you need:

  • session_id, agent, model, started_at/ended_at/duration_seconds
  • stats.top_tools (for tools_used)
  • source.transcript_path
  • openai_chat_completion.messages
  • recalled_guidelines (top-level; may be empty/missing)

If wiki-twobatch/summaries/<session_id>.md already exists and the user did not request --rewrite, skip to the next file.

Otherwise synthesize a summary as a JSON object:

{
  "session_id":      "<from JSON>",
  "slug":            "<optional; for splitting a long session into multiple arc-summaries (e.g. 'arc1-token-savings'). When present, filename becomes <sid>__<slug>.md and frontmatter gains `arc:` plus a `sibling_summaries:` list of co-summaries from the same session.>",
  "agent":           "<from JSON, default 'claude-code'>",
  "model":           "<from JSON>",
  "goal":            "<one short sentence describing what the user asked for>",
  "outcome":         "success | partial | failure",
  "duration_seconds": <number from JSON>,
  "tools_used":      ["<from stats.top_tools, name only>", "..."],
  "narrative":       "<1-3 paragraphs: what happened, what worked, what didn't>",
  "key_turns":       ["<one short bullet per pivotal step>", "..."],
  "normalized_path": "<path to the JSON, relative to repo root>",
  "transcript_path": "<from source.transcript_path>",
  "recalled_guidelines": [
    {
      "id":       "<12-hex-char id of the guideline that was used in this session>",
      "title":    "<a short label, 3-7 words>",
      "status":   "followed | ignored | harmful | contradicted",
      "evidence": "<verbatim quote ≤200 chars; required for followed/harmful/contradicted>"
    }
  ]
}

Read the full file on GitHub · 186 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. 3mo ago First seen · 186 lines · 45 tokens per session scan A 3e2d55bad102

Subscribe to this mod's changes

agent-wiki-summarize is a skill published in the GitHub repository AgentToolkit/altk-evolve (143 stars, last pushed today), licensed Apache-2.0. It adds 45 tokens to every session and 1,967 once invoked, about $0.0002 per session on Opus 5.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

agent-wiki-summarize compared with skills from other repositories

agent-wiki-summarize next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-wiki-summarizeAgentToolkit/altk-evolveSkill143todayApache-2.0A45Claude Code, Codex
memory-to-skillzilliztech/memsearchSkill3.0ktodayMITA82Claude Code, Codex
memory-recallzilliztech/memsearchSkill3.0ktodayMITA38Claude Code
impeccablewrg32786/aigent-osSkill26yesterdayMITA35Claude Code
nightly-ledger-capturewrg32786/aigent-osSkill26yesterdayMITA39Claude Code
dreamwrg32786/aigent-osSkill26yesterdayMITA26Claude Code
honesty-checkwrg32786/aigent-osSkill26yesterdayMITA35Claude Code, Codex