writing-cdp-scripts

star 3

Writes and explains txtar-based cdp automation scripts, including txtar header comments, main.cdp, helper JavaScript files, sourced helper scripts, assertions, and artifact output. Use when the task involves authoring, debugging, or reviewing cdp run scripts.

tmc By tmc schedule Updated 4/24/2026

name: writing-cdp-scripts description: Writes and explains txtar-based cdp automation scripts, including txtar header comments, main.cdp, helper JavaScript files, sourced helper scripts, assertions, and artifact output. Use when the task involves authoring, debugging, or reviewing cdp run scripts.

Writing CDP Scripts

Use this skill when the task needs a reusable cdp run script rather than ad hoc CLI commands.

Quick start

  • Scripts are txtar archives
  • main.cdp is required
  • txtar header comments, helper .js, and helper .cdp files are optional

Use this skill for

  • designing main.cdp workflows
  • choosing between inline commands and sourced helpers
  • wiring environment variables and output artifacts
  • explaining assertions, waits, snapshots, and extraction commands

Read next

Install via CLI
npx skills add https://github.com/tmc/cdp --skill writing-cdp-scripts
Repository Details
star Stars 3
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator