medharness: Skill for Claude Code

.claude/skills/openspec-new-change/SKILL.md

openspec-new-change is a skill for Claude Code from charliehzm/medharness. It costs 6 tokens per session (879 once invoked), scanned A, original, Apache-2.0.

A setup step that creates the folder and starter files for a new OpenSpec change. An OpenSpec change is a structured proposal for modifying a codebase.

In plain words
What is it for?
Use it at the beginning of a change to create its directory, initialize the required documents, and record the initial compliance and model references.
Why use it?
It gives later planning and implementation steps a consistent place for the proposal, design, specifications, tasks, compliance tag, and model allowlist.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is charliehzm/medharness's own configuration. It tells Claude Code how to work on medharness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything medharness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to charliehzm/medharness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/charliehzm/medharness/main/.claude/skills/openspec-new-change/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/charliehzm/medharness

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 openspec-new-change

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/charliehzm/medharness/openspec-new-change"><img src="https://agentmods.dev/badge/skills/charliehzm/medharness/openspec-new-change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 879 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.00006 $0.00879
Opus 5 $0.00003 $0.00439
Sonnet 5 $0.00001 $0.00176
Haiku 4.5 $0.00001 $0.00088

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

Security

Grade A, and why

openspec-new-change 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.

.claude/skills/openspec-new-change/SKILL.md · 70 lines

What it actually says

OpenSpec New Change

The bootstrap step of an OpenSpec change. Sets up structure; content fills in the next step (openspec-continue-change).

Scaffolded structure

openspec/changes/<slug>/
├── proposal.md                 # 30-second readout: why + scope + stage + DoD
├── design.md                   # technical approach + 合规设计说明
├── specs/
│   └── index.md                # spec id table; one row per shippable behavior
├── tasks.md                    # task list (filled by task-decomposition next)
├── COMPLIANCE_TAG.md           # signed at Step 0 (link or copy)
└── MODEL_ALLOWLIST.json        # active at Step 0

Workflow

  1. Derive slug — from the PRD stage name (中文允许,URL-safe optional).
  2. Initialize — create directory + 4 skeleton files.
  3. Fill proposal — pull from PRD §1, §3, §5 (for the relevant stage).
  4. Fill design — leave technical body for openspec-continue-change; must include ## 合规设计说明 section now (data tier, PHI flow, model allowlist summary).
  5. Init specs — table with at least 1 placeholder row; spec ids of form S<n>-<short>.
  6. Init tasks — empty list; task-decomposition fills it.
  7. Sanity — all references resolve (PRD path, COMPLIANCE_TAG path).

Compliance Design section template

## 合规设计说明

- 数据等级: <L1/L2/L3/L4>(引用 COMPLIANCE_TAG.md §2)
- PHI 流向: <从哪到哪到哪>(如适用)
- 模型 allowlist: <coder/reviewer/architect 选型摘要,详见 MODEL_ALLOWLIST.json>
- 跨境数据: 是 / 否(如是,必须额外说明绕开方式)
- 新增 prompt 注入面: 是 / 否(如是,列出 RAG/工具/外部输入路径)

Common failure modes

  1. Missing COMPLIANCE_TAG link — design.md 写出来后才发现忘了合规章节。修:本 skill 强制建出该 section。
  2. Slug over-engineeringomni-agent-os-stage-3-orchestrator-minimal-execution-v2-redux 太长。修:保持简短可识别。
  3. Specs without rows — index.md 留空。修:至少给 1 个占位 spec id。
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 · 70 lines · 0 tokens per session scan A 4186c6eca714

Subscribe to this mod's changes

openspec-new-change is a skill published in the GitHub repository charliehzm/medharness (86 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 6 tokens to every session and 879 once invoked, about $0.0000 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-30.

Related

Other skills, from other repositories

hipaa-review

Performs a HIPAA Security Rule compliance review against all Administrative, Physical, and Technical Safeguards defined in 45 CFR Part 164, Subpart C. Auto-invoked when discussing healthcare data security, ePHI protection, HIPAA audit readiness, or business associate compliance. Evaluates required and addressable…

UnitOneAI/SecuritySkills · 86 tokens

HIPAA Compliance Testing

Testing HIPAA compliance for healthcare applications including PHI handling, audit logging, access controls, and data encryption verification.

PramodDutta/qaskills · 28 tokens

Healthcare Compliance

HIPAA compliance, healthcare regulations, privacy and security standards for medical organizations and providers.

jmsktm/claude-settings · 19 tokens

compliance

Use when scoping which regulatory frameworks bind a business — SOC 2, ISO 27001, HIPAA, PCI DSS, EU AI Act, DORA, NIS2 — building a control register with owners and evidence, or standing up the cadence that keeps it audit-ready. NOT drafting privacy-policy/ROPA/DPA or ToS text (that is gdpr-privacy, terms-conditions)…

ericrisco/rsc-harness · 96 tokens

healthcare-expert

Expert-level healthcare systems, medical informatics, HIPAA compliance, and health data standards. Use when the user mentions medical, HIPAA, HL7, FHIR, or EHR, or when the task involves Healthcare IT, Standards and Protocols, Regulatory Compliance, or Security and Compliance.

personamanagmentlayer/pcl · 64 tokens

performing-soc2-type2-audit-preparation

Automates SOC 2 Type II audit preparation including gap assessment against AICPA Trust Services Criteria (CC1-CC9), evidence collection from cloud providers and identity systems, control testing validation, remediation tracking, and continuous compliance monitoring. Covers all five TSC categories (Security…

adriannoes/awesome-agentic-ai · 112 tokens