double-diamond-skill

double-diamond-skill is a skill for Claude Code, Codex from peterfei/forge-skill. It costs 82 tokens per session (2,636 once invoked), scanned A, original, MIT.

A structured design method based on the Double Diamond, a model that first explores and defines a problem, then explores and delivers possible solutions.

In plain words
What is it for?
Use it to investigate unclear challenges, broaden and narrow possible problem definitions, develop ideas, and choose a direction.
Why use it?
It helps teams avoid rushing into a solution before understanding which problem they should solve.

Skill for Claude CodeCodex

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

Good fit Use it to investigate unclear challenges, broaden and narrow possible problem definitions, develop ideas, and choose a direction.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/peterfei/forge-skill/double-diamond-skill
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 peterfei/forge-skill --skill double-diamond-skill
Clone the repo
git clone --depth 1 https://github.com/peterfei/forge-skill

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 double-diamond-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/peterfei/forge-skill/double-diamond-skill/github.svg)](https://agentmods.dev/skills/peterfei/forge-skill/double-diamond-skill)
Your own site
<a href="https://agentmods.dev/skills/peterfei/forge-skill/double-diamond-skill"><img src="https://agentmods.dev/badge/skills/peterfei/forge-skill/double-diamond-skill/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 double-diamond-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/peterfei/forge-skill/double-diamond-skill"><img src="https://agentmods.dev/badge/skills/peterfei/forge-skill/double-diamond-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,636 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.00082 $0.02636
Opus 5.5 $0.00033 $0.01054
Sonnet 5.5 $0.00016 $0.00527
Haiku 4.5 $0.00008 $0.00264

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

Security

Grade A, and why

double-diamond-skill 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.

methods/double-diamond-skill/SKILL.md · 175 lines

How it starts

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

双钻模型 · 思维工具

"The Double Diamond is a visual representation of the design and innovation process. It's a simple way to describe the steps taken in any design and innovation project." — British Design Council

激活条件与触发词

  • 直接调用:「用双钻模型分析...」「discover define...」
  • 语义触发:用户面对模糊的复杂问题需要结构化流程、不确定该怎样从问题到方案
  • 组合调用:「先用双钻模型走完整流程,再用设计思维的共情方法做 Discover」

方法框架概览

双钻模型的核心是两轮发散收敛的结构化探索,它通过先探索问题空间再探索方案空间、每个空间先发散再收敛来确保解决正确的问题并用正确的方式解决。

核心原理(3-7个,每个须附 ≥2 个跨域证据)

原理 1: 先发散后收敛是解决复杂问题的基本节奏

一句话定义:不要急着找答案——先尽可能多的发现可能性,再集中精力选出最优解。

跨域证据:

  1. 创意设计:IDEO 项目开始时不画图而是广泛观察用户行为(发散),然后聚集到最有启发的洞察(收敛)(来源:Kelley, The Art of Innovation, 2001)
  2. 科学研究:科学发现遵循"产生假设(发散)→设计实验证实/证伪(收敛)"的循环(来源:Popper, The Logic of Scientific Discovery, 1934)

应用方式:在每个阶段开始之前明确问"现在是发散还是收敛阶段?"。发散时禁止评估,收敛时禁止发散。

局限:发散需要时间。在极度时间受限的场景中可能跳过发散直接收敛(即凭经验直觉判断)。

原理 2: 问题空间和方案空间需分别探索

一句话定义:花时间找到一个正确的问题,比快速解决一个错误的问题更有价值。

跨域证据:

  1. 企业转型:BBC 数字化转型先花 6 个月理解"观众在数字时代真正需要什么"(问题空间)再设计数字化产品(方案空间)(来源:BBC, Digital Transformation Case, 2010)
  2. 产品战略:Vettery 重设计前花大量时间研究"招聘经理最痛苦的不是找简历而是筛选"(重新定义问题)然后重新设计产品(来源:Vettery Product Redesign, 2017)

应用方式:在开始想方案之前,先确认你真正确认了正确的问题。用 HMW 格式重写问题≥3 次。

局限:某些场景(如紧急 bug 修复)无法承受两轮完整探索。

原理 3: 重新定义问题比匆忙给出方案更有价值

一句话定义:大多数公司失败不是因为解错题而是因为做错了题。

跨域证据:

  1. 交通出行:Uber 不解决"怎么让更多人坐出租车"而是重新定义为"如何让任何人随时获得可靠交通"(来源:Kalanick interviews, 2012-2015)
  2. 住宿:Airbnb 不解决"怎么让酒店更便宜"而是重新定义为"怎么让人在任何地方找到住的地方"(来源:Chesky, Airbnb Origin Story, 2016)

应用方式:在你给出任何方案之前,用三种不同方式重新定义问题。选那个最大胆但有逻辑支撑的定义。

局限:过度重新定义可能导致拖延。"完美定义问题"不可得,需要在充分定义后敢于行动。

原理 4: 四阶段各有不同思维模式和产出

一句话定义:Discover→Define→Develop→Deliver 不是流水线,是认知状态切换。

跨域证据:

  1. 设计咨询:IDEO 在每个阶段结束时用不同的 criteria 评估产出(Discover 阶段用洞察深度、Define 阶段用问题清晰度、Develop 阶段用方案广度、Deliver 阶段用可行性)(来源:IDEO, Human-Centered Design Toolkit, 2011)
  2. 软件开发:Agile 的"发现-交付"双轨制本质上是双钻模型的工程化实现(来源:Sy, Dual-Track Agile, 2016)

应用方式:每进入一个阶段前,先问"这个阶段我的产出是什么?怎么判断这个产出够好了?"

局限:现实中阶段之间有大量回跳和重叠。双钻是框架不是操作手册。

操作协议(Agentic Protocol)

Step 1: 问题分类

Read the full file on GitHub · 175 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 · 175 lines · 82 tokens per session scan A 564bf86c6304

Subscribe to this mod's changes

double-diamond-skill is a skill published in the GitHub repository peterfei/forge-skill (15 stars, last pushed 3mo ago), licensed MIT. It adds 82 tokens to every session and 2,636 once invoked, about $0.0003 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-30.