Agent skill

Cognitive Toolkit

by glebis in glebis/claude-skills

Evidence-based CBT and DBT intervention skills — guided thought records, opposite action, DEAR MAN roleplay, crisis skills with optional HRV biofeedback.

MITAuto-check passedData & Analytics

Install Cognitive Toolkit

skills CLI
$ npx skills add glebis/claude-skills --skill cognitive-toolkit -a claude-code

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

GitHub CLI
$ gh skill install glebis/claude-skills cognitive-toolkit --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/glebis/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cognitive-toolkit .claude/skills/cognitive-toolkit && 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-toolkit
GitHub stars
390
Token cost
~1.1k tokens
SKILL.md length
403 words
Files
13 (incl. references)
Skills in repo
92
Repo updated
First seen
Licence
MIT

At a glance

Evidence-based CBT and DBT intervention skills — guided thought records, opposite action, DEAR MAN roleplay, crisis skills with optional HRV biofeedback.

  • Works in 4 steps: Read references/thought-record.md —… → Read references/opposite-action.md —… → Read references/pushback-config.md —… → …
  • /thought-record
  • SKILL.md covers Usage, How it works, Session Flow and Available Techniques, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cognitive Toolkit is an agent skill from glebis/claude-skills. Evidence-based CBT and DBT intervention skills — guided thought records, opposite action, DEAR MAN roleplay, crisis skills with optional HRV biofeedback. Configurable therapeutic pushback. Triggers on "/cbt", "/dbt", "/thought-record", "/record", "/opposite", "/opposite-action", "I need to work through something", "help me with a thought", "cognitive distortion", "I'm spiraling", "can we do a thought record".

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including reference files (for example `.claude-plugin/plugin.json`, `README.md` and `index.json`).

It sits in Data & Analytics, covering Data pipelines and ETL. It works with dbt. The repository describes itself as: Collection of Claude Code skills for enhanced AI workflows. The licence is MIT.

When your agent uses it

  • /thought-record
  • /opposite-action
  • I need to work through something
  • Help me with a thought

Example prompts

  • “/thought-record”
  • “/record”
  • “/opposite”
  • “/cognitive-toolkit”

Workflow steps

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

  1. Read references/thought-record.md — thought record protocol (ABC model, cognitive distortion taxonomy, reframe scaffold)
  2. Read references/opposite-action.md — opposite action + DEAR MAN + TIPP crisis skills
  3. Read references/pushback-config.md — pushback levels, triggers, and mid-session override commands
  4. Read references/health-integration.md — HRV/sleep pull, biofeedback interpretation, skip logic

What it can do on your machine

Read from SKILL.md and the folder at commit 3b88261. 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 Toolkit loads about 1.1k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 108 tokens; SKILL.md has 403 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~108
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

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 glebis/claude-skills at commit 3b88261, republished under its MIT licence (© glebis). 403 words, ~1,109 tokens.

Download SKILL.mdSave it as .claude/skills/cognitive-toolkit/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
cognitive-toolkit
description
Evidence-based CBT and DBT intervention skills — guided thought records, opposite action, DEAR MAN roleplay, crisis skills with optional HRV biofeedback. Configurable therapeutic pushback. Triggers on "/cbt", "/dbt", "/thought-record", "/record", "/opposite", "/opposite-action", "I need to work through something", "help me with a thought", "cognitive distortion", "I'm spiraling", "can we do a thought record".

Cognitive Toolkit

Interactive CBT and DBT guided exercises with configurable therapeutic pushback and optional health data integration.

Usage

/cbt                        # start with check-in → technique recommendation
/cbt thought-record         # jump directly to thought record
/cbt opposite-action        # jump directly to opposite action
/cbt --pushback firm        # override pushback level for this session
/cbt --no-health            # skip health data pull even if available

How it works

  1. Read references/thought-record.md — thought record protocol (ABC model, cognitive distortion taxonomy, reframe scaffold)
  2. Read references/opposite-action.md — opposite action + DEAR MAN + TIPP crisis skills
  3. Read references/pushback-config.md — pushback levels, triggers, and mid-session override commands
  4. Read references/health-integration.md — HRV/sleep pull, biofeedback interpretation, skip logic

Session Flow

