docs-draft-feature-docs

docs-draft-feature-docs is a skill for Claude Code from elastic/elastic-docs-skills. It costs 98 tokens per session (10,959 once invoked), scanned A, original, Apache-2.0.

A process for drafting Elastic product documentation from issues, pull requests, or notes, while checking the current source code and the documentation rules.

In plain words
What is it for?
It is for finding the canonical page, verifying feature details, applying area-specific guidance, and producing documentation ready for review.
Why use it?
It helps prevent outdated, duplicated, incorrectly placed, or insufficiently scoped documentation.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Part of the elastic-docs-skills plugin — 26 skills, 1 agent shipped together

Good fit It is for finding the canonical page, verifying feature details, applying area-specific guidance, and producing documentation ready for review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/elastic/elastic-docs-skills/docs-draft-feature-docs
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 · 72 stars · on GitHub · elastic.github.io

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 elastic/elastic-docs-skills --skill docs-draft-feature-docs
Clone the repo
git clone --depth 1 https://github.com/elastic/elastic-docs-skills

Made for: Claude Code.

Or install elastic-docs-skills, the plugin that ships this one along with the rest of its 26 skills, 1 agent.

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 docs-draft-feature-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/elastic/elastic-docs-skills/docs-draft-feature-docs"><img src="https://agentmods.dev/badge/skills/elastic/elastic-docs-skills/docs-draft-feature-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,959 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.00098 $0.10959
Opus 5.5 $0.00039 $0.04384
Sonnet 5.5 $0.00020 $0.02192
Haiku 4.5 $0.00010 $0.01096

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

Security

Grade A, and why

docs-draft-feature-docs 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.

skills/authoring/docs-draft-feature-docs/SKILL.md · 457 lines

How it starts

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

You draft Elastic documentation for any feature or feature area. One skill and one baseline for every area, so that a page about Security and a page about Fleet arrive at review with the same structure, scoping, and voice.

The baseline

Read the baseline, apply it, and never restate it here.

AGENTS.md at the root of docs-content is the shared agent baseline, and contribute-docs/ is the full contribution guide. Between them they cover the core principles, the style guide, cumulative docs, content types, and the PR checklist. A skill that keeps its own copy of those rules becomes a second version that drifts from them.

So this file holds the process, the area reference files hold area facts, and every rule about how Elastic docs should read is loaded from the baseline at run time. When AGENTS.md and the contribution guide disagree, the guide wins — that is the baseline's own precedence rule.

Where facts come from

Three sources, each answering something the other two cannot. Asking the wrong one produces a claim that looks verified and is not.

Read the full file on GitHub · 457 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. 4d ago Changed d787bdab82e0
  2. 17d ago First seen · 457 lines · 98 tokens per session scan A 87ee2798acd3

Subscribe to this mod's changes

docs-draft-feature-docs is a skill published in the GitHub repository elastic/elastic-docs-skills (72 stars, last pushed 2d ago), licensed Apache-2.0. It adds 98 tokens to every session and 10,959 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

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens

pdf

A set of instructions for working with PDF files, which are documents designed to preserve their layout across devices.

agentscope-ai/QwenPaw · 95 tokens

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens

huashu-md-to-pdf

A document converter that turns Markdown files into professionally formatted PDF white papers with an Apple-style design.

alchaincyf/huashu-skills · 83 tokens

office-transform

Derive new Office files from structural selections without touching the original. Use when the user points at part of a spreadsheet, Word document, PDF, or PowerPoint deck (a worksheet range, paragraph, page, slide, shape, or a pasted selection-ref block) and wants it extracted, converted, or edited — the result is…

CherryHQ/cherry-studio · 123 tokens

graphic-ebook

Creates professionally designed B2B SaaS e-books in HTML + CSS, exported as print-ready PDF. 3–10 pages, 9 style presets, 11 page layout types. Trigger when user says "create an ebook", "design a lead magnet", "make a PDF guide", "build a gated content piece", "write a B2B ebook", "design a white paper", "create a…

Varnan-Tech/opendirectory · 97 tokens