cognitive-compile

cognitive-compile is a skill for Claude Code, Codex from Mark393295827/third-brain-v7-skills. It costs 32 tokens per session (813 once invoked), scanned A, original, MIT.

A method for turning source material into a compact mental model for learning or making a decision. It keeps facts, interpretations, disagreements, uncertainty, and source references separate.

In plain words
What is it for?
Use it to create evidence-aware notes, prepare decisions, answer learning questions, compare ideas, and produce structured concept pages for an Obsidian knowledge base.
Why use it?
It reduces large or confusing material without hiding where claims came from or presenting guesses as facts. It also connects the summary to one bounded next action.

Skill for Claude CodeCodex

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

Good fit Use it to create evidence-aware notes, prepare decisions, answer learning questions, compare ideas, and produce structured concept pages for an Obsidian knowledge base.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mark393295827/third-brain-v7-skills/cognitive-compile
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 Mark393295827/third-brain-v7-skills --skill cognitive-compile
Clone the repo
git clone --depth 1 https://github.com/Mark393295827/third-brain-v7-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-compile

README.md
[![agentmods](https://agentmods.dev/badge/skills/mark393295827/third-brain-v7-skills/cognitive-compile/github.svg)](https://agentmods.dev/skills/mark393295827/third-brain-v7-skills/cognitive-compile)
Your own site
<a href="https://agentmods.dev/skills/mark393295827/third-brain-v7-skills/cognitive-compile"><img src="https://agentmods.dev/badge/skills/mark393295827/third-brain-v7-skills/cognitive-compile/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-compile

Your own site · 80×15
<a href="https://agentmods.dev/skills/mark393295827/third-brain-v7-skills/cognitive-compile"><img src="https://agentmods.dev/badge/skills/mark393295827/third-brain-v7-skills/cognitive-compile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 813 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00032 $0.00813
Opus 5.5 $0.00013 $0.00325
Sonnet 5.5 $0.00006 $0.00163
Haiku 4.5 $0.00003 $0.00081

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

Security

Grade A, and why

cognitive-compile 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/cognitive-compile/SKILL.md · 92 lines

How it starts

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

Cognitive Compile

<skill_contract> Source-grounded material, original question, learning or decision goal, audience, and destination. An eight-part evidence-aware mental model separating facts, mechanisms, conflicts, hypotheses, decisions, and action. Each material claim retains provenance and uncertainty, and one bounded next action answers the original question. <non_goals>Inventing missing claims, erasing contradictions or provenance, or treating interpretation as source fact.</non_goals>

Compile information into a decision-ready mental model. Compression must preserve provenance, uncertainty, contradiction, and the original question.

Usage Template

Provide: source material, original question, intended decision or learning goal, and preferred destination. Optional: existing wiki concepts to compare.

Workflow

Identify the source boundary, original question, audience, and required fidelity. Label direct source claims, external facts, and analyst inferences before synthesis.

<unknowns_gate>

If the source is inaccessible, truncated, or missing the material needed to answer the question, return INSUFFICIENT_EVIDENCE. Ask one probe only when its answer changes the compile structure; otherwise proceed with explicit unknowns.

</unknowns_gate>

Produce eight compact sections:

  1. Original question — the problem the material helps answer.
  2. Key facts — source-grounded claims with locators when available.
  3. Concepts and entities — stable terms worth linking.
  4. Patterns — mechanisms, feedback loops, or recurring structures.
  5. Conflicts — contradictions with the source, prior knowledge, or internal claims.
  6. Hypotheses — falsifiable interpretations, explicitly labeled.
  7. Decision support — options, tradeoffs, and what the evidence changes.
  8. Action — one bounded next test, note, or decision.

Prefer one durable concept note over several thin notes. Preserve source links or block references; do not rewrite immutable source notes.

Read the full file on GitHub · 92 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 · 92 lines · 32 tokens per session scan A ad227124395c

Subscribe to this mod's changes

cognitive-compile is a skill published in the GitHub repository Mark393295827/third-brain-v7-skills (141 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 813 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

gh-discussions

A guide for answering GitHub Discussions, a question-and-answer area separate from issue reports. In its Q&A categories, a maintainer can mark a reply as the accepted answer.

tonydzi/second-brain-starter-kit · 136 tokens

brain-onboard

An onboarding workflow that helps another person create and use their own private knowledge store, sometimes called a second brain. It gathers their information with consent, saves it in their own workspace, and demonstrates a first useful result.

tonydzi/second-brain-starter-kit · 121 tokens

notebooklm

Drive NotebookLM over a programmatic CLI with no browser: turn a vault slice into an audio overview, study guide or mind map, and fold the artifacts back into the vault. Browser automation is the fallback if CLI auth breaks. Triggers: "/notebooklm", "make an audio digest of ", "podcast from the vault".

tonydzi/second-brain-starter-kit · 74 tokens

lecture-asset

A workflow for turning a finished lecture, seminar, or workshop transcript into organized notes in an Obsidian vault. Obsidian is a note-taking application; the workflow creates a summary hub, preserves the transcript, splits claims into knowledge cards, links related notes, and adds a searchable view.

johnfkoo951/cmdspace-plugins · 232 tokens

obsidian-refactor-lecture

Refactor lecture notes in Obsidian — extract concepts, definitions, and theorems from lecture notes into separate notes, turn the lecture into a "table of contents" with links, update links to the discipline MOC. Use this skill when the user asks to process, split, or refactor a lecture's notes or several lectures.…

alexeyshishin/as-skill · 135 tokens

interview-prep

An interview preparation workflow that researches a company and role, checks them against your CV, and prepares an English introduction, answers, questions, and practical details.

tonydzi/second-brain-starter-kit · 109 tokens