thinking-kernel

thinking-kernel is a skill for Claude Code, Codex from tienenwu/fables. It costs 82 tokens per session (2,045 once invoked), scanned A, original, MIT.

A general method for creating technical rules, review criteria, and checklists when no ready-made guide exists. It also helps judge whether a test or other verification actually proves the claim being made.

In plain words
What is it for?
Use it to develop coding guidelines, design review checklists, assess the strength of test evidence, investigate persistent failures, and create a playbook for a new technical domain.
Why use it?
It provides a structured way to reason in unfamiliar technical areas instead of relying on assumptions. It is also designed for situations where repeated fixes fail or a passing test does not guarantee real-world safety.

Skill for Claude CodeCodex

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

Good fit Use it to develop coding guidelines, design review checklists, assess the strength of test evidence, investigate persistent failures, and create a playbook for a new technical domain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tienenwu/fables/thinking-kernel
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 tienenwu/fables --skill thinking-kernel
Clone the repo
git clone --depth 1 https://github.com/tienenwu/fables

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 thinking-kernel

README.md
[![agentmods](https://agentmods.dev/badge/skills/tienenwu/fables/thinking-kernel/github.svg)](https://agentmods.dev/skills/tienenwu/fables/thinking-kernel)
Your own site
<a href="https://agentmods.dev/skills/tienenwu/fables/thinking-kernel"><img src="https://agentmods.dev/badge/skills/tienenwu/fables/thinking-kernel/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 thinking-kernel

Your own site · 80×15
<a href="https://agentmods.dev/skills/tienenwu/fables/thinking-kernel"><img src="https://agentmods.dev/badge/skills/tienenwu/fables/thinking-kernel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,045 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.00082 $0.02045
Opus 5.5 $0.00033 $0.00818
Sonnet 5.5 $0.00016 $0.00409
Haiku 4.5 $0.00008 $0.00204

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

Security

Grade A, and why

thinking-kernel 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.

en/thinking-kernel/SKILL.md · 87 lines

How it starts

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

🌐 繁體中文(canonical) · English mirror

Thinking Kernel: Seven Moves That Generate Criteria

Positioning: each domain playbook (android/ios/flutter/frontend-web/backend-server) is the "crystallized judgment"; this file is the "moves that produce those judgments." When you hit a domain or situation no playbook covers, don't wing it — run these seven moves and generate the criteria yourself. After generating, write them back into a playbook and add a matching quiz item in lockstep (rules and quizzes move together). The full cross-domain derivation table and an unfamiliar-domain worked example are in references/derivations.md.

Move 1: Grading Evidence Strength — "Does this verification actually prove this claim?"

Procedure: ① List the difference axes between the "verification environment" and the "environment the claim lives in" (compile mode, machine, data volume, concurrency, environment flags, time). ② If the claim falls on some difference axis, that verification's evidence strength is zero on it. ③ Swap in a verification that covers that axis, or state outright "this point is unverified." Derivation example: debug green ↛ release safe (R8 only takes effect in release); passed on one machine ↛ rolling-deploy safe (old and new coexist during the deploy window); simulator ↛ signing/entitlement (the simulator does no real signing). Applying to a new domain: first ask "what difference axes does this domain have" — each axis automatically spawns a batch of "X can't prove Y" criteria.

Move 2: Constructing the Failure Scenario — "What input/state → what bad outcome?"

Procedure: For any rule, coding pattern, or review comment, force-construct one concrete failure chain: "when [input/state], it will [bad outcome]." Constructible → it's a real problem, severity set by the bad outcome; not constructible → downgrade to a nit or delete it. Derivation example: "only log after catch" → when upload fails the user sees a forever-spinning spinner (real problem); "the naming here isn't elegant enough" → no failure chain constructible → nit. index as list key → deleting a row misaligns the checked state onto the wrong row. Applying to a new domain: this is the QC gate for reviews and rule-writing — a comment that can't state a failure scenario is not allowed onto the list.

Read the full file on GitHub · 87 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 87 lines · 82 tokens per session scan A 4bad48c7bc65

Subscribe to this mod's changes

thinking-kernel is a skill published in the GitHub repository tienenwu/fables (4 stars, last pushed 2mo ago), licensed MIT. It adds 82 tokens to every session and 2,045 once invoked, about $0.0003 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

android-ui-journey-testing

XML-specified Android UI journey testing, interactive step execution, assertion verification, and JSON outcome reporting.

sickn33/agentic-awesome-skills · 27 tokens

solopi-ai

A command-line framework for testing Android apps and devices with SoloPi, including on-device or cloud AI decision models. It manages devices, test cases, recorded interactions, replays, performance history, and evidence.

alipay/SoloPi · 82 tokens

argent-test-ui-flow

Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools. Use when testing UI flows, verifying login works, testing navigation, running end-to-end UI test scenarios, manual QA steps, visible UI changes, or visual behavior.

software-mansion/argent · 64 tokens

argent-screenshot-diff

Compare saved or live app screenshots with the argent screenshot-diff tool. Use when testing visual regressions, before/after UI comparisons, screenshot diff checks, visible layout, spacing, color, typography, clipping, overflow, text rendering, or image/icon rendering changes.

software-mansion/argent · 59 tokens

mobile-automation

Control Android and iOS devices, emulators and simulators — launch apps, tap, swipe, type, take screenshots, read the accessibility tree. Use when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone.

mobile-next/mobile-mcp · 58 tokens

argent-qa-flows

Create repeatable QA regression E2E tests as Argent flows from test cases, tickets, or acceptance criteria. Use when the user asks to generate or preserve an automated regression scenario, with deterministic setup, stable targets, executable structural or visual evidence, and two consecutive full passes. For one-off…

software-mansion/argent · 127 tokens