write-a-skill

write-a-skill is a skill for Claude Code from reatcat/l123-harness. It costs 35 tokens per session (664 once invoked), scanned A, a copy of write-a-skill, MIT.

A guide for creating agent skills with a standard file structure, clear instructions, and optional reference files or scripts. An agent skill is a reusable set of instructions for handling a particular kind of work.

In plain words
What is it for?
Use it when designing a new skill, gathering its requirements, writing its SKILL.md, adding supporting resources, and reviewing the draft.
Why use it?
It helps avoid missing required files, unclear triggers, or instructions that are too large and difficult to maintain.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the l123-harness plugin — 4 skills, 6 hooks shipped together

Good fit Use it when designing a new skill, gathering its requirements, writing its SKILL.md, adding supporting resources, and reviewing the draft.

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

Made for: Claude Code.

Or install l123-harness, the plugin that ships this one along with the rest of its 4 skills, 6 hooks.

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-a-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/reatcat/l123-harness/write-a-skill.svg)](https://agentmods.dev/skills/reatcat/l123-harness/write-a-skill)
Your own site
<a href="https://agentmods.dev/skills/reatcat/l123-harness/write-a-skill"><img src="https://agentmods.dev/badge/skills/reatcat/l123-harness/write-a-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 664 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 100% 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.00035 $0.00664
Opus 5 $0.00017 $0.00332
Sonnet 5 $0.00007 $0.00133
Haiku 4.5 $0.00003 $0.00066

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

Security

Grade A, and why

write-a-skill 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 8d 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

100% identical to write-a-skill — 0 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.

skills/write-a-skill/SKILL.md · 118 lines

How it starts

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

Writing Skills

Process

  1. Gather requirements - ask user about:

    • What task/domain does the skill cover?
    • What specific use cases should it handle?
    • Does it need executable scripts or just instructions?
    • Any reference materials to include?
  2. Draft the skill - create:

    • SKILL.md with concise instructions
    • Additional reference files if content exceeds 500 lines
    • Utility scripts if deterministic operations needed
  3. Review with user - present draft and ask:

    • Does this cover your use cases?
    • Anything missing or unclear?
    • Should any section be more/less detailed?

Skill Structure

skill-name/
├── SKILL.md           # Main instructions (required)
├── REFERENCE.md       # Detailed docs (if needed)
├── EXAMPLES.md        # Usage examples (if needed)
└── scripts/           # Utility scripts (if needed)
    └── helper.js

SKILL.md Template

---
name: skill-name
description: Brief description of capability. Use when [specific triggers].
---

# Skill Name

## Quick start

[Minimal working example]

## Workflows

[Step-by-step processes with checklists for complex tasks]

## Advanced features

[Link to separate files: See [REFERENCE.md](REFERENCE.md)]

Description Requirements

The description is the only thing your agent sees when deciding which skill to load. It's surfaced in the system prompt alongside all other installed skills. Your agent reads these descriptions and picks the relevant skill based on the user's request.

Goal: Give your agent just enough info to know:

  1. What capability this skill provides
  2. When/why to trigger it (specific keywords, contexts, file types)

Format:

  • Max 1024 chars
  • Write in third person
  • First sentence: what it does
  • Second sentence: "Use when [specific triggers]"

Good example:

Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when user mentions PDFs, forms, or document extraction.

Read the full file on GitHub · 118 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. 8d ago First seen · 118 lines · 35 tokens per session scan A be8f20e66309

Subscribe to this mod's changes

write-a-skill is a skill published in the GitHub repository reatcat/l123-harness (4 stars, last pushed 16d ago), licensed MIT. It adds 35 tokens to every session and 664 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to write-a-skill, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

causal-memory

Causal memory for agents — install/setup the causal-memory MCP server, then record decisions/outcomes and recall them before acting. Trigger when the user asks to install or set up causal-memory/agent memory, when causal-memory MCP tools are available and the agent faces a non-trivial decision (architecture, debugging…

JingxuanC/causal-memory · 88 tokens

taskpack

A one-file handoff package for moving a coding task to another person, machine, or work session. It carries checked facts and decisions instead of relying on the old chat history.

dongsheng123132/task-passport · 192 tokens

visionary-cli

Analyze images with DeepSeek's vision model via the visionary-server CLI. Use this whenever the user provides an image, photo, screenshot, or document with images - run vision to look at it rather than guessing.

xlight/deepseek-visionary · 46 tokens

design-taste-frontend

A frontend-design skill for creating distinctive landing pages, portfolios, and redesigns. It first infers the desired visual character and then proposes a design direction and rules.

xiehuan123/coding-coach · 79 tokens

product-manager

A product-management guide covering work from discovering a need through launch and measurement. It includes tools such as PRDs, which describe a product requirement, and RICE, a method for ranking opportunities.

xiehuan123/coding-coach · 69 tokens

vercel-react-view-transitions

Guide for implementing smooth, native-feeling animations using React's View Transition API ( component, addTransitionType, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components…

xiehuan123/coding-coach · 127 tokens