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.
git clone --depth 1 https://github.com/AgentToolkit/altk-evolvenpx agentmods add skills/agenttoolkit/altk-evolve/agent-wiki-extract-guidelinesWrote 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/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.
<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="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00038 | $0.01847 |
| Opus 5.5 | $0.00015 | $0.00739 |
| Sonnet 5.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 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.
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.
- 3mo 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 (143 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 1,847 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.
agent-wiki-extract-guidelines compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-wiki-extract-guidelinesAgentToolkit/altk-evolve | Skill | 143 | today | Apache-2.0 | A | 38 | Claude Code, Codex |
| memory-to-skillzilliztech/memsearch | Skill | 3.0k | today | MIT | A | 82 | Claude Code, Codex |
| memory-recallzilliztech/memsearch | Skill | 3.0k | today | MIT | A | 38 | Claude Code |
| impeccablewrg32786/aigent-os | Skill | 26 | yesterday | MIT | A | 35 | Claude Code |
| nightly-ledger-capturewrg32786/aigent-os | Skill | 26 | yesterday | MIT | A | 39 | Claude Code |
| dreamwrg32786/aigent-os | Skill | 26 | yesterday | MIT | A | 26 | Claude Code |
| honesty-checkwrg32786/aigent-os | Skill | 26 | yesterday | MIT | A | 35 | Claude Code, Codex |