cobol-o-matic

cobol-o-matic is a skill for Claude Code, Codex from autohandai/community-skills. It costs 30 tokens per session (414 once invoked), scanned A, original, Apache-2.0.

A COBOL analysis guide for turning old business software into documented requirements, business rules, and dependency maps. COBOL is a programming language still used in many long-running business systems.

In plain words
What is it for?
Use it to inventory COBOL programs, files, batch jobs, screens, and integrations; trace data and program dependencies; and prepare glossaries, rule catalogs, data-lineage notes, and test scenarios.
Why use it?
It helps teams understand how a legacy system works before rewriting, migrating, or documenting it, while reducing the risk of losing important business rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inventory COBOL programs, files, batch jobs, screens, and integrations; trace data and program dependencies; and prepare glossaries, rule catalogs, data-lineage notes, and test scenarios.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/autohandai/community-skills/cobol-o-matic
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 autohandai/community-skills --skill cobol-o-matic
Clone the repo
git clone --depth 1 https://github.com/autohandai/community-skills

Made for: Claude Code, Codex.

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 cobol-o-matic

README.md
[![agentmods](https://agentmods.dev/badge/skills/autohandai/community-skills/cobol-o-matic/github.svg)](https://agentmods.dev/skills/autohandai/community-skills/cobol-o-matic)
Your own site
<a href="https://agentmods.dev/skills/autohandai/community-skills/cobol-o-matic"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/cobol-o-matic/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 cobol-o-matic

Your own site · 80×15
<a href="https://agentmods.dev/skills/autohandai/community-skills/cobol-o-matic"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/cobol-o-matic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 414 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.00030 $0.00414
Opus 5 $0.00015 $0.00207
Sonnet 5 $0.00006 $0.00083
Haiku 4.5 $0.00003 $0.00041

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

Security

Grade A, and why

cobol-o-matic 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.

cobol-o-matic/SKILL.md · 37 lines

What it actually says

cobol-o-matic

Overview

Use this skill when a legacy COBOL codebase needs to be understood before a rewrite, migration, or documentation effort. The upstream project, dsheard/cobol-o-matic, focuses on reverse-engineering COBOL applications into requirements, business rules, and dependency graphs using agentic analysis.

Compatibility: COBOL, Claude Agent SDK, and legacy modernization assessments.

Workflow

  1. Inventory the COBOL entry points, copybooks, JCL, file layouts, screens, batch jobs, and external integrations.
  2. Run a read-only analysis first. Treat generated requirements and rules as hypotheses until they are reconciled against source code and production SMEs.
  3. Extract business logic by program, paragraph, data structure, condition, file operation, and job step.
  4. Build dependency maps that separate call relationships, data dependencies, batch sequencing, and external system touchpoints.
  5. Produce migration-ready artifacts: glossary, business-rule catalog, interface inventory, data lineage notes, and test scenarios.

Guardrails

  • Preserve original COBOL semantics, especially packed decimal fields, implied decimals, EBCDIC assumptions, record layouts, and batch restart behavior.
  • Do not treat AI-generated requirements as authoritative without source-line evidence.
  • Keep modernization recommendations separate from reverse-engineering findings so stakeholders can review factual discovery independently from proposed changes.
  • Link every extracted business rule back to source files, paragraphs, or data definitions.

Expected Output

Return a concise modernization discovery pack with the source inventory, extracted rules, dependency graph summary, open questions, and recommended next analysis steps.

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 · 37 lines · 30 tokens per session scan A d9f1736ac056

Subscribe to this mod's changes

cobol-o-matic is a skill published in the GitHub repository autohandai/community-skills (11 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 414 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

python-run

Run and debug Python scripts in the project. Use when the user says "run python", "execute this script", "debug this py file", or wants to run/modify a .py file. Handles dependency checks, linting, execution, and error analysis.

congchuanling-dot/Cohort · 56 tokens

app-intents

Writes and reviews Swift App Intents code that exposes app actions and data to Siri, Shortcuts, Spotlight, widgets, Control Center, and Apple Intelligence. Use when adding AppIntent, AppEntity, OpenIntent, AppShortcutsProvider, EntityQuery, Focus Filters, AssistantEntity/AssistantIntent schemas, on-screen awareness…

n0an/App-Intents-Agent-Skill · 99 tokens

python-debugpy

Debug Python: pdb REPL + debugpy remote (DAP).

HezaoHezao/poirot · 17 tokens

swift-format-style

Writes and reviews Swift FormatStyle code, replacing legacy Formatter subclasses and C-style String(format:) with modern .formatted() APIs. Use when formatting numbers, dates, durations, measurements, lists, names, byte counts, or URLs.

n0an/Swift-FormatStyle-Agent-Skill · 50 tokens

zod

Zod v4 best practices, patterns, and API guidance for schema validation, parsing, error handling, and type inference in TypeScript applications. Covers safeParse, object composition, refinements, transforms, codecs, branded types, v3→v4 migration, and testing schemas with Jest or Vitest. Baseline: zod ^4.3.0. Triggers…

anivar/zod-skill · 138 tokens

bootstrap-xcode-workspace

Create, adopt, extend, and align one Swift product workspace with app, extension, package, and service components under one permanent Xcode entrypoint.

gaelic-ghost/socket · 36 tokens