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 (6,635 once invoked), scanned A, original, Apache-2.0.

A checker and generator for `applies_to` tags in Elastic documentation. These tags mark which product versions, deployment types, and other scopes a piece of documentation applies to.

In plain words
What is it for?
Use it to validate existing tags or generate the right tags for a new or changed documentation feature.
Why use it?
It helps keep version-specific and cumulative documentation correctly scoped. This reduces the risk of showing content for the wrong product version or deployment type.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit Use it to validate existing tags or generate the right tags for a new or changed documentation feature.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/elastic/elastic-docs-skills/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 · 71 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 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 21 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/applies-to-tagging/github.svg)](https://agentmods.dev/skills/elastic/elastic-docs-skills/applies-to-tagging)
Your own site
<a href="https://agentmods.dev/skills/elastic/elastic-docs-skills/applies-to-tagging"><img src="https://agentmods.dev/badge/skills/elastic/elastic-docs-skills/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/applies-to-tagging"><img src="https://agentmods.dev/badge/skills/elastic/elastic-docs-skills/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 6,635 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 pass 7 Sept 2026
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.00074 $0.06635
Opus 5 $0.00037 $0.03318
Sonnet 5 $0.00015 $0.01327
Haiku 4.5 $0.00007 $0.00664

Measured 6d ago against content hash d42c56925c12, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 6d 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/applies-to-tagging/SKILL.md · 467 lines

How it starts

The opening of the file, as written. The whole thing — 467 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 or fix issues. 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 · 467 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. 6d ago Changed · +21 lines d42c56925c12
  2. 7d ago Changed d1d14206489e
  3. 11d ago First seen · 446 lines · 74 tokens per session scan A d7cffd692cba

Subscribe to this mod's changes

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