Official agent skill

Workflows Custom Triggers

by elastic in elastic/kibana

Register and implement custom workflow triggers from an external Kibana plugin using @kbn/workflows-extensions.

OfficialCustom licenceAuto-check passedBackend & APIs

Install Workflows Custom Triggers

skills CLI
$ npx skills add elastic/kibana --skill workflows-custom-triggers -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install elastic/kibana workflows-custom-triggers --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/elastic/kibana.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/platform/plugins/shared/workflows_extensions/.claude/skills/workflows-custom-triggers .claude/skills/workflows-custom-triggers && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
workflows-custom-triggers
GitHub stars
21k
Token cost
~3.5k tokens
SKILL.md length
1,318 words
Files
1
Skills in repo
40
Repo updated
First seen
Licence
Custom licence

At a glance

Register and implement custom workflow triggers from an external Kibana plugin using @kbn/workflows-extensions.

  • Works in 6 steps: Plugin location → Common file (common/triggers/.ts or… → Server — see TRIGGERS.md Step 2 → …
  • From an external Kibana plugin using @kbn/workflows-extensions
  • SKILL.md covers Canonical guide — read this…, Overview, 0. Locate the owning plugin… and File layout, plus 6 more sections
  • Calls rg

What it does

Workflows Custom Triggers is an agent skill from elastic/kibana, published by the product's own GitHub organization. Register and implement custom workflow triggers from an external Kibana plugin using @kbn/workflows-extensions. Use when adding or modifying an event-driven trigger with registerTriggerDefinition, designing eventSchema Zod schemas, writing documentation and KQL snippets, wiring emitEvent via request context or getClient, choosing sync vs async public loader registration, updating APPROVEDTRIGGERDEFINITIONS, or reviewing PRs that touch any of these. Always ask for the user's plugin id first to locate the correct…

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Event-driven systems and Forms and validation. It works with Elasticsearch, Microsoft Sentinel and Zod. The repository describes itself as: Your window into all of your data.

When your agent uses it

  • From an external Kibana plugin using @kbn/workflows-extensions
  • Modifying an event-driven trigger with registerTriggerDefinition
  • Designing eventSchema Zod schemas
  • Writing documentation and KQL snippets

Example prompts

  • “/workflows-custom-triggers”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Plugin location
  2. Common file (common/triggers/.ts or plugin convention) — see TRIGGERS.md Step 1
  3. Server — see TRIGGERS.md Step 2
  4. Public — see TRIGGERS.md Step 3
  5. Plugin wiring
  6. Approval gate — see TRIGGERS.md approval process

What it can do on your machine

Read from SKILL.md and the folder at commit ee7c86b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Workflows Custom Triggers loads about 3.5k tokens when it runs. Until then it costs about 146 tokens; SKILL.md has 1,318 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~146
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,318 words (~3,470 tokens).

“Follow the end-to-end steps, code templates, emit patterns, guardrails, and approval workflow in:”

— opening of SKILL.md by elastic, Custom licence
name
workflows-custom-triggers

Read the full SKILL.md on GitHub

Files

Just SKILL.md in src/platform/plugins/shared/workflows_extensions/.claude/skills/workflows-custom-triggers of elastic/kibana.

Open the folder on GitHubat commit ee7c86b

Compare with similar skills

Workflows Custom Triggers next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Workflows Custom Triggers compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Workflows Custom Triggers this skillelastic/kibana21k—~3.5kAutomated safety check: PassCustom licence
Inngest Nextjs Patternspproenca/dot-skills215—~1.4kAutomated safety check: NotesMIT
Claude Agent SDKmajiayu000/claude-skill-registry6661 repos~7.3kAutomated safety check: NotesMIT
Nestjs Trpctrycompai/crm11k—~2.8kAutomated safety check: PassMIT
Backend Dev Guidelineslangfuse/langfuse36k—~1.9kAutomated safety check: PassCustom licence
Backend Dev Guidelineslitefuse/litefuse1001 repos~5.8kAutomated safety check: PassCustom licence

Similar skills

  • Inngest Nextjs Patterns

    pproenca/dot-skills

    Inngest event-driven functions in a Next.js (App Router) project — creating the client, the /api/inngest route handler, typed events with Zod schemas, durable event-triggered functions, scheduled…

    215 GitHub stars~1.4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Claude Agent SDK

    majiayu000/claude-skill-registry

    Build autonomous AI agents with Claude Agent SDK. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 1 repo~7.3k tokens
    AI & LLM EngineeringAuto-check: notes
  • Nestjs Trpc

    trycompai/crm

    Build end-to-end type-safe tRPC APIs inside NestJS using the nestjs-trpc adapter — @Router/@Query/@Mutation/@Subscription decorators, TRPCModule.forRoot, injectable middlewares and context, Zod…

    11k GitHub stars~2.8k tokensUpdated 27 days ago
    Backend & APIsAuto-check passed
  • Backend Dev Guidelines

    langfuse/langfuse

    Build or review Langfuse backend code. An agent skill from langfuse/langfuse.

    36k GitHub stars~1.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Backend Dev Guidelines

    litefuse/litefuse

    Comprehensive backend development guide for Litefuse's Next.js 14/tRPC/Express/TypeScript monorepo.

    100 GitHub starsUsed in 1 repo~5.8k tokens
    Backend & APIsAuto-check passed
  • Vss Setup Video Analytics API

    NVIDIA-AI-Blueprints/video-search-and-summarization

    A skill your agent uses to deploy the vss-video-analytics-api REST service standalone with its Elasticsearch ingest-pipeline, selectable Kafka/Redis stream type, and Kafka-topic readiness gates when…

    1.9k GitHub stars~2.6k tokensUpdated today
    Backend & APIsAuto-check: notes

More from elastic/kibana

All 40 skills in this repo
  • Official

    Migrate Kibana Cypress E2E tests (.cy.ts) to Scout (Playwright).

    21k GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Activate Connector

    elastic/kibana

    Official

    Creates a connector instance in a running Kibana. An agent skill from elastic/kibana.

    21k GitHub stars~1.9k tokensUpdated today
    Auto-check: notes
  • Codeql

    elastic/kibana

    Official

    Work with CodeQL in Kibana — write, test, and debug custom queries locally, fetch scan results from GitHub, and validate inline suppression comments.

    21k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Debug Oas

    elastic/kibana

    Official

    A skill your agent uses when debugging OpenAPI (OAS) issues for a specific API area in Kibana by scoping validation output with one or more --path filters, then separating structural invalid-OAS…

    21k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Evals Write Spec

    elastic/kibana

    Official

    Write LLM evaluation spec files with datasets, tasks, and evaluators using the @kbn/evals Playwright fixture.

    21k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Kbn GitHub

    elastic/kibana

    Official

    GitHub interactions via gh CLI for the Kibana repo. An agent skill from elastic/kibana.

    21k GitHub stars~1.3k tokensUpdated today
    Auto-check passed

Categories

Questions about Workflows Custom Triggers

What does Workflows Custom Triggers do?

Register and implement custom workflow triggers from an external Kibana plugin using @kbn/workflows-extensions. Workflows Custom Triggers is an agent skill from elastic/kibana, published by the product's own GitHub organization. Register and implement custom workflow triggers from an external Kibana plugin using @kbn/workflows-extensions.

When should I use Workflows Custom Triggers?

Workflows Custom Triggers fits situations like: from an external Kibana plugin using @kbn/workflows-extensions; modifying an event-driven trigger with registerTriggerDefinition; designing eventSchema Zod schemas; writing documentation and KQL snippets.

How do I install Workflows Custom Triggers in Claude Code?

Run `npx skills add elastic/kibana --skill workflows-custom-triggers -a claude-code`. Or copy the skill folder (src/platform/plugins/shared/workflows_extensions/.claude/skills/workflows-custom-triggers in elastic/kibana) into .claude/skills/workflows-custom-triggers in your project. Claude Code loads it when a task matches its description.

How do I install Workflows Custom Triggers in Codex?

Run `npx skills add elastic/kibana --skill workflows-custom-triggers -a codex`. Or copy the skill folder (src/platform/plugins/shared/workflows_extensions/.claude/skills/workflows-custom-triggers in elastic/kibana) into .agents/skills/workflows-custom-triggers in your project. Codex loads it when a task matches its description.

Can I use Workflows Custom Triggers in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add elastic/kibana --skill workflows-custom-triggers -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/workflows-custom-triggers, .gemini/skills/workflows-custom-triggers, .github/skills/workflows-custom-triggers and .opencode/skills/workflows-custom-triggers in your project.

What does Workflows Custom Triggers need to run?

Going by SKILL.md and its folder, Workflows Custom Triggers needs the command-line tools its instructions call (rg).

Does Workflows Custom Triggers access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Workflows Custom Triggers safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Workflows Custom Triggers use?

Workflows Custom Triggers has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Workflows Custom Triggers use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Workflows Custom Triggers?

Skills that share tags, products or a category with Workflows Custom Triggers: Inngest Nextjs Patterns (pproenca/dot-skills, 215 stars), Claude Agent SDK (majiayu000/claude-skill-registry, 666 stars), Nestjs Trpc (trycompai/crm, 11k stars) and Backend Dev Guidelines (langfuse/langfuse, 36k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Workflows Custom Triggers?

elastic (a GitHub organization, an official publisher) maintains it in elastic/kibana, which has 21,310 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on October 8, 2026.

Source: elastic/kibana on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.