An Agent Skill is a directory containing a SKILL.md file: YAML frontmatter with the required fields "name" and "description" plus Markdown instructions; optionally, the directories scripts/ (executable code), references/ (documentation) and assets/ (templates, data) are added. Agents load skills via progressive disclosure in three stages: at startup only the name and description (around 100 tokens), on activation the full instructions, and scripts and reference files only when needed – scripts are executed via the shell, and only their output enters the context. The format was developed by Anthropic, released as an open standard (agentskills.io) and is supported by numerous agents, including Claude and Claude Code, GitHub Copilot, VS Code, Gemini CLI and OpenAI Codex.
Securing Agent Skills
How to vet, harden and govern packaged capabilities for AI agents – instructions plus executable code in the SKILL.md format – before deployment and across their lifecycle.
Agent Skills are an open format for giving AI agents new capabilities: a skill is a directory containing a SKILL.md file with metadata and instructions, which can additionally bundle scripts, reference documents and templates. Originally developed by Anthropic and released as an open standard, the format is now supported by a wide range of agent products – from Claude Code and GitHub Copilot to Gemini CLI and OpenAI Codex. But this also means: whoever installs a skill installs instructions and executable code written by someone else – with the same consequences as any software installation, plus a new attack surface: natural-language instructions that directly steer the agent's behavior. This article puts the risks into perspective and shows what vetting and governance of Agent Skills can look like.
The Essentials at a Glance
Six topic blocks — tap to expand.
Vetting approaches at a glance
Four approaches before a skill makes it into use — tap a tab.
- A complete review of all files in a skill: SKILL.md, referenced Markdown files, scripts and resources.
- Looking for adversarial instructions (ignore security rules, hide actions), network access, hardcoded credentials, unexpected redirect targets and exfiltration patterns.
- Bundled scripts should be executed in an isolated sandbox to verify that their behavior matches the declared purpose.
- For operations, additionally isolated environments such as containers without network access are a good fit.
- Only explicitly reviewed and approved skills make it into use.
- Checksums protect the integrity of reviewed states and are verified at deployment.
- Signed commits in the skill repository also protect integrity; in production, skills are pinned to specific versions.
Standards & Sources
The content on this page is based on the following publicly available guides and studies.
Agent Skills
Primary source on architecture, SKILL.md structure, progressive disclosure, runtime environments and security considerations for Agent Skills.
Skills for enterprise
Governance guide with risk-tier assessment, an eight-step review checklist, a lifecycle model, checksum/signature recommendations and skill-registry requirements.
Agent Skills Specification
Format specification: required and optional frontmatter fields (including the experimental "allowed-tools"), directory structure and progressive-disclosure stages.
LLM01:2025 Prompt Injection
Defines direct and indirect prompt injection as well as countermeasures such as privilege control, human approvals and segregation of external content.
OWASP Top 10 for Agentic Applications 2026
Risk catalog for agentic applications (ASI01–ASI10); source of the "Least Agency" governance principle.
Agent Skills: Explore security threats and controls
Practice-oriented threat and control catalog for Agent Skills, including sandboxing in containers, malware/secret scanning and restrictive file permissions.
Adopting Agent Skills securely?
If you are deploying skills in your organization or want to build an approval process for them, we are happy to support you – from skill reviews to governance. Get in touch for an initial consultation.