close
Skip to content

alnutile/posthaste-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Template Skill

A Cowork skill for managing project folder structures through conversation. Tell Claude what kind of project you're starting and it builds the whole folder tree for you.

Inspired by Post Haste by Digital Rebellion — a great free app for creating project folder structures from templates. This skill borrows the same idea (and can read Post Haste's .phtemplate format) but works entirely through Cowork. You don't need Post Haste installed to use it.



Included Templates

Template Use Case What You Get
AI Film Production AI-generated short films, animations, composited video 01_Graphics (Characters, Environments, Props, Storyboard), 02_Audio (SFX, Music, VO, Dialogue), 03_Video (Generated, Composited), 04_Edit, 05_Exports, 06_Docs (Brief, Notes, Prompts)
YouTube Training Video Screen-recorded tutorials, how-to videos, training content 01_Script/ (script.md, outline.md, notes.md), 02_Screenshots/, 03_B-Roll/, 04_Scenes/, 05_Edit/, 06_Exports/ + a pre-filled edit-to-publish checklist.md

Want to add a template? See Contributing below.

What It Does

Capability Description
List templates Read your Post Haste templates dir and display each template's folder tree and variables
Create a project Build a full folder structure on disk from a template + your parameters (project name, client, date, etc.)
Design a template Describe a folder structure in plain language and generate the .phtemplate XML file
List recent projects Read Post Haste's preferences to show and navigate recently created projects

Requirements

  • Post Haste installed on Mac or Windows: Download free
  • CoWork desktop app (Anthropic)
  • Python 3.8+ (included with macOS / available on Windows)

Installation

  1. Download posthaste-skill.skill from Releases
  2. Open CoWork
  3. Go to Settings → Skills → Install from file
  4. Select posthaste-skill.skill

That's it — no configuration needed. The skill auto-detects your Post Haste templates directory.


Usage Examples

Once installed, just talk to CoWork naturally:

List your templates

"Show me my Post Haste templates"
"What templates do I have?"
"List my PostHaste templates"

Create a new project

"Create a new project from my Video Production template, project name Wildlife Doc, client NatGeo"
"Set up project folders for a new commercial shoot"
"New PostHaste project"

Design a new template

"Create a new Post Haste template for podcast episodes"
"I want a template with folders: Raw Audio, Edited, Show Notes, Artwork, Published"

Browse recent projects

"Show my recent PostHaste projects"
"Where are my projects?"
"Open project #3 in Finder"

File Structure

posthaste-skill/
├── .claude-plugin/
│   ├── marketplace.json            # Cowork marketplace manifest
│   └── plugin.json                 # Plugin metadata
└── skills/
    └── posthaste-file-management/
        ├── SKILL.md                    # Skill definition and instructions
        ├── references/
        │   └── template-format.md      # PostHaste .phtemplate XML schema
        ├── scripts/
        │   ├── read_template.py        # Parse and display a template
        │   ├── create_project.py       # Create folder structure from template
        │   ├── new_template.py         # Generate a new .phtemplate XML
        │   └── list_projects.py        # List recent projects from prefs
        └── templates/
            ├── youtube-training-video.phtemplate
            └── youtube-training-checklist.md

Post Haste Template Locations

OS Templates directory
macOS ~/Library/Application Support/Digital Rebellion/Post Haste/Templates/
Windows %APPDATA%\Digital Rebellion\Post Haste\Templates\

The skill reads from (and writes to) this directory automatically. Any template you create through CoWork will appear immediately in the Post Haste app — no restart needed.


Template Variable Reference

Post Haste uses [square_bracket] variables in folder and file names:

Variable Value
[project] Project name
[client] Client name
[date] Current date (formatted per your Post Haste prefs)
[user] Logged-in OS username
[template] Auto-replaced with the full project folder name

Any custom parameter you define in Post Haste preferences can also be used.


Scripts (standalone use)

The scripts can also be run directly from the terminal:

# List all templates
python3 scripts/read_template.py --list

# Display a specific template's tree
python3 scripts/read_template.py ~/...Templates/VideoProduction.phtemplate

# Create a project (dry run first)
python3 scripts/create_project.py ~/...Templates/VideoProduction.phtemplate \
    ~/Projects project="Wildlife Doc" client="NatGeo" --dry-run

# Create for real
python3 scripts/create_project.py ~/...Templates/VideoProduction.phtemplate \
    ~/Projects project="Wildlife Doc" client="NatGeo"

# List recent projects
python3 scripts/list_projects.py

# Open project #2 in Finder
python3 scripts/list_projects.py --open 2

# Create a new template from a JSON spec
python3 scripts/new_template.py my_spec.json

Contributing

Pull requests welcome. If you build templates or improvements, please share them!

  1. Fork this repo
  2. Create a branch: git checkout -b my-improvement
  3. Commit your changes: git commit -m 'Add thing'
  4. Push and open a PR

License

MIT


Links

Releases

No releases published

Packages

 
 
 

Contributors

Languages