Skip to main content
ClaudeWave
alipajand avatar
alipajand

agent-readiness-action

View on GitHub

GitHub Action that scores how ready a repository is for AI coding agents and checks its agent instruction files. Deterministic, no LLM.

SubagentsOfficial Registry1 stars0 forks● JavaScriptMITUpdated today
ClaudeWave Trust Score
95/100
✓ Verified
Passed
  • ✓Open-source license (MIT)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Topics declared
  • ✓Documented (README)
Last scanned: 10/13/2026
Install as a Claude Code subagent
Method: Clone
Terminal
git clone https://github.com/alipajand/agent-readiness-action && cp agent-readiness-action/*.md ~/.claude/agents/
1. Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
2. Start a new Claude Code session to load the agents.
3. Delegate work to them with the Task/Agent tool or by name.
Use cases

Subagents overview

# agent-readiness-action

[![version](https://img.shields.io/github/v/release/alipajand/agent-readiness-action?label=version&color=blue)](https://github.com/alipajand/agent-readiness-action/releases)
[![tests](https://img.shields.io/badge/tests-112%20passing-brightgreen)](https://github.com/alipajand/agent-readiness-action/actions/workflows/ci.yml)
[![coverage](https://img.shields.io/badge/coverage-55%25-yellow)](https://github.com/alipajand/agent-readiness-action/actions/workflows/ci.yml)
[![CI](https://github.com/alipajand/agent-readiness-action/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/alipajand/agent-readiness-action/actions/workflows/ci.yml)
[![CodeQL](https://github.com/alipajand/agent-readiness-action/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/alipajand/agent-readiness-action/actions/workflows/codeql.yml)
[![license](https://img.shields.io/github/license/alipajand/agent-readiness-action?color=blue)](LICENSE)

## What it is

A GitHub Action that checks how ready a repository is for AI coding agents (Claude Code,
Cursor, Codex, Copilot, and similar). It bundles two deterministic engines:

- [agent-readiness-kit](https://github.com/alipajand/agent-readiness-kit) scores the
  repository from 0 to 100: instruction files, architecture notes, scripts, tests, safety
  boundaries, and more. Lockfiles, version pins, test runners, linters, and formatters are
  scored on the files of each detected ecosystem (Node.js, Python, Go, Rust). It prints a
  category breakdown in the log and job summary.
- [agent-context-doctor](https://github.com/alipajand/agent-context-doctor), with
  `context-audit: 'true'`, checks the instruction files themselves: placeholders, risky
  directives, contradictions, stale commands, pasted secrets, hidden Unicode, and risky
  Claude Code and MCP configuration such as `bypassPermissions`, hooks that run remote
  scripts, or third-party API endpoints.

It can fail the build below a score, block pull requests that lower the score, write a
Markdown report, and post a summary comment on pull requests.

Both engines are bundled into the action at pinned commits, so nothing is downloaded or
executed from a package registry at run time. There are no external API calls (other than
the optional PR comment), no telemetry, and no LLM calls.

## Why use it

- Catch missing or low-quality agent context (instruction files, architecture notes,
  setup docs) before it slows down day-to-day agent work.
- Catch instruction files and agent settings that steer agents toward unsafe changes or
  let them run commands without asking.
- Track the readiness score over time and gate pull requests on a minimum score or on
  any drop from the base branch.
- Give reviewers a concise, deterministic summary on each PR — a complement to human
  review, not a replacement for it.

## Quick start

```yaml
# .github/workflows/agent-readiness.yml
name: Agent Readiness Audit

on:
  pull_request:
  push:
    branches: [main]

permissions:
  contents: read

jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
      - uses: alipajand/agent-readiness-action@v1
```

## Examples

### Basic audit

```yaml
name: Agent Readiness Audit

on:
  pull_request:
  push:
    branches: [main]

permissions:
  contents: read

jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
      - uses: alipajand/agent-readiness-action@v1
```

### Fail below a minimum score

```yaml
- uses: alipajand/agent-readiness-action@v1
  with:
    min-score: '70'
    fail-on-threshold: 'true'
```

### Comment on pull requests

```yaml
permissions:
  contents: read
  pull-requests: write
  issues: write

steps:
  - uses: actions/checkout@v7
  - uses: alipajand/agent-readiness-action@v1
    with:
      comment-on-pr: 'true'
      min-score: '70'
      github-token: ${{ github.token }}
```

The action posts a single comment the first time and updates it on subsequent runs, so
there are no duplicate comments. It only updates a comment that starts with its hidden
marker and was written by a bot account, so pasting the marker into your own comment
does not make the action overwrite it. When commenting with a personal access token,
set `comment-author` to that account's login.

### Block pull requests that lower the score

```yaml
on:
  pull_request:

jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with:
          fetch-depth: 0 # the base commit must be available
      - uses: alipajand/agent-readiness-action@v1
        with:
          baseline-ref: ${{ github.event.pull_request.base.sha }}
          max-score-drop: '0'
```

The action audits the base commit in a temporary git worktree, reports the change (`▼ -5 vs <sha>`) in the log, job summary, and PR comment, and fails when the score drops by more than `max-score-drop`.

### Also check the agent instruction files

```yaml
- uses: alipajand/agent-readiness-action@v1
  with:
    context-audit: 'true' # run the bundled agent-context-doctor
    context-fail-on: 'high' # fail on risky instructions, secrets, hidden characters, ...
```

With `context-audit`, the action also runs [agent-context-doctor](https://github.com/alipajand/agent-context-doctor) on the same path. Its score and top issues appear in the log, job summary, and PR comment. It honors the audited repository's `.acdrc`.

### Write a Markdown report artifact

```yaml
steps:
  - uses: actions/checkout@v7

  - uses: alipajand/agent-readiness-action@v1
    with:
      output: 'docs/agent-readiness-report.md'

  - uses: actions/upload-artifact@v7
    with:
      name: agent-readiness-report
      path: docs/agent-readiness-report.md
```

### Audit a subdirectory or monorepo package

```yaml
- uses: alipajand/agent-readiness-action@v1
  with:
    repo-path: './packages/web'
```

## Inputs

| Input               | Default | Description                                                                                                                                                                      |
| ------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `repo-path`         | `.`     | Path to the repository or subdirectory to audit. Relative paths are resolved from the GitHub Actions workspace root.                                                             |
| `min-score`         | `0`     | Minimum acceptable score (0–100). Checked when `fail-on-threshold` is `true`.                                                                                                    |
| `output`            | `''`    | Write a Markdown report to this path. Relative paths are resolved under `repo-path`, and the result must stay inside `repo-path`. The report is never written through a symlink. |
| `json`              | `false` | Echo the raw JSON audit output to the Actions log.                                                                                                                               |
| `comment-on-pr`     | `false` | Post or update a PR comment. Only runs on `pull_request` events. Requires a token with `pull-requests: write` and `issues: write`.                                               |
| `github-token`      | `''`    | Token for the PR comment, usually `${{ github.token }}`. Falls back to the `GITHUB_TOKEN` environment variable.                                                                  |
| `comment-author`    | `''`    | Only update an earlier summary comment written by this login. Defaults to any bot account.                                                                                       |
| `baseline-ref`      | `''`    | Git ref to compare against, usually `${{ github.event.pull_request.base.sha }}`. Audited in a temporary worktree; needs `fetch-depth: 0`.                                        |
| `max-score-drop`    | `''`    | Fail when the score is more than this many points below the `baseline-ref` score (`0` fails on any drop). Requires `baseline-ref`.                                               |
| `job-summary`       | `true`  | Write the audit summary to the workflow run's job summary.                                                                                                                       |
| `context-audit`     | `false` | Also check agent instruction files with the bundled agent-context-doctor.                                                                                                        |
| `context-fail-on`   | `''`    | Fail when agent-context-doctor finds an issue at or above `low`, `medium`, or `high`. Requires `context-audit`.                                                                  |
| `fail-on-threshold` | `true`  | Fail the step when the score is below `min-score`.                                                                                                                               |

## Outputs

| Output                | Description                                                                       |
| --------------------- | --------------------------------------------------------------------------------- |
| `score`               | Final agent-readiness score (0–100).                                              |
| `report-path`         | Absolute path of the written Markdown report, or empty when `output` was not set. |
| `passed`              | `"true"` when the score is at least `min-score`, otherwise `"false"`.             |
| `categories`          | JSON array of category scores: `id`, `label`, `score`, `maxScore`.                |
| `baseline-score`      | Score at `baseline-ref` (only when `baseline-ref` is set).                        |
| `score-delta`         | Score minus the baseline score (only when `baseline-ref` is set).                 |
| `c
agent-readinessagents-mdai-agentsciclaude-codecode-qualitycoding-agentscursordeveloper-experiencegithub-actiongithub-actionsgithub-copilotsecurity

What people ask about agent-readiness-action

What is alipajand/agent-readiness-action?

+

alipajand/agent-readiness-action is subagents for the Claude AI ecosystem. GitHub Action that scores how ready a repository is for AI coding agents and checks its agent instruction files. Deterministic, no LLM. It has 1 GitHub stars and its last recorded update is dated 2026-10-13.

How do I install agent-readiness-action?

+

You can install agent-readiness-action by cloning the repository (https://github.com/alipajand/agent-readiness-action) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is alipajand/agent-readiness-action safe to use?

+

Our security agent has analyzed alipajand/agent-readiness-action and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains alipajand/agent-readiness-action?

+

alipajand/agent-readiness-action is maintained by alipajand. The last recorded GitHub activity is dated 2026-10-13, with 1 open issues.

Are there alternatives to agent-readiness-action?

+

Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.

Deploy agent-readiness-action to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: alipajand/agent-readiness-action
[![Featured on ClaudeWave](https://claudewave.com/api/badge/alipajand-agent-readiness-action)](https://claudewave.com/repo/alipajand-agent-readiness-action)
<a href="https://claudewave.com/repo/alipajand-agent-readiness-action"><img src="https://claudewave.com/api/badge/alipajand-agent-readiness-action" alt="Featured on ClaudeWave: alipajand/agent-readiness-action" width="320" height="64" /></a>