Agent skill

Cognitive Compile

by Mark393295827 in Mark393295827/third-brain-v7-skills

A skill your agent uses when source material must be transformed into a compact, evidence-aware model for learning, decisions, or an Obsidian concept note.

MITAuto-check passedKnowledge Management

Install Cognitive Compile

skills CLI
$ npx skills add Mark393295827/third-brain-v7-skills --skill cognitive-compile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Mark393295827/third-brain-v7-skills cognitive-compile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Mark393295827/third-brain-v7-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cognitive-compile .claude/skills/cognitive-compile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cognitive-compile
GitHub stars
141
Token cost
~998 tokens
SKILL.md length
436 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when source material must be transformed into a compact, evidence-aware model for learning, decisions, or an Obsidian concept note.

  • Works in 8 steps: Original question — the problem the… → Key facts — source-grounded claims with… → Concepts and entities — stable terms… → …
  • Source material must be transformed into a compact
  • SKILL.md covers Usage Template, Workflow, Failure Protocol and Output Contract, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cognitive Compile is an agent skill from Mark393295827/third-brain-v7-skills. Use when source material must be transformed into a compact, evidence-aware model for learning, decisions, or an Obsidian concept note.

Its SKILL.md is about 1000 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management. It works with Obsidian. The repository describes itself as: agent wiki +engineering skills. The licence is MIT.

When your agent uses it

  • Source material must be transformed into a compact
  • Evidence-aware model for learning
  • An Obsidian concept note

Example prompts

  • “/cognitive-compile”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  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.

What it can do on your machine

Read from SKILL.md and the folder at commit 5a64514. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cognitive Compile loads about 998 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 436 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~998

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Mark393295827/third-brain-v7-skills at commit 5a64514, republished under its MIT licence (© Mark393295827). 436 words, ~998 tokens.

