authoring-commands

authoring-commands is a skill for Claude Code from xonovex/platform. It costs 83 tokens per session (921 once invoked), scanned A, original, MIT.

A set of rules for creating and maintaining reusable slash commands and prompt files for coding-agent tools. It keeps the command as a small interface while putting the detailed procedure in a separate skill or guideline.

In plain words
What is it for?
Use it to write, review, merge, shorten, or convert command files, including commands invoked with a slash or saved as reusable prompts.
Why use it?
It prevents reusable commands from becoming long, duplicated, project-specific instructions. It also encourages previewing changes and preserving the command's required structure and arguments.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Part of the xonovex-agentic plugin — 14 skills shipped together

Good fit Use it to write, review, merge, shorten, or convert command files, including commands invoked with a slash or saved as reusable prompts.

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

Made for: Claude Code.

Or install xonovex-agentic, the plugin that ships this one along with the rest of its 14 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 authoring-commands

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xonovex/platform/authoring-commands"><img src="https://agentmods.dev/badge/skills/xonovex/platform/authoring-commands.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 921 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.00083 $0.00921
Opus 5.5 $0.00033 $0.00368
Sonnet 5.5 $0.00017 $0.00184
Haiku 4.5 $0.00008 $0.00092

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

Security

Grade A, and why

authoring-commands 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 9d 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.

packages/runtime/plugin/plugin-agentic/skills/authoring-commands/SKILL.md · 44 lines

How it starts

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

Command Guidelines

Author, merge, simplify, and distill reusable user-invocable prompt files (sometimes called slash commands, custom commands, or user prompts depending on the agent harness).

Core Principles

  • Generic by Default: strip project-specific paths, domain terms, and tech names at author time so prompts reuse across projects
  • Match Style and Voice: preserve the target's structure, voice, formatting when merging
  • Structure Integrity: frontmatter, Arguments, and Delegation are the essential thin-command sections; the owning skill carries the procedure, output, and errors
  • Safe Modifications: preview changes (--dry-run) before applying
  • Deletion-first editing: a simplify or distill pass cuts at least as much as it adds, and reuses existing vocabulary rather than coining new terms; authoring-skills owns this rule
  • Bound the Body: target 15-40 lines for a delegating command and <150 lines for a harness that cannot delegate
  • Delegate, Don't Duplicate: a command owns its argument contract and delegates the procedure to a guideline skill via the Skill tool; the skill is the single source of truth, the command a thin, stable interface
  • Depend on Skills Two Ways: depend hard (name the exact skill, and add it to the plugin's dependencies when the harness installs them) when one specific skill is always required, or soft (describe the capability and let the agent select an installed skill, degrading gracefully) when several interchangeable skills fit; if the harness distributes skills but not commands, publish and invoke the skill directly; either way load the selected skill at run time (install ≠ in-context), see references/distill.md
  • Validate the public contract: keep argument-hint and Arguments names identical; express optional supporting capabilities in delegation prose, not command metadata

Gotchas

  • A prompt that hardcodes one repo's paths/domain terms isn't reusable: generalize at author time, not later
  • Argument shape is the prompt's public contract: merging different argument styles silently breaks callers
  • "Auto-generated name" + an existing file is a silent overwrite risk, always check before write
  • Generalizing too aggressively destroys the example's instructional value: keep enough specificity to learn from
  • A command-capable plugin that delegates to a skill but omits a supported dependency declaration can't guarantee the skill at run time: wire the dependency and load via the Skill tool (install ≠ in-context)

Read the full file on GitHub · 44 lines

Files

What ships with it

9 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. 9d ago First seen · 44 lines · 83 tokens per session scan A dbd9ddbe57d3

Subscribe to this mod's changes

authoring-commands is a skill published in the GitHub repository xonovex/platform (6 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 921 once invoked, about $0.0003 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-11-21.

Related

authoring-commands compared with skills from other repositories

authoring-commands next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
authoring-commandsxonovex/platformSkill6yesterdayMITA83Claude Code
rclone-cloud-syncnavig-run/coreSkill51mo agononeA30Claude Code
Content Summarizernavig-run/coreSkill51mo agononeA102Claude Code
systemd-servicesnavig-run/coreSkill51mo agononeB22Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code