# Saml Planfile

> Creates an empty plan file: `./.plan/YYYY-MM-DD-hh-mm-TITLE.md`. Trigger this automatically when plan file needs to be created.

- Skill: `saml/saml-planfile` (Agent Skill)
- Install (CLI): `npx skillmds@latest add saml/saml-planfile`
- Raw SKILL.md: https://api.skillmd.com/api/skills/saml/saml-planfile/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: saml (https://skillmd.com/u/saml)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/saml/saml-planfile

---


Create the file named `./.plan/YYYY-MM-DD-hh-mm-TITLE.md` where `YYYY-MM-DD-hh-mm` part is current year month day hour minute.
Generate the timestamp part using the following script:

```bash
#!/usr/bin/env bash
date '+%Y-%m-%d-%H-%M'
```

And, `TITLE` part should be short title of the plan.
Make sure `TITLE` part does not contain white spaces. And `TITLE` part should be all lower case.

If the directory `./.plan` does not exist, create it first.
If the file already exists, noop.

