CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/agent-manifest-lint

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.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

manifest-format.mdreferences/

Manifest format

The input is one JSON object (UTF-8, no BOM, no duplicate keys, at most 1 MiB, nesting depth at most 32).

FieldRequiredRule
nameyeslowercase letters, digits and single hyphens (^[a-z0-9]+(?:-[a-z0-9]+)*$), 1 to 64 characters
versionyesSemantic Versioning 2.0.0 string
descriptionyesstring of 1 to 1024 characters
permissionsyesarray of permission strings: what the agent may do overall
toolsyesarray of 1 to 128 objects
tools[].nameyes^[a-z][a-z0-9_]{0,63}$, unique
tools[].descriptionyesstring, at least 10 characters
tools[].permissionsyesarray of permission strings, each one also listed in the manifest-level permissions
envnoarray of environment variable names (^[A-Z][A-Z0-9_]*$), never values

Permission strings

  • 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_]*$.

Minimal example

{
  "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"]
}

SKILL.md

tile.json