← Back to directory

@eir-space

CBT Programs

Open-source CBT program skill for discovering, recommending, translating, and scaffolding structured programs with provenance and publishing workflows.

Installnpx @eir-space/skills add Eir-Space/eir-open --skill cbt-programs
VerifiedNot applicable

Registry Metadata

Skill name
cbt-programs
Skill path
skills/cbt-programs/
Version
0.1.0
Last reviewed
2026-03-09
Populations
general
Regions
global
Status
published

Capability Signals

  • Does not require health.md to be useful.
  • No linked file contract is declared.
  • A local SKILL.md is rendered directly on this page.
  • Current moderation tier: Verified.

Badges & Trust Signals

Program RegistryMultilingualScaffolding CLI

This registry preserves review state, moderation tier, source links, and repo metadata so submissions can publish fast without losing context.

Install / Use

This registry is repo-first. Submit or update by pointing to a GitHub repo and skill path, similar to general skill directories.

npx @eir-space/skills add Eir-Space/eir-open --skill cbt-programs
repo: https://github.com/Eir-Space/eir-open
skill_path: skills/cbt-programs/

You can also fetch the hosted markdown directly and install from the file.

curl -fsSL https://skills.eir.space/skills/cbt-programs/skill.md -o SKILL.md
Open hosted SKILL.md

SKILL.md

Rendered directly from the local skill file used by this registry.

/app/skills/cbt-programs/SKILL.md

CBT Programs Skill

Use this skill for open-source CBT program operations backed by the cbt-programs CLI and data/programs/ registry.

Core capabilities

  • Discover CBT programs by condition and language
  • Recommend programs based on user-stated problems
  • Show trust/provenance labels:
  • AI-CREATED
  • HUMAN-CREATED
  • HUMAN-REVIEWED
  • EXPERT-VERIFIED
  • Scaffold new programs for user-specific needs
  • Improve and edit existing programs with tracked updates
  • Track updates in markdown progress logs
  • Generate agent prompts for guided support sessions

Fast workflow

1. Discover candidates:

cbt-programs list --lang en
cbt-programs search "sleep anxiety"
cbt-programs recommend --problem "difficulty sleeping" --lang en --limit 3

2. Inspect one program:

cbt-programs show cbt-insomnia --lang en

3. Validate trust/readiness:

cbt-programs validate cbt-insomnia

4. Create user-specific program scaffold:

cbt-programs scaffold cbt-shift-work-sleep \
  --title "CBT for Shift Work Sleep" \
  --condition "Shift Work Sleep Disturbance" \
  --creator ai-assisted

5. Track progress in markdown:

cbt-programs progress cbt-shift-work-sleep \
  --title "Added module drafts" \
  --summary "Drafted first two modules and updated recommendation signals"

6. Improve an existing program:

cbt-programs improve cbt-shift-work-sleep \
  --llm \
  --llm-plan-file ./llm-improve-plan.json \
  --goal "Improve adherence and add relapse prevention support for sleep setbacks" \
  --dry-run \
  --note "Improved content quality and review status"

Or use guided mode:

cbt-programs improve cbt-shift-work-sleep --interactive

LLM mode expects the host agent to supply the plan JSON (--llm-plan or --llm-plan-file), so no separate API call is needed by this tool.

7. Build assistant prompt for any agent system:

cbt-programs agent-prompt cbt-shift-work-sleep --lang en --goal "Prepare week 1 plan"

Translation workflow

  • Add a new locale file under data/programs/<id>/locales/<lang>.json
  • Add translation metadata to program.json.translations[]
  • Set status to one of: draft, human-reviewed, expert-verified
  • Run cbt-programs validate <id>

Legacy import workflow

node scripts/import_legacy_yaml.js \
  --source /Users/birger/Community/egen_journal/backend/content/programs \
  --status draft

Requires Python + PyYAML for parsing legacy YAML.

Publishing rules

For status: published, ensure:

  • At least one translation is human-reviewed or expert-verified
  • lineage flags are truthful and complete
  • Safety disclaimer exists
  • progress/ has markdown entries

Governance details: references/governance.md