skill-improve

skill-improve is a skill for Claude Code, Codex from striderZA/OpenCodeGameStudios. It costs 42 tokens per session (1,182 once invoked), scanned A, a copy of skill-improve, MIT.

An improvement loop for a coding-agent skill: test the skill, make targeted changes, test it again, and keep or undo the changes based on the results.

In plain words
What is it for?
It helps validate and refine one skill's structure and behavior, compare test results before and after edits, and revert changes that reduce its score.
Why use it?
Skill edits can accidentally fix one problem while creating another. Repeated testing provides evidence about whether a change actually improves the skill.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/striderza/opencodegamestudios/skill-improve
Any agent
npx skills add striderZA/OpenCodeGameStudios --skill skill-improve
Clone the repo
git clone --depth 1 https://github.com/striderZA/OpenCodeGameStudios

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for skill-improve

README.md
[![agentmods](https://agentmods.dev/badge/skills/striderza/opencodegamestudios/skill-improve.svg)](https://agentmods.dev/skills/striderza/opencodegamestudios/skill-improve)
Your own site
<a href="https://agentmods.dev/skills/striderza/opencodegamestudios/skill-improve"><img src="https://agentmods.dev/badge/skills/striderza/opencodegamestudios/skill-improve.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,182 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00042 $0.01182
Opus 5 $0.00021 $0.00591
Sonnet 5 $0.00008 $0.00236
Haiku 4.5 $0.00004 $0.00118

Measured yesterday against content hash 88157514e7ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skill-improve 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 yesterday.

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.

Origin

This is a copy

86% identical to skill-improve — 13 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/modules/qa/skills/skill-improve/SKILL.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill Improve

Runs an improvement loop on a single skill: test → fix → retest → keep or revert.


Phase 1: Parse Argument

Read the skill name from the first argument. If missing, output usage and stop:

Usage: /skill-improve [skill-name]
Example: /skill-improve tech-debt

Verify .agents/skills/[name]/SKILL.md exists. If not, stop with: "Skill '[name]' not found."


Phase 2: Baseline Test

Run /skill-test static [name] and record the baseline score:

  • Count of FAILs
  • Count of WARNs
  • Which specific checks failed (Check 1–7)

Display to the user:

Static baseline:   [N] failures, [M] warnings
Failing: Check 4 (no ask-before-write), Check 5 (no handoff)

If baseline is 0 FAILs and 0 WARNs, note it and proceed to Phase 2b.

Phase 2b: Category Baseline

Look up the skill's category: field in CCGS Skill Testing Framework/catalog.yaml.

If no category: field is found, display: "Category: not yet assigned — skipping category checks." and skip to Phase 3.

If category is found, run /skill-test category [name] and record the category baseline:

  • Count of FAILs
  • Count of WARNs
  • Which specific category rubric metrics failed

Display to the user:

Category baseline: [N] failures, [M] warnings  ([category] rubric)

If BOTH static and category baselines are 0 FAILs and 0 WARNs, stop: "This skill already passes all static and category checks. No improvements needed."


Phase 3: Diagnose

Read the full skill file at .agents/skills/[name]/SKILL.md.

For each failing or warning static check, identify the exact gap:

  • Check 1 fail → which frontmatter field is missing
  • Check 2 fail → how many phases found vs. minimum required
  • Check 3 fail → no verdict keywords anywhere in the skill body
  • Check 4 fail → Write or Edit in allowed-tools but no ask-before-write language
  • Check 5 warn → no follow-up or next-step section at the end
  • Check 6 warncontext: fork set but fewer than 5 phases found
  • Check 7 warn → argument-hint is empty or doesn't match documented modes

Read the full file on GitHub · 145 lines

Changes

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.

  1. yesterday First seen · 145 lines · 42 tokens per session scan A 88157514e7ed

Subscribe to this mod's changes

skill-improve is a skill published in the GitHub repository striderZA/OpenCodeGameStudios (84 stars, last pushed 24d ago), licensed MIT. It adds 42 tokens to every session and 1,182 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to skill-improve, differing in 13 lines, and is treated as a copy.