verify-cobol-artifacts

verify-cobol-artifacts is a skill for Claude Code from dsheard/cobol-o-matic. It costs 44 tokens per session (1,266 once invoked), scanned A, original, MIT.

A set of checks for confirming that COBOL analysis notes match the original COBOL source and related files.

In plain words
What is it for?
Use it to verify frontmatter fields, check which programs call one another, confirm transaction mappings, and flag corrections.
Why use it?
It helps catch incorrect transaction IDs, call relationships, and other claims before they are relied on.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to verify frontmatter fields, check which programs call one another, confirm transaction mappings, and flag corrections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dsheard/cobol-o-matic/verify-cobol-artifacts
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 dsheard/cobol-o-matic --skill verify-cobol-artifacts
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 verify-cobol-artifacts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dsheard/cobol-o-matic/verify-cobol-artifacts"><img src="https://agentmods.dev/badge/skills/dsheard/cobol-o-matic/verify-cobol-artifacts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,266 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.00044 $0.01266
Opus 5 $0.00022 $0.00633
Sonnet 5 $0.00009 $0.00253
Haiku 4.5 $0.00004 $0.00127

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

Security

Grade A, and why

verify-cobol-artifacts 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 12d 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.

workspace/.claude/skills/verify-cobol-artifacts/SKILL.md · 154 lines

How it starts

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

COBOL Artifact Verification Recipes

Use these recipes to verify that analysis artifacts accurately reflect the source code. Each recipe specifies what to check, where to check it, and what constitutes a pass or fail.

Verify Transaction IDs (transactions)

Claim: Business-rules frontmatter says transactions: ["XXXX"]

Verification steps:

  1. Grep the source for any variable with TRANID or TRANSID in its name:
    Grep pattern: "TRANID|TRANSID" on the program source
    
  2. Read the VALUE clause -- it must match the frontmatter value exactly.
  3. Cross-check: grep for EXEC CICS RETURN.*TRANSID -- the TRANSID variable should resolve to the same value.
  4. Cross-check: if CSD files exist, grep for DEFINE TRANSACTION to confirm the mapping.

Pass: VALUE matches frontmatter. All cross-references agree. Fail: VALUE differs from frontmatter, or no TRANSID found but frontmatter claims one. Log as correction_needed.

Verify Call Relationships (calls, called_by)

Claim: Frontmatter says calls: ["PROGNAME"]

Verification steps:

  1. Grep the source for CALL ':
    Grep pattern: "CALL '" on the program source
    
  2. Every literal in CALL statements should appear in the calls list.
  3. For called_by: check the caller's source for CALL 'THIS-PROGRAM'.

Pass: All CALL targets match. called_by is consistent with callers' calls lists. Fail: Missing CALL target in frontmatter, or called_by references a program that doesn't actually CALL this one. Also check XCTL and LINK.

Verify File I/O (reads, writes)

Claim: Frontmatter says reads: ["ACCTDAT", "CUSTDAT"]

Verification steps:

  1. Grep for actual I/O operations:
    Grep pattern: "EXEC CICS.*(READ|WRITE|REWRITE|DELETE)|OPEN.*(INPUT|OUTPUT|I-O|EXTEND)" on the source
    
  2. For CICS: extract FILE(x) or DATASET(x) from each match. For batch: extract file names from OPEN statements and cross-reference with SELECT...ASSIGN.
  3. Resolve variable names against DATA DIVISION VALUE clauses.
  4. Compare resolved names against frontmatter reads and writes.

Read the full file on GitHub · 154 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. 12d ago First seen · 154 lines · 44 tokens per session scan A b25c013593b2

Subscribe to this mod's changes

verify-cobol-artifacts is a skill published in the GitHub repository dsheard/cobol-o-matic (5 stars, last pushed 5mo ago), licensed MIT. It adds 44 tokens to every session and 1,266 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-08-31.