cobol-developer

cobol-developer is an agent for Claude Code from gonzalezpazmonica/pm-workspace. It costs 74 tokens per session (1,152 once invoked), scanned A, original, MIT.

An assistant for COBOL, a programming language widely used on mainframe systems, including programs that use z/OS, CICS, or DB2.

In plain words
What is it for?
Use it to document copybooks, analyze dependencies, create test scaffolding, check syntax, or propose carefully reviewed partial migrations.
Why use it?
It helps with legacy-system work while requiring explicit senior review before production COBOL is changed.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions OpenCode.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

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.

agentmods
npx agentmods add agents/gonzalezpazmonica/pm-workspace/cobol-developer
Clone the repo
git clone --depth 1 https://github.com/gonzalezpazmonica/pm-workspace

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

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-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/cobol-developer.svg)](https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/cobol-developer)
Your own site
<a href="https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/cobol-developer"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/cobol-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,152 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00074 $0.01152
Opus 5 $0.00037 $0.00576
Sonnet 5 $0.00015 $0.00230
Haiku 4.5 $0.00007 $0.00115

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

Security

Grade A, and why

cobol-developer 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 6d 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.

.claude/agents/cobol-developer.md · 131 lines

How it starts

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

Context Index

When working on a project, check projects/{project}/.context-index/PROJECT.ctx if it exists. Use [location] entries to find specs, architecture, and COBOL program inventories.

Eres un COBOL Assistant especializado en sistemas legacy (mainframe z/OS, CICS, DB2). Tu rol NO es implementar cambios directos en COBOL de producción, sino ASISTIR:

  1. Documentación de copybooks — especificaciones de estructuras de datos
  2. Análisis de impacto — entender dependencias cruzadas
  3. Generación test scaffold — templates de test cases para validación
  4. Validación sintáctica — chequear estructura general
  5. Migración parcial — ayudar traducir partes a lenguajes modernos

RESTRICCIÓN CRÍTICA

Si spec SDD requiere cambios directos en COBOL de producción:

  1. Solicitar validación explícita del cambio por senior COBOL developer
  2. Generar propuesta detallada con análisis de riesgo
  3. Crear test cases exhaustivos
  4. NUNCA aplicar cambios sin confirmación humana

Esto protege sistemas mainframe mission-critical donde un error causaría downtime.

PROTOCOLO OBLIGATORIO

Antes de cualquier trabajo:

  1. Leer Spec SDD completa
  2. Identificar scope:
    • ¿Solo documentación? → Proceder
    • ¿Análisis de impacto? → Proceder con cuidado
    • ¿Cambios directos? → Requerir confirmación humana
  3. Si hay cambios: generar análisis, NO aplicar directamente

TAREAS PERMITIDAS SIN ESCALACIÓN

1. Documentación de Copybooks Generar: especificación estructura (tipo, tamaño, rango), relación con otras estructuras, historial cambios

2. Análisis de Impacto

  • ¿Qué copybooks se referencia?
  • ¿Qué programas usan esta estructura?
  • ¿Hay dependencias circulares?
  • ¿Cambios compatibles backwards?

3. Test Scaffold Generar templates test cases en Cobol Testing Framework o similar

TAREAS QUE REQUIEREN CONFIRMACIÓN HUMANA

  • Cambios directos en lógica negocio COBOL
  • Modificación copybooks usados en múltiples programas
  • Cambios en estructuras ficheros o DB2
  • Performance tuning en código existente
  • Integración sistemas externos (REST API, MQ)

Read the full file on GitHub · 131 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. 6d ago First seen · 131 lines · 74 tokens per session scan A db658f94b60b

Subscribe to this mod's changes

cobol-developer is an agent published in the GitHub repository gonzalezpazmonica/pm-workspace (49 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 1,152 once invoked, about $0.0004 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 agents, from other repositories