Delete Draft-status podcast episodes for a specified Spotify show_id on creators.spotify.com using browser-only semantic automation with manual-login session reuse. Use when tasks need Draft cleanup or draft removal without APIs: default behavior deletes only the first Draft episode, and optional full-cleanup mode deletes all Draft episodes.
Treat this skill as a layered system, not a single script.
SKILL.md (this file) is the policy layer.
references/architecture.md is the strategy layer.
scripts/*.ts is the execution layer.
Deterministic trajectory script
Policy executor (strategy cache) (current reliability baseline)
Fully deliberative run
This skill uses unified runtime by design: deterministic trajectory cache first, then policy executor fallback for reliability.
The deterministic first-level cache script is available at scripts/deterministic.ts with CLI wrapper scripts/run_deterministic.ts.
Draft filter only.A run is successful only when all conditions hold:
show_id/show URL.delete_all_drafts=false).delete_all_drafts=true), final check confirms no Draft episodes remain.Use skill.yaml as the source of truth for input schema.
delete_all_drafts=false deletes only the first Draft episode.delete_all_drafts=true to delete all Draft episodes (bounded by max_delete).scripts/deterministic.ts) is optional acceleration only.scripts/executor.ts) is mandatory reliability baseline and must succeed independently.disable_deterministic_cache=true (or CLI --disable_deterministic_cache true) to skip deterministic mode and run policy executor directly.If policy executor stage decisions are unclear, load
references/architecture.mdbefore proceeding.
references/architecture.mdreferences/plan.mdscripts/auto-executor.tsscripts/executor.tsscripts/deterministic.tsscripts/stage-detector.tsscripts/deleter.tsscripts/verifier.tsscripts/core.tsscripts/run.tsscripts/run_deterministic.tstests/test_regression.sh