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
Findings are sorted by pointer in document order, then by rule. A pointer escapes ~ as ~0 and / as ~1.
| Rule | Severity | Meaning |
|---|---|---|
| AM001 | error | A required field is missing or invalid, tools is empty or has more than 128 entries, or a tool object is invalid. |
| AM002 | error | A manifest-level permission has * in its value, or is fs:read:/ or fs:write:/. |
| AM003 | error | A tool permission is not exactly equal to a manifest-level permission. |
| AM004 | warning | A manifest-level permission is not used by any tool. |
| AM005 | error | A tool name is duplicated; the pointer is the later occurrence. |
| AM006 | error | An env entry is not a valid variable name. An entry with = means a value was pasted; it is never echoed. |
| AM007 | error | A permission is not a string or has invalid syntax (the message quotes at most 64 characters). |
| AM008 | error | An fs:write permission targets /, /etc, /usr, /bin, /sbin, /boot, /sys, /proc, /root, anything under them, a path with a .. segment, or a path containing /.ssh. Paths are normalised first, so //etc/passwd and /./etc/passwd are caught. |
| AM009 | warning | A tool description is shorter than 10 characters. |
net:* becomes net:api.example.com and fs:read:/ becomes fs:read:/workspace/docs. Ask the user for the real value.fs:write:/workspace/out; never to system folders, .. paths or .ssh.