Index of every page on this site: llms.txt
All skills
Run it yourself

Audit or design agent-facing product capabilities: action/context parity, discoverable contracts, safe mutations, verifiable outcomes, and recovery. Use for explicit agent-readiness reviews of apps, repos, CLIs, APIs, MCP/A2A integrations, or Agent Skills; not every general code or documentation task.

Use this Skill: https://skilld.dev/gh/tristanmanchester/agent-skills/agent-use

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescli-tui-readiness.md

≈531 tokens on demand. Your agent reads this file only when SKILL.md points to it.

CLI and TUI readiness

Use this when the agent surface is a command-line app, terminal UI, developer tool, build/deploy command, package manager, or local automation script.

Agent contract

A good CLI gives agents a stable machine mode without making humans suffer.

Required patterns:

  • --help and subcommand --help are complete and stable.
  • --version returns the tool version and optionally API/schema version.
  • Non-interactive mode exists: --yes, --no-input, --non-interactive, or safe defaults.
  • JSON or schema-backed output exists: --output json, --json, or --format json.
  • Data goes to stdout; progress, diagnostics, prompts, and errors go to stderr.
  • Exit codes are documented and stable.
  • Color, spinners, pagers, cursor controls, and TTY-only UI can be disabled automatically in machine mode.
  • Large lists are bounded by default and support --limit, --cursor, --page, --fields, or equivalent.
  • Mutations support dry-run/preview, idempotency, and clear verification output.

TUI-specific patterns

TUIs are often hostile to agents unless they expose an alternate control plane.

Good options:

  • A CLI subcommand that performs every important TUI action.
  • A local HTTP/API/socket control plane with schemas.
  • Scriptable command palette entries.
  • Exportable state snapshots.
  • Log files and artifact directories with stable paths.
  • No reliance on pixel coordinates, terminal dimensions, animation timing, or hidden hover text.

Error envelope

In JSON mode, errors should be parseable.

{
  "error": {
    "code": "validation_failed",
    "message": "Name is required.",
    "retryable": false,
    "remediation": "Pass --name.",
    "details": {"field": "name"},
    "correlation_id": "req_123"
  }
}

Design checklist

  • Can an agent discover all commands without reading source code?
  • Can it run a read-only command safely?
  • Can it preview a mutation?
  • Can it verify final state from structured output?
  • Can it resume or retry without duplicate side effects?
  • Can it run in CI without a TTY?
  • Are secrets redacted from stdout/stderr/logs?

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill 'agent-use' is a comprehensive toolkit for auditing and designing agent-ready systems. It includes documentation, templates, and Python scripts for scanning repositories and websites. Security analysis found no malicious intent; identified network and command execution patterns are aligned with the skill's primary purpose as an auditing tool.

  • Socket1mo

    1 alert: gptAnomaly

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 3323bc9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Steadyupdated last month
metadata
{
  "version": "3.0.0",
  "reviewed": "2026-09-13"
}
Other metadata
compatibility
Local helper scripts require Python 3.10+; structural validation also requires PyYAML 6.0.3 or later in major 6. Network and execution checks need separately authorised tools and environments.

README badge

README badge for tristanmanchester/agent-skills/agent-use