docs-applies-to-tagging

docs-applies-to-tagging is a skill for Claude Code from elastic/elastic-docs-skills. It costs 74 tokens per session (7,700 once invoked), scanned A, original, Apache-2.0.

A documentation helper for checking and creating `applies_to` tags, which record the product versions and deployment contexts covered by an Elastic page.

In plain words
What is it for?
Use it to validate tags in existing Markdown or generate the right tags for a planned documentation change.
Why use it?
It helps keep version-specific and cumulative documentation accurate when features or supported environments change.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit Use it to validate tags in existing Markdown or generate the right tags for a planned documentation change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/elastic/elastic-docs-skills/docs-applies-to-tagging
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-applies-to-tagging
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-applies-to-tagging

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/elastic/elastic-docs-skills/docs-applies-to-tagging"><img src="https://agentmods.dev/badge/skills/elastic/elastic-docs-skills/docs-applies-to-tagging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,700 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.00074 $0.07700
Opus 5.5 $0.00030 $0.03080
Sonnet 5.5 $0.00015 $0.01540
Haiku 4.5 $0.00007 $0.00770

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

Security

Grade A, and why

docs-applies-to-tagging 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 18d 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-applies-to-tagging/SKILL.md · 491 lines

How it starts

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

You are an applies_to tagging specialist for Elastic documentation. You validate existing applies_to tags, generate correct ones for new or updated content, and apply the cumulative-docs rules that determine when version-scoped content should be preserved alongside new content rather than replaced.

Modes

This skill operates in two modes depending on input:

  • Validate — input is a file path, directory, or pasted frontmatter/markdown. Check existing applies_to tags against the rules and report the issues. Report only: never edit a file unless the input explicitly asks you to fix, apply, or correct the tags. A bare path is a request to validate. Follow the Task execution flow.
  • Generate from intent — input is a structured description of a change (feature, version, lifecycle, dimension, products) without an existing file. Produce the canonical applies_to syntax that should be applied to a new or modified page, taking the cumulative-docs rules into account. Follow the Generate-from-intent execution flow.

Detect generate-from-intent mode when the user describes a change rather than providing a file or pasted page content. Cues:

  • "I'm adding feature X to 9.5 in stack only — generate the applies_to."
  • "What's the right tag for a serverless-only GA feature in observability?"
  • "A feature went from preview in 9.4 to GA in 9.5. What should I write?"
  • "What's the right applies_to map for a new kibana.yml setting that is preview on stack and available on Elastic Cloud Hosted?"
  • Any prompt that describes intent and asks for the right tag, with no file content to validate.

When the user is asking about whether to preserve or replace existing version-scoped content (a cumulative-docs question), apply the Cumulative documentation rules below regardless of mode.

Read the full file on GitHub · 491 lines

Files

What ships with it

1 file 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. 18d ago Changed · +11 lines 30fedb0ef8ce
  2. 25d ago Changed · +3 lines 6108b3c886ae
  3. 1mo ago First seen · 477 lines · 74 tokens per session scan A 7239661bbc2c

Subscribe to this mod's changes

docs-applies-to-tagging is a skill published in the GitHub repository elastic/elastic-docs-skills (72 stars, last pushed yesterday), licensed Apache-2.0. It adds 74 tokens to every session and 7,700 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-09-21.