skillopt-improve-skill — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited skillopt-improve-skill (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
A bulleted imperative like {match} tells the agent to never reveal, disclose, or mention something to the user. Used adversarially it can instruct the agent to hide its tool calls or lie about what it did — stripping the transparency a user relies on to trust the agent.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Improve an existing skill toward a concrete objective using SkillOpt's discipline: treat the skill document as trainable state, run task rollouts, reflect on scored traces, propose bounded edits, apply only selected edits, and accept updates only when validation improves.
Do the work end to end when possible. If the user gives only a skill and a goal, create an evaluation plan, run a lightweight local optimization loop, and leave a clear improved artifact plus optimization notes. Ask only when the goal cannot be scored or the target skill cannot be found.
When running bundled scripts, use the directory containing this SKILL.md. In Claude Code, prefer ${CLAUDE_SKILL_DIR}. In other environments, locate the installed or unpacked skill directory first.
references/skillopt-method.md when deciding between the official SkillOpt package and a local Codex loop, or when configuring epochs, learning rate, slow update, meta skill, or validation gates.references/eval-design.md when the user did not provide eval cases or the improvement goal needs a measurable scoring rubric.scripts/skillopt_workspace.py to initialize an optimization workspace, apply SkillOpt-style JSON patches, summarize rollout results, and compare baseline vs candidate results.${CODEX_HOME:-$HOME/.codex}/skills, $HOME/.agents/skills, and the current workspace.SKILL.md and only the resources needed for the improvement goal.EnvAdapter. Follow references/skillopt-method.md.python3 "${CLAUDE_SKILL_DIR}/scripts/skillopt_workspace.py" init --skill /path/to/SKILL.md --goal "specific improvement goal" --out-dir /path/to/workspace--case "id|prompt|criteria" or --cases-jsonl cases.jsonl when available.{
"reasoning": "why these edits address recurring evidence",
"edits": [
{"op": "append", "content": "markdown to add"},
{"op": "insert_after", "target": "exact existing text", "content": "markdown to insert"},
{"op": "replace", "target": "exact existing text", "content": "replacement markdown"},
{"op": "delete", "target": "exact existing text to remove"}
]
}python3 "${CLAUDE_SKILL_DIR}/scripts/skillopt_workspace.py" apply-patch --skill current.md --patch patch.json --out candidate.md --report patch_report.jsonpython3 "${CLAUDE_SKILL_DIR}/scripts/skillopt_workspace.py" compare --baseline baseline_results.jsonl --candidate candidate_results.jsonl --report gate_report.json~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.