medharness: Skill for Claude Code

.claude/skills/ask-questions-if-underspecified/SKILL.md

ask-questions-if-underspecified is a skill for Claude Code from charliehzm/medharness. It costs 149 tokens per session (657 once invoked), scanned A, original, Apache-2.0.

A clarification checkpoint for software work whose requirements are not specific enough. It asks up to five focused questions before work continues.

In plain words
What is it for?
Use it during product requirements, technical design, test-driven development (writing tests around expected behavior), design, or task planning when key decisions remain unclear.
Why use it?
It prevents an agent from guessing about important choices and producing the wrong result. It focuses on answers that would change what gets built, especially questions involving compliance or data handling.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

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/ask-questions-if-underspecified/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 ask-questions-if-underspecified

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/charliehzm/medharness/ask-questions-if-underspecified"><img src="https://agentmods.dev/badge/skills/charliehzm/medharness/ask-questions-if-underspecified.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 657 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.00149 $0.00657
Opus 5 $0.00075 $0.00329
Sonnet 5 $0.00030 $0.00131
Haiku 4.5 $0.00015 $0.00066

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

Security

Grade A, and why

ask-questions-if-underspecified 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/ask-questions-if-underspecified/SKILL.md · 64 lines

What it actually says

Ask Questions If Underspecified

The "stop and clarify" gate. Many AI Coding failures trace back to "Agent assumed X, X was wrong, 4 hours wasted." This skill catches that early.

Core principle

Only ask decision-shaping questions. If the answer changes nothing about what gets built, don't ask.

Question taxonomy

For each candidate question, classify:

Type Ask? Example
Decision-shaping YES "Should L4 PHI be stored encrypted at rest or only redacted?"
Preference Only if 2 acceptable paths "Frontend React or Vue?"
Trivia NO "What color is the button?" (decide and move on)
Compliance-touching ALWAYS Anything touching tier / model / audit

Workflow

  1. List unknowns surfaced from the upstream artifact (PRD / TDD / design).
  2. Classify each per the taxonomy.
  3. Keep at most 5 of type decision-shaping or compliance-touching.
  4. Phrase each question so the answer is bounded (multiple-choice or numeric).
  5. Format with AskUserQuestion tool when available; otherwise inline.
  6. Never ask "is this OK" / "should I proceed" — those are not clarifications.

Output

A list of ≤ 5 questions, each with:

  • Header (≤ 12 chars chip label)
  • Why it matters (one line)
  • 2-4 mutually exclusive options (or "numeric input")
  • Recommended default

Common failure modes

  1. Question dump — asking 15 questions exhausts the user. Cap at 5; everything else is your call.
  2. Open-ended phrasing — "What do you think about X?" produces non-actionable answers. Always bound.
  3. Asking after committing — questions came too late, work already started. Run this skill earlier in the SOP.
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 · 64 lines · 149 tokens per session scan A 39b353315bdf

Subscribe to this mod's changes

ask-questions-if-underspecified is a skill published in the GitHub repository charliehzm/medharness (86 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 149 tokens to every session and 657 once invoked, about $0.0007 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