pm-new

pm-new is a skill for Claude Code, Codex from Hank95/mdpm. It costs 16 tokens per session (550 once invoked), scanned A, original, MIT.

A task-creation skill for projects that keep work items as Markdown files in tasks/backlog/. It assigns the next task ID and creates a file from a standard template.

In plain words
What is it for?
Use it to create a task from a title, with optional priority, due date, tags, dependencies, assignee, and objective.
Why use it?
It removes manual filename numbering and task-file formatting when adding backlog work.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the mdpm plugin — 17 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hank95/mdpm/pm-new
Any agent
npx skills add Hank95/mdpm --skill pm-new
Clone the repo
git clone --depth 1 https://github.com/Hank95/mdpm

Made for: Claude Code, Codex.

Or install mdpm, the plugin that ships this one along with the rest of its 17 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pm-new

README.md
[![agentmods](https://agentmods.dev/badge/skills/hank95/mdpm/pm-new.svg)](https://agentmods.dev/skills/hank95/mdpm/pm-new)
Your own site
<a href="https://agentmods.dev/skills/hank95/mdpm/pm-new"><img src="https://agentmods.dev/badge/skills/hank95/mdpm/pm-new.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.00550
Opus 5 $0.00008 $0.00275
Sonnet 5 $0.00003 $0.00110
Haiku 4.5 $0.00002 $0.00055

Measured 5d ago against content hash 670223d71f87, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pm-new scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pm-new/SKILL.md · 42 lines

What it actually says

/pm-new

Create a new task. $ARGUMENTS is the task title or a brief description.

How to run

Delegate to the CLI — it auto-derives the ID from the project's prefix (via .mdpm/config.json or by scanning existing IDs), builds the filename as <ID>-<slug>.md, and writes the task atomically with a canonical template:

python3 "${CLAUDE_PLUGIN_ROOT}/bin/mdpm" --json new "<title>" \
  --priority medium \
  [--due YYYY-MM-DD] \
  [--tags a,b,c] \
  [--depends PRJ-001,PRJ-002] \
  [--assigned-to "Henry"] \
  [--objective "1-3 sentence objective"]

Parsing the user's prompt

  1. Extract a clean title from $ARGUMENTS. 5-10 words. Trim filler ("could you please", "I want to").
  2. Detect priority hints: "urgent", "high-priority", "blocker" → --priority high. "nice to have", "whenever" → --priority low. Otherwise omit (CLI defaults to medium).
  3. Detect due dates: "by Friday", "due 5/1", "end of month" → resolve to ISO date and pass via --due.
  4. Detect tags: if the user mentions an area ("this is for the billing feature", "frontend refactor"), include it in --tags.
  5. Don't ask questions for trivial tasks. Minimum viable: title + default priority. The user can edit later with /pm-edit.

Interpreting the result

  • ok: true — confirm with the assigned ID and file path. If the description looked like a multi-step feature (5+ distinct actions), offer /pm-plan <id> to decompose.
  • ok: false, error: "conflict" — unlikely but possible if a filename collision happens. Re-run; the CLI should pick the next ID.

Notes

  • The CLI writes created: <today>, updated: <today>, and an initial Work Log line automatically. Don't duplicate.
  • Do NOT move the task to tasks/active/. /pm-new creates in backlog/; /pm-start handles the transition to active.
  • Never use the Write tool to create task files manually — you'd bypass ID generation and filename convention.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 42 lines · 16 tokens per session scan A 670223d71f87

Subscribe to this mod's changes

pm-new is a skill published in the GitHub repository Hank95/mdpm (3 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 550 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories