mainframe-openspec

mainframe-openspec is a skill for Claude Code, Codex from CATWILLgh/MAINFRAME. It costs 26 tokens per session (1,309 once invoked), scanned A, original, MIT.

A workflow for using OpenSpec, a structured way to plan and hand off substantial software changes. It supports collaborative specifications, implementation handoff, resuming assigned changes, and archiving completed work.

In plain words
What is it for?
Starting or resuming an OpenSpec change, inspecting its configuration and specifications, handing work to implementation, and archiving the result.
Why use it?
It keeps specifications in the correct repository and worktree—the particular checkout being used—and avoids creating duplicate planning trees or using the workflow when it was not chosen.

Skill for Claude CodeCodex

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

Good fit Starting or resuming an OpenSpec change, inspecting its configuration and specifications, handing work to implementation, and archiving the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/catwillgh/mainframe/mainframe-openspec
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 CATWILLgh/MAINFRAME --skill mainframe-openspec
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

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 mainframe-openspec

README.md
[![agentmods](https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-openspec/github.svg)](https://agentmods.dev/skills/catwillgh/mainframe/mainframe-openspec)
Your own site
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-openspec"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-openspec/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 mainframe-openspec

Your own site · 80×15
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-openspec"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-openspec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,309 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.00026 $0.01309
Opus 5.5 $0.00010 $0.00524
Sonnet 5.5 $0.00005 $0.00262
Haiku 4.5 $0.00003 $0.00131

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

Security

Grade A, and why

mainframe-openspec 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 13d 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.

skills/mainframe-openspec/SKILL.md · 104 lines

How it starts

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

Develop a change with OpenSpec

Use OpenSpec when the user opts in for the change or assigns an existing OpenSpec package. Ordinary feature work and idea capture keep their existing workflow. Size or uncertainty alone does not select OpenSpec.

Resolve the planning location

  • Identify the active repository and worktree. Check .docs/openspec/ and root openspec/ for existing configuration, changes, and specs. For new adoption, track artifacts under <repo>/.docs/openspec/. Resume existing changes in their assigned tree. Resolve ownership before creating a second tree, moving artifacts, or using a shared store. Check resolved paths for symlink and store redirects outside the assigned worktree.
  • Run every OpenSpec command from the parent of the selected openspec/ tree. Use <repo>/.docs for the MAINFRAME layout or <repo> for an assigned root layout. Use the actual repository and its normal entrypoints for source inspection, implementation, and project checks.
  • Use the project's approved OpenSpec executable if it specifies one. Otherwise use the shared MAINFRAME executable at ~/.local/share/mainframe/runtime/bin/openspec when present, then check openspec on PATH. Check its version and relevant command help. Use the resolved executable for every openspec command in this skill. For an authorized first proposal, create .docs if needed, then run openspec init --tools none from .docs. This delegates project structure to OpenSpec and keeps agent integration with MAINFRAME. Before changing a package, verify the local config and the root reported by openspec list --json or an equivalent read-only command in that release. If the CLI is missing, request the shared OpenSpec runtime through the maintained MAINFRAME installer. Keep CLI installation outside the project. If the CLI root cannot be verified, report the specific gap. Exploration can continue in chat while setup is resolved.

Explore, propose, and revise

Read the full file on GitHub · 104 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. 13d ago Changed · +7 lines · -13 tokens per session ddbcbee6495a
  2. 20d ago First seen · 97 lines · 39 tokens per session scan A ead1bfaa9aed

Subscribe to this mod's changes

mainframe-openspec is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 13d ago), licensed MIT. It adds 26 tokens to every session and 1,309 once invoked, about $0.0001 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-11-10.

Related

mainframe-openspec compared with skills from other repositories

mainframe-openspec next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mainframe-openspecCATWILLgh/MAINFRAMESkill213d agoMITA26Claude Code, Codex
live-canvashamr0/liteagentsSkill283d agoApache-2.0A50Claude Code
docs-builderhamr0/liteagentsSkill283d agoApache-2.0A23Claude Code
releasehamr0/liteagentsSkill283d agoApache-2.0A19Claude Code
root-causehamr0/liteagentsSkill283d agoApache-2.0A56Claude Code
self-reviewhamr0/liteagentsSkill283d agoApache-2.0A20Claude Code
securityhamr0/liteagentsSkill283d agoApache-2.0A14Claude Code