By krokoko
Assess how AI-friendly a codebase is and produce an autonomy maturity map with scores, blockers, and a roadmap.
Generate a prioritized improvement roadmap to increase AI readiness. Trigger phrases: "generate roadmap", "what should I improve", "how to reach the next level", "autonomy improvement plan", "what are my next steps for AI readiness"
Assess the AI readiness of a codebase and produce an autonomy maturity map. Trigger phrases: "assess readiness", "how AI-friendly is this codebase", "autonomy maturity", "readiness score", "AI readiness assessment", "how ready is my codebase for AI agents"
Modifies files
Hook triggers on file write and edit operations
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Cairn is an open-source toolkit of AI agent plugins that measure and improve how ready your codebase is for autonomous AI coding agents — charting a path from AI-assisted coding to verified, end-to-end autonomy.
A cairn is a stack of stones that marks the trail on a climb — each one confirming how far you've come and pointing the way to the next. This project does the same for your codebase's journey to autonomy: marking where you stand today and the path to the next level.
AI coding agents can now generate code faster than humans can review it. The bottleneck has shifted from writing code to trusting it: can an agent change this codebase safely, without a human reading every line? Most codebases were built for human workflows (implicit knowledge, inconsistent tests, fragile CI, unclear ownership, and little machine-readable intent) and agents amplify those weaknesses at machine speed.
Cairn treats autonomy as something you measure and earn, not switch on. Install the plugins in any AI assistant that supports the plugin standard (Claude Code, Cursor, Codex), run a skill, and get back concrete, committable reports.
Who it's for: engineering teams adopting AI coding agents who want a measurable, incremental path to autonomy — not a leap of faith.
Install the plugins in your AI agent:
Claude Code:
Add the marketplace
/plugin marketplace add krokoko/cairn
Add the plugins
/plugin install codebase-ai-readiness@cairn
/plugin install software-verification@cairn
Codex:
.agents/plugins/marketplace.json.Claude-specific PostToolUse hooks are not wired into Codex manifests; skills and references work the same.
Cursor:
Install plugins from a marketplace that indexes this repo, or copy skills into your project's agent configuration per Cursor's plugin documentation.
Once installed, use the skills via slash commands in your AI agent:
/assess-readiness # Assess codebase AI readiness
/generate-roadmap # Generate improvement roadmap
/assess-verification # Assess verification maturity
/design-strategy # Design verification strategy
/detect-ai-smells # Assess AI smell detection gates
For a full autonomy readiness pass on a codebase:
/assess-readiness → readiness-report.md/generate-roadmap → readiness-roadmap.md/assess-verification → verification-report.md/design-strategy → verification-strategy.md/detect-ai-smells → ai-smells-gates-report.mdOr use natural language triggers:
We consider the following levels of autonomy:
npx claudepluginhub krokoko/cairn --plugin codebase-ai-readinessDeploy applications to AWS with architecture recommendations, cost estimates, and IaC deployment.
Design verification strategies that unlock higher levels of autonomous software development.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.