refine

refine is a skill for Claude Code from joao-aires/agent-skills-public. It costs 59 tokens per session (1,453 once invoked), scanned A, original, MIT.

A work-refinement workflow that turns a rough idea, conversation, or tracker item into a clear task grounded in the repository. It defines scope, expected behavior, affected interfaces, and open decisions.

In plain words
What is it for?
Use it to write acceptance criteria, identify affected user interfaces, APIs and data, describe failure and permission cases, and return either ready work or specific blockers.
Why use it?
It removes ambiguity before implementation, so developers know what to build, what not to change, and how success will be checked.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to write acceptance criteria, identify affected user interfaces, APIs and data, describe failure and permission cases, and return either ready work or specific blockers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joao-aires/agent-skills-public/refine
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 joao-aires/agent-skills-public --skill refine
Clone the repo
git clone --depth 1 https://github.com/joao-aires/agent-skills-public

Made for: Claude Code.

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 refine

README.md
[![agentmods](https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/refine/github.svg)](https://agentmods.dev/skills/joao-aires/agent-skills-public/refine)
Your own site
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/refine"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/refine/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 refine

Your own site · 80×15
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/refine"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/refine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,453 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.00059 $0.01453
Opus 5.5 $0.00024 $0.00581
Sonnet 5.5 $0.00012 $0.00291
Haiku 4.5 $0.00006 $0.00145

Measured today against content hash 1fc0804a9a17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

refine 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 today.

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.

plugins/sdlc/skills/refine/SKILL.md · 67 lines

How it starts

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

Refine

Refine a request into agreed behavior, constraints and observable acceptance, and stop at requirements ready for design or implementation.

Read activity system for scope and stopping point. For the ECR requirements section this activity produces, read the ECR contract and apply requirements-engineering. When the request also produces an issue, read guide-issue. When an accepted conversation or decision should become a written specification rather than requirements alone, use write-spec.

When a current product feedback analysis exists, use it as evidence for requirements: link its findings, limits and open questions instead of re-deriving or copying the analysis.

Record the agreed behavior, constraints and observable acceptance. When the next contributor needs a ticket, use the issue guidance in the artifact system for the handoff and engineering workspace for persistence. Resolve the artifact home with artifact homes before writing. Read project-conventions for affected project constraints. For new systems, substantial features, refactors, migrations, rearchitecture or work with materially uncertain actors, quality constraints or acceptance, read and apply requirements-engineering as supporting expertise. For a small well-defined fix, use only the applicable requirements checks without requiring a fuller analysis. Load other optional stack/domain guidance selected through the development workflow only when relevant and available.

When the affected stack, architecture or domain has installed expertise or guidance, read it and carry its conclusions. If none exists, use project evidence and primary sources; this activity keeps the outcome, acceptance and stopping point.

Read the full file on GitHub · 67 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. today Changed · +2 lines 1fc0804a9a17
  2. 11d ago Changed · -3 lines 9556f3e96bdb
  3. 16d ago Changed · +2 lines 4b0224ba4c2f
  4. 19d ago Changed · +2 lines 6607c070601f
  5. 20d ago Changed · +6 lines 6ee342775097
  6. 24d ago Changed · +13 tokens per session 3e8775978e2e
  7. 25d ago Changed 28bf58245fca
  8. 1mo ago Changed · +6 lines 9c6bac3d4354
  9. 1mo ago Changed · +2 lines 900cb3e73c1a
  10. 1mo ago First seen · 50 lines · 46 tokens per session scan A 654a9d6af883

Subscribe to this mod's changes

refine is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 1,453 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.

Related

refine compared with skills from other repositories

refine next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
refinejoao-aires/agent-skills-publicSkill2yesterdayMITA59Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code