Skip to content
Back to skills

Example

ASecurity

Template example showing the SKILL.md structure — replace this description with one that names YOUR skill's concrete trigger condition ("Triggers when the user asks how to X, Y, Z"). Keep it ≤200 characters for best intent-matching.

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 30, 2026
documentation

Security analysis

A100/100

Scanned September 30, 2026

npx -y skills add xiaolai/anthropic-docs --skill example --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Example?

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

Security grade badge for Example
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xiaolai-example/badge)](https://www.skillsdirectory.com/skills/xiaolai-example)

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
---
name: example-skill
description: Template example showing the SKILL.md structure — replace this description with one that names YOUR skill's concrete trigger condition ("Triggers when the user asks how to X, Y, Z"). Keep it ≤200 characters for best intent-matching.
user-invocable: false
---

# Example Skill

This is a minimal SKILL.md showing the required structure.

## What every skill needs

1. **YAML frontmatter** with `name` and `description`. `description` is what Claude reads at intent-match time, so make it specific and name the trigger condition.
2. **A short body** that Claude reads on activation. Keep it ≤2,000 tokens for the single-file case.

## When the skill is bigger than 2,000 tokens

Split into a router + per-surface deep references, and load them on demand:

```markdown
---
name: my-skill
description: Router for my-skill. Use when the user asks about X, Y, or Z.
---

# My Skill — Router

| Surface | Read when… |
|---|---|
| [`SKILL-foo.md`](SKILL-foo.md) | User asks about Foo |
| [`SKILL-bar.md`](SKILL-bar.md) | User asks about Bar |
```

The router stays small (≤100 lines), and Claude reads the surface files only when the dispatch table maps to them. This repo's own `SKILL.md` is an example of the pattern.

## Cross-reference

If a fact lives in another skill (e.g., a sibling deep reference), link to it with a markdown link rather than duplicating.

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.

Comments

Loading comments…