
cognitive-toolkit
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".
- Installs
- 133
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/glebis/claude-skills --skill cognitive-toolkit- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads cognitive-toolkit automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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
- Read
references/thought-record.md— thought record protocol (ABC model, cognitive distortion taxonomy, reframe scaffold) - Read
references/opposite-action.md— opposite action + DEAR MAN + TIPP crisis skills - Read
references/pushback-config.md— pushback levels, triggers, and mid-session override commands - Read
references/health-integration.md— HRV/sleep pull, biofeedback interpretation, skip logic
Session Flow
Without technique argument (full flow):
- Check-in — mood (0–10), brief situation summary
- Recommend — match presenting issue to technique based on check-in
- Load technique — read the relevant reference file
- Protocol — run the full guided exercise
- Close — summary, insight, one takeaway
- Save — write session to vault output
With technique argument (direct jump):
- Brief mood check (0–10, one line)
- Load technique — read the relevant reference file
- Protocol — run the full guided exercise
- Close — summary, insight, one takeaway
- Save — write session to vault output
Available Techniques
| Command | Technique | Reference | Wave |
|---|---|---|---|
thought-record | Thought Record (ABC + reframe) | references/thought-record.md | 1 |
opposite-action | Opposite Action (DBT emotion regulation) | references/opposite-action.md | 1 |
dear-man | DEAR MAN assertiveness roleplay | references/opposite-action.md | 2 |
tipp | TIPP crisis/distress tolerance | references/opposite-action.md | 2 |
chain | Chain Analysis (behavior chain) | references/thought-record.md | 3 |
activation | Behavioral Activation (depression) | references/thought-record.md | 3 |
wise-mind | Wise Mind (emotion vs. reason) | references/opposite-action.md | 3 |
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 pushbackadjust level in real time - Pushback is Socratic, not confrontational — "What evidence supports that?" not "That's wrong"
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-healthflag passed - Never gate a session on health data — it's context, not gatekeeper
Telegram Entry Points
| Command | Maps to |
|---|---|
/record | thought-record |
/opposite | opposite-action |
/dear | dear-man |
/tipp | tipp |
/checkin | full check-in flow |
/wise | wise-mind |
/settings | adjust 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.
FAQ
What does the cognitive-toolkit skill do?
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".
How do I install cognitive-toolkit?
Run npx skills add https://github.com/glebis/claude-skills --skill cognitive-toolkit in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/cognitive-toolkit/ (personal) or .claude/skills/cognitive-toolkit/ (project).
Which AI agents can use cognitive-toolkit?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is cognitive-toolkit safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains cognitive-toolkit?
It is published by glebis in glebis/claude-skills. It has 133 recorded installs.
More from glebis/claude-skills
google-image-search
glebis/claude-skills
Search and download images via Google Custom Search API with LLM-powered selection. This skill should be used when finding images for articles, presentations, research documents, or enriching Obsidian notes with relevant visuals. Supports simple queries, batch processing from JSON config, automatic config generation from terms, and full note enrichment with automatic image insertion below headings.
pdf-generation
glebis/claude-skills
Professional PDF generation from markdown using Pandoc with Eisvogel template and EB Garamond fonts. Use when converting markdown to PDF, creating white papers, research documents, marketing materials, or technical documentation. Supports both English and Russian documents with professional typography and color-coded themes. Mobile-optimized layout (6x9) by default for Telegram bot context, desktop/print layout (A4) for other contexts.
health-data
glebis/claude-skills
Open the skill to read its SKILL.md instructions.
firecrawl-research
glebis/claude-skills
Open the skill to read its SKILL.md instructions.
deep-research
glebis/claude-skills
This skill should be used when conducting comprehensive research on any topic using the OpenAI Deep Research API. It automates prompt enhancement through interactive clarifying questions, saves research parameters, and executes deep research with web search capabilities. Use when the user asks for in-depth analysis, investigation, research summaries, or topic exploration.
presentation-generator
glebis/claude-skills
Generate interactive HTML presentations with neobrutalism styling, ASCII art decorations, and Agency brand colors. Outputs HTML (interactive with navigation), PNG (individual slides via Playwright), and PDF. References brand-agency skill for colors and typography. Use when creating presentations, slide decks, pitch materials, or visual summaries.
Popular data & databases skills
supabase-postgres-best-practices
supabase/agent-skills
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pgcron, pgmq), vector/semantic search (pgvector), and restoring dumps (pgrestore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
prisma-client-api
prisma/skills
Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on "prisma query", "findMany", "create", "update", "delete", "$transaction".
prisma-database-setup
prisma/skills
Deprecated compatibility name for prisma-orm-setup. Use only when a user or existing integration explicitly invokes prisma-database-setup; otherwise select prisma-orm-setup.
prisma-cli
prisma/skills
Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows. Covers prisma init, generate, migrate, db, dev, studio, and mcp. For setup, connection repair, or Prisma 8, use prisma-orm-setup; not the Prisma Platform CLI.
prisma-postgres
prisma/skills
Deprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.
prisma-driver-adapter-implementation
prisma/skills
Required reference for Prisma ORM 7 SQL driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter, Transaction, savepoint, result mapping, or DriverAdapterError behavior. Covers current transaction lifecycle, optional savepoint hooks, original database-error preservation, and verification.