Skills for Real Engineers. Straight from my .agents directory.
gl-posting-codes
Agent skill frombenchflow-ai/skillsbench
Background on general-ledger batch posting codes (HD/DR/CR/RV plus signed "other" rows). Reference only -- follow the task instruction for the exact rules, which may differ per account type.
How to install gl-posting-codes
npx skills add benchflow-ai/skillsbench# or add only this skill to Claude Code: copy the folder
tasks-extra/cobol-gl-batch-reconcile/environment/skills/gl-posting-codes/
# into
~/.claude/skills/gl-posting-codes/ (all projects)
.claude/skills/gl-posting-codes/ (one project)
tasks-extra/cobol-gl-batch-reconcile/environment/skills/gl-posting-codes/SKILL.md
Apache-2.0Full file1# GL posting codes on batch tapes23## Common two-character codes45| Code | Conventional role |6|------|-------------------|7| `HD` | Batch or account header — almost always excluded from balance accumulation |8| `DR` | Debit |9| `CR` | Credit |10| `RV` | Reversal — backs out a prior posting |11| `IN` | Interest accrual |12| `FE` | Fee |13| `AD` | Adjustment (typically uses the signed amount as-is) |1415The arithmetic direction associated with each code is **shop-specific**.16On some tapes a `DR` adds to the running balance; on others it subtracts.17Loan and asset accounts often invert the deposit-side convention. Always18follow the rules defined by the task at hand rather than assuming a19default.2021## Sign zone vs unsigned magnitude2223Many tapes split a transaction amount into a sign byte (`+`/`-`) and an24unsigned magnitude. Some rules use only the magnitude (the code provides25direction); others combine sign and magnitude into a signed value. Read26each rule carefully — mixing the two is a frequent defect.2728## Reconciliation checks2930- One output line per active account that received a non-header posting.31- Accounts sorted ascending unless the downstream system specifies32 otherwise.33- Recompute one or two account totals by hand from the detail tape34 before trusting a full balance file.3536## References3738- AFP / z/OS GL batch overview (IBM documentation) for shop-specific39 code lists40- Credit-union and bank operations manuals for control-total41 reconciliation workflows
Excerpt shown under the repository's Apache-2.0 license.
More skills in skillsbench
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
