Skip to content
Back to skills

Postplan

ASecurity

Publish a self-contained HTML page to Postplan and return its public shareable URL. Use when the user says postplan, or asks to publish, share, or get a link for a plan, report, doc, or artifact; to update or version an already-published draft; to list published drafts; or when a postplan upload is rejected or auth fails.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 19, 2026
ai-agentsbashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 19, 2026

npx -y skills add Dhruv2mars/skills --skill postplan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Postplan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Postplan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dhruv2mars-postplan/badge)](https://www.skillsdirectory.com/skills/dhruv2mars-postplan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: postplan
description: Publish a self-contained HTML page to Postplan and return its public shareable URL. Use when the user says postplan, or asks to publish, share, or get a link for a plan, report, doc, or artifact; to update or version an already-published draft; to list published drafts; or when a postplan upload is rejected or auth fails.
---

# postplan

Publish a plan, report, or artifact as a public HTML page at `https://<draft-id>.postplan.dev`.

## Steps

1. **Write one self-contained `.html` file** — Postplan takes HTML only, so convert Markdown source first. Inline `<style>` and inline classic `<script>` only; system font stacks; images from `https:` or `data:` URIs. External script URLs, external font CDNs, `<form>`, `<iframe>`, and meta-refresh are rejected by the uploader.
2. **Scrub it.** Uploads are public and unlisted-by-URL only — no API keys, tokens, internal hostnames, or private data in the markup.
3. **Upload.**
   ```bash
   bunx postplan@latest upload ./plan.html --description "Short title"
   ```
   Re-running on the **same file path** publishes a new version of the same draft — `~/.postplan/drafts.json` holds the path→draft mapping that makes that automatic. `--new` forces a fresh draft; `--draft <id>` targets a specific one.
4. **Report the URL**, adding `https://postplan.dev/d/<draft-id>/raw` when the user wants the source HTML.

Done when the CLI prints a URL and it loads.

## Living pages

A draft's URL never changes as versions accumulate, so a draft is the right shape for a progress tracker, status page, or running log — share the link once, then keep re-uploading. To keep one:

- **Keep the source file at a durable path** — `~/postplan-drafts/<name>.html`, or inside the repo the work lives in. A scratch or temp path loses the file, and a lost file means a new draft and a dead link.
- **Update with a bare re-upload:** `bunx postplan@latest upload <same-path>`, alone. Every flag that mints a fresh draft orphans the URL people are already holding.
- **Rebind after a move or rename** with `--draft <draft-id>` once. That rewrites the mapping permanently; later bare uploads from the new path reach the same draft.
- **Regenerate the whole page each update.** A version is a full snapshot, not a patch, so every upload carries the complete current state.

## Auth

Credentials live in `~/.postplan/credentials.json`. `bunx postplan@latest whoami` confirms them. If unauthenticated, ask the user to run one of these themselves — both need a browser or a key you should not see:

```bash
bunx postplan@latest auth login          # browser flow, works over SSH
bunx postplan@latest auth set <api-key>  # key from https://postplan.dev/cli/auth
```

## Elsewhere

- `bunx postplan@latest list` — published drafts.
- Dashboard `https://postplan.dev/dashboard/` — versions, descriptions, detected git repo links.

Files in this skill

  • SKILL.md2.8 KB
  • agents/openai.yaml177 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.