product-cli: Skill for Claude Code

.claude/skills/product-what/SKILL.md

product-what is a skill for Claude Code from Hafeok/product-cli. It costs 116 tokens per session (1,618 once invoked), scanned C, original, MIT.

A product-model authoring skill for defining what a product contains and how it behaves. It covers areas of meaning, entities, commands, events, read models, triggers, systems, and flows.

In plain words
What is it for?
Use it during the What phase to create the product's domain and event model.
Why use it?
It gives a structured place to describe the product before deciding how to build it. This helps keep the product's parts and interactions connected.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Hafeok/product-cli's own configuration. It tells Claude Code how to work on product-cli 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 product-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Hafeok/product-cli. 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/Hafeok/product-cli/main/.claude/skills/product-what/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Hafeok/product-cli

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 product-what

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hafeok/product-cli/product-what"><img src="https://agentmods.dev/badge/skills/hafeok/product-cli/product-what.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,618 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00116 $0.01618
Opus 5.5 $0.00046 $0.00647
Sonnet 5.5 $0.00023 $0.00324
Haiku 4.5 $0.00012 $0.00162

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

Security

Grade C, and why

product-what scanned grade C with 1 finding 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- BEGIN GENERATED: what-policy (product_mcp::instructions::skill_section) -->
.claude/skills/product-what/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Product Session — the What phase

Author the What: one graph with two lanes — domain (structure, §3.1) and event (behaviour, §3.2) — with bridge edges crossing between them.

Author in dependency order: domains → systems → flows. The domain is the hardest part and everything references it, so get it right first; then name the systems that reference those domains; only then the flows — because a flow belongs to exactly one system (§3.2.5) and cannot exist without it.

Precondition: call product_workflow_status; phase must be what. If not, use product-session to advance/route.

The question script (author in this order)

  1. Bounded contexts — what areas of meaning are there? → product_domain_new kind=context
  2. Aggregates / entities — what are the aggregate roots? their identity? → kind=entity (is_aggregate_root, identity, context); describe them with kind=value-object.
  3. Commands — per aggregate, what commands target it, and what does each emit? → kind=command (targets, emits).
  4. Events — what does each command emit, and what entity does each event change? Events are thin (just changes + context). → kind=event (changes).
  5. Read-models — what views project which entities/events? → kind=read-model (projects).
  6. Triggers (§3.2.0) — what's the source (user | external | automated) issuing each command? → kind=trigger (source, issues).
  7. Systems (§3.2.5) — name the surfaces that reference the domains (an app, website, service, or CLI), before any flow — a flow belongs to exactly one system. → kind=system (system_kind, purpose, references_domain).
  8. Flows (§3.2.4) — chain trigger → command → event → read-model into named flows and assign system ownership to a system from step 7. → kind=flow (steps, system).
  9. Deciders (§3.3) — make behaviour executable: product_decider_derive <aggregate> → product_decider_validate <id> → product_decider_simulate.
  10. Projectors (§3.4) — the read-model peer: product_projector_derive → product_projector_validate.

Read the full file on GitHub · 116 lines

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 First seen · 116 lines · 116 tokens per session scan C fa875284f7fa

Subscribe to this mod's changes

product-what is a skill published in the GitHub repository Hafeok/product-cli (6 stars, last pushed 1mo ago), licensed MIT. It adds 116 tokens to every session and 1,618 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens