Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

com-b-diagnostic组合诊断

Agent Skill

com-b-diagnostic 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

256

周安装

11

GitHub Stars

99

下载量

90
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:com-b-diagnostic(组合诊断)
来源仓库:https://github.com/johnpcutler/change-lenses-and-actions
仓库路径:skills/com-b-diagnostic
安装命令:
npx skills add https://github.com/johnpcutler/change-lenses-and-actions --skill com-b-diagnostic
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/johnpcutler/change-lenses-and-actions --skill com-b-diagnostic

简介

com-b-diagnostic 基于行为改变轮盘(COM-B)进行结构化行为障碍分析。

  • 从能力、机会、动机三维度追溯问题根源,链接干预函数与具体技巧。
  • 适用于产品 adoption、团队协作或个人习惯改进的诊断场景。
  • 使用时需提供清晰的行为描述,避免模糊表述导致分析失焦。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

COM-B Diagnostic Skill

Purpose

Run a structured behavioral diagnosis using COM-B, the Behavior Change Wheel, and BCT Taxonomy v1. Given a description of a stuck or problematic behavior, produce a traceable chain: structured behavior definition → dimensional lens analysis across C, O, M → cross-lens assessment → intervention functions → named techniques → actionable recommendations.

When to activate

The user describes a behavior that is stuck, inconsistent, failing to adopt, regressing, or contested — in any domain (product, team, organizational, individual). Activation phrases include:

  • "Why aren't people doing X?"
  • "How do we get people to start/stop/change X?"
  • "Diagnose this behavior"
  • "Run a COM-B analysis"
  • "What's blocking adoption of X?"

Pipeline

Follow references/flow.md steps 1–5 in order. The full walkthrough with file pointers is in references/guide.md.

Step 1 — Define the behavior

Before any analysis, establish a precise behavior definition using assets/behavior-canvas.md. Extract from the user's description and artifacts, or coach them through it with follow-up questions. The canvas lists every field, coaching prompts for ambiguous cases, and optional pattern vocabulary for describing the behavior's current state.

If critical fields are missing (especially "will do what" and "to what extent"), ask before proceeding. A vague behavior definition produces a vague diagnosis.

The canvas includes a "Prior attempts" field for what has already been tried and why it didn't work. This is critical context -- prior attempts that failed often reveal which COM-B branches are not the real bottleneck.

Once the behavior canvas is complete, offer to save it as a markdown file. The canvas anchors the entire analysis and is worth preserving — especially if the user refines it during the feedback loop.

Step 2 — Research capability, opportunity, and motivation

Apply three diagnostic lenses by reading the lens files directly:

For each relevant dimension, note: relevance, position on the scale, and evidence. Skip dimensions that don't apply — most situations activate a subset.

This is a good place to ask follow-up questions. The lens dimensions often surface distinctions the user hasn't considered — e.g. whether a capability gap is about mental models or procedural fluency, whether motivation is about identity or habit, whether opportunity constraints are about tooling or norms. If the initial description doesn't give enough signal to choose between competing dimensions, ask.

Step 3 — Synthesize and assess

The output of this step is a filled-out assets/practitioner-worksheet.md. Work through it section by section:

  1. COM-B priority ranking — rank C, O, M by contribution to the gap
  2. Per-lens synthesis — for each active branch, fill the table (sub-lens, dimensions, Pattern guidance conclusions, BCTs) and write a narrative synthesis
  3. Cross-lens interactions — tensions, reinforcements, prerequisites, highest leverage
  4. BCW function ranking — top 5 functions with rationale and top 3 BCTs each
  5. Intervention implications — connect BCTs to concrete actions

The filled worksheet is both your internal reasoning artifact and a deliverable the user can request.

Step 4 — Convert to BCW and BCT recommendations

This step runs under the hood. The user does not need to see the taxonomy chain unless they request the in-depth report.

Use the BCW function ranking from the practitioner worksheet to prioritize intervention functions. Read references/com-b-bcw-bct/com-b-to-bcw-intervention-function-mapping.md for the base mapping and references/com-b-bcw-bct/bct-taxonomy.md for named techniques.

Step 5 — Frame recommendations (phased delivery)

Deliver in two phases:

Phase A — always deliver first:

  • Summary: Plain-language "here's what's going on and what to do." No taxonomy codes. Write as a trusted advisor would speak.
  • Key insights: 3–5 most important findings — tensions, surprises, or highest-leverage points.

Feedback loop — after Phase A, before Phase B:

After delivering the summary and key insights, pause and ask for the user's reaction. Prompt for: whether the diagnosis resonates, whether they've tried any of the implied approaches, and whether there's missing context. If the user provides substantive new information, update the behavior canvas (especially Prior attempts) and re-run from Step 2 with the enriched picture. If the diagnosis lands, proceed to Phase B.

Phase B — user chooses one or more:

  • In-depth report: Full diagnostic with dimensional assessments, cross-lens tensions, BCW/BCT reasoning visible.
  • Action plan: Concrete phased plan — week-by-week — with specific changes, owners, success signals, tool/AI recommendations.
  • Working analysis: The filled-out practitioner worksheet showing COM-B ranking, per-lens synthesis, cross-lens interactions, and BCW function ranking with rationale.

Follow the output skeleton in assets/output-template.md for structure.

Saving outputs: After delivering any Phase B output (in-depth report, action plan, or working analysis), offer to save it as a markdown file. These artifacts represent significant processing and are expensive to reproduce. If the user treats Phase A as a final deliverable (e.g., they don't request Phase B), offer to save the summary and key insights as well.

Guardrails

  1. Start with behavior definition (Step 1). Do not skip to analysis without a structured definition. Coach the user if needed.
  2. Follow the pipeline order. Later steps depend on earlier outputs. Do not jump to interventions without researching through lenses first.
  3. Use the practitioner worksheet. After lens analysis, use assets/practitioner-worksheet.md to synthesize findings, rank BCW functions, and design interventions.
  4. The real diagnosis comes from the C, O, and M lenses. Pattern labels in the behavior canvas are orientation, not findings.
  5. Multi-actor situations: do not stop at per-role analysis — trace handoffs and where one actor's output becomes another's input; failures often concentrate at interfaces.
  6. Deliver Phase A first. Do not produce the full report or action plan until the user asks. Let them pull.
  7. Trace everything. In the in-depth report, every intervention function should trace back to a dimensional position, every dimensional position to observed signals. If the chain breaks, the diagnosis is incomplete.
  8. Name your sources. When citing BCTs, use BCT.n.m IDs (see references/lenses/lens-map.md). When citing lens dimensions, use the stable PC / PHC / RM / AM / PO / SO IDs.
  9. Close the feedback loop. After Phase A, always prompt for the user's reaction before proceeding to Phase B. New information from the user — especially prior failed attempts — should update the canvas and trigger re-analysis, not be patched onto existing conclusions.
  10. Offer to save substantial outputs. After delivering the behavior canvas, Phase A summary, or any Phase B deliverable, ask whether the user would like it saved as a markdown file. Use a descriptive filename (e.g. com-b-diagnosis-[short-topic].md) or let the user choose. Do not auto-save — always ask first.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.01%
按下载量换算32

Claude

29.31%
按下载量换算26

Cursor

17.2%
按下载量换算15

Gemini CLI

10.4%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills