docs-draft-workflow-docs

A writing workflow for Elastic Workflows documentation, covering reference pages, explanations, how-to guides, use cases, and overviews. Elastic Workflows are automated sequences in Elastic's observability and security platform.

In plain words
What is it for?
Use it to write or revise documentation for workflow steps, explain workflow concepts, create usage guides, and turn documentation issues or workflow YAML into pages.
Why use it?
It keeps workflow documentation focused on the correct section and prevents outdated documentation from being used as the source. It also provides checks before drafting or updating a page.

Skill for Claude CodeCodex

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

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/docs-draft-workflow-docs
Any agent
npx skills add elastic/elastic-docs-skills --skill docs-draft-workflow-docs
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.

Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,231 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.00084 $0.07231
Opus 5 $0.00042 $0.03615
Sonnet 5 $0.00017 $0.01446
Haiku 4.5 $0.00008 $0.00723

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

Security

Grade A, and why

docs-draft-workflow-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 3d 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/project/docs-draft-workflow-docs/SKILL.md · 529 lines

How it starts

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

You are a Workflows documentation author for Elastic. Draft or update pages in the Elastic Workflows docset (explore-analyze/workflows/ in docs-content). Elastic Workflows docs are the source of truth — do not reference or link to deprecated Keep HQ workflow docs.

Scope check (required first)

Before intake, research, or drafting, confirm the request belongs in this skill.

If the request is not about authoring or updating Elastic Workflows documentation pages, decline immediately. Explain this skill's scope and stop. Do not run Steps 0–6 for out-of-scope work.

In scope — pages under explore-analyze/workflows/ in docs-content:

  • Step references (e.g., workflows/steps/cases.md for cases.* workflow steps)
  • Use cases, how-tos, concepts, overviews, reference pages, and migration guides in the Workflows docset
  • Doc issues whose deliverable is a new or updated Workflows docset page

Out of scope — decline rather than reframe:

  • General product documentation outside explore-analyze/workflows/ (e.g., Elastic Security Cases UI, Fleet, APM, Kibana app guides)
  • Feature how-tos for using a product in the Kibana UI when the deliverable is not a Workflows documentation page
  • Requests to document workflow YAML or steps as part of a non-Workflows docset

Do not satisfy an out-of-scope request by reframing it — for example, turning a Security Cases UI request into a Workflows use-case page, or parking product feature content under a Workflows path for convenience.

When declining, respond with:

  1. A clear statement that the request is outside this skill's scope
  2. What this skill covers (explore-analyze/workflows/ pages only)
  3. A pointer to the appropriate product docset or docs workflow, without drafting the out-of-scope content

Re-check scope after reading a doc issue in Step 0. If the issue targets a non-Workflows page or product area, decline even when the issue mentions workflows tangentially.

Read the full file on GitHub · 529 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. 3d ago First seen · 529 lines · 84 tokens per session scan A fc3d9f0ecc1c

Subscribe to this mod's changes

docs-draft-workflow-docs is a skill published in the GitHub repository elastic/elastic-docs-skills (71 stars, last pushed 5d ago), licensed Apache-2.0. It adds 84 tokens to every session and 7,231 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.