assess-readiness

assess-readiness is a skill for Claude Code from krokoko/cairn. It costs 78 tokens per session (4,242 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: mentions subagents.

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 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,242 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.00078 $0.04242
Opus 5.5 $0.00031 $0.01697
Sonnet 5.5 $0.00016 $0.00848
Haiku 4.5 $0.00008 $0.00424

Measured 2d ago against content hash f88032273a45, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2d 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 · 265 lines

How it starts

The opening of the file, as written. The whole thing — 265 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. Treat the optional [path-to-codebase] argument as the root for discovery and for the report (default: current directory). The assessment is read-only apart from writing the report: run only commands that search or read (the grep, find, git log, git diff, git ls-files and gh GET commands the references give); do not run the project's build, tests, scanners or verifiers, and do not edit, stage, commit or push. Where a reference describes a boundary probe, a secret canary, a planted violation or a mutation of code or specs, look for a job that performs it; never perform it yourself. Report a credential by file and key name; never copy a token, password or connection string into the report.

  • 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, a versioned hooks directory set by core.hooksPath such as .githooks/)
  • Find tests (test/, tests/, __tests__/, src/test/, *_test.*, *.test.*, *_spec.*, *.spec.*, test_*.py)
  • Find documentation (README.md, docs/, CHANGELOG.md, ADR/, adr/)
  • Find type configuration (tsconfig.json; Python: mypy.ini, pyrightconfig.json, or [tool.mypy] / [tool.pyright] in pyproject.toml; Java: NullAway or JSpecify in the build file; C#: <Nullable> in *.csproj)
  • Find containerization (Dockerfile, compose.yaml or legacy docker-compose.yml, .devcontainer/, flake.nix, mise.toml)
  • Find Infrastructure as Code (cdk.json, cdktf.json, terraform/, *.tf, *.tofu, Pulumi.yaml, template.yaml (SAM), *.bicep, cloudformation/, Chart.yaml, kustomization.yaml, Kubernetes manifests) and its tests (*.tftest.hcl, CDK assertions, *.guard)
  • Find schemas and contracts (*.proto, openapi.*, asyncapi.*, *.graphql, *.schema.json, swagger.*)
  • Find agent surfaces in every harness format (instruction files, rule files, skills, subagents, hooks, settings, MCP servers) — load references/agent-surfaces.md for the path table
  • Find execution plans (docs/plans/, docs/exec-plans/, PLANS.md)
  • Find workflow artifacts: requirements/specs (docs/requirements/, docs/specs/, requirements/, specs/, .kiro/specs/, openspec/), 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 or @nx/enforce-module-boundaries in ESLint config, .dependency-cruiser.*, .importlinter, tach.toml, ArchUnit, .go-arch-lint.yml, structural tests)
  • Find templates and generators (plop, hygen, cookiecutter, .template files)
  • Find agent containment config (sandbox and permission keys, pre-tool hooks, bypass flags in CI, scripts and docs) — load references/agent-containment.md
  • Find agent environment setup (.github/workflows/copilot-setup-steps.yml, .cursor/environment.json) and task intake (.github/ISSUE_TEMPLATE/ issue forms)
  • 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), the count over 500 lines, and the largest file. 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 · 265 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. 2d ago Changed · +34 lines f88032273a45
  2. 1mo ago Changed · -1 lines · +15 tokens per session 1a203b173b70
  3. 3mo 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 (24 stars, last pushed 3d ago), licensed Apache-2.0. It adds 78 tokens to every session and 4,242 once invoked, about $0.0003 per session on Opus 5.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.

Related

assess-readiness compared with skills from other repositories

assess-readiness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
assess-readinesskrokoko/cairnSkill243d agoApache-2.0A78Claude Code
install-nightshiftorwa-mahmoud/nightshiftSkill609yesterdayMITA26Claude Code, Codex
civic-publish-gatejmagly/aiwgSkill233yesterdayMITA35Claude Code, Codex
editorial-correction-reviewjmagly/aiwgSkill233yesterdayMITA26Claude Code, Codex
local-resource-indexjmagly/aiwgSkill233yesterdayMITA28Claude Code, Codex
civic-newsroom-planjmagly/aiwgSkill233yesterdayMITA29Claude Code, Codex
goal-writerNicholasSpisak/goal-writerSkill84mo agoApache-2.0A118Claude Code