set-study-status

Change study status between Draft and Released while syncing catalogs and PDF watermarks.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/raghavamohan/AnalyticMadhyasthDarshan --skill set-study-status-raghavamohan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: set-study-status
Source: https://github.com/raghavamohan/AnalyticMadhyasthDarshan/tree/main/.cursor/skills/set-study-status
Command: npx skills add https://github.com/raghavamohan/AnalyticMadhyasthDarshan --skill set-study-status-raghavamohan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping a study's status consistent across its canonical markdown, catalog JSON, README table, index page, and PDF watermark is error-prone when done by hand. This Skill runs a single script that updates all of these artifacts together when releasing a study or reverting it to draft. ## Core Features & Use Cases - Status transitions: Set a study explicitly to Draft or Released, or toggle only when explicitly requested, with dry-run preview support. - Synchronized metadata: Updates the Status and Edited on fields in the canonical markdown, the catalog JSON, the Studies README row, and rebuilds the index page. - PDF watermark handling: Regenerates the study PDF with a Draft watermark or clean released pages, and verifies timestamp consistency. - Use Case: A maintainer finalizes a philosophy study and runs the script with --status released to update the markdown, catalogs, and produce a watermark-free PDF in one step. ## Quick Start Ask the AI to set the study with slug my-study to released status using the set-study-status script.

Frequently Asked Questions about set-study-status

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I release a study from Draft to Released status?▼

Run python Scripts/_set_study_status.py <Slug> --status released. The script updates the canonical markdown Status and Edited on fields, syncs the catalog JSON and README row, rebuilds the index, and regenerates the PDF without a watermark.

How do I revert a released study back to draft?▼

Run python Scripts/_set_study_status.py <Slug> --status draft. This reopens the study for major revision, updates all catalog metadata, and regenerates the PDF with a Draft watermark on each page.

Can I change the status of an Ongoing or Planned study?▼

No. The script only works for studies whose current status is Draft or Released. Ongoing or Planned entries must first be registered as a draft using the add-study skill before their status can be changed.

What happens if I set the status a study already has?▼

Setting the already-current status is a verified no-op. The script checks timestamp consistency between the markdown and catalog, then returns without changing the timestamp or re-rendering artifacts.

How do I preview status changes without modifying files?▼

Use the --dry-run flag to preview what the script would change. You can also use --skip-pdf to update only catalog and metadata, then regenerate the PDF later with the regenerate-study-pdf skill.