problem-framing

problem-framing is a skill for Claude Code, Codex from Avyayalaya/agent-prime. It costs 103 tokens per session (18,577 once invoked), scanned A, original, MIT.

A structured method for turning a vague product idea or user complaint into a clearly defined problem with affected people, evidence, constraints, and priorities.

In plain words
What is it for?
Use it to prepare a problem definition that guides user research, competitor analysis, product specifications, and metric planning.
Why use it?
It prevents teams from building a proposed feature before agreeing on the actual problem and who experiences it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to prepare a problem definition that guides user research, competitor analysis, product specifications, and metric planning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avyayalaya/agent-prime/problem-framing
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 Avyayalaya/agent-prime --skill problem-framing
Clone the repo
git clone --depth 1 https://github.com/Avyayalaya/agent-prime

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 problem-framing

README.md
[![agentmods](https://agentmods.dev/badge/skills/avyayalaya/agent-prime/problem-framing/github.svg)](https://agentmods.dev/skills/avyayalaya/agent-prime/problem-framing)
Your own site
<a href="https://agentmods.dev/skills/avyayalaya/agent-prime/problem-framing"><img src="https://agentmods.dev/badge/skills/avyayalaya/agent-prime/problem-framing/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 problem-framing

Your own site · 80×15
<a href="https://agentmods.dev/skills/avyayalaya/agent-prime/problem-framing"><img src="https://agentmods.dev/badge/skills/avyayalaya/agent-prime/problem-framing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 18,577 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.00103 $0.18577
Opus 5.5 $0.00041 $0.07431
Sonnet 5.5 $0.00021 $0.03715
Haiku 4.5 $0.00010 $0.01858

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

Security

Grade A, and why

problem-framing 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 3mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

shared/toolkits/skills/problem-framing/SKILL.md · 1,100 lines

How it starts

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

Purpose

Produce a Problem Definition Document — a structured artifact that decomposes a vague or assumed problem into an evidence-graded problem statement with identified stakeholders, quantified opportunity size, mapped constraints, and prioritized sub-problems. This is the upstream skill that feeds every downstream PM activity: Discovery, Competitive Analysis, Spec Writing, and Metric Design. The output is not a brief or a pitch — it is a rigorous decomposition that forces the question "What exactly are we solving and for whom?" to be answered with evidence, not assumption.

When to Use / When NOT to Use

Use this skill when:

  • A stakeholder says "we should build X" and you need to determine whether X solves a real problem
  • You have a vague problem area ("user retention is bad") that needs decomposition into solvable sub-problems
  • Multiple teams disagree on what the real problem is — you need a shared, evidence-graded definition
  • You are starting a new product initiative and need to define the problem space before Discovery or Competitive Analysis
  • A feature request arrives disguised as a problem statement and you need to peel back to the actual user pain
  • You need to prioritize across multiple candidate problems with limited resources
  • An existing product is underperforming and nobody agrees on why

Do NOT use this skill when:

  • The problem is already well-defined and validated — you need a spec, not more framing (use Spec Writing)
  • You need to understand the competitive landscape (use Competitive & Market Analysis — that skill consumes this one's output)
  • You need to design metrics for an already-defined feature (use Metric Design & Experimentation)
  • You need to run user research — this skill identifies what research to do, not how to do it (use Discovery & Research)
  • The "problem" is a technical bug with a known root cause (use your bug tracker)

Anti-inputs (what this skill does NOT handle):

  • Solution design or feature specification (-> Spec Writing skill)
  • User research methodology and interview design (-> Discovery & Research skill)
  • Competitive positioning (-> Competitive & Market Analysis skill)
  • Metric hierarchy and experiment design (-> Metric Design & Experimentation skill)
  • Organizational change management (this is product problem framing, not org design)

Read the full file on GitHub · 1,100 lines

Files

What ships with it

1 file 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. 3mo ago First seen · 1,100 lines · 103 tokens per session scan A 4648ccc2da85

Subscribe to this mod's changes

problem-framing is a skill published in the GitHub repository Avyayalaya/agent-prime (10 stars, last pushed 6mo ago), licensed MIT. It adds 103 tokens to every session and 18,577 once invoked, about $0.0004 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-08-31.

Related

problem-framing compared with skills from other repositories

problem-framing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
problem-framingAvyayalaya/agent-primeSkill106mo agoMITA103Claude Code, Codex
problem-framingAvyayalaya/pm-skills-arsenalSkill818d agoMITA103Claude Code
strategy-generateHKUDS/Vibe-TradingSkill39kyesterdayMITA21Claude Code, Codex
ml-strategyHKUDS/Vibe-TradingSkill39kyesterdayMITA30Claude Code, Codex
bottleneck-hunterHKUDS/Vibe-TradingSkill39kyesterdayMITA145Claude Code, Codex
execution-modelHKUDS/Vibe-TradingSkill39kyesterdayMITA41Claude Code, Codex
event-drivenHKUDS/Vibe-TradingSkill39kyesterdayMITA38Claude Code, Codex