cognitive-consistency-check

cognitive-consistency-check is a skill for Claude Code, Codex from TashanGKD/tashan-cursor-skills. It costs 67 tokens per session (2,976 once invoked), scanned A, original, MIT.

A checker that tests whether the documents and links in a personal knowledge system are complete, current, and mutually consistent.

In plain words
What is it for?
Running full consistency checks and repairing the problems it finds in the knowledge structure.
Why use it?
It finds missing files, outdated status information, broken references, and conflicting content that could make the system unreliable.

Skill for Claude CodeCodex

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

Good fit Running full consistency checks and repairing the problems it finds in the knowledge structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tashangkd/tashan-cursor-skills/cognitive-consistency-check
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 TashanGKD/tashan-cursor-skills --skill cognitive-consistency-check
Clone the repo
git clone --depth 1 https://github.com/TashanGKD/tashan-cursor-skills

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 cognitive-consistency-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/tashangkd/tashan-cursor-skills/cognitive-consistency-check/github.svg)](https://agentmods.dev/skills/tashangkd/tashan-cursor-skills/cognitive-consistency-check)
Your own site
<a href="https://agentmods.dev/skills/tashangkd/tashan-cursor-skills/cognitive-consistency-check"><img src="https://agentmods.dev/badge/skills/tashangkd/tashan-cursor-skills/cognitive-consistency-check/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-consistency-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/tashangkd/tashan-cursor-skills/cognitive-consistency-check"><img src="https://agentmods.dev/badge/skills/tashangkd/tashan-cursor-skills/cognitive-consistency-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,976 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.00067 $0.02976
Opus 5 $0.00034 $0.01488
Sonnet 5 $0.00013 $0.00595
Haiku 4.5 $0.00007 $0.00298

Measured 8d ago against content hash 9c246226b771, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cognitive-consistency-check 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 8d 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/cognitive-consistency-check/SKILL.md · 253 lines

How it starts

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

一致性验证 Skill(Cognitive Consistency Check)

基于 维护协议_自洽规范.md 的C1-C10条件,对认知结构做完整验证。 发现问题后立即修复,不允许「知道有问题但先放着」。


知识导航表(执行前必须理解的概念根)

层级 文档 需要理解的概念
D0 认知根(必读) _内部总控/认知结构/L1_系统性文档/系统架构思维维度/自进化智能体系统形式规范_v1.0.md 层3:C2关系显式化(对象间依赖必须声明);层4:RelType(structural/uses/invokes/verifies/mentions)
D3 规范参考 _内部总控/认知结构/维护协议_自洽规范.md C1~C10完整一致性条件(本 Skill 的执行依据)
D4 运行时数据 所有L1文档 + L1.5底层原则库.md 被验证的K-objects(需要全量扫描)

核心概念速查: ① 一致性 = R中所有对象的关系(C2)都能成立;对象的当前状态符合其依赖关系 ② C1~C10分别对应不同类型的一致性:版本一致/引用存在/内容非矛盾等 ③ 发现不一致后立即修复(ceremony(K)),不留挂起状态


激活后立即执行

Step 1  读取 认知结构/维护协议_自洽规范.md
        → 确认当前有效的C1-C10条件
        → 确认版本控制要求(0.2条)

Step 2  枚举认知结构的实际文件状态
        → 列出 L1_系统性文档/ 所有.md文件(排除历史版本和变更记录)
        → 列出 L2_碎片化思考/ 所有.md文件(排除碎片整合索引)
        → 检查 L0_大脑总地图.md 是否存在且包含框架图

C1:L0完备性

验证:L0大脑总地图中列出的所有文档,在认知结构目录中实际存在
方法:读取L0中的文档路径列表,用Glob逐一确认文件存在
结果:✅/⚠️(列出具体缺失文件)

C2:L0时效性

验证:L0中每篇文档的状态(✅/◑/❌)是否反映实际情况
方法:对比L0状态标注与实际文件的最后修改时间
结果:✅/⚠️(列出状态过时的条目)

C2+:L0框架图(铁律)

验证:L0必须包含可视化框架图(见维护协议0.1条)
方法:搜索L0中是否包含ASCII框图(包含╔═╗等字符 或 ┌─┐等字符)
结果:✅/❌(没有框架图 = 严重违规,必须立即补充)

C3:知识图谱完整性

验证:知识图谱_正式文档.md中的节点数 = 认知结构L1目录中的文档数
方法:
  → 枚举 L1_系统性文档/ 实际文档数量
  → 统计知识图谱中登记的L1节点数量
  → 两者应相等
结果:✅/⚠️(列出图谱中缺少的文档)

C4:碎片索引完整性

验证:碎片整合索引覆盖所有L2文档
方法:
  → 枚举 L2_碎片化思考/ 所有实际.md文件(排除索引本身)
  → 检查每个文件是否在索引中有对应条目
结果:✅/⚠️(列出索引缺失的L2文档)

C5:分类清单准确性

验证:文档分类清单中已迁入的文档状态为★,未迁入的为◑
方法:
  → 读取文档分类清单
  → 对每个★条目,确认认知结构中实际有该文档
  → 对每个◑条目,确认认知结构中确实没有该文档
结果:✅/⚠️(列出状态不准确的条目)

C6:DUPLICATE标注完整性

验证:已知的DUPLICATE文档(原始位置)开头有redirect标注
方法:
  → 从文档分类清单找出所有○DUPLICATE条目
  → 读取每个原始位置文件的前5行,检查是否有「权威版本已迁入」字样
结果:✅/⚠️(列出缺少标注的文件)

C7:系统日志完整性

验证:每次重要操作都在系统日志中有记录
方法:抽查最近的操作历史(对话提到的操作),对比系统日志条目
结果:✅/⚠️(如有明显遗漏则列出)

C7+:版本控制完整性(新增,来自维护协议0.2条)

验证:每个L1文档都有 v1.0 快照和变更记录文件
方法:
  → 对每个L1文档,检查 历史版本/[文档名]_v1.0_*.md 是否存在
  → 检查 [文档名]_变更记录.md 是否存在
结果:✅/⚠️(列出缺少版本控制文件的文档)

C8:L1.5约束一致性(可选,耗时)

Read the full file on GitHub · 253 lines

Files

What ships with it

2 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.

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. 8d ago First seen · 253 lines · 67 tokens per session scan A 9c246226b771

Subscribe to this mod's changes

cognitive-consistency-check is a skill published in the GitHub repository TashanGKD/tashan-cursor-skills (20 stars, last pushed 5mo ago), licensed MIT. It adds 67 tokens to every session and 2,976 once invoked, about $0.0003 per session on Opus 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-09-03.

Related

Other skills, from other repositories

analyze

Deep codebase analysis — complexity, coupling, dead code, tech debt hotspots.

Jkudjo/oh-my-cursor · 18 tokens

explore

Read-only codebase exploration — understand structure, data flow, and conventions before changing anything.

Jkudjo/oh-my-cursor · 20 tokens

incident

Production incident response — structured triage, hypothesis tree, safe remediation, incident record.

Jkudjo/oh-my-cursor · 18 tokens

template-helpers

Catalog of the reusable building blocks shipped with this Android template — BaseActivity/BaseFragment, the helpers/ extension files (navigation, lifecycle, toast, snackbar, dialogs, images, permissions, theme, locale, settings intents, date, delay), common/ (Firebase, network, observers), and…

orbitalsonic/AndroidPilot · 92 tokens

android-feature

Workflow for implementing a new Android feature, screen, fragment, activity, dialog, adapter, or enhancement in this XML/MVVM template. Use whenever the user asks to add, build, implement, or extend functionality — before writing any code. Covers planning, the MVVM/MVI skeleton, the Android configuration checklist…

orbitalsonic/AndroidPilot · 72 tokens

android-new-project

Workflow for turning a fresh copy of this Android template into a new app — renaming the package/namespace/applicationId, branding (icons, splash, palette, fonts), Firebase setup, signing config, stripping unused sample screens, and verifying the foundation. Use when the user says they are starting a new app…

orbitalsonic/AndroidPilot · 83 tokens