.agents/skills/autonomy--runtime-auditor/SKILL.md
Audit whether an AI agent can go from a clean checkout to a runnable application or local runtime equivalent, without unsafe provisioning or destructive setup. Use when evaluating development or staging-like runtime readiness, onboarding a new project, or checking whether the agent can install dependencies, start services, and perform smoke checks. Do not use when evaluating test strategy and coverage depth (use autonomy--test-readiness-auditor) or when debugging a live production issue (use autonomy--sre-agent).
npx skillsauth add patterninc/code-mint autonomy--runtime-auditorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Evaluate whether an agent can go from a clean checkout to a safe local runtime or staging-like equivalent, or to the closest safe local simulation of that environment. This skill focuses on install, setup, local services, startup, smoke checks, and infrastructure inspection. It does not require cloud provisioning.
Do not treat runtime readiness as a pure checklist exercise. Inspect the repository first, then ask only for the operational context the codebase cannot answer confidently.
When runtime facts are unclear, ask the developer for freeform explanation, examples, or a short walkthrough of how they actually get the system running today. Prefer prompts like:
Capture those answers in the report as evidence, not just as assumptions.
Before evaluating details, determine which target is realistic:
If the repository does not make the target obvious, ask the developer which target is intended and why. Use the safest meaningful target available; do not assume full cloud-backed staging is required.
If the repository cannot answer these confidently, ask the developer and record the answers:
For concrete smoke-test patterns and safety boundaries, see references/smoke-test-guide.md.
Check whether the application dependencies can be installed autonomously:
Cross-reference autonomy--env-auditor findings if that report exists.
The goal is inspection-readiness, not cloud provisioning.
AGENTS.md or READMEgh for GitHub, glab for GitLab)Only perform safe, local checks. Do not execute destructive operations.
Treat a smoke test as the smallest non-destructive check that gives meaningful confidence the runtime is usable. Prefer this order:
Examples:
Stop and mark the step as requiring human input instead of improvising if the only available smoke path would:
Assess whether the following would succeed:
| Step | Evaluate By | |---|---| | Install dependencies | Verify the command exists and appears runnable from a clean checkout | | Load environment | Verify the documented env path exists or cross-reference the env audit | | Start local dependencies | Check Docker Compose, setup scripts, or equivalent startup docs | | Run migrations | Check whether the command exists and whether it is safe for a local or ephemeral database | | Start app | Only attempt if the prior steps are safe and sufficient | | Smoke test app | Check for documented smoke path, its prerequisites, its expected success signal, and whether it is safe to execute | | Inspect infra context | Review IaC or companion repo context without provisioning |
Record which steps would succeed, which are blocked, and which require human decisions. When a smoke path is partial, say exactly what evidence is available today and what missing step prevents higher confidence.
Ensure the report directories exist: mkdir -p .agents/reports/completed && touch .agents/reports/.gitkeep .agents/reports/completed/.gitkeep
Ensure .gitignore ignores generated report contents while preserving the directories with their .gitkeep files.
Write the report to .agents/reports/autonomy--runtime-auditor-audit.md:
# Runtime Audit Report
**Repository:** [name]
**Date:** [timestamp]
**Overall Status:** [Pass / Partial / Fail]
## Summary
- Agent Can Reach A Runnable Environment: [Yes / Partially / No]
- Local Simulation Available: [Yes / Partially / No]
- Runtime Smoke Path Available: [Yes / Partially / No]
## Top Blockers
[Highest-severity blockers preventing install, startup, or smoke verification]
## Human Decisions Needed
[Cloud topology choices, shared environment ownership, unsafe commands, or approval-gated setup]
## Safe To Automate
[Low-risk setup, startup, or documentation tasks that can proceed immediately]
## Dependency Management
[Assessment with specific gaps]
## Runtime Configuration
[Assessment with specific gaps]
## Infrastructure Visibility
[Assessment with specific gaps]
## Local Services
[Assessment with specific gaps]
## Startup and Smoke Checks
[Assessment with specific gaps]
## Cold Start Results
| Step | Status | Notes |
|---|---|---|
| Install | [Pass/Partial/Fail] | [details] |
| Env Setup | [Pass/Partial/Fail] | [details] |
| Local Dependencies | [Pass/Partial/Fail] | [details] |
| Migrations | [Pass/Partial/Fail] | [details] |
| Start App | [Pass/Partial/Fail] | [details] |
| Smoke Test | [Pass/Partial/Fail] | [details] |
| Infra Inspection | [Pass/Partial/Fail] | [details] |
## Findings
### [Finding Title]
- **Severity:** [Critical / High / Medium / Low]
- **Current State:** [what exists]
- **Required State:** [what should exist]
- **Recommended Action:** [specific step]
- **Next Skill / Step:** [for example, run `autonomy--runtime-creator`]
## Next Steps
Run `autonomy--runtime-creator` to remediate findings.
After writing the report, update docs/onboarding-checklist.md and .agents/code-mint-status.json with the current smoke_path outcome status and date. Optionally update docs/skills-status.md if the repository keeps the compatibility view.
development
Best practices and template for creating new agent skills in the code-mint framework. Use when creating a new skill, authoring SKILL.md files, or structuring skill directories. Do not use when editing an existing skill's logic (edit directly instead) or when creating AGENTS.md files (use legibility--enhancer).
development
Step-by-step playbook that transforms a repository for AI-first development. It scopes the repository, runs read-only audits, maintains an outcome-driven checklist, guides collaborative improvements, and verifies the results with evidence. Use when onboarding a new repository, when a user says "set up this repo for agents," or when starting a harness engineering transformation. Do not use when the repo is already onboarded and the goal is to run a single specific skill.
development
Collaboratively walks a human through creating high-quality AGENTS.md files throughout a codebase, implementing progressive disclosure architecture. Use when creating or updating AGENTS.md files, onboarding a repository to agent-first practices, or remediating findings from legibility--auditor. Do not use when evaluating existing documentation coverage (use legibility--auditor) or when creating agent skills (use meta--skill-creator).
development
Audits a repository's documentation coverage and agent-readiness by evaluating AGENTS.md placement, progressive disclosure quality, and UX intent documentation. Use when evaluating repository structure, auditing documentation coverage, assessing agent-readiness, or onboarding a codebase to agent-first practices. Do not use when creating or editing AGENTS.md files directly (use legibility--enhancer instead).