cognitive-expansion

cognitive-expansion is a skill for Claude Code from i-stack/ai-coding-kit. It costs 59 tokens per session (1,194 once invoked), scanned A, original, MIT.

A Chinese-language guide that adds broader thinking prompts after some answers, such as reframing the problem or pointing out a testable blind spot.

In plain words
What is it for?
Use it when you want an answer to include cognitive reframing, possible blind spots, or related areas for deeper exploration.
Why use it?
It can expose assumptions or nearby perspectives that may be missed during problem solving, but its detailed rules are not fully shown here.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

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

Good fit Use it when you want an answer to include cognitive reframing, possible blind spots, or related areas for deeper exploration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/i-stack/ai-coding-kit/cognitive-expansion
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 cognitive-expansion
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 10 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 cognitive-expansion

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/i-stack/ai-coding-kit/cognitive-expansion"><img src="https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/cognitive-expansion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,194 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.00059 $0.01194
Opus 5.5 $0.00024 $0.00478
Sonnet 5.5 $0.00012 $0.00239
Haiku 4.5 $0.00006 $0.00119

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

Security

Grade A, and why

cognitive-expansion 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.

skills-engineering/cognitive-expansion/SKILL.md · 43 lines

How it starts

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

Cognitive Expansion

强制入口

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

  • 不得以 preamble、Cursor 规则摘要或其它二次摘要代替该文件全文。
  • Tier 2(认知对手)由 ios-engineer references/cognitive_adversary_mode.md 承载;本 skill 管 Tier 0 / Tier 3 拓展。
  • 同步依赖:本 skill 通过相对路径引用 ../ios-engineer/references/cognitive_adversary_mode.md;同步到各端时,需确保 ios-engineer skill 也同步到同层 skills 目录(如 ~/.claude/skills/ios-engineer),否则该链接失效。条件性:仅当 ios-engineer 已同步到同层 skills 目录时,Tier 2 链接可用;非 iOS 环境(未同步 ios-engineer)下,本 skill 仅提供 Tier 0 / Tier 3,Tier 2 需用户显式加载 ios-engineer,不得因链接不可达而中断 Tier 0/3。

何时加载

  • 门控:Tier 0 认知尾注默认不触发;仅当本次回答含真实判断 / 取舍 / 归因 / 设计选择,且能产出至少 1 条可证伪盲区时才追加,否则静默(判据见详规「触发门控」)。
  • 加深:用户写 【深潜】 / 【拓展】(Tier 3)。
  • 跳过:用户明确「只要答案 / 不要延伸」;或门控未命中。

规则索引(owned rule IDs)

本 skill 的契约由下列 CE-NNN 规则承载,真值登记在 references/rule_index.md。形态校准示例(before/after 与退化标本)见 references/examples.md。行为门禁 scripts/validate-skill-behavior.sh 的 Check 2 校验二者 ID 集合双向一致(SKILL.md 声明的 ID 均被定义;rule_index.md 中 active 行均被 SKILL.md 声明)。

  • [CE-001] Tier 0 触发门控:双条件(有判断成分 且 能产出≥1 条可证伪盲区)同时成立才追加认知尾注,否则静默不写。
  • [CE-002] 重框:把问题提升为更一般判断/学习问题;纯执行任务写「重框略」。
  • [CE-003] 盲区(可证伪硬判据):1 条隐藏假设/遗漏维度/误区,须含(假设 X)+(可观测触发 Y)+(若 Y 则 X 错的否定条件);写不出整段不写。
  • [CE-004] 邻域(机制相关):1 条相邻领域对照,须与当前问题机制相关,禁同技术栈换词重复主文。
  • [CE-005] 带走:1 条可复用自检问句或 if-then 规则,禁鸡汤。
  • [CE-006] Tier 0/Tier 2 互斥:认知对手(Tier 2)命中时输出完整校准结构,不再单独写 Tier 0;该互斥同时扩展到 preamble 轻量校准段(CAM 激活时由 CAM 完整结构承载,见 cognitive-calibration 段)。
  • [CE-007] 深潜·心智模型:模型名 + 1 句如何用于本问题。
  • [CE-008] 深潜·跨域类比:非本技术栈、机制对齐的 1 个类比;须点名被映射机制、禁陈词/换词类比(护栏见 references/cognitive_expansion.md §Tier 3)。
  • [CE-009] 深潜·验证动作:7 天内可做的 1 个具体动作。
  • [CE-010] 迎合自检:写完过三问(邻域非换词 / 带走非鸡汤 / 盲区可证伪)。
  • [CE-011] 跳过条件:用户「只要答案/不要延伸」或门控未命中即不写 Tier 0。
  • [CE-012] 邻域对照池:从对照池任选 1 条且须与机制相关。
  • [CE-013] 与 L2/L0 去重:同轮 logical-reasoning「逻辑链(可证伪/缺口)」或 problem-analysis「问题分析」已发时,盲区须换维度不得复述。

Read the full file on GitHub · 43 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 · 43 lines · 59 tokens per session scan A 6c3054aaf612

Subscribe to this mod's changes

cognitive-expansion is a skill published in the GitHub repository i-stack/ai-coding-kit (3 stars, last pushed 23d ago), licensed MIT. It adds 59 tokens to every session and 1,194 once invoked, about $0.0002 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

Other skills, from other repositories

speclite-grilling

Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

flanliulf/SpecLite · 41 tokens

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

lean-formalize

Develop and verify a mathematical proof in Lean, continue an incomplete Lean project, or audit whether it proves the original statement. Connect actual inputs to intermediate lemmas, assemble the target theorem, check its transitive axioms, and provide a reproducible handoff. Use when Lean is requested or a specific…

wanshuiyin/Auto-claude-code-research-in-sleep · 81 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens