Best for
- Use this skill when creating, reviewing, or editing Agent Skills-format skills, or when implementing skill discovery and loading in an agent client.
magnus919/agent-skills/agent-skills/SKILL.md
Use this skill when creating, reviewing, or editing Agent Skills-format skills, or when implementing skill discovery and loading in an agent client. It covers directory structure, SKILL.md metadata, progressive disclosure, evals, and repository conventions. Do not use this skill for general software work that does not involve the Agent Skills format or lifecycle.
Decision brief
This skill documents the Agent Skills open format — a standardized way to give AI agents new capabilities and expertise. Follow this workflow when creating or editing skills in this repository.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/magnus919/agent-skills --skill "agent-skills"Inspect the Agent Skill "agent-skills" from https://github.com/magnus919/agent-skills/blob/531ff6753784823c878c92b988c6e55266ce09a9/agent-skills/SKILL.md at commit 531ff6753784823c878c92b988c6e55266ce09a9. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
1. Read the specification before changing SKILL.md metadata or directory structure. 2. Ground instructions in real domain knowledge, project artifacts, and observed failure modes. Read best practices when designing or materially revising instructions. 3. Keep the skill a coheren…
1. Validate the required frontmatter, field constraints, parent-directory/name match, and YAML syntax against the specification. 2. Check that the description has both positive and negative trigger boundaries, the workflow is actionable, and resource references are conditional a…
When implementing skill discovery, activation, or context management in an agent product, read client implementation guidance. Do not apply client conventions such as search paths as universal format requirements.
A skill is a directory containing, at minimum, a SKILL.md file:
1. Read the specification before changing SKILL.md metadata or directory structure. 2. Ground instructions in real domain knowledge, project artifacts, and observed failure modes. Read best practices when designing or materially revising instructions. 3. Keep the skill a coheren…
Permission review
The documentation asks the agent to run terminal commands or scripts.
Be explicit about intent: say "run this script" or "read this as reference" — never leave the agent to guess whether a bundled file is executable or illustrativeThe documentation asks the agent to create, modify, or delete local files.
Every file under `references/` must be at or under **60,000 characters**. When a reference grows past the cap, split it into focused files (e.g., `references/<topic>-a.md`, `references/<topic>-b.md`) and update `SKILL.md` so each new file iThe documentation asks the agent to run terminal commands or scripts.
Run a bundled script:The documentation asks the agent to read local files, directories, or repositories.
Skills are executable capability: when a skill activates, its instructions and scripts run with the agent's permissions — shell access, file system, and credentials. Before running a skill you did not author (from a registry, a colleague, oEvidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 91/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 61 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
This skill documents the Agent Skills open format — a standardized way to give AI agents new capabilities and expertise. Follow this workflow when creating or editing skills in this repository.
Authoritative source: agentskills.io/specification. The bundled specification is a working snapshot; check the authoritative source when currentness matters.
A skill is a directory containing, at minimum, a SKILL.md file:
skill-name/
├── SKILL.md # Required: metadata + instructions
├── evals/ # Required for new skills in this repository
├── scripts/ # Optional: executable code
├── references/ # Optional: documentation
├── assets/ # Optional: templates, resources
└── ... # Any additional files or directories
SKILL.md metadata or directory structure.SKILL.md; put conditional detail in focused reference files and state exactly when to read each one.description that says what the skill does, when it applies, and when it does not apply. For skills with meaningful overlap, name the nearest alternative or prerequisite in a ## When not to use section. Test the boundary with at least three should-trigger prompts and two should-not-trigger near-misses; keep these harness-specific trigger checks separate from portable output-quality evals. Read optimizing descriptions for trigger design.evals/evals.json with at least five representative output-quality cases. Each case needs a realistic prompt, an expected outcome, and observable assertions. Include edge cases that exercise risky or ambiguous behavior. Read evaluating skills for the eval format and iteration workflow.README.md: title, Why Install This Skill, What You Get, Quick Start (unless genuinely reference-only), Triggers, and Requirements. Keep it human-facing, concise, and free of agent-only instructions.evals/evals.json with at least five output-quality cases, and check that their expected outcomes and assertions test meaningful behavior. For an existing skill without evals, flag the gap but do not block the review solely for that legacy absence. Read evaluating skills before declaring the work complete.When implementing skill discovery, activation, or context management in an agent product, read client implementation guidance. Do not apply client conventions such as search paths as universal format requirements.
The SKILL.md file must contain YAML frontmatter followed by Markdown body content.
| Field | Required | Constraints |
|---|---|---|
name | Yes | Max 64 chars. Lowercase letters, numbers, and hyphens only. Must not start or end with a hyphen. Must match the parent directory name. |
description | Yes | Max 1024 chars. Non-empty. Describes what the skill does and when to use it. |
license | No | License name or reference to a bundled license file. |
compatibility | No | Max 500 chars. Indicates environment requirements. |
metadata | No | Arbitrary key-value mapping. |
allowed-tools | No | Space-separated string of pre-approved tools. (Experimental) |
name field rulesa-z, 0-9) and hyphens (-)--)description field rulescompatibility field rulesmetadata field rulesThe Markdown body has no format restrictions beyond being helpful to the agent. Recommended sections:
Keep SKILL.md under 500 lines and 5000 tokens. Move detailed reference material to separate files in references/.
Agents load skills in three stages:
name and description loaded at startup for all skillsSKILL.md loaded when activatedscripts/, references/, assets/ loaded on demandscripts/Executable code agents can run. Scripts should:
scripts/extract.py)references/Additional documentation loaded on demand. Keep individual files focused — agents load these when instructed, so smaller files save context.
references/ must be at or under 60,000 characters. When a reference grows past the cap, split it into focused files (e.g., references/<topic>-a.md, references/<topic>-b.md) and update SKILL.md so each new file is reachable and the load-on-demand instructions name the right file.assets/Static resources: templates, images, data files, schemas.
evals/Portable output-quality cases for the skill. New skills in this repository must include evals/evals.json with at least five cases; trigger-only checks belong in the harness-specific test set instead of this file.
Use relative paths from the skill root when referencing other files:
See [the specification](references/specification.md) for details.
Run a bundled script:
scripts/<script-name>
Keep file references one level deep from SKILL.md. Avoid deeply nested reference chains.
The description field is the primary mechanism for automatic skill selection. Clients can also support explicit activation. Follow these principles:
Feed domain-specific context into skill creation. Skills grounded in real project artifacts (runbooks, API specs, code review comments, actual failure cases) outperform ones synthesized from generic knowledge.
Focus on what the agent wouldn't know without the skill: project-specific conventions, domain-specific procedures, non-obvious edge cases. Don't explain general concepts the agent already knows.
scripts/ over instructions the agent improvises on each run. A test only catches what you already thought to check; a script takes the guess out of the loop entirelyScope skills like functions: one coherent unit of work that composes well with other skills. Too narrow → multiple skills needed for one task. Too broad → hard to activate precisely.
The highest-value content is often environment-specific corrections — things the agent will get wrong unless told otherwise. When an agent makes a mistake, add the correction to the gotchas section.
When output needs a specific format, provide a template inline or in assets/. Agents pattern-match well against concrete structures.
Skills are executable capability: when a skill activates, its instructions and scripts run with the agent's permissions — shell access, file system, and credentials. Before running a skill you did not author (from a registry, a colleague, or an LLM generation), read vetting third-party skills and treat it like any other dependency: inspect provenance, read the body and every script, and check what the skill reaches out to.
Use the skills-ref reference library to validate skills:
skills-ref validate ./my-skill
This checks that SKILL.md frontmatter is valid and follows all naming conventions.
For this repository, also run the bundled whole-repository checker:
ruby scripts/validate-skills.rb
It checks canonical top-level and bundle skills for frontmatter, supported fields, line limits, local links, and required README sections. Vendored profile skills under agent-council/profiles/skills/ are intentionally excluded because they follow the source repository's conventions.
If skills-ref is unavailable, do not claim a successful validator run. Perform and report the equivalent structural checks manually, or install and run the reference validator when the task permits it.
Frequently asked questions
This skill documents the Agent Skills open format — a standardized way to give AI agents new capabilities and expertise. Follow this workflow when creating or editing skills in this repository.
The source record exposes this install command: npx skills add https://github.com/magnus919/agent-skills --skill "agent-skills". Inspect the command and pinned source before running it.
Static rules flagged exec-script, write-files, read-files in the source; the page lists the matching lines and excerpts.
Alternatives
prowler-cloud/prowler
PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance
oaustegard/claude-skills
Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre
HKUDS/Vibe-Trading
Create, modify, and optimize quantitative trading strategies, then backtest and evaluate them.
vasilyu1983/AI-Agents-public
Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.