Lab · ax-check rules
Checks for what agents read and run.
ax-check reads your tool descriptions, runs your command-line program and checks your instruction files the way an AI agent would, then lists what could trip the agent up.
ax-check is documented ahead of its release, so there is no install command yet. The one check you can run here today is the MCP catalogue audit on the Connect page.
Three groups of rules
D
Descriptions and schemas
Reads what an agent reads when it picks a tool: MCP tool lists, OpenAPI documents, SKILL.md files and CLI help.
Run with
ax-check lintC
CLI behaviour
Runs your command-line program the way an agent does, with no terminal and no typed input, and checks what comes back.
Run with
ax-check probe-cliF
Drift and facts
Checks that files such as AGENTS.md, llms.txt and SKILL.md still match reality: links, packages, tools, commands and flags.
Run with
ax-check drift
How to read a finding
How serious (severity)
| Severity | What it means |
|---|---|
| error | Something is broken or missing.Example: a failed command that exits with status 0. |
| warn | A gap that leaves the agent guessing.Example: allowed values given only in prose. |
| info | Worth knowing, but may be fine for your product. |
Some rules are milder where there is less room, such as a one-line CLI summary.
Kind of check
| Kind | What it means |
|---|---|
| Conformance | Checks a written rule or spec.A finding is a fact about the file. |
| Heuristic | A pattern match on words or counts.A prompt to look, not a verdict. |
| Observed | What a program or server did when the check ran.A later run can differ. |
D · Descriptions and schemas
Run with ax-check lint
Missing description
A tool, operation, command or skill has no description, so an agent has nothing to choose it by.
error · Conformance
Placeholder description
The description is a placeholder such as "TODO", "N/A", "description" or a repeated word like "ai ai".
error · Heuristic
Description only restates the name
Every meaningful word in the description already appears in the name, so the description adds nothing an agent can use.
warn · Heuristic
Does not say when to use it
The description never says when this is the right choice, for example with "Use this when ...".
warn · Heuristic
Does not say when not to use it
The description never says when this is the wrong choice, so near-miss tasks select it too.
warn · Heuristic
No neighbouring tool named
In a catalogue with more than one entry, the description does not name any other entry to use instead.
warn · Heuristic
Closed vocabulary hinted in prose, not declared as an enum
A parameter description lists allowed values ("one of", "e.g. 'x'", "such as") but the schema declares no enum.
warn · Heuristic
Parameter has no description
An input parameter, property or flag has no description, so an agent must guess its meaning and format.
warn · Conformance
Side-effect annotation contradicts the description
readOnlyHint is true, or destructiveHint is false, while the opening verb of the description (or of the name) says it deletes, sends, creates or changes something.
error · Heuristic
No side-effect annotations
The tool declares no readOnlyHint or destructiveHint, so clients fall back to the cautious defaults.
info · Conformance
openWorldHint false for a tool that reaches outside
openWorldHint is false while the name or first sentence mentions the web, a URL, email, a webhook or a third party.
warn · Heuristic
Object schema does not set additionalProperties to false
An input object lists its properties but leaves additionalProperties unset, so a misspelt argument is silently accepted.
warn · Conformance
Near-duplicate descriptions
Two entries have descriptions so similar that an agent has no text to tell them apart.
warn · Heuristic
Duplicate name
Two entries share the same name or operationId, so a call by name is ambiguous.
error · Conformance
Description too short
The description has fewer than six words, too few to say what the item does and when to use it.
warn · Heuristic
Description length outlier
The description is far longer than the others in the same catalogue, which costs context on every turn.
info · Heuristic
Context footprint estimate
Reports the bytes and approximate tokens the whole surface costs an agent before it does any work.
info · Heuristic
Required property not defined
The schema marks a property as required but never defines it, or the required list is malformed.
error · Conformance
Example does not match the schema
A published example call fails the schema it illustrates, so an agent copying it gets an error.
warn · Conformance
Promotional language in a description
The description uses praise such as "world-class", "the best tool" or "blazing fast", which biases selection without adding facts.
warn · Heuristic
Many visible parameters
The tool exposes more than 15 parameters, and every visible parameter is one more an agent may fill wrongly.
info · Heuristic
SKILL.md frontmatter missing or invalid
SKILL.md has no YAML frontmatter, the YAML does not parse, or name or description is missing.
error · Conformance
Skill name breaks the naming rules
The skill name is longer than 64 characters, is not lowercase letters, digits and single hyphens, or does not match its folder.
error · Conformance
Skill description over 1,024 characters
The frontmatter description is longer than the 1,024 characters the specification allows.
error · Conformance
Bundled reference missing
SKILL.md links to a bundled file that does not exist, or points outside the skill folder.
error · Conformance
SKILL.md over 500 lines
SKILL.md is longer than the 500 lines the specification recommends, so activation loads a lot of context.
info · Conformance
C · CLI behaviour
Run with ax-check probe-cli
Command hangs without a terminal
A probe did not finish within the timeout with no TTY, which usually means it is waiting for input.
error · Observed
Error exits with status 0
An unknown command, unknown flag or missing value exited with status 0, so an agent reads failure as success.
error · Observed
Error text not on stderr
On an error, the message went to stdout and stderr was empty, so it mixes with output a script or agent parses.
warn · Observed
Error does not name a next step
The error output names no next step: no valid values, no command to run, no pointer to help.
warn · Heuristic
Unknown command gives no suggestion
An unknown subcommand produced no "did you mean", no list of valid commands and no pointer to help.
warn · Heuristic
No machine-readable output flag
Help documents no --json, --format json or similar flag, so an agent must parse text meant for people.
warn · Heuristic
Documented JSON output does not parse
The command succeeded with the documented JSON flag but stdout was not valid JSON or JSON lines.
error · Observed
No dry-run flag documented
Help documents no --dry-run or equivalent, so an agent cannot rehearse a change before making it.
info · Heuristic
Help is not reachable
None of --help, -h or help printed usage text with exit status 0.
error · Observed
ANSI colour codes without a terminal
Output contained ANSI escape sequences although stdout and stderr were not terminals.
warn · Observed
NO_COLOR not honoured
With NO_COLOR=1 set, output still contained ANSI colour codes.
warn · Observed
Version output is not plain
--version did not print a version number on its own first line, so a script cannot read it reliably.
info · Observed
Advertised JSON output not verified
Help advertises machine-readable output, but this run did not validate it: the json probe was not enabled, could not be built, or produced no output.
info · Observed
F · Drift and facts
Run with ax-check drift
Claimed URL is broken
A URL in the file returned 404 or 410, or its host did not resolve.
error · Observed
Claimed URL could not be verified
A URL returned an access-denied, rate-limit or server error, or timed out, so it could not be verified.
info · Observed
Claimed npm package does not exist
An install command names an npm package that the npm registry does not know.
error · Observed
Claimed PyPI package does not exist
An install command names a PyPI package that PyPI does not know.
error · Observed
Claimed package version does not exist
A manifest or install command pins a package version the registry does not have.
error · Observed
Claimed MCP tool is not served
The file names an MCP tool that the live server's tools/list does not return.
error · Observed
Served MCP tool is not mentioned
The live server serves a tool that none of the checked files mention.
info · Observed
Claimed CLI command does not exist
The file shows a subcommand that the CLI's --help does not list.
error · Observed
Claimed CLI flag does not exist
The file uses a flag that neither the CLI's --help nor the subcommand's --help documents.
error · Observed
Linked local file is missing
A relative link or manifest path points at a file that does not exist.
error · Conformance
Claims extracted but not verified
Offline mode found URLs, packages or tool names that need the network to verify.
info · Heuristic
What the checks cannot tell you
The description rules read English phrases, so they miss some cases and flag others. Each rule page lists its known misses. By default the CLI probes run only --help and --version, under your own account and outside a sandbox, so run them in a container for a CLI you haven’t reviewed. No check runs a model, so none can tell you whether an agent will pick your tool. For that, test one real job, for example with the Open Agent-Readiness Rubric.
ax-check and its rule descriptions are by Himadri Mishra. The licence will be confirmed before the source repository is published.
