ahk-use-case

ahk-use-case is a skill for Claude Code, Codex from enmanuelmag/agent-harness-kit. It costs 26 tokens per session (342 once invoked), scanned A, original, Apache-2.0.

A guided workflow for turning a user's goal into a documented use case. It asks one decision question at a time, records the expected behavior and boundaries, and saves a draft for review.

In plain words
What is it for?
Use it to document user scenarios, split unrelated requests, capture normal and failure paths, and maintain drafts that can later support a functional specification.
Why use it?
It prevents requirements from being mixed with implementation choices and makes missing details, exceptions, and acceptance conditions visible before development starts.

Skill for Claude CodeCodex

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

Good fit Use it to document user scenarios, split unrelated requests, capture normal and failure paths, and maintain drafts that can later support a functional specification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/enmanuelmag/agent-harness-kit/ahk-use-case
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 enmanuelmag/agent-harness-kit --skill ahk-use-case
Clone the repo
git clone --depth 1 https://github.com/enmanuelmag/agent-harness-kit

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 ahk-use-case

README.md
[![agentmods](https://agentmods.dev/badge/skills/enmanuelmag/agent-harness-kit/ahk-use-case/github.svg)](https://agentmods.dev/skills/enmanuelmag/agent-harness-kit/ahk-use-case)
Your own site
<a href="https://agentmods.dev/skills/enmanuelmag/agent-harness-kit/ahk-use-case"><img src="https://agentmods.dev/badge/skills/enmanuelmag/agent-harness-kit/ahk-use-case/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 ahk-use-case

Your own site · 80×15
<a href="https://agentmods.dev/skills/enmanuelmag/agent-harness-kit/ahk-use-case"><img src="https://agentmods.dev/badge/skills/enmanuelmag/agent-harness-kit/ahk-use-case.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 342 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.00342
Opus 5.5 $0.00010 $0.00137
Sonnet 5.5 $0.00005 $0.00068
Haiku 4.5 $0.00003 $0.00034

Measured 1mo ago against content hash 0b83cf6602bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ahk-use-case 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 1mo 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.

src/core/materializer/skills/ahk-use-case/SKILL.md · 17 lines

What it actually says

Start from the user's outcome, actor, and trigger. Ask exactly one decision question at a time. Research independent facts in the project with the available tools before asking the user to decide them.

Read the workflow and the template before saving.

Split the request when it contains independent actor-goal-result scenarios. Explain the proposed split and keep linked use cases separately reviewable. Do not choose implementation architecture, libraries, APIs, or a technical design.

Capture preconditions, main flow, alternatives, failures, business rules, boundaries, exclusions, observable outcome, and acceptance criteria. Persist a use-case draft with specs.create; real use cases are stored in docs/use-cases/. Save the first coherent draft before asking for explicit approval. Update it as the conversation refines it, validate after every write, and only transition it to approved after direct user approval.

An approved use case can be linked from a functional spec through sourceUseCases. Offer ahk-spec when the user wants scope and requirements derived from approved use cases.

The MCP assigns new documents a YYYY-MM-DD-<slug>.md filename using the UTC creation date. Use the returned filePath (relative to the configured docs directory) to locate the artifact; do not reconstruct or rename it. The prefix belongs only to the physical filename: keep the logical slug, title, source references, and relationships unchanged. Existing files retain their paths on every update.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +2 lines 0b83cf6602bc
  2. 1mo ago First seen · 15 lines · 26 tokens per session scan A eef1efdeb36f

Subscribe to this mod's changes

ahk-use-case is a skill published in the GitHub repository enmanuelmag/agent-harness-kit (183 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 26 tokens to every session and 342 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-10-10.

Related

ahk-use-case compared with skills from other repositories

ahk-use-case next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ahk-use-caseenmanuelmag/agent-harness-kitSkill1831mo agoApache-2.0A26Claude Code, Codex
OpenCodeagentic-in/elephant-agentSkill5863mo agononeA23Claude Code, Codex
macro-outlookTauricResearch/TradingAgentsSkill124k5d agoApache-2.0A0Claude Code, Codex
nano-banana-pro-openrouteropensquilla/opensquillaSkill7.2k4d agoApache-2.0A49Claude Code
skill-creator-linteropensquilla/opensquillaSkill7.2k4d agoApache-2.0A84Claude Code
clinicaltrials-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A47Claude Code, Codex
openalex-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex