TL;DR: Only name and description were honored everywhere in SKILL.md frontmatter in a Bloom Security audit of 31 agentic clients, while safety fields like allowed-tools, disable-model-invocation, and hooks were inconsistently parsed or silently dropped. Declarative skill policies are therefore not portable controls unless each target runtime enforces them.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Bloom Security's research: SKILL.md frontmatter is not a stable security policy because most agentic clients ignore or reinterpret key control fields.
Why it matters: IAM and NHI teams need to treat agent skill files as client-specific configuration artifacts, because portability without parser parity creates false confidence about tool scope and invocation controls.
Context
A portable control file only works when every runtime interprets the same fields the same way. In agent ecosystems, the security problem is not the YAML syntax itself but the gap between what authors declare and what each client actually enforces. That gap matters directly for agent skills security because the skill file can look policy-rich while the consuming runtime ignores the policy.
Bloom Security's findings show a governance failure more than a single-product defect: one skill definition can carry different operational meaning across different agent clients. That makes developer laptops and shared skill directories part of the trust boundary, not just a convenience layer. In practice, the security posture follows the parser, not the spec.
Key questions
Q: How can security teams know if agent skill controls are actually working?
A: Look for evidence that skills are inventoried, risk rated, scanned before execution, and tied to a policy manifest or approval record. If teams cannot show which skills are live, who owns them, and what actions they can trigger, the programme is still operating on trust rather than control.
Q: Why do tool allowlists fail for AI agent access control?
A: Tool allowlists fail because they authorise the verb, not the object. An agent can be permitted to call a tool such as execute_sql while still targeting sensitive data or destructive commands inside that tool call. The security decision happens too early if it never inspects the resource the agent is actually affecting.
Q: What is the difference between allowed-tools and disable-model-invocation?
A: Allowed-tools defines which tools an agent may call at runtime, such as a search API or ticketing action. Disable-model-invocation blocks the agent from making model calls from within a skill or workflow, so the skill can only use its declared logic and tools. The first governs tool reach, the second governs whether model use is permitted at all.
Q: What signs show a skill policy was dropped by the parser?
A: A dropped skill policy usually shows up as the agent ignoring a declared restriction, calling tools that should have been denied, or reverting to a default policy with broader access. Other signs are missing policy metadata, unexpected model calls, and an approval or logging gap where the parser failed to carry the rule into enforcement.
Technical breakdown
Why SKILL.md frontmatter becomes a parser lottery
SKILL.md is meant to separate human-readable instructions from machine-readable policy, but that only works when the consuming parser understands the same schema as the authoring tool. In these client ecosystems, frontmatter keys can be dropped, accepted only to suppress warnings, remapped to different names, or honoured only under extra runtime conditions. That means the file can validate as YAML and still fail as a control surface. The result is not a broken document, but an unreliable security contract. See the Agent Skills Security Guide.
Practical implication: Treat frontmatter as client-specific configuration and test the exact runtime before trusting any security-relevant field.
How allowed-tools changes agent privilege in different runtimes
The allowed-tools field is the clearest example of policy drift because it can mean three different things depending on the client: an auto-approval allowlist, a scope restriction without approval bypass, or a parsed field that is later rewritten into a different internal vocabulary. In some runtimes, the same list can suppress user prompts for tool use; in others, it only limits which tools may be called; in others, the declared names no longer match the runtime registry. That makes tool governance dependent on parser semantics, not just on the text of the skill. Read AI agent runtime reference architecture.
Practical implication: Verify tool allowlists against the target client's actual tool namespace before allowing a skill into production use.
Why disable-model-invocation is a weak safety boundary across clients
disable-model-invocation is intended to stop a model from triggering a skill autonomously, but the audit shows that many clients ignore the field entirely or accept alternative spellings that do not port cleanly. That creates a dangerous split between author intent and runtime behaviour. A skill can be written as user-only in one client and become model-invocable in another without any visible change to the file content. The issue is not the presence of the field; it is the absence of consistent enforcement across the fleet.
Practical implication: Assume invocation controls fail open unless the target client explicitly documents and enforces them at runtime.
NHI Mgmt Group analysis
Parser parity is now a governance requirement, not a documentation detail. The central failure is not that SKILL.md exists, but that the same fields mean different things across runtimes. Once the parser becomes the authority, security reviews must focus on the client that will execute the skill, not the repository where the file was authored. Teams that skip runtime-specific validation are governing intent, not enforcement.
Phantom constraints create a false sense of least privilege. A skill can carry allowed-tools and disable-model-invocation flags that look like controls to reviewers but collapse into no-ops on many clients. That is especially dangerous in agentic environments because the same file can move between tools, machines, and directories without any change to its text. The result is a portable policy illusion that undermines both developer trust and security review quality.
Cross-client skill inheritance expands the identity boundary around agent workloads. When one skill directory is read by multiple clients, the skill is no longer bound to a single execution context. The intersection with agent runtime architecture is real: trust boundaries, tool brokering, and invocation policy all depend on the reader, not the author. Security teams should treat shared skill paths as multi-tenant policy surfaces.
Skill file semantics need a named concept: parser drift. The article shows a distinct failure mode where the same frontmatter key is silently accepted, ignored, renamed, or conditionally enforced depending on the client. That drift is what turns a declarative control into a probabilistic one. For practitioners, parser drift should be assessed as part of agent governance and software supply-chain review.
Agentic control files should be judged by enforceability, not expressiveness. A richer schema does not improve security if most clients cannot or do not enforce it. The practical question is whether the runtime can prove what it honoured, rejected, or remapped at load time. If it cannot, the file is advisory, and advisory controls are not a safe basis for production delegation.
What this signals
Parser drift is becoming a first-class control risk for agentic software. The security question is no longer whether a skill definition looks strict, but whether the client can enforce the same semantics everywhere that file travels. Teams should expect policy divergence whenever a shared artifact crosses client boundaries, especially when tool invocation is involved.
Agent governance will increasingly need runtime attestation, not just static review. A declarative file that cannot prove what the parser honoured is not a sufficient basis for delegation, because enforcement has moved from the file to the loader.
Parser drift: a skill file is parsed successfully but the runtime reads a different set of fields, or reads the same fields with different semantics. That creates a governance gap where the control exists in text but not in execution.
For practitioners
- Validate frontmatter enforcement in the target client Test every security-relevant SKILL.md field in the exact runtime that will load it, and record whether the client honours, ignores, remaps, or conditionally applies each field.
- Inventory agent clients on developer endpoints Map which coding assistants and agent runtimes are installed on each endpoint so you can spot mixed parser behaviour against the same shared skill directory.
- Restrict shared skill directories to approved runtimes Limit cross-client reuse of skill folders unless you have verified that each reader enforces the same frontmatter policy and tool namespace.
- Treat unknown fields as compatibility failures Build linting and review workflows that flag unsupported frontmatter keys instead of silently accepting them, because silent acceptance hides broken security intent.
Key takeaways
- The core risk is not malformed syntax but divergent parser behaviour, which turns the same SKILL.md file into different security policies across clients.
- Bloom Security's audit of 31 agentic clients found that only name and description were honoured everywhere, while controls like allowed-tools and hooks were not reliably enforced.
- Agent skill governance has to move from author intent to runtime verification, because a portable skill file without parser parity is not a portable control.
Related NHI Mgmt Group resources: Agent Skills Security Guide · AI agent runtime reference architecture · AI Agent Contracts · AI Coding Tools and Secrets Sprawl
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 addresses the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Agent skill files can silently expand or reduce tool authority across runtimes. |
| ASI02 — Tool Misuse | Allowed-tools semantics vary enough to change which tools an agent may use. | |
| ASI10 — Rogue Agents | A skill can become effectively rogue when client parsing overrides author intent. | |
| Recommendation — Audit skill loaders for privilege changes that appear only after parser interpretation. Test tool allowlists in the target runtime before relying on them as a control. Require runtime checks that prove skills cannot execute outside their intended scope. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Parser drift changes the effective permissions and authorizations granted to an agent skill. |
| GV.OV-01 — Outcomes are Monitored | Mixed client support makes continuous oversight essential for skill enforcement. | |
| Recommendation — Validate that agent skills receive only the permissions their runtime actually enforces. Monitor whether declared agent controls remain effective after distribution across clients. | ||
Key terms
- SKILL.md: A Markdown-based skill definition file used by agentic clients to package instructions and frontmatter metadata in one portable artifact. In practice, the body and the metadata can be interpreted differently by different runtimes, so security intent depends on parser support rather than file presence alone.
- Allowed Tools: Allowed Tools is the list of tools an agent or workflow is permitted to call. It constrains runtime action by limiting tool invocation to declared functions, APIs or integrations, so unauthorised tools are blocked even if the model can describe them.
- Disable Model Invocation: Disable Model Invocation is a control that prevents a skill or workflow from calling a model during execution. It is used where deterministic behaviour is required, so the runtime can execute only its scripted steps and approved tools, without passing control back to an LLM.
- Hook: An event-driven action that fires when a tool or session event occurs. In AI assistant systems, hooks can observe, modify, or redirect tool activity, which makes them powerful control points and high-risk interception points if they are not tightly restricted and audited.
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, and secrets management. It helps practitioners translate identity controls into runtime enforcement across modern agent and workload environments.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org