Download SKILL.mdSave it as .claude/skills/cognitive-compile/SKILL.md (or your agent's skills folder).
name
cognitive-compile
description
Use when source material must be transformed into a compact, evidence-aware model for learning, decisions, or an Obsidian concept note.
metadata.version
8.1.0
metadata.updated
2026-08-18
metadata.profile
one-shot
metadata.assumes
The source material or a source-grounded summary is available.
metadata.conflicts_with
Inventing missing claims, erasing provenance, or presenting hypotheses as facts.

Cognitive Compile

<skill_contract> <input>Source-grounded material, original question, learning or decision goal, audience, and destination.</input> <output>An eight-part evidence-aware mental model separating facts, mechanisms, conflicts, hypotheses, decisions, and action.</output> <done>Each material claim retains provenance and uncertainty, and one bounded next action answers the original question.</done> <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

<intake>

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

</intake>

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

<execute>

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.

</execute>
<evaluate>

Verify that every material conclusion traces to evidence or is labeled inference; the original question is answered; contradictions remain visible; and the action follows from the model. Remove summaries that merely restate the source without changing understanding.

</evaluate>
Show full SKILL.md (147 more words)Show less

Failure Protocol

  • NEEDS_INPUT: the intended question or audience is absent and materially changes the output.
  • INSUFFICIENT_EVIDENCE: the source cannot support the requested compile.
  • VERIFY_FAILED: a conclusion lacks traceable evidence; downgrade it to hypothesis or remove it.

Output Contract

Return status, result (the eight-section compile), evidence (source locators), unknowns, and next_action.

Edge Cases

  • Two sources disagree: preserve both claims, compare evidence quality, and state what observation could resolve the conflict.
  • The source is mostly opinion: compile mechanisms and assumptions, but do not promote assertions into facts.

Success Metrics

  • The result answers one explicit question with traceable evidence.
  • Facts, conflicts, and hypotheses are distinguishable at a glance.
  • At least one decision or test becomes clearer.

Quality Gates

  • Source boundary and provenance are explicit.
  • All eight sections are present or marked not applicable with reason.
  • No hypothesis is phrased as established fact.
  • The next action is bounded and verifiable.

</skill_contract>

© Mark393295827, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cognitive-compile of Mark393295827/third-brain-v7-skills.

Open the folder on GitHubat commit 5a64514

Compare with similar skills

Cognitive Compile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cognitive Compile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cognitive Compile this skillMark393295827/third-brain-v7-skills141—~998Automated safety check: PassMIT
Obsidian CLIAtmosphere/atmosphere3.8k13 repos~795Automated safety check: PassApache-2.0
Obsidian Canvas BoardsAgriciDaniel/claude-obsidian15k—~1.4kAutomated safety check: PassMIT
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
Second BrainNicholasSpisak/second-brain737—~1.5kAutomated safety check: NotesNone
Codex History IngestAr9av/obsidian-wiki3.5k—~2.2kAutomated safety check: NotesMIT

Similar skills

  • Obsidian CLI

    Atmosphere/atmosphere

    Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.

    3.8k GitHub starsUsed in 13 repos~795 tokens
    Knowledge ManagementAuto-check passed
  • Obsidian Canvas Boards

    AgriciDaniel/claude-obsidian

    Creates, inspects and updates Obsidian JSON Canvas boards in a vault, with text, file, link, group and edge nodes, using safe recoverable edits.

    15k GitHub stars~1.4k tokensUpdated 29 days ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Second Brain

    NicholasSpisak/second-brain

    Set up a new Obsidian knowledge base with the LLM Wiki pattern.

    737 GitHub stars~1.5k tokensUpdated 6 mo ago
    Knowledge ManagementAuto-check: notes
  • Codex History Ingest

    Ar9av/obsidian-wiki

    Ingest Codex CLI conversation/session history into Obsidian as distilled knowledge.

    3.5k GitHub stars~2.2k tokensUpdated yesterday
    Knowledge ManagementAuto-check: notes
  • Autograph

    smixs/agent-second-brain

    Schema-as-code enforcement for any Obsidian vault. An agent skill from smixs/agent-second-brain.

    392 GitHub stars~3.7k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed

More from Mark393295827/third-brain-v7-skills

All 21 skills in this repo
  • Loop Engineering

    Mark393295827/third-brain-v7-skills

    A skill your agent uses when a repeatable task must become a bounded Trigger - Execute - Verify - State loop, scheduled automation, goal agent, or metric-driven research cycle.

    141 GitHub stars~1.9k tokensUpdated 20 days ago
    Auto-check passed
  • Graph Engineering

    Mark393295827/third-brain-v7-skills

    A skill your agent uses when a workflow has explicit data dependencies, independently executable branches, typed joins, or node-local recovery needs that justify a bounded static dependency graph.

    141 GitHub stars~1.9k tokensUpdated 20 days ago
    Auto-check passed
  • Harness Engineering

    Mark393295827/third-brain-v7-skills

    A skill your agent uses when an agent workflow needs production-like runtime controls for context, tools, permissions, observability, scheduling, evaluation, recovery, or maintenance.

    141 GitHub stars~2.2k tokensUpdated 20 days ago
    Auto-check passed
  • Agent Teams Command

    Mark393295827/third-brain-v7-skills

    A skill your agent uses when work has genuinely independent streams or distinct builder, evaluator, domain, and integration roles that require bounded multi-agent command scaled from 5 to 100+ agents.

    141 GitHub stars~1.7k tokensUpdated 20 days ago
    Auto-check passed
  • AI Six Sigma Property Os

    Mark393295827/third-brain-v7-skills

    A skill your agent uses when property-service operations need an AI plus ontology plus DMAIC design for work orders, dispatch, quotes, evidence, CTQ metrics, and control dashboards.

    141 GitHub stars~1.4k tokensUpdated 20 days ago
    Auto-check passed
  • Anthropic Os

    Mark393295827/third-brain-v7-skills

    A skill your agent uses when a personal or team operating system needs a bounded redesign using Four-C, closed-loop controls, 70/30 allocation, 3B creativity, experiments, and prediction-error…

    141 GitHub stars~1.6k tokensUpdated 20 days ago
    Auto-check passed

Works with

Questions about Cognitive Compile

What does Cognitive Compile do?

A skill your agent uses when source material must be transformed into a compact, evidence-aware model for learning, decisions, or an Obsidian concept note. Cognitive Compile is an agent skill from Mark393295827/third-brain-v7-skills. Use when source material must be transformed into a compact, evidence-aware model for learning, decisions, or an Obsidian concept note.

When should I use Cognitive Compile?

Cognitive Compile fits situations like: source material must be transformed into a compact; evidence-aware model for learning; an Obsidian concept note.

How do I install Cognitive Compile in Claude Code?

Run `npx skills add Mark393295827/third-brain-v7-skills --skill cognitive-compile -a claude-code`. Or copy the skill folder (skills/cognitive-compile in Mark393295827/third-brain-v7-skills) into .claude/skills/cognitive-compile in your project. Claude Code loads it when a task matches its description.

How do I install Cognitive Compile in Codex?

Run `npx skills add Mark393295827/third-brain-v7-skills --skill cognitive-compile -a codex`. Or copy the skill folder (skills/cognitive-compile in Mark393295827/third-brain-v7-skills) into .agents/skills/cognitive-compile in your project. Codex loads it when a task matches its description.

Can I use Cognitive Compile in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mark393295827/third-brain-v7-skills --skill cognitive-compile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cognitive-compile, .gemini/skills/cognitive-compile, .github/skills/cognitive-compile and .opencode/skills/cognitive-compile in your project.

What does Cognitive Compile need to run?

SKILL.md names no scripts, command-line tools or credentials: Cognitive Compile is instructions for the agent only.

Does Cognitive Compile access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cognitive Compile safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cognitive Compile use?

Cognitive Compile is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cognitive Compile use?

About 998 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cognitive Compile?

Skills that share tags, products or a category with Cognitive Compile: Obsidian CLI (Atmosphere/atmosphere, 3.8k stars), Obsidian Canvas Boards (AgriciDaniel/claude-obsidian, 15k stars), LLM Wiki (lewislulu/llm-wiki-skill, 655 stars) and Second Brain (NicholasSpisak/second-brain, 737 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cognitive Compile?

Mark393295827 (a GitHub user) maintains it in Mark393295827/third-brain-v7-skills, which has 141 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on September 19, 2026.

Source: Mark393295827/third-brain-v7-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.