This skill describes a plugin architecture
Claims to do
Plugin Structure for Claude Code: Claude Code plugins follow a standardized directory structure with automatic component discovery. Understanding this structure enables creating well-organized, maintainable plugins that integrate seamlessly with Claude Code.
Actually does
This skill provides extensive documentation on the standardized directory structure, manifest configuration (`.claude-plugin/plugin.json`), component organization (commands, agents, skills, hooks), and naming conventions for Claude Code plugins. It details how components are auto-discovered and how to use `${CLAUDE_PLUGIN_ROOT}` for portable path references. The skill itself does not execute any commands, access external data, or interact with external services.
The skill describes a plugin architecture allowing 'hooks' to execute arbitrary shell commands in response to various Claude Code events. This capability, if implemented by a malicious plugin, could lead to arbitrary code execution.
"type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/validate.sh"The skill details how 'MCP Servers' can be configured to execute arbitrary commands and arguments to start processes. A malicious plugin could leverage this to run executables or establish persistent services.
"command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/servers/server.js"]The described plugin architecture includes a `scripts/` directory for helper scripts, which can be executed by various plugin components. This is a common but powerful mechanism for extending plugin functionality.
scripts/ # Helper scripts and utilities
The skill's description claims it can be used to 'create a plugin' or 'scaffold a plugin,' but its content is purely informational and does not perform any file system operations or code generation to actually create or scaffold a plugin.
The entire skill content consists of descriptive text, examples of file structures, and best practices, with no executable code or commands for plugin creation or scaffolding.
[](https://mondoo.com/ai-agent-security/skills/github/anthropics/claude-code/plugin-structure)<a href="https://mondoo.com/ai-agent-security/skills/github/anthropics/claude-code/plugin-structure"><img src="https://mondoo.com/ai-agent-security/api/badge/github/anthropics/claude-code/plugin-structure.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/anthropics/claude-code/plugin-structure.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.