ebcdic-overpunch-decoding

ebcdic-overpunch-decoding is a skill for Claude Code, Codex from benchflow-ai/skillsbench. It costs 90 tokens per session (1,157 once invoked), scanned A, original, Apache-2.0.

A reference for EBCDIC overpunch, a mainframe convention that stores the sign and final digit of a number together in the last character.

In plain words
What is it for?
It is for decoding signed amounts in fixed-length mainframe files after they have been converted to printable text, including positive and negative values.
Why use it?
It prevents negative amounts from being mistaken for text or positive values, especially when only the positive letter codes are handled.

Skill for Claude CodeCodex

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

Good fit It is for decoding signed amounts in fixed-length mainframe files after they have been converted to printable text, including positive and negative values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benchflow-ai/skillsbench/ebcdic-overpunch-decoding
About the project

SkillsBench is a benchmark for measuring how effectively AI agents use modular skills—folders containing instructions, scripts, and resources—to complete specialized tasks. It helps researchers and developers evaluate both skill quality and agent behavior, including tasks that require combining multiple skills. The catalogue’s skills and instructions are evaluated as part of this workflow.

benchflow-ai/skillsbench · 1,941 stars · on GitHub · skillsbench.ai

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 benchflow-ai/skillsbench --skill ebcdic-overpunch-decoding
Clone the repo
git clone --depth 1 https://github.com/benchflow-ai/skillsbench

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 ebcdic-overpunch-decoding

README.md
[![agentmods](https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/ebcdic-overpunch-decoding/github.svg)](https://agentmods.dev/skills/benchflow-ai/skillsbench/ebcdic-overpunch-decoding)
Your own site
<a href="https://agentmods.dev/skills/benchflow-ai/skillsbench/ebcdic-overpunch-decoding"><img src="https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/ebcdic-overpunch-decoding/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 ebcdic-overpunch-decoding

Your own site · 80×15
<a href="https://agentmods.dev/skills/benchflow-ai/skillsbench/ebcdic-overpunch-decoding"><img src="https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/ebcdic-overpunch-decoding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,157 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00090 $0.01157
Opus 5.5 $0.00036 $0.00463
Sonnet 5.5 $0.00018 $0.00231
Haiku 4.5 $0.00009 $0.00116

Measured 3mo ago against content hash c280003fea28, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ebcdic-overpunch-decoding 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 3mo 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.

tasks-extra/cobol-gl-batch-reconcile/environment/skills/ebcdic-overpunch-decoding/SKILL.md · 88 lines

How it starts

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

EBCDIC overpunch (zoned decimal sign)

On classic mainframe tapes, signed numeric amounts are stored as N-1 digits followed by a single byte where the high-order bits carry the sign and the low-order bits carry the final decimal digit. When the file is converted to ASCII / printable form, the last byte is rendered as a letter (or a brace).

Sign and digit table

Char Sign Last digit Char Sign Last digit
{ + 0 } − 0
A + 1 J − 1
B + 2 K − 2
C + 3 L − 3
D + 4 M − 4
E + 5 N − 5
F + 6 O − 6
G + 7 P − 7
H + 8 Q − 8
I + 9 R − 9

Positive zero is {; negative zero is }. Both decode to magnitude 0 — keep the sign attached so downstream arithmetic doesn't drop a debit's polarity.

A common defect

The positive half of the table ({, A–I) is the visible-looking case and is often handled first. The negative half (}, J–R) looks like ordinary letters and is easy to forget. If only the positive letters are decoded, debits and credits both come through as positive — the totals look plausible but signs are wrong on every negative row.

Decoding pattern (placeholder names)

Split the field into the leading digits and the overpunch byte, look up the sign + units digit from the table above, recombine, then build the signed working-storage value. The shape below uses generic identifiers — substitute your own field names:

       *> placeholders: digits-buf holds the recombined unsigned digits,
       *> op-char is the overpunch byte, sgn / lo-digit are scratch.
       split raw-amount into (leading-digits, op-char)
       EVALUATE op-char
           WHEN "{"  sgn := "+"  lo-digit := 0   *> positive zero
           WHEN "A" THRU "I"  sgn := "+"  lo-digit := 1..9
           WHEN "}"  sgn := "-"  lo-digit := 0   *> negative zero
           WHEN "J" THRU "R"  sgn := "-"  lo-digit := 1..9
       END-EVALUATE
       digits-buf := leading-digits with lo-digit appended
       signed-value := (sgn = "-")  ?  -digits-buf  :  +digits-buf

Read the full file on GitHub · 88 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. 3mo ago First seen · 88 lines · 90 tokens per session scan A c280003fea28

Subscribe to this mod's changes

ebcdic-overpunch-decoding is a skill published in the GitHub repository benchflow-ai/skillsbench (1,941 stars, last pushed 6d ago), licensed Apache-2.0. It adds 90 tokens to every session and 1,157 once invoked, about $0.0004 per session on Opus 5.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

ebcdic-overpunch-decoding compared with skills from other repositories

ebcdic-overpunch-decoding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ebcdic-overpunch-decodingbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A90Claude Code, Codex
hotpath_initpawurb/hotpath-rsSkill1.9k8d agoMITA88Claude Code
golang-benchmarkseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA20Claude Code, Codex
scala-circe-jsoncxcscmu/SkillLearnBenchSkill931mo agoMITA19Claude Code, Codex
scala-adt-enumscxcscmu/SkillLearnBenchSkill931mo agoMITA24Claude Code, Codex
scala-collections-fpcxcscmu/SkillLearnBenchSkill931mo agoMITA19Claude Code, Codex
scala-option-eithercxcscmu/SkillLearnBenchSkill931mo agoMITA23Claude Code, Codex