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 fortunto2/rust-code --skill self-evolvegit clone --depth 1 https://github.com/fortunto2/rust-codeWrote 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/fortunto2/rust-code/self-evolve)<a href="https://agentmods.dev/skills/fortunto2/rust-code/self-evolve"><img src="https://agentmods.dev/badge/skills/fortunto2/rust-code/self-evolve/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/fortunto2/rust-code/self-evolve"><img src="https://agentmods.dev/badge/skills/fortunto2/rust-code/self-evolve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Rogue Agent · line 2 Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
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.00071 | $0.00569 |
| Opus 5.5 | $0.00028 | $0.00228 |
| Sonnet 5.5 | $0.00014 | $0.00114 |
| Haiku 4.5 | $0.00007 | $0.00057 |
Grade A, and why
self-evolve 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.
What it actually says
Self-Evolution
Analyze your own performance history and fix recurring issues. ONE improvement per iteration.
Process
- Read
.rust-code/evolution.jsonl+ recent session logs - Find patterns: patch failures, loop warnings, error spikes
- Trace to root cause in source code
- Apply minimal fix,
make check, commit - Signal
RESTART_AGENTif you changed agent code
Reference files for diagnosis: references/diagnosis-paths.md
Key Source Files
| Symptom | Source |
|---|---|
| Patch matching failures | crates/sgr-agent/src/app_tools/apply_patch.rs |
| Agent stuck in loops | crates/sgr-agent/src/loop_detect.rs |
| Prompt confusion | crates/rc-cli/src/agent.rs (SGR_SYSTEM_PROMPT) |
| Tool argument errors | crates/rc-cli/src/agent.rs (execute_action) |
| Schema issues | crates/sgr-agent/src/schema.rs |
Signals
- Fixed something →
finish: "RESTART_AGENT — [what you fixed]" - Nothing to fix →
finish: "<solo:done/>" - Stuck →
finish: "<solo:done/> — need human input"
Gotchas
- RESTART_AGENT kills your context — everything in memory is lost. Commit first, write notes to
.tasks/for the next session to pick up. - Simplicity threshold — a 0.001 score improvement that adds 20 lines of hacky code is NOT worth it. Removing code with equal results is always a win.
make checkcan take 2+ minutes — don't call it in a tight loop. Run once after your change, fix issues, run once more to verify.- Don't optimize what you can't measure — read actual session logs, grep for error patterns. Don't guess at improvements.
- Evolution log is append-only — don't edit
evolution.jsonl. The loop engine reads it for scoring trends.
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 · 45 lines · 71 tokens per session scan A 71fb217c5c27
self-evolve is a skill published in the GitHub repository fortunto2/rust-code (47 stars, last pushed 3mo ago), licensed MIT. It adds 71 tokens to every session and 569 once invoked, about $0.0003 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.
self-evolve compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| self-evolvefortunto2/rust-code | Skill | 47 | 3mo ago | MIT | A | 71 | Claude Code |
| code_explorergoogle-gemini/gemini-cli | Skill | 109k | today | Apache-2.0 | A | 28 | Gemini CLI |
| qualitygoogle-gemini/gemini-cli | Skill | 109k | today | Apache-2.0 | B | 24 | Gemini CLI |
| write-zot-themespatriceckhart/zot | Skill | 373 | yesterday | MIT | A | 23 | Claude Code, Codex |
| writing-git-commitspatriceckhart/zot | Skill | 373 | yesterday | MIT | A | 14 | Claude Code, Codex |
| planner-task-packetSeemSeam/claude_codex_bridge | Skill | 3.6k | 6d ago | none | A | 25 | Claude Code, Codex |
| ccb-comm-reply-recoverSeemSeam/claude_codex_bridge | Skill | 3.6k | 6d ago | none | A | 77 | Claude Code, Codex |