Without technique argument (full flow):

  1. Check-in — mood (0–10), brief situation summary
  2. Recommend — match presenting issue to technique based on check-in
  3. Load technique — read the relevant reference file
  4. Protocol — run the full guided exercise
  5. Close — summary, insight, one takeaway
  6. Save — write session to vault output

With technique argument (direct jump):

  1. Brief mood check (0–10, one line)
  2. Load technique — read the relevant reference file
  3. Protocol — run the full guided exercise
  4. Close — summary, insight, one takeaway
  5. Save — write session to vault output

Available Techniques

CommandTechniqueReferenceWave
thought-recordThought Record (ABC + reframe)references/thought-record.md1
opposite-actionOpposite Action (DBT emotion regulation)references/opposite-action.md1
dear-manDEAR MAN assertiveness roleplayreferences/opposite-action.md2
tippTIPP crisis/distress tolerancereferences/opposite-action.md2
chainChain Analysis (behavior chain)references/thought-record.md3
activationBehavioral Activation (depression)references/thought-record.md3
wise-mindWise Mind (emotion vs. reason)references/opposite-action.md3

Pushback

See references/pushback-config.md for full configuration.

  • Defaults loaded from references/pushback-config.md (default: gentle)
  • Per-session override: /cbt --pushback [gentle|moderate|firm]
  • Mid-session commands: softer, harder, no pushback adjust level in real time
  • Pushback is Socratic, not confrontational — "What evidence supports that?" not "That's wrong"
Show full SKILL.md (153 more words)Show less

Health Data

See references/health-integration.md for full integration logic.

  • Optional: pulled from health MCP if available at session start
  • Surfaces HRV, sleep quality, resting HR as contextual framing only
  • Skip silently if health data unavailable or if --no-health flag passed
  • Never gate a session on health data — it's context, not gatekeeper

Telegram Entry Points

CommandMaps to
/recordthought-record
/oppositeopposite-action
/deardear-man
/tipptipp
/checkinfull check-in flow
/wisewise-mind
/settingsadjust pushback level and health toggle

Anti-patterns

  • NOT a diagnostic tool — never assess, label, or diagnose
  • NOT a therapist replacement — this is a practice tool for between sessions
  • Frame suggestions as "research suggests" not "you should"
  • If user expresses emergency, suicidal ideation, or acute crisis: stop the technique immediately, acknowledge, and provide crisis resources (e.g., Telefonseelsorge 0800 111 0 111 in Germany, international directory at findahelpline.com)

Vault Output

Sessions saved to: ~/Brains/brain/cognitive-toolkit/sessions/YYYYMMDD-[technique]-NN.md

Format: frontmatter with date, technique, mood-before, mood-after + full session transcript.

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

Files

SKILL.md and 12 other files (references) in cognitive-toolkit of glebis/claude-skills.

  • SKILL.md
  • .claude-plugin/.gitkeep
  • .claude-plugin/plugin.json
  • CITATION.cff
  • README.md
  • index.json
  • references/.gitkeep
  • references/health-integration.md
  • references/opposite-action.md
  • references/pushback-config.md
  • references/session-engine.md
  • references/thought-record.md
  • vault-output/.gitkeep

Open the folder on GitHubat commit 3b88261

Compare with similar skills

Cognitive Toolkit 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 Toolkit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cognitive Toolkit this skillglebis/claude-skills390—~1.1kAutomated safety check: PassMIT
Dbt Databricks PR Readydatabricks/dbt-databricks380—~2.8kAutomated safety check: PassApache-2.0
Mz Dbt ReleaseMaterializeInc/materialize6.4k—~1.2kAutomated safety check: PassCustom licence
Erd Studio Setupliam-machine/erd-studio165—~8.5kAutomated safety check: PassCustom licence
PR Verifydocglow/docglow148—~1.5kAutomated safety check: PassMIT
Migrating Dagster To Airflowastronomer/agents451—~3.8kAutomated safety check: PassApache-2.0

