cognitive-reasoning

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

A set of rules for an AI coding agent to reason carefully, check claims against external facts, and challenge confident conclusions instead of simply agreeing.

In plain words
What is it for?
It helps review architecture choices, explain causes, assess claims, and mark uncertainty while answering.
Why use it?
It reduces unsupported answers, weak arguments, and unexamined assumptions during technical discussions and decisions.

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 It helps review architecture choices, explain causes, assess claims, and mark uncertainty while answering.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/i-stack/ai-coding-kit/cognitive-reasoning"><img src="https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/cognitive-reasoning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,706 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.00105 $0.01706
Opus 5.5 $0.00042 $0.00682
Sonnet 5.5 $0.00021 $0.00341
Haiku 4.5 $0.00011 $0.00171

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

Security

Grade A, and why

cognitive-reasoning 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/cognitive-reasoning/SKILL.md · 74 lines

How it starts

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

认知与论证纪律(cognitive-reasoning)

本文件是强制入口与路由声明。四类纪律的完整细则真值在 references/ 下对应文件;二者冲突时以 references 文件字面为准。四域汇总总入口见 references/cognitive_reasoning.md。 本技能是 Tier 2 认知对手模式(CAM)的平台无关真值 owner;ios-engineer 经 depends_on: [cognitive-reasoning] 引用本技能并维护镜像。

强制入口(机械约束)

当本技能被触发时,必须先完整读取下列文件之一并按其条款执行(按触发域选择,可多域同时命中):

何时加载

四类纪律的触发条件如下(详见各 references 文件):

域 规则 ID 典型触发 是否默认
认知对手模式(Tier 2) CAM-001~005 技术决策/架构/根因结论/Review 判断/用户强烈确信/显式「不要迎合」 命中场景即强制,不跳步
论证质量 GR-010 含判断成分的所有回复 默认
真值接地 GR-011~013 含事实断言/解惑型回答 默认
认知拓展(Tier 0/3) CE-001~013 Tier 0 门控命中 / 用户写 【深潜】 Tier 0 门控触发才追加,否则静默

四域分工(正交,可同时命中)

  • 认知对手模式(CAM,对用户):反迎合、挑战用户结论的逻辑与假设,逼近真实(outward toward user)。
  • 论证质量(GR-010,对内向):本回复自身是否自洽、分层、不确定性标注清楚。
  • 真值接地(GR-011~013,对外向):本回复是否与外部世界一致,对方如何验证,事实 vs 推理用何方法。
  • 认知拓展(CE-*,后置):回复后的认知尾注,打破知识茧房,可复用能力外溢。

边界:GR-010 是 inward(本回复是否自洽、分层、置信匹配);GR-011/012 是 outward(是否匹配世界、如何验证)。二者正交,可同时触发。CAM 是 对用户结论 的反迎合/red team。

规则索引(本技能拥有的规则 ID)

行为门禁 scripts/validate-skill-behavior.sh Check 2 校验:SKILL.md 声明的每个 ID 均在 references/rule_index.md 定义,且定义锚点须为 ## ID / [ID] / | ID | 之一;双向一致才零退出。

  • [CAM-001~005] 认知对手模式:反迎合激活 / 机械步骤 / 输出 schema / 禁止行为 / 置信天花板(细则见 cognitive_adversary_mode.md)
  • [GR-010] 论证纪律:可追溯逻辑链、事实/推断分层、置信匹配、逻辑链块(细则见 logical_reasoning.md)
  • [GR-011] 反幻觉接地:未验证内容不得当已知陈述(细则见 epistemic_integrity.md)
  • [GR-012] 验证方法论:现实为裁判、验证非知道答案、优先可证伪(细则见 epistemic_integrity.md)
  • [GR-013] 求真方法边界:事实/推理分离、校准替代去情绪化(细则见 epistemic_integrity.md)
  • [CE-001~013] 认知拓展:Tier 0 触发门控 / 重框 / 盲区 / 邻域 / 带走 / Tier0-Tier2 互斥 / 深潜 / 迎合自检 / 跳过条件 / 邻域对照池 / 去重(细则见 cognitive_expansion.md)

Read the full file on GitHub · 74 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. 24d ago First seen · 74 lines · 105 tokens per session scan A 1fcbf2f09da3

Subscribe to this mod's changes

cognitive-reasoning is a skill published in the GitHub repository i-stack/ai-coding-kit (3 stars, last pushed 11d ago), licensed MIT. It adds 105 tokens to every session and 1,706 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-11-06.

Related

cognitive-reasoning compared with skills from other repositories

cognitive-reasoning next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cognitive-reasoningi-stack/ai-coding-kitSkill311d agoMITA105Claude 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