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 skills add dsifry/metaswarm --skill self-reflectgit clone --depth 1 https://github.com/dsifry/metaswarmWrote 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/dsifry/metaswarm/self-reflect)<a href="https://agentmods.dev/skills/dsifry/metaswarm/self-reflect"><img src="https://agentmods.dev/badge/skills/dsifry/metaswarm/self-reflect/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/dsifry/metaswarm/self-reflect"><img src="https://agentmods.dev/badge/skills/dsifry/metaswarm/self-reflect.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00040 | $0.00350 |
| Opus 5.5 | $0.00016 | $0.00140 |
| Sonnet 5.5 | $0.00008 | $0.00070 |
| Haiku 4.5 | $0.00004 | $0.00035 |
Grade A, and why
self-reflect 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 3d 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.
What it actually says
self-reflect
This skill is the Codex route to the /self-reflect command. The full procedure lives in commands/self-reflect.md in the metaswarm plugin root (set PLUGIN_ROOT to that directory first, so its snippets find bin/ and lib/). Read that file and carry out its steps; do not paraphrase them from memory.
When to run it
At the end of every round of work, BEFORE gh pr create. Learnings and approved instruction edits ship in the same PR as the code that produced them.
What it must include
- Steps 1-6: extract learnings into the knowledge base.
- Step 7: Instruction Review (REQUIRED, never skipped). It lists "Instruction changes proposed" for the project's instruction file (CLAUDE.md, GEMINI.md or AGENTS.md), agent and skill prompts, and metaswarm itself, and asks them as one decision request (see Decision requests in
guides/delivery-scope.md). Approved edits are committed in the same commit as the knowledge-base updates.
Subagents
Only the main session asks the user and applies instruction edits. When running as a subagent, finish the analysis, RETURN the "Instruction changes proposed" list to your parent before the PR, and stop. Do not ask the user and do not apply instruction edits yourself.
On Codex, tool names follow skills/start/references/codex-tools.md.
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.
- 3d ago First seen · 24 lines · 40 tokens per session scan A 332bc10670af
self-reflect is a skill published in the GitHub repository dsifry/metaswarm (442 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 350 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-11-29.
self-reflect compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| self-reflectdsifry/metaswarm | Skill | 442 | yesterday | MIT | A | 40 | Claude Code |
| orbit-notionnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 119k | today | MIT | A | 30 | Claude Code, Codex |
| rowboat-spacesrowboatlabs/rowboat | Skill | 18k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 14d ago | MIT | A | 184 | Claude Code |
| feishuHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 33 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 7d ago | MIT | A | 52 | Claude Code, Codex |