skill-authoring

skill-authoring is a skill for Claude Code from xD4O/praxis. It costs 96 tokens per session (1,335 once invoked), scanned A, original, MIT.

A procedure for designing a new agent skill, which is a written set of rules that guides an agent's behavior. It focuses on defining a real problem, a precise trigger, and a useful protocol before publishing the skill.

In plain words
What is it for?
Use it when creating or substantially rewriting a SKILL.md file for an agent system.
Why use it?
It helps prevent skills that activate for the wrong tasks or contain general reference material instead of actionable behavior.

Skill for Claude Code

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

Part of the praxis plugin — 19 skills, 13 commands, 1 hook shipped together

Good fit Use it when creating or substantially rewriting a SKILL.md file for an agent system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xd4o/praxis/skill-authoring
View source ↗ xD4O/praxis
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 xD4O/praxis --skill skill-authoring
Clone the repo
git clone --depth 1 https://github.com/xD4O/praxis

Made for: Claude Code.

Or install praxis, the plugin that ships this one along with the rest of its 19 skills, 13 commands, 1 hook.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xd4o/praxis/skill-authoring"><img src="https://agentmods.dev/badge/skills/xd4o/praxis/skill-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,335 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.00096 $0.01335
Opus 5.5 $0.00038 $0.00534
Sonnet 5.5 $0.00019 $0.00267
Haiku 4.5 $0.00010 $0.00134

Measured 15d ago against content hash d5af37cc73a9, 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 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 15d 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.

skills/skill-authoring/SKILL.md · 113 lines

How it starts

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

Skill Authoring Protocol

EXTREMELY_IMPORTANT: This is a MANDATORY protocol, not a suggestion. Follow every step. Do not skip steps. Do not combine steps. Do not summarize. Work through each step in order.

You are creating a skill — a behavioral protocol another agent will be trusted to follow. A weak skill is worse than no skill: it burns context, triggers on the wrong tasks, and trains users to ignore the ones that matter. Build it in this order.

STEP 1 — Name the gap

State in one sentence the specific reasoning failure this skill prevents, and cite a concrete incident where an agent without it went wrong. If no incident exists — yours, the user's, or a documented pattern — say so and ask whether the skill should exist at all. A skill nobody has failed without is a reference document waiting to happen.

STEP 2 — Design the trigger before the body

The frontmatter description is the enforcement layer: it is the ONLY part loaded at all times — the body loads after invocation, so a vague description means the body never runs. Write the description as a trigger, then test it:

  1. List the task shapes where this skill MUST fire, concretely.
  2. List adjacent task shapes where it must NOT fire (the false-positive set).
  3. Write at least 3 prompts that should trigger it and 3 that should not, and check the description text ALONE classifies all of them correctly. Fix the wording, not the test set, until it does.

Use imperative mandatory voice ("You MUST invoke... Do NOT...") — passive descriptions ("useful for...") measurably under-trigger.

STEP 3 — Design the protocol body

Every step must be an imperative action ending in a check the agent can fail — "Do X; if Y, stop" — never "consider X." Apply the earn-its-place test: if deleting a step would not change the agent's output on the STEP 2 trigger prompts, delete it. More steps is dilution, not rigor.

Then choose exactly ONE <HARD-GATE>: the single thing this skill refuses to let happen, stated as an observable condition ("do NOT claim the bug fixed without a test observed failing pre-fix"), not a mood ("be thorough"). Add a structured output block so results are auditable, and confidence levels if the skill produces an analysis. Keep the whole file under 150 lines — past that, it is doing two jobs; split it.

Read the full file on GitHub · 113 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. 15d ago First seen · 113 lines · 96 tokens per session scan A d5af37cc73a9

Subscribe to this mod's changes

skill-authoring is a skill published in the GitHub repository xD4O/praxis (28 stars, last pushed 2mo ago), licensed MIT. It adds 96 tokens to every session and 1,335 once invoked, about $0.0004 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-02.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens