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.
npx agentmods add skills/agenttoolkit/altk-evolve/agent-wiki-extract-guidelinesnpx skills add AgentToolkit/altk-evolve --skill agent-wiki-extract-guidelinesgit clone --depth 1 https://github.com/AgentToolkit/altk-evolveWrote 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.
[](https://agentmods.dev/skills/agenttoolkit/altk-evolve/agent-wiki-extract-guidelines)<a href="https://agentmods.dev/skills/agenttoolkit/altk-evolve/agent-wiki-extract-guidelines"><img src="https://agentmods.dev/badge/skills/agenttoolkit/altk-evolve/agent-wiki-extract-guidelines.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00038 | $0.01847 |
| Opus 5 | $0.00019 | $0.00924 |
| Sonnet 5 | $0.00008 | $0.00369 |
| Haiku 4.5 | $0.00004 | $0.00185 |
Grade A, and why
agent-wiki-extract-guidelines 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Wiki — Extract Guidelines
Overview
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.
Input
A path that is either:
- a normalized trajectory JSON file
- a directory of such files
Default if no path is given:
trajectories/normalized.
Workflow
Step 1: Resolve input files
Use Glob to enumerate JSON files.
Step 2: Glance at existing guidelines
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.)
Step 3: Process each trajectory
For each input JSON file, do the analysis below using the trajectory's
openai_chat_completion.messages array as the source of truth.
3a. Identify errors and root causes
Scan for:
- Tool / command failures — non-zero exit codes, error messages, stack traces.
- Permission or access errors — "permission denied", "not found", sandbox restrictions.
- Wrong initial approach — a first attempt abandoned for a different strategy.
- Retry loops — same action attempted multiple times with variations.
- Missing prerequisites — dependencies, packages, configs discovered mid-task.
- Silent failures — actions that appeared to succeed but produced wrong results.
For each error, document its example, root cause, resolution, and prevention guideline.
3b. Decide whether to capture an artifact
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.
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.
- 4d ago First seen · 179 lines · 38 tokens per session scan A d96ea574a44d
agent-wiki-extract-guidelines is a skill published in the GitHub repository AgentToolkit/altk-evolve (105 stars, last pushed 2d ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,847 once invoked, about $0.0002 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.
Other skills, from other repositories
learn
Use when the user shares a conclusion, note, or takeaway from something they're studying — a book, course, or article — and wants it captured into their personal learning archive. Trigger phrases include "what I learned today", "notes from the book", "conclusions from chapter X", plus the explicit /learn command. Also…
memory-to-skill
Turn workflows from your MemSearch memory into reusable skills. Use when the user asks to make/create/extract/distill a skill from what they just did or from past work, review skill candidates, install a distilled skill, or 'turn this into a skill'. Manages MemSearch procedural-memory candidates under…
memory-recall
Search and recall relevant memories from past sessions via memsearch. Use when the user's question could benefit from historical context, past decisions, debugging notes, previous conversations, or project knowledge -- especially questions like 'what did I decide about X', 'why did we do Y', or 'have I seen this…
engineering-onboarding
Create an onboarding guide for an engineer joining a team that consumes the design system. Trigger when someone says: onboard new engineer, developer getting started guide, new engineer guide, engineering onboarding, first day for developers, frontend onboarding, or anything about helping an engineer new to the team…
async-learning-teacher
Transform saved links, papers, articles, posts, videos, and reference collections into approachable AI teaching artifacts for later study. Use when a user wants to queue learning material, create a readable explanation from a source, teach a paper or post step by step, or run an interactive tutor that validates…
exam-drill
Use when the user wants exam-focused drilling from the course's analyzed material. Generates twin variants of known problems (/twin), runs strategy-level blind drills on known problems (/blind), creates integration problems chaining multiple patterns (/chain), surfaces pattern cards (/pattern), and shows…