cobol-o-matic: Skill for Claude Code

.claude/skills/configure-workspace/SKILL.md

configure-workspace is a skill for Claude Code from dsheard/cobol-o-matic. It costs 53 tokens per session (1,345 once invoked), scanned A, original, MIT.

A guide for setting up a workspace for analysing COBOL, a programming language widely used in older business systems. It defines where programs, copybooks, jobs, screen maps, resource definitions, and SQL files are stored, along with analysis settings.

In plain words
What is it for?
Use it when creating a workspace, changing source paths or file extensions, or adjusting analysis limits and strategies.
Why use it?
It prevents the analysis tool from looking in the wrong folders or treating source files incorrectly.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is dsheard/cobol-o-matic's own configuration. It tells Claude Code how to work on cobol-o-matic itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cobol-o-matic configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./source/cbl.

Reuse

Borrowing it

Nothing to install: this file belongs to dsheard/cobol-o-matic. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dsheard/cobol-o-matic/main/.claude/skills/configure-workspace/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dsheard/cobol-o-matic

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 configure-workspace

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dsheard/cobol-o-matic/configure-workspace"><img src="https://agentmods.dev/badge/skills/dsheard/cobol-o-matic/configure-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,345 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.00053 $0.01345
Opus 5 $0.00026 $0.00673
Sonnet 5 $0.00011 $0.00269
Haiku 4.5 $0.00005 $0.00135

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

Security

Grade A, and why

configure-workspace 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 11d 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/skills/configure-workspace/SKILL.md · 168 lines

How it starts

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

Configuring a Workspace

config.yaml Structure

The workspace config file has three sections: application name, source paths, and settings.

application: CardDemo - Credit Card Management System

source:
  programs:
    - ./source/cbl
  copybooks:
    - ./source/cpy
  jcl: []
  bms: []
  csd: []
  sql: []
  recursive: true
  extensions:
    programs: [.cbl, .cob, .CBL, .COB]
    copybooks: [.cpy, .copy, .CPY, .COPY]
    jcl: [.jcl, .JCL, .prc, .PRC]
    bms: [.bms, .BMS]
    csd: [.csd, .CSD]
    sql: [.sql, .SQL]

output: ./output

settings:
  model: claude-sonnet-4-6
  max_iterations: 5
  n_stable: 2
  confidence_threshold: medium
  strategy: auto
  batch_size: 3
  large_file_threshold: 400
  chunk_threshold: 2000
  staging_dir: ./staging

Source Types

Type Required Purpose
programs Yes COBOL program source files
copybooks Yes Copybook include files
jcl No JCL jobs and procedures
bms No CICS BMS screen map definitions
csd No CICS CSD resource definitions
sql No SQL/DDL definitions

Each type takes a list of directories (not individual files). Paths are relative to the workspace root. Set recursive: true to scan subdirectories.

Programs and copybooks can share the same directory -- the extension filter separates them.

Settings Reference

Setting Default Description
model (none) Claude model to use (e.g. claude-sonnet-4-6)
max_iterations 5 Maximum convergence loop iterations
n_stable 2 Stop after N consecutive empty iterations
confidence_threshold medium Minimum confidence for accepted discoveries
strategy auto Run strategy: auto, default, phased
batch_size 3 Programs per batch in phased mode
large_file_threshold 400 Lines above which agents use line-range reads
chunk_threshold 2000 Lines above which programs are chunked for analysis
staging_dir ./staging Where chunk files are written

Read the full file on GitHub · 168 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. 11d ago First seen · 168 lines · 53 tokens per session scan A 3d40e8e2d130

Subscribe to this mod's changes

configure-workspace is a skill published in the GitHub repository dsheard/cobol-o-matic (5 stars, last pushed 5mo ago), licensed MIT. It adds 53 tokens to every session and 1,345 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

ile-cobol-docs

IBM ILE COBOL 7.4/7.5 — language structure, four divisions, data description, file handling, DB2, debugging.

pledgeandgrow/pledge-skills · 38 tokens

mk:confluence-spec-analyst

Deep spec analysis on a Confluence page. Reads page (+ children) via the confluence-as wrapper, produces a structured Spec Research Report with requirements, acceptance criteria, gaps, ambiguities, and suggested user stories for human review. Read-only — does NOT create Jira tickets. Triggers: 'analyze spec for…

ngocsangyem/MeowKit · 112 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens