legacy-to-ai-ready

legacy-to-ai-ready is a skill for Claude Code from nicepkg/ai-workflow. It costs 107 tokens per session (2,190 once invoked), scanned A, original, MIT.

A process for examining an older codebase and creating Claude Code configuration files that explain its structure, conventions, and working practices.

In plain words
What is it for?
Use it to document a web app, API, command-line tool, or library, including its languages, frameworks, architecture, build commands, coding standards, integrations, and recurring workflows.
Why use it?
It gives an AI coding assistant project-specific guidance, reducing mistakes caused by undocumented legacy patterns. The setup can begin with a CLAUDE.md file and expand with rules, skills, commands, or hooks when needed.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it to document a web app, API, command-line tool, or library, including its languages, frameworks, architecture, build commands, coding standards, integrations, and recurring workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicepkg/ai-workflow/legacy-to-ai-ready
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 nicepkg/ai-workflow --skill legacy-to-ai-ready
Clone the repo
git clone --depth 1 https://github.com/nicepkg/ai-workflow

Made for: Claude Code.

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 legacy-to-ai-ready

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicepkg/ai-workflow/legacy-to-ai-ready/github.svg)](https://agentmods.dev/skills/nicepkg/ai-workflow/legacy-to-ai-ready)
Your own site
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/legacy-to-ai-ready"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/legacy-to-ai-ready/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 legacy-to-ai-ready

Your own site · 80×15
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/legacy-to-ai-ready"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/legacy-to-ai-ready.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,190 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.00107 $0.02190
Opus 5 $0.00053 $0.01095
Sonnet 5 $0.00021 $0.00438
Haiku 4.5 $0.00011 $0.00219

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

Security

Grade A, and why

legacy-to-ai-ready 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 10d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (assets/skill-creator/scripts/init_skill.py, assets/skill-creator/scripts/package_skill.py, assets/skill-creator/scripts/quick_validate.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/legacy-to-ai-ready/SKILL.md · 291 lines

How it starts

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

Legacy to AI-Ready

Transform legacy codebases into AI-ready projects by generating Claude Code configurations.

Quick Start (5-Minute Setup)

For most projects, start with just CLAUDE.md:

  1. Analyze: python scripts/analyze_codebase.py [path]
  2. Create CLAUDE.md with build commands, code style, architecture overview
  3. Done - Claude can now write code following your project's conventions

Expand to full configuration only when needed.

Interactive Discovery

Before generating configs, ask these questions:

Project Scope:

  • What is this project? (web app, API, CLI, library)
  • Primary language and frameworks?
  • Team size? (solo, small team, enterprise)

Pain Points:

  • What mistakes do new developers commonly make?
  • What patterns should always be followed?
  • What operations are repeated frequently?

Integration Needs:

  • External services used? (databases, APIs, cloud)
  • CI/CD pipeline? (GitHub Actions, Jenkins)
  • Code quality tools? (linters, formatters)

Configuration Decision Tree

Start
│
├─ Small project / Solo dev
│  └─ CLAUDE.md only
│
├─ Team project
│  ├─ Multi-language? → Add .claude/rules/
│  ├─ Complex domain? → Add .claude/skills/
│  ├─ Code reviews? → Add .claude/agents/
│  └─ Repeated tasks? → Add .claude/commands/
│
└─ Enterprise / Large team
   └─ All configurations + MCP servers + Hooks

Generated Configurations

Config Purpose When to Create
CLAUDE.md Project memory (shared) Always (required)
CLAUDE.local.md Personal preferences (git-ignored) Individual customization
.claudeignore Files Claude should not access Sensitive files exist
.claude/rules/ Path-specific rules Multi-module projects
.claude/skills/ Domain knowledge Complex business logic
.claude/agents/ Task specialists Repeated review/debug tasks
.claude/commands/ Quick prompts Common workflows
.claude/settings.json Hooks + permissions Auto-formatting, security
MCP servers External tools Database/API integrations

Read the full file on GitHub · 291 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. 10d ago First seen · 291 lines · 107 tokens per session scan A 133ae1593ac9

Subscribe to this mod's changes

legacy-to-ai-ready is a skill published in the GitHub repository nicepkg/ai-workflow (283 stars, last pushed 7mo ago), licensed MIT. It adds 107 tokens to every session and 2,190 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

html-artifacts

Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for saveplan, outputiframe, or slackattachhtml.

langchain-ai/open-swe · 51 tokens

hive.slack-notifications-setup

Set up a Slack notification channel (Sentinel) for a colony by driving the browser — reuse or create the "Hive Sentinel" Slack app from a JSON manifest, install it, capture the bot + app tokens, create/select the channel via the Slack API, and turn Sentinel on so the colony can ping the user on Slack and accept…

aden-hive/hive · 136 tokens

hive.chart-creation-foundations

Required reading whenever any chart tool is available. Teaches the one-tool embedding contract (call chartrender → live chart appears in chat AND a downloadable PNG lands in the queen session dir), the ECharts (data viz) vs Mermaid (structural diagrams) decision, the BI/financial-grade aesthetic baseline (no…

aden-hive/hive · 133 tokens

browser-edge-cases

SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.

aden-hive/hive · 40 tokens

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens