problem-analysis

problem-analysis is a skill for Claude Code from i-stack/ai-coding-kit. It costs 88 tokens per session (990 once invoked), scanned A, original, MIT.

A skill that checks a question for faulty assumptions, breaks the underlying problem into basic parts, and aims to understand it before answering.

In plain words
What is it for?
Use it for technical questions, design discussions, and implementation requests that require judgment.
Why use it?
It helps prevent answers that accept contradictions or solve the wrong problem.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skills-engineering plugin — 13 skills shipped together

Good fit Use it for technical questions, design discussions, and implementation requests that require judgment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/i-stack/ai-coding-kit/problem-analysis
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 i-stack/ai-coding-kit --skill problem-analysis
Clone the repo
git clone --depth 1 https://github.com/i-stack/ai-coding-kit

Made for: Claude Code.

Or install skills-engineering, the plugin that ships this one along with the rest of its 13 skills.

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-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/problem-analysis/github.svg)](https://agentmods.dev/skills/i-stack/ai-coding-kit/problem-analysis)
Your own site
<a href="https://agentmods.dev/skills/i-stack/ai-coding-kit/problem-analysis"><img src="https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/problem-analysis/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-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/i-stack/ai-coding-kit/problem-analysis"><img src="https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/problem-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 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.00088 $0.00990
Opus 5.5 $0.00035 $0.00396
Sonnet 5.5 $0.00018 $0.00198
Haiku 4.5 $0.00009 $0.00099

Measured 24d ago against content hash 67e9a8ed19b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

problem-analysis 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 24d 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.

skills-engineering/problem-analysis/SKILL.md · 58 lines

What it actually says

Problem Analysis

强制入口

命中本 skill 时,必须先完整阅读 references/problem_analysis.md 并按其中条款执行。

三条核心规则

  • [PA-001] 逻辑检验:收到问题后,先审查问题本身是否含逻辑错误、矛盾前提、循环假设或虚假二分。仅当命中「实质」四条独立判据时才必须揭示;轻微偏差静默。
  • [PA-002] 第一性原理:推理/取舍类从底层需求拆解。用户未提出路径则跳过路径评估。事实类走查证,不从第一性原理推导(与 GR-013 同边界)。手段关系的更优路径须点明后仍按用户原路径作答;表层交付物与底层目标互相替代则停确认。
  • [PA-003] 理解门控:PA-001 + PA-002 完成前不开始正式回复。三态互斥:清晰 / 无路径 / 事实类 → 静默;实质缺陷或更优路径 → 输出 问题分析 块后作答;表层与底层互相替代 → 输出块(路径评估写「未确认,不推进」)后只问确认,确认前不推进方案。

细则见 references/problem_analysis.md。

问题分析 块(机械格式)

仅在显式作答或停确认时输出。字段名固定,不得改成「逻辑问题 / 更优路径」等别名:

问题分析
逻辑检验:<发现的逻辑缺陷,或「无」>
真实需求:<第一性原理拆解后的底层目标>
路径评估:<当前方案是否最优;若有更优解,一句话说明;停确认时写「未确认,不推进」>

显式作答时块后紧接正式回复;停确认时块后只问确认问题。本块谈输入(问题本身),不与 逻辑链 / 验证锚点 / 四段式合并。

何时加载

  • 默认:收到任何含判断的技术问题、方案讨论、实现请求、架构取舍时。不依赖用户说出「第一性原理 / 深层需求 / 问题偏差」。
  • 跳过:纯机械执行(格式化代码、直接翻译)、无判断成分的信息复述。

与相邻 skill 的分工

Skill 分工
problem-analysis(本 skill) 分析问题本身的合理性与真实需求(L0,正式回复前)
engineering-discipline(GR-002) 问题描述不清时前置确认;本 skill 不替代该块
cognitive-reasoning(GR-013) 判定本题是事实(查证)还是推理(才允许 PA-002)
cognitive-reasoning(GR-010) 约束 AI 自身回复的论证质量
cognitive-reasoning(CAM-001~005) 挑战用户结论;与本 skill 同时命中时先完成问题审查,再输出 CAM 字段
plan-grill(PG-000) 本 skill 完成后,盘问实现方案决策树;问题未审查完不开始盘问
cognitive-reasoning(CE-*,Tier 0/3) 回复后的认知拓展
Files

What ships with it

8 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. 24d ago Changed · +21 lines · +43 tokens per session 67e9a8ed19b8
  2. 3mo ago First seen · 37 lines · 45 tokens per session scan A 34ada1e1a836

Subscribe to this mod's changes

problem-analysis is a skill published in the GitHub repository i-stack/ai-coding-kit (3 stars, last pushed 11d ago), licensed MIT. It adds 88 tokens to every session and 990 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-analysis compared with skills from other repositories

problem-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
problem-analysisi-stack/ai-coding-kitSkill311d agoMITA88Claude Code
agent-creatorhotovo/aider-deskSkill1.5k9d agoApache-2.0A60Claude Code, Codex
writing-testshotovo/aider-deskSkill1.5k9d agoApache-2.0A48Claude Code, Codex
githits-mcpgithits-com/githits-cliSkill144todayApache-2.0A48Claude Code
ppt-design-skillsunchaokun/PPT-Design-SkillSkill5312mo agoMITA35Codex
hunk-reviewkodustech/kodus-aiSkill1.7ktodaynoneA69Claude Code, Codex
kodus-review-settingskodustech/kodus-aiSkill1.7ktodaynoneA92Claude Code, Codex