authoring-decorators

authoring-decorators is a skill for Claude Code from synaptiai/prompt-decorators. It costs 72 tokens per session (4,003 once invoked), scanned A, original, Apache-2.0.

A guide for creating prompt decorators, reusable prompt markers that add a defined behavior such as a response format or verification step.

In plain words
What is it for?
Use it when creating a personal decorator or contributing one to the shared catalogue, including defining its JSON file and verifying it through the prompt hook.
Why use it?
It prevents decorators from being stored in the wrong location or missing the required format and testing steps.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: agent in frontmatter; names the TodoWrite tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 claude-code-plugin/scripts/dispatch.py search "<YourDecoratorName>".

Part of the prompt-decorators plugin — 2 skills, 1 command, 1 hook shipped together

Good fit Use it when creating a personal decorator or contributing one to the shared catalogue, including defining its JSON file and verifying it through the prompt hook.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/synaptiai/prompt-decorators
agentmods
npx agentmods add skills/synaptiai/prompt-decorators/authoring-decorators

Made for: Claude Code.

Or install prompt-decorators, the plugin that ships this one along with the rest of its 2 skills, 1 command, 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 authoring-decorators

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/prompt-decorators/authoring-decorators"><img src="https://agentmods.dev/badge/skills/synaptiai/prompt-decorators/authoring-decorators.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,003 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 156
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
How audits are shown
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.00072 $0.04003
Opus 5 $0.00036 $0.02001
Sonnet 5 $0.00014 $0.00801
Haiku 4.5 $0.00007 $0.00400

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

Security

Grade A, and why

authoring-decorators 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 10d 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.

claude-code-plugin/skills/authoring-decorators/SKILL.md · 399 lines

How it starts

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

Authoring Decorators

This skill guides creation of a new decorator: where the JSON file lives, what fields it needs, and how to verify it works end-to-end via the UserPromptSubmit hook.

Prerequisites

  • The prompt-decorators plugin is installed.
  • The user has a concrete behaviour they want a decorator to codify (e.g., "always format output as XML", "always include confidence intervals").
  • Write access to $HOME/.config/prompt-decorators/extensions/ for personal decorators, OR write access to the upstream synaptiai/prompt-decorators repo for contributions back.

Workflow

Use TodoWrite to track these mandatory steps:

Step 1: Decide destination

Two legitimate destinations exist, and choosing wrong loses your work:

Use case Destination Survives vendor sync?
Personal decorator for your workflow $HOME/.config/prompt-decorators/extensions/<your-namespace>/<name>.json (or set PROMPT_DECORATORS_USER_REGISTRY to a path of your choice) Yes - independent of plugin
Contribution back to the shared catalogue Upstream repo synaptiai/prompt-decorators/registry/extensions/<namespace>/<name>.json, open a PR, then re-sync the vendor (see claude-code-plugin/VENDORING.md) Yes - becomes part of upstream

Do NOT place personal decorators under claude-code-plugin/vendor/prompt_decorators/registry/. The vendored copy is periodically wiped and re-synced from upstream (see claude-code-plugin/VENDORING.md), so anything under vendor/ that isn't in the source-of-truth upstream repo gets silently deleted on the next sync.

Read the full file on GitHub · 399 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. 10d ago First seen · 399 lines · 72 tokens per session scan A 9e564da096c4

Subscribe to this mod's changes

authoring-decorators is a skill published in the GitHub repository synaptiai/prompt-decorators (43 stars, last pushed 3d ago), licensed Apache-2.0. It adds 72 tokens to every session and 4,003 once invoked, about $0.0004 per session on Opus 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-08-30.

Related

Other skills, from other repositories

b123d-modeling

Use this skill when asked to model, build, or modify a 3D part or assembly with build123d — from a text description, a technical drawing (image or PDF), dimensions in a spec, or an existing STEP/STL file.

pzfreo/build123d-mcp · 0 tokens

b123d-edit

Use this skill when the task is to change an existing build123d model or script: "make this bracket 5 mm taller", "move the holes inward", "add a counterbore", "remove this rib", "make it fit this mating part", or "repair the code so the intended edit remains parametric".

pzfreo/build123d-mcp · 0 tokens

hmem-release

Pre-publish checklist for hmem: skills synced, version bumped, tests green, nothing forgotten. Use before npm publish or when the user says 'release', 'publish', 'push a release', or 'neue Version'.

Bumblebiber/hmem · 50 tokens

gemini-visualize

Generates interactive HTML visualizations (concept maps, evidence networks, knowledge graphs) from Gemini analysis results. Triggers automatically after /gr:video, /gr:research, /gr:analyze.

Galbaz1/video-research-mcp · 47 tokens

mlflow-traces

Use when working with MLflow traces: debugging via MCP tools, analyzing performance, logging feedback, writing custom scorers/evaluations, or cleaning up trace data.

Galbaz1/video-research-mcp · 37 tokens

video-explainer

Teaches Claude how to use the 15 video explainer tools to create explainer videos from research content. Activates when working with video synthesis, explainer creation, or the video-explainer MCP server.

Galbaz1/video-research-mcp · 48 tokens