Agent skill

Ebcdic Overpunch Decoding

by benchflow-ai in benchflow-ai/skillsbench

Reference for the EBCDIC "overpunch" / zoned-decimal sign convention where the units position of a numeric field is replaced with a letter that encodes both a digit and a sign.

Apache-2.0Auto-check passed

Install Ebcdic Overpunch Decoding

skills CLI
$ npx skills add benchflow-ai/skillsbench --skill ebcdic-overpunch-decoding -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install benchflow-ai/skillsbench ebcdic-overpunch-decoding --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tasks-extra/cobol-gl-batch-reconcile/environment/skills/ebcdic-overpunch-decoding .claude/skills/ebcdic-overpunch-decoding && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ebcdic-overpunch-decoding
GitHub stars
1.8k
Token cost
~1k tokens
SKILL.md length
400 words
Files
1
Skills in repo
178
Repo updated
First seen
Licence
Apache-2.0

At a glance

Reference for the EBCDIC "overpunch" / zoned-decimal sign convention where the units position of a numeric field is replaced with a letter that encodes both a digit and a sign.

  • SKILL.md covers Sign and digit table, A common defect, Decoding pattern (placeholder… and Verification tip, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ebcdic Overpunch Decoding is an agent skill from benchflow-ai/skillsbench. Reference for the EBCDIC "overpunch" / zoned-decimal sign convention where the units position of a numeric field is replaced with a letter that encodes both a digit and a sign. Useful when reading mainframe-style fixed-length tapes whose amount fields appear as digits followed by a letter (e.g. "0000000000123D" or "0000000000045M").

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: SkillsBench evaluates how well skills work and how effective agents are at using them. The licence is Apache-2.0.

Example prompts

  • “overpunch”
  • “0000000000123D”
  • “0000000000045M”
  • “/ebcdic-overpunch-decoding”

What it can do on your machine

Read from SKILL.md and the folder at commit 9a1f4dd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are cobol).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ebcdic Overpunch Decoding loads about 1k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 400 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from benchflow-ai/skillsbench at commit 9a1f4dd, republished under its Apache-2.0 licence (© benchflow-ai). 400 words, ~1,009 tokens.

