Cognitive Compile logo

Cognitive Compile

Community
Mark393295827
cognitive-compile

Use when source material must be transformed into a compact, evidence-aware model for learning, decisions, or an Obsidian concept note.

Overview

PublisherMark393295827
Repositorythird-brain-v7-skills
Skill namecognitive-compile
Stars
141
Forks
22
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Mark393295827 on GitHub. Read the source before you install it.

Installation

Install the Cognitive Compile AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Mark393295827/third-brain-v7-skills/tree/main/skills/cognitive-compile
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mark393295827/third-brain-v7-skills.git /tmp/third-brain-v7-skills
mkdir -p .claude/skills
cp -r /tmp/third-brain-v7-skills/skills/cognitive-compile .claude/skills/cognitive-compile
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cognitive Compile in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cognitive Compile on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cognitive Compile is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

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.

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>

Frequently asked questions

What does the Cognitive Compile AI skill do?

Use when source material must be transformed into a compact, evidence-aware model for learning, decisions, or an Obsidian concept note.

Why use Cognitive Compile on TypingMind?

Because you install it once and use it with any model. Cognitive Compile is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cognitive Compile in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Mark393295827/third-brain-v7-skills/tree/main/skills/cognitive-compile. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cognitive Compile?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cognitive Compile?

As many as you like. As long as a model supports skills, you can use Cognitive Compile with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cognitive Compile AI skill free?

Yes. It is published on GitHub by Mark393295827 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