assess-readiness

assess-readiness is a skill for Claude Code from krokoko/cairn. It costs 63 tokens per session (2,810 once invoked), scanned A, original, Apache-2.0.

A codebase review that measures how ready a software project is for work by AI agents and creates a maturity map.

In plain words
What is it for?
Use it to inspect languages, tests, documentation, CI, type checks, containers, and infrastructure, then produce a readiness report and prioritized roadmap.
Why use it?
It turns scattered project practices into a readiness score, shows what may limit agent autonomy, and identifies the next improvements.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

Part of the codebase-ai-readiness plugin — 2 skills, 1 hook shipped together

Good fit Use it to inspect languages, tests, documentation, CI, type checks, containers, and infrastructure, then produce a readiness report and prioritized roadmap.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/krokoko/cairn/assess-readiness
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add krokoko/cairn --skill assess-readiness
Clone the repo
git clone --depth 1 https://github.com/krokoko/cairn

Made for: Claude Code.

Or install codebase-ai-readiness, the plugin that ships this one along with the rest of its 2 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for assess-readiness

README.md
[![agentmods](https://agentmods.dev/badge/skills/krokoko/cairn/assess-readiness/github.svg)](https://agentmods.dev/skills/krokoko/cairn/assess-readiness)
Your own site
<a href="https://agentmods.dev/skills/krokoko/cairn/assess-readiness"><img src="https://agentmods.dev/badge/skills/krokoko/cairn/assess-readiness/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for assess-readiness

Your own site · 80×15
<a href="https://agentmods.dev/skills/krokoko/cairn/assess-readiness"><img src="https://agentmods.dev/badge/skills/krokoko/cairn/assess-readiness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,810 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.02810
Opus 5 $0.00032 $0.01405
Sonnet 5 $0.00013 $0.00562
Haiku 4.5 $0.00006 $0.00281

Measured 9d ago against content hash 8cad6332cd45, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

assess-readiness scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/codebase-ai-readiness/skills/assess-readiness/SKILL.md · 232 lines

How it starts

The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codebase AI Readiness Assessment

Produce an autonomy maturity map for the target codebase. The output is a readiness-report.md file containing a numeric score, category breakdown, workflow artifact summary, collaboration effectiveness assessment (including an alignment note when practices and score diverge), recommended autonomy level, blockers, and a prioritized roadmap.

Workflow

Step 1: Discover the codebase

Use Glob and Grep to understand the project:

  • Identify language(s) and framework(s) from package manifests (package.json, Cargo.toml, go.mod, pyproject.toml, pom.xml, *.csproj)
  • Find CI configuration (.github/workflows/, .gitlab-ci.yml, Jenkinsfile, .circleci/)
  • Find pre-commit hooks (.pre-commit-config.yaml, .husky/, lefthook.yml, .git/hooks/)
  • Find test directories (test/, tests/, __tests__/, *_test.go, *_spec.rb)
  • Find documentation (README.md, docs/, CHANGELOG.md, ADR/, adr/)
  • Find type configuration (tsconfig.json, mypy.ini, pyrightconfig.json, .strict)
  • Find containerization (Dockerfile, docker-compose.yml, .devcontainer/, flake.nix, mise.toml)
  • Find Infrastructure as Code (cdk.json, cdktf.json, terraform/, *.tf, Pulumi.yaml, template.yaml (SAM), *.bicep, cloudformation/)
  • Find schemas and contracts (*.proto, openapi.*, *.schema.json, swagger.*)
  • Find agent context files (AGENTS.md, CLAUDE.md, .cursorrules, .cursor/rules/)
  • Find execution plans (docs/plans/, docs/exec-plans/, PLANS.md)
  • Find workflow artifacts: requirements/specs (docs/requirements/, docs/specs/, requirements/), design (docs/design/, design/), review learnings (docs/reviews/, docs/learnings/) — load references/workflow-artifacts.md
  • Find config documentation (.env.example, config.schema.json)
  • Find ownership files (CODEOWNERS, OWNERS)
  • Find module boundary enforcement (eslint-plugin-boundaries in config, deptry, madge, ArchUnit, structural tests)
  • Find templates and generators (plop, hygen, cookiecutter, .template files)
  • Find agent skills and workflows (.claude/skills/, agent skill directories)
  • Find agent hooks (agent hook configs, hooks.json, post-tool-use automation)
  • Measure file size distribution: count lines across source files deterministically (glob source files + wc -l, excluding vendored/generated/build dirs), not by eyeballing a few. Report the share of files under 300 lines (the "good" target in category 2.15) and flag outliers over 500 lines. The two thresholds are distinct: 300 is the per-file comprehension target; 500 marks a file large enough to warrant splitting.

Read the full file on GitHub · 232 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 232 lines · 63 tokens per session scan A 8cad6332cd45

Subscribe to this mod's changes

assess-readiness is a skill published in the GitHub repository krokoko/cairn (14 stars, last pushed 5d ago), licensed Apache-2.0. It adds 63 tokens to every session and 2,810 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.