Download SKILL.mdSave it as .claude/skills/ebcdic-overpunch-decoding/SKILL.md (or your agent's skills folder).
name
ebcdic-overpunch-decoding
description
Reference for the EBCDIC "overpunch" / zoned-decimal sign convention where the units position of a numeric field is replaced with a letter that encodes both a digit and a sign. Useful when reading mainframe-style fixed-length tapes whose amount fields appear as digits followed by a letter (e.g. "0000000000123D" or "0000000000045M").

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

CharSignLast digitCharSignLast digit
{+0}−0
A+1J−1
B+2K−2
C+3L−3
D+4M−4
E+5N−5
F+6O−6
G+7P−7
H+8Q−8
I+9R−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.

Show full SKILL.md (210 more words)Show less

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:

cobol
       *> 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

The decisive point is that the EVALUATE must cover both halves of the table — the negative letters } and J–R as well as the positive {/A–I. The exact PIC clauses and MOVE targets depend on your own record layout; what matters is that no overpunch character falls through undecoded.

Some shops use COBOL's SIGN IS TRAILING SEPARATE / SIGN IS TRAILING clauses with native EBCDIC zoned data, but on ASCII-converted tapes the characters above are literally what you read — explicit lookup is the clearest decode.

Verification tip

Pick one positive and one negative row from the tape, decode by hand using the table, and reconcile against an expected total. If only the positive side works you will see plausible magnitudes but inverted aggregate signs.

References

  • IBM Enterprise COBOL Language Reference — "Zoned decimal" / "USAGE DISPLAY" with SIGN IS … clauses.
  • IBM Knowledge Center: "Signed zoned decimal numbers" (overpunch table for positive { A B C D E F G H I and negative } J K L M N O P Q R).

© benchflow-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in tasks-extra/cobol-gl-batch-reconcile/environment/skills/ebcdic-overpunch-decoding of benchflow-ai/skillsbench.

Open the folder on GitHubat commit 9a1f4dd

Compare with similar skills

Ebcdic Overpunch Decoding next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ebcdic Overpunch Decoding compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ebcdic Overpunch Decoding this skillbenchflow-ai/skillsbench1.8k—~1kAutomated safety check: PassApache-2.0
Ecc Conventionsaffaan-m/ECC275k—~2.8kAutomated safety check: PassMIT
Document Signingasgeirtj/system_prompts_leaks69k—~1.5kAutomated safety check: PassCC0-1.0
Evm Token Decimalsaffaan-m/ECC275k2 repos~997Automated safety check: PassMIT
Naming Conventionsthedaviddias/Front-End-Checklist74k—~481Automated safety check: PassMIT
Conventional CommitJanDeDobbeleer/oh-my-posh24k—~1.2kAutomated safety check: NotesMIT

Similar skills

  • Ecc Conventions

    affaan-m/ECC

    Development conventions and patterns for ECC. An agent skill from affaan-m/ECC.

    275k GitHub stars~2.8k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Document Signing

    asgeirtj/system_prompts_leaks

    Review documents for signature or prepare a signing packet; verify fields and recipients while keeping sending and signing under explicit user authorization.

    69k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Evm Token Decimals

    affaan-m/ECC

    Prevent silent decimal mismatch bugs across EVM chains. An agent skill from affaan-m/ECC.

    275k GitHub starsUsed in 2 repos~997 tokens
    Backend & APIsAuto-check passed
  • Naming Conventions

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use consistent CSS naming conventions.

    74k GitHub stars~481 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Conventional Commit

    JanDeDobbeleer/oh-my-posh

    Workflow for generating conventional commit messages following the Conventional Commits specification.

    24k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check: notes
  • Backend Conventions

    getsentry/sentry

    Official

    Sentry backend conventions for logging, tracing/spans, span/tag attribute naming, metrics tags, and the options system.

    46k GitHub stars~1.3k tokensUpdated today
    Auto-check passed

More from benchflow-ai/skillsbench

All 178 skills in this repo
  • Lean4 Memories

    benchflow-ai/skillsbench

    This skill should be used when working on Lean 4 formalization projects to maintain persistent memory of successful proof patterns, failed approaches, project conventions, and user preferences…

    1.8k GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Senior Data Engineer

    benchflow-ai/skillsbench

    World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, real-time streaming, and data infrastructure.

    1.8k GitHub stars~5.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Ac Branch Pi Model

    benchflow-ai/skillsbench

    AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching acopf-math-model.md and MATPOWER branch fields.

    1.8k GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Civ6lib

    benchflow-ai/skillsbench

    Civilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • D3 Visualization

    benchflow-ai/skillsbench

    Build deterministic, verifiable data visualizations with D3.js (v6).

    1.8k GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Dc Power Flow

    benchflow-ai/skillsbench

    DC power flow analysis for power systems. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~717 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Ebcdic Overpunch Decoding

What does Ebcdic Overpunch Decoding do?

Reference for the EBCDIC "overpunch" / zoned-decimal sign convention where the units position of a numeric field is replaced with a letter that encodes both a digit and a sign. Ebcdic Overpunch Decoding is an agent skill from benchflow-ai/skillsbench. Reference for the EBCDIC "overpunch" / zoned-decimal sign convention where the units position of a numeric field is replaced with a letter that encodes both a digit and a sign.

How do I install Ebcdic Overpunch Decoding in Claude Code?

Run `npx skills add benchflow-ai/skillsbench --skill ebcdic-overpunch-decoding -a claude-code`. Or copy the skill folder (tasks-extra/cobol-gl-batch-reconcile/environment/skills/ebcdic-overpunch-decoding in benchflow-ai/skillsbench) into .claude/skills/ebcdic-overpunch-decoding in your project. Claude Code loads it when a task matches its description.

How do I install Ebcdic Overpunch Decoding in Codex?

Run `npx skills add benchflow-ai/skillsbench --skill ebcdic-overpunch-decoding -a codex`. Or copy the skill folder (tasks-extra/cobol-gl-batch-reconcile/environment/skills/ebcdic-overpunch-decoding in benchflow-ai/skillsbench) into .agents/skills/ebcdic-overpunch-decoding in your project. Codex loads it when a task matches its description.

Can I use Ebcdic Overpunch Decoding in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add benchflow-ai/skillsbench --skill ebcdic-overpunch-decoding -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ebcdic-overpunch-decoding, .gemini/skills/ebcdic-overpunch-decoding, .github/skills/ebcdic-overpunch-decoding and .opencode/skills/ebcdic-overpunch-decoding in your project.

What does Ebcdic Overpunch Decoding need to run?

SKILL.md names no scripts, command-line tools or credentials: Ebcdic Overpunch Decoding is instructions for the agent only.

Does Ebcdic Overpunch Decoding access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ebcdic Overpunch Decoding safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ebcdic Overpunch Decoding use?

Ebcdic Overpunch Decoding is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ebcdic Overpunch Decoding use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ebcdic Overpunch Decoding?

Skills that share tags, products or a category with Ebcdic Overpunch Decoding: Ecc Conventions (affaan-m/ECC, 275k stars), Document Signing (asgeirtj/system_prompts_leaks, 69k stars), Evm Token Decimals (affaan-m/ECC, 275k stars) and Naming Conventions (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ebcdic Overpunch Decoding?

benchflow-ai (a GitHub organization) maintains it in benchflow-ai/skillsbench, which has 1,832 GitHub stars. The repository holds 178 skills in this directory. The repository was last updated on July 23, 2026.

Source: benchflow-ai/skillsbench on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.