audit_rules_file
Audit an AI agent rules file (AGENTS.md, CLAUDE.md, .cursorrules, SKILL.md, copilot-instructions.md) for invisible Unicode Tag stego, Bidi overrides, non-emoji zero-width controls, embedded secrets, dangerous shell payloads, and Context Tax token bloat.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "audit_rules_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sarif | No | If true, include SARIF 2.1.0 report. | |
| content | Yes | Raw UTF-8 text content of the rules file. | |
| fileName | No | Filename label (default: AGENTS.md). | |
| sanitize | No | If true, also return sanitizedContent with invisible backdoors stripped while preserving compound Emoji. | |
| maxTokens | No | Advisory Context Bloat threshold in estimated tokens (default: 4000). |