agentleFS
glebisglebis/claude-skills/cognitive-toolkit/skill.md

cognitive-toolkit

Skill400 starsChanged 4 months agoMITView on GitHub

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

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read references/thought-record.md — thought record protocol (ABC model, cognitive distortion taxonomy, reframe scaffold)

    line 22
  2. Very specific:

    Read references/opposite-action.md — opposite action + DEAR MAN + TIPP crisis skills

    line 23
  3. Very specific:

    Read references/pushback-config.md — pushback levels, triggers, and mid-session override commands

    line 24
  4. Very specific:

    Read references/health-integration.md — HRV/sleep pull, biofeedback interpretation, skip logic

    line 25
  5. Distinctive:

    Check-in — mood (0–10), brief situation summary

    line 30
  6. Distinctive:

    Never gate a session on health data — it's context, not gatekeeper

    line 72
  7. Distinctive:

    NOT a diagnostic tool — never assess, label, or diagnose

    line 88
  8. Distinctive:

    NOT a therapist replacement — this is a practice tool for between sessions

    line 89
  9. Distinctive:

    If user expresses emergency, suicidal ideation, or acute crisis: stop the technique immediately, acknowledge, and provide crisis resources …

    line 91

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

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"

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.