Skip to content
Back to skills

Syntax

ASecurity

The `{agent-skill}` directive renders a standardized callout that points readers to an [Elastic AI agent skill](https://github.com/elastic/agent-skills). When the URL includes a skill name (after `@`), it shows a "Copy install command" button that copies the `npx skills add owner/repo@skill-name` command to clipboard. Otherwise, it falls back to a "Get the skill" link.

  • 26 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
toolssqlgit

Works with

  • cli

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add elastic/docs-builder --skill syntax --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Syntax?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Syntax
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/elastic-syntax/badge)](https://www.skillsdirectory.com/skills/elastic-syntax)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Agent skill

The `{agent-skill}` directive renders a standardized callout that points readers to an [Elastic AI agent skill](https://github.com/elastic/agent-skills). When the URL includes a skill name (after `@`), it shows a "Copy install command" button that copies the `npx skills add owner/repo@skill-name` command to clipboard. Otherwise, it falls back to a "Get the skill" link.

## Usage

By default, the directive renders a standard description with a copy button:

:::::{tab-set}

::::{tab-item} Output

:::{agent-skill}
:url: https://github.com/elastic/agent-skills@elasticsearch-esql
:::

::::

::::{tab-item} Markdown

```markdown
:::{agent-skill}
:url: https://github.com/elastic/agent-skills@elasticsearch-esql
:::
```

::::

:::::

You can also provide custom body text to clarify the scope of the skill:

:::::{tab-set}

::::{tab-item} Output

:::{agent-skill}
:url: https://github.com/elastic/agent-skills@elasticsearch-esql

This skill helps agents write and optimize ES|QL queries.
:::

::::

::::{tab-item} Markdown

```markdown
:::{agent-skill}
:url: https://github.com/elastic/agent-skills@elasticsearch-esql

This skill helps agents write and optimize ES|QL queries.
:::
```

::::

:::::

## Properties

| Property | Required | Description |
|----------|----------|-------------|
| `:url:`  | Yes      | Absolute URL to the skill. Include `@skill-name` to enable the copy install command button. |

The `:url:` property must be an absolute URL. Relative paths are not accepted, and the directive will emit a build error if the URL is missing or relative.

The skill name is extracted from the URL as the segment after the final `@`, and the repository prefix is extracted from the URL path. For example, `https://github.com/elastic/agent-skills@elasticsearch-esql` produces the install command `npx skills add elastic/agent-skills@elasticsearch-esql`.

Files in this skill

  • _snippets/applies-to-admonitions.md1.2 KB
  • _snippets/applies-to-dropdowns.md616 B
  • _snippets/inline-level-applies-examples.md1.9 KB
  • _snippets/multiple-lifecycle-states.md1.6 KB
  • _snippets/page-level-applies-examples.md594 B
  • _snippets/reusable-snippet.md88 B
  • _snippets/section-level-applies-examples.md634 B
  • _snippets/stack-serverless-lifecycle-example.md1.1 KB
  • _snippets/unused-snippet.md94 B
  • _snippets/unversioned-lifecycle.md1.1 KB
  • _snippets/versioned-lifecycle.md1.6 KB
  • admonitions.md3.1 KB
  • agent-skill.md1.8 KB
  • applies-switch.md3.3 KB
  • applies.md26.6 KB
  • automated_settings.md10 KB
  • buttons.md5.2 KB
  • card-group.md1.8 KB
  • changelog.md28.4 KB
  • code.md7.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.