Similar skills

  • Dbt Databricks PR Ready

    databricks/dbt-databricks

    Official

    A skill your agent uses for an open dbt-databricks pull request, including your own PR or a fork PR, to assess merge readiness and optionally repair selected gaps on the PR head branch.

    380 GitHub stars~2.8k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Mz Dbt Release

    MaterializeInc/materialize

    Cut a dbt-materialize PyPI release: bump the version in version.py and setup.py, date the Unreleased CHANGELOG entry, and open the release PR with a Ship: <url body.

    6.4k GitHub stars~1.2k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Erd Studio Setup

    liam-machine/erd-studio

    Friendly, step-by-step setup for ERD Studio in an existing dbt project, for people who may be new to dbt or data modelling.

    165 GitHub stars~8.5k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • PR Verify

    docglow/docglow

    Verify a Docglow change actually works before submitting or merging a PR.

    148 GitHub stars~1.5k tokensUpdated 12 days ago
    Data & AnalyticsAuto-check passed
  • Guide for migrating Dagster projects to Apache Airflow 3 on Astro.

    451 GitHub stars~3.8k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Dbt Parser Refresh

    yu-iskw/dbt-artifacts-parser

    Refreshes dbt artifact schemas from dbt-labs/dbt-core and regenerates Pydantic parser classes.

    118 GitHub stars~716 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed

More from glebis/claude-skills

All 92 skills in this repo
  • Runs a human-first workflow for labeling PII spans in a transcript, then scores inter-annotator agreement and drafts an adjudicated gold set.

    390 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Automates a dedicated, logged-in Chrome instance per profile without ever closing the user's own open tabs or browser windows.

    390 GitHub stars~973 tokensUpdated yesterday
    Auto-check passed
  • Deep Research

    glebis/claude-skills

    This skill should be used when conducting comprehensive research on any topic using the OpenAI Deep Research API.

    390 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check: notes
  • Elimination Research

    glebis/claude-skills

    This skill should be used for elimination-style research where the user wants to choose from a shortlist of products, tools, services, vendors, or other options using explicit criteria, numeric…

    390 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Narrated HTML Presentations

    glebis/claude-skills

    Generates a self-contained HTML presentation with article and slides modes, ElevenLabs voiceover narration and optional GPT Image 2 illustrations.

    390 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check: notes
  • Writes fictional but realistic coaching or therapy session transcripts for evals, demos and few-shot examples, in several modalities and export formats.

    390 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Cognitive Toolkit

What does Cognitive Toolkit do?

Evidence-based CBT and DBT intervention skills — guided thought records, opposite action, DEAR MAN roleplay, crisis skills with optional HRV biofeedback. Cognitive Toolkit is an agent skill from glebis/claude-skills. Evidence-based CBT and DBT intervention skills — guided thought records, opposite action, DEAR MAN roleplay, crisis skills with optional HRV biofeedback.

When should I use Cognitive Toolkit?

Cognitive Toolkit fits situations like: /thought-record; /opposite-action; I need to work through something; help me with a thought.

How do I install Cognitive Toolkit in Claude Code?

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

How do I install Cognitive Toolkit in Codex?

Run `npx skills add glebis/claude-skills --skill cognitive-toolkit -a codex`. Or copy the skill folder (cognitive-toolkit in glebis/claude-skills) into .agents/skills/cognitive-toolkit in your project. Codex loads it when a task matches its description.

Can I use Cognitive Toolkit 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 glebis/claude-skills --skill cognitive-toolkit -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-toolkit, .gemini/skills/cognitive-toolkit, .github/skills/cognitive-toolkit and .opencode/skills/cognitive-toolkit in your project.

What does Cognitive Toolkit need to run?

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

Does Cognitive Toolkit 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 Toolkit 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 Toolkit use?

Cognitive Toolkit 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 Toolkit use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.4k tokens, read only when the agent opens those files.

What are the alternatives to Cognitive Toolkit?

Skills that share tags, products or a category with Cognitive Toolkit: Dbt Databricks PR Ready (databricks/dbt-databricks, 380 stars), Mz Dbt Release (MaterializeInc/materialize, 6.4k stars), Erd Studio Setup (liam-machine/erd-studio, 165 stars) and PR Verify (docglow/docglow, 148 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cognitive Toolkit?

glebis (a GitHub user) maintains it in glebis/claude-skills, which has 390 GitHub stars. The repository holds 92 skills in this directory. The repository was last updated on October 8, 2026.

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