cognitive-principle-check

cognitive-principle-check is a cursor rule for Cursor from TashanGKD/tashan-cursor-skills. It costs 57 tokens per session (731 once invoked), scanned A, original, MIT.

A consistency check for adding new material to L1 cognitive-structure documents. It compares the new text with confirmed L1.5 principles, which are the system’s underlying rules.

In plain words
What is it for?
Use it after writing to an L1 document. It helps review new statements against principles such as prioritising verification and deriving broad rules from smaller observations.
Why use it?
It helps reveal when new writing relies on untested feelings or makes a broad claim from one example. The check warns about conflicts but does not block the change.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it after writing to an L1 document. It helps review new statements against principles such as prioritising verification and deriving broad rules from smaller observations.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/tashangkd/tashan-cursor-skills/cognitive-principle-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.

Clone the repo
git clone --depth 1 https://github.com/TashanGKD/tashan-cursor-skills

Made for: Cursor.

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-principle-check

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/tashangkd/tashan-cursor-skills/cognitive-principle-check"><img src="https://agentmods.dev/badge/rules/tashangkd/tashan-cursor-skills/cognitive-principle-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 731 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.00057 $0.00731
Opus 5 $0.00028 $0.00365
Sonnet 5 $0.00011 $0.00146
Haiku 4.5 $0.00006 $0.00073

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

Security

Grade A, and why

cognitive-principle-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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

rules/cognitive-principle-check.mdc · 65 lines

What it actually says

新知识原则校验规则(Principle Check on New Knowledge)

核心原则

L1.5 底层原则是认知体系的「操作系统」,所有L1文档的内容都应该与其相容。

每次向L1文档写入新内容时,AI 应该快速检查是否与已确认的L1.5原则有张力。


触发条件

当 AI 刚完成对 _内部总控/认知结构/L1_系统性文档/ 下任何文件的 Write 操作后,自动执行检查。


检查流程

Step 1:读取 L1.5/底层原则库.md 中「已确认原则」部分(P1/P2 等)

Step 2:对刚写入的内容,快速判断:

  • 是否与 P1(验证优先于感受) 有张力? → 警惕:「感觉」「直觉上」「应该」等未经验证的表述被写成了规律
  • 是否与 P2(从小点切入升维到底层规律) 有张力? → 警惕:从单一场景直接推导出了宽泛的通用规律而未说明推导路径

Step 3:根据检查结果决定是否提示:

  • 无张力 → 无需提示,静默通过,正常写入
  • 有张力(轻微)
    ⚠️ 注意:刚写入的内容可能与P[N]「[原则表述]」有轻微张力。
    「[有张力的具体句子]」
    建议:可以加一个前提条件,或在括号中说明适用场景。
    [忽略,保持原文] [帮我加前提说明]
    
  • 有张力(明显)
    ⚠️ 注意:刚写入的内容与P[N]「[原则表述]」存在明显张力。
    「[有张力的具体句子]」
    原则说:[P?的核心表述]
    这段内容隐含:[隐含的相反前提]
    建议处理方式:[具体建议]
    [忽略] [修改这段内容] [更新原则以包容这个例外]
    

说明

  • 这个检查是辅助性的,不是阻断性的 用户说「忽略」就忽略,AI 不强制阻止写入

  • 只检查「已确认原则」(✅ 状态),不检查候选原则(🟡 状态)

  • 不要过度敏感:只有明确的逻辑张力才提示,不要为了「鸡蛋里挑骨头」而提示

  • 如果用户说「更新原则以包容这个例外」:触发 cognitive-extract-principle Skill,看是否需要修订 P1/P2 的边界条件

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. 11d ago First seen · 65 lines · 57 tokens per session scan A f2ebec146359

Subscribe to this mod's changes

cognitive-principle-check is a cursor rule published in the GitHub repository TashanGKD/tashan-cursor-skills (20 stars, last pushed 5mo ago), licensed MIT. It adds 57 tokens to every session and 731 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-08-30.