Lint an AI agent manifest (JSON) for least privilege. Flags wildcard or root permissions, undeclared or unused tool grants, sensitive write paths and inline secrets. Use when the user asks to review, harden or fix agent or tool permissions.
97%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
The input is one JSON object (UTF-8, no BOM, no duplicate keys, at most 1 MiB, nesting depth at most 32).
| Field | Required | Rule |
|---|---|---|
name | yes | lowercase letters, digits and single hyphens (^[a-z0-9]+(?:-[a-z0-9]+)*$), 1 to 64 characters |
version | yes | Semantic Versioning 2.0.0 string |
description | yes | string of 1 to 1024 characters |
permissions | yes | array of permission strings: what the agent may do overall |
tools | yes | array of 1 to 128 objects |
tools[].name | yes | ^[a-z][a-z0-9_]{0,63}$, unique |
tools[].description | yes | string, at least 10 characters |
tools[].permissions | yes | array of permission strings, each one also listed in the manifest-level permissions |
env | no | array of environment variable names (^[A-Z][A-Z0-9_]*$), never values |
fs:read:<path> and fs:write:<path>: <path> starts with /.net:<host>: <host> matches ^[a-z0-9.-]+$, or is *.shell:<command>: <command> matches ^[a-z0-9._-]+$, or is *.env:<NAME>: <NAME> matches ^[A-Z][A-Z0-9_]*$.{
"name": "triage-bot",
"version": "1.2.0",
"description": "Triage support tickets.",
"permissions": ["net:api.example.com"],
"tools": [
{
"name": "search",
"description": "Search tickets.",
"permissions": ["net:api.example.com"]
}
],
"env": ["API_TOKEN"]
}