Index of every page on this site: llms.txt
All skills
mia-cx avatar

/refine

@7acdf71
by mia.cxmia-cx/skills4 stars
Run it yourself

Use when the user asks to create, edit, change, refine, slim, or audit an agent-consumed document, like a skill, a memory/rules file, or a plan.

Use this Skill: https://skilld.dev/gh/mia-cx/skills/refine

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈38 tokens for metadata: the name and description. ≈247 when used: this file.

Description uses 1.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈153 characters, or 1.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Refine

Audit the target against the agent-copy reference. Read it first, then run every lever it names against every section of the target: delete, move, sharpen, or add per failed check.

Then pick the branch for the target, Read its SKILL.md, and run its target-specific checks the same way:

Target Branch
SKILL.md (any harness) skills/refine-skill/SKILL.md
AGENTS.md / CLAUDE.md / Cursor rules, anything always-loaded skills/refine-rule/SKILL.md
Plans, PRDs, handoffs, documents another agent executes skills/refine-plan/SKILL.md
Any other agent-consumed doc agent-copy alone

Before committing, apply agent-copy's fresh-reader check to the whole document. Every sentence must make sense without prior drafts or the editing conversation. Remove negations of discarded rules absent from the document; retain revision history only when explicitly requested.

Commit when every section is accounted for.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill automates document refinement by following instructions defined in external reference files. This creates a potential surface for indirect prompt injection if the source files are manipulated.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: LOW · No issues

Signed by skilld at 7acdf71. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated last month

README badge

README badge for mia-cx/skills/refine