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.
npx skills add i-stack/ai-coding-kit --skill problem-analysisgit clone --depth 1 https://github.com/i-stack/ai-coding-kitWrote 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.
[](https://agentmods.dev/skills/i-stack/ai-coding-kit/problem-analysis)<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.
<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>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.
| Model | Per session | Once 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 |
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.
What it actually says
Problem Analysis
强制入口
命中本 skill 时,必须先完整阅读 references/problem_analysis.md 并按其中条款执行。
- 不得以 preamble 或摘要代替该文件全文。
- 规则 ID 真值索引见 references/rule_index.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) |
回复后的认知拓展 |
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.
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.
- 24d ago Changed · +21 lines · +43 tokens per session 67e9a8ed19b8
- 3mo ago First seen · 37 lines · 45 tokens per session scan A 34ada1e1a836
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.
problem-analysis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| problem-analysisi-stack/ai-coding-kit | Skill | 3 | 11d ago | MIT | A | 88 | Claude Code |
| agent-creatorhotovo/aider-desk | Skill | 1.5k | 9d ago | Apache-2.0 | A | 60 | Claude Code, Codex |
| writing-testshotovo/aider-desk | Skill | 1.5k | 9d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| githits-mcpgithits-com/githits-cli | Skill | 144 | today | Apache-2.0 | A | 48 | Claude Code |
| ppt-design-skillsunchaokun/PPT-Design-Skill | Skill | 531 | 2mo ago | MIT | A | 35 | Codex |
| hunk-reviewkodustech/kodus-ai | Skill | 1.7k | today | none | A | 69 | Claude Code, Codex |
| kodus-review-settingskodustech/kodus-ai | Skill | 1.7k | today | none | A | 92 | Claude Code, Codex |