Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add rjmurillo/ai-agents/plugin install project-toolkitWrote 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/rjmurillo/ai-agents/skillopt)<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/skillopt"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/skillopt/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/rjmurillo/ai-agents/skillopt"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/skillopt.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.00039 | $0.05285 |
| Opus 5.5 | $0.00016 | $0.02114 |
| Sonnet 5.5 | $0.00008 | $0.01057 |
| Haiku 4.5 | $0.00004 | $0.00528 |
Grade A, and why
skillopt 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 2d 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 — 387 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SkillOpt
A candidate lands only when it adds at least one held-out pass and loses none. No scored eval set means no gate, and no gate means no edit.
SkillOpt treats a skill document as the trainable state of a frozen model. You run rollouts and reflect on failures. The bundled scripts decide whether an edit may exist: the edit budget, the patch applier, the protected-section guard, the rejected-edit buffer, and the acceptance gate are deterministic. Do not edit the target by hand. Route every edit through the scripts so the gate is real. Method: Yang et al., arXiv:2605.23904; this skill does not reproduce its reported gains.
Triggers
| Phrase | Action |
|---|---|
optimize this skill |
Run the Process below against a scored eval set |
make this skill better |
Same, after the Preconditions pass |
compress these skills safely |
Declare a resource task up front, then gate |
tune this prompt against an eval |
Same loop with a prompt as the target |
| A skill keeps failing the same way | Mine sessions, confirm the defect, then gate |
Boundaries
| Need | Owner |
|---|---|
| Create a skill, find one, or route a request to one | skillforge |
| Decide skill vs passive context, or compress markdown with no eval | context-optimizer |
| Measured improvement of an existing skill, agent file, or prompt | this skill |
Held-out optimization of agents, rules, and hooks inside the rjmurillo/ai-agents checkout |
optimize-artifact.py in that repo's eval tooling (not shipped) |
Preconditions (hard stop if unmet)
- Target artifact. A
SKILL.md, agent file, or prompt. - Scored eval set. A nonempty held-out
selsplit with per-task pass or fail verifiers (references/eval-set-format.md). Without one, stop and say so.scoreandpair-gateexit 2 on a missing or empty split. - Canonical owner. Name the versioned source, its generated mirrors, and the live install path before any candidate runs. A file in an eval workspace is not deployed behavior.
- Two isolated runners. The candidate author and the
selrunner must be separate: a fresh subagent or another session. Theselrunner writes and holds the fulleval.json. The author gets a train-only copy that keeps theseltask ids but drops theseltask bodies;applyreads only those ids. In every step the author must not write, run, or see theselprompts, verifiers, or per-task results. Only the gate verdict goes back. If the harness cannot provide both, do not run skillopt. Report that the gate cannot be independent. Replacement holdouts written by the same agent are still exposed. - Right container. For a skill, run
context-optimizerplacement analysis on SKILL.md before any rollout. On Passive Context and no script actions, stop and report. Never in loop or gates.
What ships with it
38 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/cross-machine-mining.md 4.5 KB
- references/description-optimization.md 5.8 KB
- references/eval-authoring.md 4.2 KB
- references/eval-set-format.md 26 KB
- references/evidence-manifesto.md 8.2 KB
- references/example-candidate-results.json 145 B
- references/example-eval.json 2.2 KB
- references/example-incumbent-results.json 148 B
- references/judge-grading-discipline.md 4.6 KB
- references/mechanism.md 2.2 KB
- references/migrating-to-plugin-eval.md 9.8 KB
- references/rollout-validity.md 2.1 KB
- references/slow-section-convention.md 1.6 KB
- references/target-selection.md 2.6 KB
- scripts/_mine_handoff.py 5.6 KB runs code
- scripts/_mine_records.py 12 KB runs code
- scripts/_mine_sources.py 3.4 KB runs code
- scripts/_skillopt_buffer.py 3.0 KB runs code
- scripts/_skillopt_bundle.py 4.4 KB runs code
- scripts/_skillopt_efficiency.py 16 KB runs code
- scripts/_skillopt_evidence_cli.py 9.8 KB runs code
- scripts/_skillopt_evidence_pins.py 4.7 KB runs code
- scripts/_skillopt_evidence_receipt.py 8.2 KB runs code
- scripts/_skillopt_evidence.py 18 KB runs code
- scripts/_skillopt_gates.py 11 KB runs code
- scripts/_skillopt_ledger.py 11 KB runs code
- scripts/_skillopt_lint.py 3.1 KB runs code
- scripts/_skillopt_patching.py 6.8 KB runs code
- scripts/_skillopt_plugin_cli.py 16 KB runs code
- scripts/_skillopt_plugin_errors.py 619 B runs code
- scripts/_skillopt_plugin_eval.py 9.7 KB runs code
- scripts/_skillopt_plugin_gate.py 13 KB runs code
- scripts/_skillopt_report.py 7.6 KB runs code
- scripts/_skillopt_runner.py 14 KB runs code
- scripts/_skillopt_taxonomy.py 7.7 KB runs code
- scripts/_skillopt_trust.py 14 KB runs code
- scripts/mine_sessions.py 8.5 KB runs code
- scripts/skillopt.py 19 KB runs code
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.
- 2d ago Changed · -49 tokens per session 7d78d58ca570
- 4d ago Changed · +2 lines 4450442d72e5
- 5d ago Changed · -23 tokens per session 8dc6bf895263
- 6d ago Changed · +4 lines 0b87b32eeaf3
- 8d ago Changed 942d973d97fc
- 12d ago Changed · +77 lines · +8 tokens per session b56e4d484b20
- 1mo ago First seen · 304 lines · 103 tokens per session scan A 8f425bab9a5a
skillopt is a skill published in the GitHub repository rjmurillo/ai-agents (50 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 5,285 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-10-15.
skillopt compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| skilloptrjmurillo/ai-agents | Skill | 50 | today | Apache-2.0 | A | 39 | Claude Code |
| architecture-auditfabioc-aloha/Alex_Skill_Mall | Skill | 6 | 2d ago | MIT | A | 18 | Claude Code, Codex |
| semantic-codebase-intelligencefabioc-aloha/Alex_Skill_Mall | Skill | 6 | 2d ago | MIT | A | 81 | Claude Code, Codex |
| code-reviewfabioc-aloha/Alex_Skill_Mall | Skill | 6 | 2d ago | MIT | A | 19 | Claude Code, Codex |
| deep-reviewfabioc-aloha/Alex_Skill_Mall | Skill | 6 | 2d ago | MIT | A | 54 | Claude Code, Codex |
| extension-audit-methodologyfabioc-aloha/Alex_Skill_Mall | Skill | 6 | 2d ago | MIT | A | 32 | Claude Code, Codex |
| parity-guard-test-patternfabioc-aloha/Alex_Skill_Mall | Skill | 6 | 2d ago | MIT | A | 28 | Claude Code, Codex |