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.
curl -O https://raw.githubusercontent.com/charliehzm/medharness/main/.claude/skills/audit-snapshot-micro/SKILL.mdgit clone --depth 1 https://github.com/charliehzm/medharnessWrote 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.
[](https://agentmods.dev/skills/charliehzm/medharness/audit-snapshot-micro)<a href="https://agentmods.dev/skills/charliehzm/medharness/audit-snapshot-micro"><img src="https://agentmods.dev/badge/skills/charliehzm/medharness/audit-snapshot-micro/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.
<a href="https://agentmods.dev/skills/charliehzm/medharness/audit-snapshot-micro"><img src="https://agentmods.dev/badge/skills/charliehzm/medharness/audit-snapshot-micro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00120 | $0.00700 |
| Opus 5 | $0.00060 | $0.00350 |
| Sonnet 5 | $0.00024 | $0.00140 |
| Haiku 4.5 | $0.00012 | $0.00070 |
Grade A, and why
audit-snapshot-micro 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.
What it actually says
Audit Snapshot · Micro 版
输出
MICRO_AUDIT.json(路径:紧靠 micro-change 的相关 PR 或 micro 目录):
{
"schema_version": "1.0",
"type": "micro_change",
"change_name": "...",
"files_changed": ["..."],
"diff_sha256": "sha256:...",
"test_result": "PASS|FAIL",
"test_summary": {"unit": N, "passed": N},
"developer": "...",
"parent_change": "openspec/changes/<...>", // optional
"archived_at": "ISO-8601",
"mcp_audit_log_receipt": {
"row_id": "...",
"self_hash": "sha256:..."
}
}
流程
- 计算 diff 的 sha256(
git diff --no-color) - 收集 test 输出(pytest / npm test 简化输出)
- 调
mcp-audit-log append(event_type:micro_change_seal) - 写 MICRO_AUDIT.json 到 PR 关联位置
与完整版的差别
| 项 | audit-snapshot (12 步) | audit-snapshot-micro |
|---|---|---|
| Bundle | tar.gz(含 prompts/changes/lineage/...) | 单 JSON |
| 大小 | 平均 87MB | < 5KB |
| Hash 链 | 内部哈希链 + ROOT_SHA256 | 单 diff_sha256 |
| WORM | seal_bundle 端点 | append 普通 event |
| 重放 | 4 小时可重放 | 不要求完整重放 |
| 保留 | 6 年 | 6 年(同) |
不允许
- 用 micro 包装大型变更(先 sop_router 校验)
- 跳过 mcp-audit-log
- 自定义 schema 字段(必须按上表)
抽查
Compliance Officer 月度抽 10%:
- diff_sha256 与 git 实际 diff 比对
- test_result 与 CI 历史核对
- 发现伪声明 → 涉事开发者培训 + 通道使用资格暂停 1 月
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.
- 12d ago First seen · 76 lines · 120 tokens per session scan A d85a677abab2
audit-snapshot-micro is a skill published in the GitHub repository charliehzm/medharness (86 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 120 tokens to every session and 700 once invoked, about $0.0006 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.
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…
HIPAA Compliance Testing
Testing HIPAA compliance for healthcare applications including PHI handling, audit logging, access controls, and data encryption verification.
Healthcare Compliance
HIPAA compliance, healthcare regulations, privacy and security standards for medical organizations and providers.
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)…
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.
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…