medharness: Skill for Claude Code

.claude/skills/quick-fix/SKILL.md

quick-fix is a skill for Claude Code from charliehzm/medharness. It costs 173 tokens per session (903 once invoked), scanned A, original, Apache-2.0.

A routing and delivery process for very small software changes, such as a bug fix, documentation edit, or configuration update. It checks whether the change is low risk before allowing the shorter process.

In plain words
What is it for?
Use it for changes affecting no more than two files, when there is no new language-model call, data-model change, specification change, or restricted sensitive field.
Why use it?
It avoids applying a long development procedure to minor changes while sending larger or sensitive changes through the full process.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; $skill-name invocation.

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/quick-fix/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 quick-fix

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/charliehzm/medharness/quick-fix"><img src="https://agentmods.dev/badge/skills/charliehzm/medharness/quick-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 173 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 903 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.00173 $0.00903
Opus 5 $0.00086 $0.00451
Sonnet 5 $0.00035 $0.00181
Haiku 4.5 $0.00017 $0.00090

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

Security

Grade A, and why

quick-fix 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 10d 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/quick-fix/SKILL.md · 92 lines

What it actually says

Quick Fix · 微 Change 通道入口

核心机制

不是"绕开 SOP",是为低风险变更建立第二个并行通道

用户: "我要修个 typo / fix 个小 bug"
       │
       ▼
   $quick-fix
       │
       ▼
   sop_router 判定 (auto)
       ├─ micro: 5 步流程
       └─ full:  redirect 到完整 SOP

何时用

  • bugfix 改 ≤ 2 文件
  • 文档 / README / 注释更新
  • 配置 / 常量调整
  • 单元测试补全(不动主代码)

何时不用(必须走完整 SOP)

  • 任何新 feature
  • 任何 spec / design 修改
  • 任何接口 / 数据模型变化
  • 任何 L3/L4 字段相关代码(即便只读)
  • 多文件 refactor
  • mcp / .claude/skills/ / governance/runbooks/ 内容修改

流程(详见 研发交付SOP-v2.2-micro.md

  1. 路由判定scripts/sop_router.py --files <列表> 必须返回 micro
  2. MICRO_TAG:极简版 COMPLIANCE_TAG(自我声明)
  3. 实现:直接改代码
  4. 测试:相关 testcase 跑一遍
  5. PR + 轻量审计:直接 PR comment review,归档 MICRO_AUDIT.json

防伪 micro

sop_router.py 强校验:

  • 文件数 ≤ 2
  • 不触 L3/L4 字段(grep fields.yml 中字段名)
  • 不引入 LLM 调用(grep model-router / 模型 API endpoint)
  • 不在 restricted dirs(mcp/ skills/ runbooks/ 等)

任一违反 → 自动 redirect 到 full SOP。

月度抽查

  • Compliance Officer 月度抽 10% micro-change 事后扫描
  • 同模块连续 micro 累计 ≥ 5 → 自动告警(怀疑"micro 累计绕 SOP")

失败模式

  1. 滥用 quick-fix:把 feature 拆成 micro 系列 → sop_router 累计检测拦
  2. 声明虚假:MICRO_TAG 自我声明无 PHI 但实际有 → 月度抽查事后处罚
  3. 跳过测试:micro 不跑 test 直接 PR → CI 拦

与其他 Skill 的关系

  • compliance-precheck-micro(v2.2 alias,Step μ1 用)
  • openspec-apply-change(Step μ2 用)
  • audit-snapshot-micro(v2.2 新增,Step μ5 用)
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. 10d ago First seen · 92 lines · 173 tokens per session scan A 0e769983acc5

Subscribe to this mod's changes

quick-fix is a skill published in the GitHub repository charliehzm/medharness (86 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 173 tokens to every session and 903 once invoked, about $0.0009 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