create-skill

create-skill is a skill for Claude Code, Codex from elastic/elastic-docs-skills. It costs 47 tokens per session (1,996 once invoked), scanned A, original, Apache-2.0.

A guided workflow for creating a new Claude Code skill and adding it to the elastic-docs-skills catalogue. It first clarifies the skill’s purpose, inputs, outputs, and side effects before generating it.

In plain words
What is it for?
Use it to design a new documentation-related skill, create a slash command, or build an automation workflow for the catalogue.
Why use it?
A short name or vague request is not enough to define useful automation. The workflow gathers the details needed to make the skill concrete and usable.

Skill for Claude CodeCodex

Part of the elastic-docs-skills plugin — 21 skills, 4 agents shipped together

About the project

Elastic Docs Skills is a collection of Claude Code skills for creating and maintaining Elastic documentation. It is for developers and documentation contributors who use coding agents such as Claude Code, Cursor, or Codex. The catalogue entries are the project's reusable documentation workflows, agents, plugin, and instruction.

elastic/elastic-docs-skills · 71 stars · on GitHub

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.

agentmods
npx agentmods add skills/elastic/elastic-docs-skills/create-skill
Any agent
npx skills add elastic/elastic-docs-skills --skill create-skill
Clone the repo
git clone --depth 1 https://github.com/elastic/elastic-docs-skills

Made for: Claude Code, Codex.

Or install elastic-docs-skills, the plugin that ships this one along with the rest of its 21 skills, 4 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/elastic/elastic-docs-skills/create-skill.svg)](https://agentmods.dev/skills/elastic/elastic-docs-skills/create-skill)
Your own site
<a href="https://agentmods.dev/skills/elastic/elastic-docs-skills/create-skill"><img src="https://agentmods.dev/badge/skills/elastic/elastic-docs-skills/create-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,996 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.01996
Opus 5 $0.00023 $0.00998
Sonnet 5 $0.00009 $0.00399
Haiku 4.5 $0.00005 $0.00200

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

Security

Grade A, and why

create-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 4d 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/skills/create-skill/SKILL.md · 178 lines

How it starts

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

You are a skill generator for the elastic/elastic-docs-skills catalog. Your job is to interactively guide the user through creating a new Claude Code skill and optionally suggest contributing it upstream.

Process

Step 1: Understand the purpose

Before anything else, you MUST understand what the user wants the skill to do. This is the most important step — do NOT proceed without a clear answer.

Ask the user: "What should this skill do? Describe the task or workflow you want to automate."

If the user provided a skill name via $ARGUMENTS, acknowledge it, but still ask what the skill is for. A name alone is not enough context to generate a useful skill.

If the provided name does not start with docs-, prepend it automatically and tell the user you normalized it to the catalog naming convention.

Wait for the user's answer. If the response is vague (e.g., "help with docs"), ask follow-up questions until you have a concrete understanding of:

  • What problem the skill solves
  • What inputs it needs (files, URLs, arguments)
  • What output or side effects it produces

Step 2: Collect details

Once the purpose is clear, use AskUserQuestion to collect the remaining details (you may batch related questions):

Read the full file on GitHub · 178 lines

Files

What ships with it

4 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. 4d ago First seen · 178 lines · 47 tokens per session scan A b6ad8b7374f1

Subscribe to this mod's changes

create-skill is a skill published in the GitHub repository elastic/elastic-docs-skills (71 stars, last pushed 2d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,996 once invoked, about $0.0002 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.