improving-skills

improving-skills is a skill for Claude Code, Codex from laguagu/agents-best-practices. It costs 185 tokens per session (4,006 once invoked), scanned A, original, Apache-2.0.

A guide for auditing and improving agent skills and instruction files such as SKILL.md, AGENTS.md, CLAUDE.md, and GEMINI.md.

In plain words
What is it for?
Use it to review skill folders, validate metadata, inspect references and scripts, identify anti-patterns, and plan migrations to the .agents/skills/ structure.
Why use it?
It finds specification problems, excessive instructions, weak triggers, and compatibility issues that can make an agent follow a skill inconsistently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to review skill folders, validate metadata, inspect references and scripts, identify anti-patterns, and plan migrations to the .agents/skills/ structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/laguagu/agents-best-practices/improving-skills
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.

Any agent
npx skills add laguagu/agents-best-practices --skill improving-skills
Clone the repo
git clone --depth 1 https://github.com/laguagu/agents-best-practices

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 improving-skills

README.md
[![agentmods](https://agentmods.dev/badge/skills/laguagu/agents-best-practices/improving-skills/github.svg)](https://agentmods.dev/skills/laguagu/agents-best-practices/improving-skills)
Your own site
<a href="https://agentmods.dev/skills/laguagu/agents-best-practices/improving-skills"><img src="https://agentmods.dev/badge/skills/laguagu/agents-best-practices/improving-skills/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.

agentmods 80×15 button for improving-skills

Your own site · 80×15
<a href="https://agentmods.dev/skills/laguagu/agents-best-practices/improving-skills"><img src="https://agentmods.dev/badge/skills/laguagu/agents-best-practices/improving-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.1 $0.00185 $0.04006
Opus 5.5 $0.00074 $0.01602
Sonnet 5.5 $0.00037 $0.00801
Haiku 4.5 $0.00018 $0.00401

Measured 2mo ago against content hash bf12648dfdb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

improving-skills 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 2mo 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.

.agents/skills/improving-skills/SKILL.md · 332 lines

How it starts

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

Improving Skills — Audit & Optimization Guide

Structured workflow for auditing and improving agent skills, instruction files (AGENTS.md, CLAUDE.md, GEMINI.md), and cross-platform compatibility.

Quick audit (5 minutes)

  1. Read the skill's SKILL.md and list all files in the directory
  2. Check frontmatter against the specification (Step 2 below, including the skills-ref validate run)
  3. Evaluate description quality (trigger coverage, third person, specificity)
  4. Scan content for anti-patterns (see anti-patterns.md)
  5. Generate a prioritized improvement report (Step 5 template)

Full audit workflow

Step 1: Inventory the skill

List every file in the skill directory, then read SKILL.md in full. Read text references as later steps call for them (large reference files and binary assets don't need a full read to audit). Review scripts statically — never execute an audited skill's scripts as part of the audit.

Record:

  • Total files and directories
  • SKILL.md line count
  • Number of reference files and scripts
  • Any unusual files or structures

Step 2: Specification compliance

If skills-ref (the spec's reference implementation) is installed, run skills-ref validate <skill-path> first to catch mechanical violations automatically. Focus manual review on description quality and content.

Frontmatter validation
  • name field:
    • 1–64 characters, lowercase a-z/0-9/hyphens
    • No leading/trailing/consecutive hyphens
    • Matches parent directory name exactly
  • description field:
    • 1–1024 characters, non-empty
    • Third person, imperative framing
    • Describes what the skill does AND when to use it
    • Includes trigger keywords and non-obvious activation contexts
  • Optional spec fields (if present):
    • compatibility — 1–500 chars, platform/environment requirements
    • allowed-tools — space-separated pre-approved tools (Experimental)
    • license — reasonable format
    • metadata — arbitrary key-value pairs (put version here, not at root)
  • No fields outside the spec list — skills-ref validate rejects unknown fields with an error (its whitelist: name, description, license, compatibility, metadata, allowed-tools). Client extensions such as Claude Code's argument-hint, arguments, model, effort, context, agent, hooks, paths, shell, when_to_use, disable-model-invocation, user-invocable, disallowed-tools are valid only for that client — report them per profile: "valid for , Agent Skills spec non-compliant". A skill kept in a shared .agents/skills/ collection should pass the spec profile
  • Claude products additionally reject names containing the reserved words "claude" or "anthropic"

Read the full file on GitHub · 332 lines

Files

What ships with it

1 file 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.

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. 2mo ago First seen · 332 lines · 185 tokens per session scan A bf12648dfdb3

Subscribe to this mod's changes

improving-skills is a skill published in the GitHub repository laguagu/agents-best-practices (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 185 tokens to every session and 4,006 once invoked, about $0.0007 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-31.

Related

improving-skills compared with skills from other repositories

improving-skills next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
improving-skillslaguagu/agents-best-practicesSkill21mo agoApache-2.0A185Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex