write-skills

write-skills is a skill for Claude Code, Codex from avivsinai/skills-marketplace. It costs 92 tokens per session (2,480 once invoked), scanned A, a copy of write-skills, MIT.

A set of instructions for creating and revising skills, which are files that tell coding agents when and how to perform specialised work. It focuses on triggers, procedures, boundaries, and keeping instructions concise.

In plain words
What is it for?
Use it when adding a skill, renaming one, simplifying it, improving its trigger description, or deciding whether information belongs in instructions, references, scripts, or assets.
Why use it?
It helps prevent skills from being vague, overloaded, or triggered in the wrong situations. The guidance is aimed at making an agent's behavior more consistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding a skill, renaming one, simplifying it, improving its trigger description, or deciding whether information belongs in instructions, references, scripts, or assets.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/avivsinai/skills-marketplace/write-skills"><img src="https://agentmods.dev/badge/skills/avivsinai/skills-marketplace/write-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,480 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 92% 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.1 $0.00092 $0.02480
Opus 5 $0.00046 $0.01240
Sonnet 5 $0.00018 $0.00496
Haiku 4.5 $0.00009 $0.00248

Measured 12d ago against content hash 8ff17e7af015, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

write-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 12d 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.

Origin

This is a copy

92% identical to write-skills — 11 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.

plugins/skill-authoring/skills/write-skills/SKILL.md · 224 lines

How it starts

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

Write Skills

A skill is not documentation. It is compressed operational memory for an agent that already knows how to code and reason. Its job is predictability — the agent taking the same process every run, not producing the same output. Put only the context that changes what the agent will do.

First Principles

  1. Trigger from the description. The frontmatter description is the only part read before the skill loads. Say what the skill does and the concrete situations that should trigger it. Do not hide trigger rules in the body.

  2. Spend tokens like they are scarce. Assume the agent is already good at general reasoning. Keep only non-obvious workflow, domain constraints, tool choices, failure modes, and validation rules. Delete background, motivation, and generic advice.

  3. Write procedures, not essays. Prefer imperative rules, decision points, and small examples. A good skill changes behavior in the next turn; it does not merely explain the topic. And match the procedure to the deliverable's shape: a catalog of techniques with "pick what fits" produces tool-picking, not a flow — if the job is a shaped interaction (an interview, a staged walk), the workflow must be that shape, with the techniques demoted to steps inside it.

  4. Use progressive disclosure. Keep the main skill file short. Push long schemas, examples, provider docs, or variant-specific guidance out into linked references/ files, reached by a pointer that fires only when needed. Put repeatable fragile operations in scripts/. Put reusable output material in assets/.

  5. Validate by use. A skill is good when a fresh agent applies it correctly on a realistic task — run it blind, and on the weakest model that will run it; a skill that only drives correct behavior on the frontier model that authored it is too fragile to ship. After editing, read it as if you had no conversation history and remove anything that would not affect action.

Read the full file on GitHub · 224 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. 12d ago First seen · 224 lines · 92 tokens per session scan A 8ff17e7af015

Subscribe to this mod's changes

write-skills is a skill published in the GitHub repository avivsinai/skills-marketplace (2 stars, last pushed yesterday), licensed MIT. It adds 92 tokens to every session and 2,480 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to write-skills, differing in 11 lines, and is treated as a copy.