skill-authoring-guide

skill-authoring-guide is a skill for Claude Code from yeaight7/agent-powerups. It costs 33 tokens per session (883 once invoked), scanned A, original, Apache-2.0.

A guide for creating and improving reusable instructions for coding agents. It covers when an instruction should activate, how to keep it concise, and when to place details in supporting files or scripts.

In plain words
What is it for?
Use it when authoring or refactoring a skill, including its metadata, workflow, references, and optional helper scripts.
Why use it?
Poorly written agent instructions can activate at the wrong time, become difficult to maintain, or bury the useful workflow in unnecessary detail. This guide provides checks for making them clearer and more reusable.

Skill for Claude Code

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

Part of the skill-authoring plugin — 2 skills shipped together

Good fit Use it when authoring or refactoring a skill, including its metadata, workflow, references, and optional helper scripts.

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

Made for: Claude Code.

Or install skill-authoring, the plugin that ships this one along with the rest of its 2 skills.

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 skill-authoring-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/yeaight7/agent-powerups/skill-authoring-guide/github.svg)](https://agentmods.dev/skills/yeaight7/agent-powerups/skill-authoring-guide)
Your own site
<a href="https://agentmods.dev/skills/yeaight7/agent-powerups/skill-authoring-guide"><img src="https://agentmods.dev/badge/skills/yeaight7/agent-powerups/skill-authoring-guide/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 skill-authoring-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/yeaight7/agent-powerups/skill-authoring-guide"><img src="https://agentmods.dev/badge/skills/yeaight7/agent-powerups/skill-authoring-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 883 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.00033 $0.00883
Opus 5.5 $0.00013 $0.00353
Sonnet 5.5 $0.00007 $0.00177
Haiku 4.5 $0.00003 $0.00088

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

Security

Grade A, and why

skill-authoring-guide 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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/init_skill.py, scripts/package_skill.py, scripts/quick_validate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skill-authoring/skills/skill-authoring-guide/SKILL.md · 99 lines

How it starts

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

Skill Authoring Guide

Use this skill when creating or improving a reusable skill.

What Good Skills Do

  • Trigger reliably from name and description — the description must be specific enough to avoid false triggers.
  • Stay short in SKILL.md and move bulk detail into references/ or scripts/.
  • Teach a workflow or decision pattern, not just dump background information.
  • Include scripts or references only when they eliminate repeated work or prevent ambiguity.

Frontmatter Template

---
name: kebab-case-matching-directory-name
description: Use when [trigger condition]. Does [what it does]. [Optional: NOT for X.]
---

Body Format

Default to a pure Markdown body after the YAML frontmatter. Use headings such as ## Purpose, ## When to Use, ## Workflow, and ## Verification. Do not use XML-like tags such as <Purpose>, <Workflow>, or <Use_When> as normal top-level sections. XML-like tags are acceptable only when they strictly delimit nested examples, quoted input, external documents, or machine-readable prompt payloads.

Good description (specific, trigger-clear):

Use when designing or reviewing filesystem MCP access, path boundaries, allowed roots, and method allowlists.

Weak description (too broad, won't trigger reliably):

Helps with MCP things and file access.

Workflow

1. Define the job

  • What specific problem does this skill solve?
  • When should it trigger? (Be concrete — "when the user mentions X" or "when you're about to do Y".)
  • What should it explicitly NOT handle? State the boundary.

2. Write strong frontmatter

  • name must match the directory name exactly.
  • description must say what the skill does AND when to use it in one sentence.

3. Keep the body lean

  • SKILL.md should be readable in one focused pass — target 50–120 lines.
  • Use Markdown headings for top-level structure.
  • Move bulky reference material into references/.
  • Move deterministic scripts (validators, init scripts) into scripts/.
  • If SKILL.md exceeds 150 lines, split off the excess into a reference file.

Read the full file on GitHub · 99 lines

Files

What ships with it

3 files 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. 1mo ago First seen · 99 lines · 33 tokens per session scan A e9475f70e4eb

Subscribe to this mod's changes

skill-authoring-guide is a skill published in the GitHub repository yeaight7/agent-powerups (6 stars, last pushed 19d ago), licensed Apache-2.0. It adds 33 tokens to every session and 883 once invoked, about $0.0001 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-09-14.