Skip to content
Back to skills

Agent Readiness

ASecurity

Score one repo against the agent-readiness catalogue (docs/readiness.md) with the deterministic scorer, post one ReadinessSnapshot and record one run. Requires --repo org/repo. No model judgment, no task creation, no repo files.

  • 16 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsbashgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add app-vitals/shipwright --skill agent-readiness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Readiness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Readiness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/app-vitals-agent-readiness/badge)](https://www.skillsdirectory.com/skills/app-vitals-agent-readiness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-readiness
description: "Score one repo against the agent-readiness catalogue (docs/readiness.md) with the deterministic scorer, post one ReadinessSnapshot and record one run. Requires --repo org/repo. No model judgment, no task creation, no repo files."
argument-hint: "--repo org/repo"
---

# Agent Readiness

Score **one repo** against the agent-readiness catalogue ([docs/readiness.md](../../../../docs/readiness.md)):
run every detector, compute the level, post one `ReadinessSnapshot` and record one `RepoCronRun`.
All of it is done by `scripts/agent-readiness-scorer.ts`. **No model judgment** enters the score:
your job is to run the script and relay its output.

Run by the `agent-readiness` system cron, one task per repo, as
`/shipwright:agent-readiness --repo {repo}`. It is exempt from two points of the system-cron
contract (fix tasks and the repo doc; its run still carries metrics); see "System-cron contract" in
[docs/task-store.md](../../../../docs/task-store.md).

## Setup: Parse Arguments

`--repo org/repo` is **required**. If it is missing, print the following and stop without
cloning, scoring or doing any other work:

```
Usage: /shipwright:agent-readiness --repo org/repo
```

## Step 1: Resolve a read-only checkout

Find the repo's clone by matching each `repos/*/` `origin` remote against `org/repo` (clone it
if none matches) and `git pull` it. Score that checkout directly; **never** create a branch,
worktree, commit or PR, and never edit a file in it.

## Step 2: Run the scorer

```bash
bun run "${CLAUDE_PLUGIN_ROOT}/scripts/agent-readiness-scorer.ts" \
  --repo org/repo --root repos/<repo> \
  --task <task-id> --scheduled-for <slot>
```

`<task-id>` is the system-cron task you were dispatched on, `SC-agent-readiness-{slot}-{owner}-{repo}`;
`<slot>` is its compact UTC slot (`YYYYMMDDTHHMMSSZ`) as ISO (`2026-11-14T09:00:00Z`). Pass both so
the run record carries `taskId` and `scheduledFor`. With no task id (a manual run), omit both flags.

The script resolves the commit (`git rev-parse HEAD`), runs the file-based detectors and the
GitHub and task-store detectors, computes the level with `computeLevel`, posts the snapshot and
records the run (outcome `ok`, metrics `level`, `checks_passing`, `checks_failing`,
`checks_unknown`). A repo with no owning system cron enabled for it (`agent-readiness` itself does
not count) is not scored: the run is `no_op`, no snapshot is posted and the script prints
`{"outcome":"no_op"}`. A detector whose source is unreachable fails its
checks rather than aborting. It exits non-zero, after recording a `failed` run, if a post fails.
Scoring one repo stays under five minutes, excluding the clone.

## Step 3: Report

Print the script's one-line JSON (`level`, `passing`, `failing`, `unknown`) and the level name from the
catalogue. Do not interpret, adjust or re-score the result.

When you have a task id, write **one** note on it, in exactly this format (no other text), with
`PATCH $SHIPWRIGHT_TASK_STORE_URL/tasks/{task-id}` and body `{"note": "..."}`:

```
agent-readiness: level {level}, {passing} passing, {failing} failing, {unknown} unknown
```

For a `no_op` run the note is `agent-readiness: no_op, repo not covered by an owning cron`.

## Rules

- **No model judgment** in scoring: the result is whatever the script computes.
- **No task creation:** the cron queues no tasks and has no fix step; owners fix failing checks through their own crons.
- **No repo files:** nothing is written to the scanned repo and no doc PR is opened.
- **No local state:** the run and the snapshot live in the task store only.

Files in this skill

  • SKILL.content.test.ts1.2 KB
  • SKILL.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.