AI Project Memory
tudoumashu/ai-memory-skillpack
Maintain bounded, durable AI project memory in a repository's docs/ai/ pack.
Reads a normalized Claude Code trajectory JSON and turns its errors and solutions into reusable guideline pages in wiki-twobatch/guidelines.
$ npx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelines -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AgentToolkit/altk-evolve agent-wiki-extract-guidelines --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/AgentToolkit/altk-evolve.git skills-src && mkdir -p .claude/skills && cp -r skills-src/explorations/agent-wiki/skills/agent-wiki-extract-guidelines .claude/skills/agent-wiki-extract-guidelines && rm -rf skills-srcUse ~/.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/
Install the "agent-wiki-extract-guidelines" agent skill from https://github.com/AgentToolkit/altk-evolve/tree/main/explorations/agent-wiki/skills/agent-wiki-extract-guidelines into .claude/skills/agent-wiki-extract-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-wiki-extract-guidelines", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/AgentToolkit/altk-evolve/tree/main/explorations/agent-wiki/skills/agent-wiki-extract-guidelinesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelines -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AgentToolkit/altk-evolve agent-wiki-extract-guidelines --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgentToolkit/altk-evolve.git skills-src && mkdir -p .agents/skills && cp -r skills-src/explorations/agent-wiki/skills/agent-wiki-extract-guidelines .agents/skills/agent-wiki-extract-guidelines && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "agent-wiki-extract-guidelines" agent skill from https://github.com/AgentToolkit/altk-evolve/tree/main/explorations/agent-wiki/skills/agent-wiki-extract-guidelines into .agents/skills/agent-wiki-extract-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-wiki-extract-guidelines", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelines -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AgentToolkit/altk-evolve agent-wiki-extract-guidelines --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgentToolkit/altk-evolve.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/explorations/agent-wiki/skills/agent-wiki-extract-guidelines .cursor/skills/agent-wiki-extract-guidelines && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "agent-wiki-extract-guidelines" agent skill from https://github.com/AgentToolkit/altk-evolve/tree/main/explorations/agent-wiki/skills/agent-wiki-extract-guidelines into .cursor/skills/agent-wiki-extract-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-wiki-extract-guidelines", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/AgentToolkit/altk-evolve.git --path explorations/agent-wiki/skills/agent-wiki-extract-guidelines--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelines -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AgentToolkit/altk-evolve agent-wiki-extract-guidelines --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgentToolkit/altk-evolve.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/explorations/agent-wiki/skills/agent-wiki-extract-guidelines .gemini/skills/agent-wiki-extract-guidelines && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "agent-wiki-extract-guidelines" agent skill from https://github.com/AgentToolkit/altk-evolve/tree/main/explorations/agent-wiki/skills/agent-wiki-extract-guidelines into .gemini/skills/agent-wiki-extract-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-wiki-extract-guidelines", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install AgentToolkit/altk-evolve agent-wiki-extract-guidelinesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelines -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AgentToolkit/altk-evolve.git skills-src && mkdir -p .github/skills && cp -r skills-src/explorations/agent-wiki/skills/agent-wiki-extract-guidelines .github/skills/agent-wiki-extract-guidelines && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "agent-wiki-extract-guidelines" agent skill from https://github.com/AgentToolkit/altk-evolve/tree/main/explorations/agent-wiki/skills/agent-wiki-extract-guidelines into .github/skills/agent-wiki-extract-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-wiki-extract-guidelines", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelines -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AgentToolkit/altk-evolve agent-wiki-extract-guidelines --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgentToolkit/altk-evolve.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/explorations/agent-wiki/skills/agent-wiki-extract-guidelines .opencode/skills/agent-wiki-extract-guidelines && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "agent-wiki-extract-guidelines" agent skill from https://github.com/AgentToolkit/altk-evolve/tree/main/explorations/agent-wiki/skills/agent-wiki-extract-guidelines into .opencode/skills/agent-wiki-extract-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-wiki-extract-guidelines", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
agent-wiki-extract-guidelinesReads a normalized Claude Code trajectory JSON and turns its errors and solutions into reusable guideline pages in wiki-twobatch/guidelines.
This is the per-trajectory distill pass of an agent-wiki family. For each normalized trajectory JSON, or each file in a directory (defaulting to trajectories/normalized), the agent lists the files with Glob, skims the slugs of existing guidelines to avoid near-duplicates, then analyzes the chat messages array in the trajectory as the source of truth.
It scans for tool or command failures, permission errors, abandoned first approaches, retry loops, missing prerequisites and silent failures, and records each with an example, root cause, resolution and prevention guideline. If a successful approach produced a script or multi-step pipeline, at least one entity must point to it by path and say when to use it. The agent extracts 3-5 proactive entities per trajectory, reframes failures as positive recommendations, prefers concrete artifacts over generic advice and writes each as a standalone guideline page.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9e5bb56. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Agent Wiki Guideline Extractor loads about 2k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 860 words of instructions outside code blocks.
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.
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.
The full file from AgentToolkit/altk-evolve at commit 9e5bb56, republished under its Apache-2.0 licence (© AgentToolkit). 860 words, ~1,975 tokens.
.claude/skills/agent-wiki-extract-guidelines/SKILL.md (or your agent's skills folder).Distill lessons from one session at a time. For each normalized trajectory
JSON, identify reusable guidelines: reframe failures as proactive
recommendations, capture concrete artifacts (scripts, command sequences)
that solved real problems, and write each as a standalone guideline page in
wiki-twobatch/guidelines/.
This is the per-trajectory distill pass of the agent-wiki family.
A path that is either:
Default if no path is given:
trajectories/normalized.
Use Glob to enumerate JSON files.
Glob wiki-twobatch/guidelines/*.md and skim slugs. Re-extracting a
near-duplicate is wasteful and pollutes the wiki. (Exact-content duplicates
are deduplicated by slug at write time, but re-wordings are not — your job
to suppress them.)
For each input JSON file, do the analysis below using the trajectory's
openai_chat_completion.messages array as the source of truth.
Scan for:
For each error, document its example, root cause, resolution, and prevention guideline.
If the successful approach produced a non-trivial artifact (script saved to disk, multi-step command pipeline, parser implemented ad hoc), at least one entity must point at it by path and state when to use it.
Extract 3–5 proactive entities per trajectory. Prioritize those derived from real errors observed in the transcript.
Principles:
For each trajectory, build a JSON object:
{
"entities": [
{
"type": "guideline",
"title": "Short imperative title (3-7 words, no trailing period). Used as the page heading and filename slug.",
"content": "Proactive recommendation, one or two short paragraphs.",
"rationale": "Why this works / why the alternative fails.",
"trigger": "Situational context when this applies.",
"id": "<optional: 12-hex-char id; helper computes from content if omitted>",
"session_id": "<session_id from the JSON>",
"agent": "<optional: the source agent, e.g. 'bob' or 'claude-code'. Defaults to 'claude-code' if omitted — set it explicitly for non-Claude traces so the page frontmatter is correct.>",
"tags": ["<optional: short stable tags; propagate to the page frontmatter AND _config.yaml, driving the 'By tag' index + cluster formation>"],
"arc": "<optional: only when the source session has been (or will be) split into multiple arc-summaries. Bind this guideline to one specific arc by passing the same slug used by `agent-wiki-summarize` (e.g. 'arc1-token-savings'). The helper writes `related_summary: summaries/<sid>__<arc>.md` so the back-link is correct.>",
"normalized_path": "<path to the trajectory JSON, relative to repo root>"
}
]
}title is required for clean filenames (3–7 specific words). Allowed type
values: guideline, workflow, script, command-template. Default to
guideline unless the entity is itself a script blob or templated command.
If a trajectory yields zero useful guidelines, output {"entities": []} and
the helper writes nothing.
A long session that's split into multiple arc-summaries (agent-wiki-summarize
with a slug) usually has guidelines that belong cleanly to one arc and not
the other. Examples from a multi-arc session:
arc: "arc1-token-savings".arc: "arc2-procedural-memory".Set arc per entity. If you don't, the helper writes
related_summary: summaries/<sid>.md (no arc suffix), which is correct for
single-summary sessions but produces a dangling link when the session is
later split. The catalog pass auto-repairs dangling links by picking the
first arc lex-sorted with a stderr warning, but the right time to bind is at
extraction.
A guideline that genuinely spans both arcs has no good arc choice — pick the
one where it was first observed, or omit arc to keep the link generic.
echo '<json>' | uv run python explorations/agent-wiki/skills/scripts/build_agent_wiki.py render-guidelinesAdd --rewrite to overwrite existing pages. The helper:
guidelines/<slug>__<gid>.md. Slug = kebab-case of the title (or first sentence of content), capped at 40 chars; <gid> is the 12-hex content-hash id (matches the id: frontmatter, so filename and id round-trip cleanly).id: (12-hex of normalized content) into frontmatter.guidelines/_id_index.json.sources: and related_summary: frontmatter; emits a ## Sources body footer.--rewrite.Ingesting a whole batch end-to-end? Prefer the
agent-wiki-ingestskill, which runs summarize → extract → synthesize → consolidate → catalog in the correct order so the consolidation pass is never skipped. Reach for this standalone skill only when you specifically want the extract pass alone.
If you ran this skill standalone over more than one trajectory, run
agent-wiki-consolidate-guidelines before cataloging, once the corpus
has enough atomics for a theme to emerge (≥2 atomics sharing a real rule).
catalog only renders clusters already declared in _config.yaml; it
never proposes them — consolidation is the pass that proposes.
Then, after processing all input files, run once:
uv run python explorations/agent-wiki/skills/scripts/build_agent_wiki.py catalogtags: array to every entity — they propagate to the page
frontmatter and _config.yaml, driving the "By tag" index and cluster
formation.catalog after the per-trajectory loop — and run
agent-wiki-consolidate-guidelines first if multiple trajectories were
ingested.© AgentToolkit, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in explorations/agent-wiki/skills/agent-wiki-extract-guidelines of AgentToolkit/altk-evolve.
Open the folder on GitHubat commit 9e5bb56
Agent Wiki Guideline Extractor 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Agent Wiki Guideline Extractor this skillAgentToolkit/altk-evolve | 122 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| AI Project Memorytudoumashu/ai-memory-skillpack | 411 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Braindb Agentdimknaf/braindb | 110 | — | ~3.2k | Automated safety check: Notes | Apache-2.0 | |
| LLM WikiYeachan-Heo/oh-my-claudecode | 40k | — | ~721 | Automated safety check: Pass | MIT | |
| Swarmvaultswarmclawai/swarmvault | 708 | — | ~6.1k | Automated safety check: Pass | MIT | |
| Project Timeline Reportthedotmack/claude-mem | 97k | 1 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 |
tudoumashu/ai-memory-skillpack
Maintain bounded, durable AI project memory in a repository's docs/ai/ pack.
dimknaf/braindb
Persistent memory across sessions via the BrainDB agent. An agent skill from dimknaf/braindb.
Yeachan-Heo/oh-my-claudecode
Keeps a persistent markdown wiki of project and session knowledge that the agent can ingest into, query, lint and read across sessions.
swarmclawai/swarmvault
Use SwarmVault when the user needs a local-first knowledge vault that writes durable markdown, graph, search, dashboard, review, chat-session, context-pack, task-ledger, static AI export, retrieval…
thedotmack/claude-mem
Writes a narrative Journey Into report on a project's whole development history, built from the timeline that claude-mem has recorded.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
AgentToolkit/altk-evolve
Contrasts successful and failed agent runs of the same task and derives guidelines backed by evidence from transcripts, tool calls and outcome judgments.
AgentToolkit/altk-evolve
Turns a saved agent trajectory into a reusable skill with a SKILL.md and supporting scripts, so later sessions can call the workflow instead of rediscovering it.
AgentToolkit/altk-evolve
Copies a memory the agent just saved into the shared evolve store with a retrieval trigger, so it can be shared across a team and audited like other entities.
AgentToolkit/altk-evolve
Has the agent read a project wiki's AGENTS.md and pull the guidelines that fit the task it is about to start, instead of loading the wiki at session start.
AgentToolkit/altk-evolve
Ingest one or more agent trajectories (raw bob/claude traces or normalized JSON) into an agent-wiki end-to-end — convert, summarize, extract guidelines, synthesize skills, optionally compare…
AgentToolkit/altk-evolve
Read a normalized Claude Code trajectory JSON and write an episodic summary page to wiki-twobatch/summaries/.
Categories
Reads a normalized Claude Code trajectory JSON and turns its errors and solutions into reusable guideline pages in wiki-twobatch/guidelines. This is the per-trajectory distill pass of an agent-wiki family. For each normalized trajectory JSON, or each file in a directory (defaulting to trajectories/normalized), the agent lists the files with Glob, skims the slugs of existing guidelines to avoid near-duplicates, then analyzes the chat messages array in the trajectory as the source of truth.
Agent Wiki Guideline Extractor fits situations like: mining saved Claude Code sessions for reusable lessons; turning a failed run's errors into prevention guidelines; adding concrete script references to a guideline wiki.
Run `npx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelines -a claude-code`. Or copy the skill folder (explorations/agent-wiki/skills/agent-wiki-extract-guidelines in AgentToolkit/altk-evolve) into .claude/skills/agent-wiki-extract-guidelines in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelines -a codex`. Or copy the skill folder (explorations/agent-wiki/skills/agent-wiki-extract-guidelines in AgentToolkit/altk-evolve) into .agents/skills/agent-wiki-extract-guidelines in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelines -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-wiki-extract-guidelines, .gemini/skills/agent-wiki-extract-guidelines, .github/skills/agent-wiki-extract-guidelines and .opencode/skills/agent-wiki-extract-guidelines in your project.
Going by SKILL.md and its folder, Agent Wiki Guideline Extractor needs the command-line tools its instructions call (uv). Our summary lists: Normalized trajectory JSON files; A wiki-twobatch/guidelines folder in the project.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Agent Wiki Guideline Extractor is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Agent Wiki Guideline Extractor: AI Project Memory (tudoumashu/ai-memory-skillpack, 411 stars), Braindb Agent (dimknaf/braindb, 110 stars), LLM Wiki (Yeachan-Heo/oh-my-claudecode, 40k stars) and Swarmvault (swarmclawai/swarmvault, 708 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AgentToolkit (a GitHub organization) maintains it in AgentToolkit/altk-evolve, which has 122 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 7, 2026.
Source: AgentToolkit/altk-evolve on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.