a-new-project

a-new-project is a command for Claude Code from ammonhaggerty/a-primer-skills. It costs 34 tokens per session (5,469 once invoked), scanned A, original, MIT.

A command that starts a new full-stack web project from the AI Primer starter template. The template uses Cloudflare Workers for server code, D1 for a database, R2 for file storage, Hono for web routes, and DaisyUI for interface styling.

In plain words
What is it for?
It helps create either a sample personal site or an empty project, then sets up the selected application structure and development tools.
Why use it?
It provides a repeatable starting process, so each new project begins with the same selected tools and workspace setup.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the a-primer-skills plugin — 2 skills, 1 command shipped together

Good fit It helps create either a sample personal site or an empty project, then sets up the selected application structure and development tools.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ammonhaggerty/a-primer-skills/a-new-project
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.

Clone the repo
git clone --depth 1 https://github.com/ammonhaggerty/a-primer-skills

Made for: Claude Code.

Or install a-primer-skills, the plugin that ships this one along with the rest of its 2 skills, 1 command.

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 a-new-project

README.md
[![agentmods](https://agentmods.dev/badge/commands/ammonhaggerty/a-primer-skills/a-new-project/github.svg)](https://agentmods.dev/commands/ammonhaggerty/a-primer-skills/a-new-project)
Your own site
<a href="https://agentmods.dev/commands/ammonhaggerty/a-primer-skills/a-new-project"><img src="https://agentmods.dev/badge/commands/ammonhaggerty/a-primer-skills/a-new-project/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for a-new-project

Your own site · 80×15
<a href="https://agentmods.dev/commands/ammonhaggerty/a-primer-skills/a-new-project"><img src="https://agentmods.dev/badge/commands/ammonhaggerty/a-primer-skills/a-new-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00034 $0.05469
Opus 5 $0.00017 $0.02735
Sonnet 5 $0.00007 $0.01094
Haiku 4.5 $0.00003 $0.00547

Measured 10d ago against content hash a1193c003d3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

a-new-project 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 10d 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.

commands/a-new-project.md · 658 lines

How it starts

The opening of the file, as written. The whole thing — 658 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/a-new-project

Scaffold a new full-stack project. This command is repeatable — run it every time a new project is needed.

Follow all seven steps in order. Complete each step before moving to the next.


Step 1: Workspace Check

Detect the operating system and check the current working directory.

  • Mac/Linux: Check if the current directory is ~/Development.
  • Windows: Check if the current directory is %USERPROFILE%\Development.

If not in the workspace directory:

  • Explain the convention: "Keeping all projects in one place makes them easy to find and gives Claude consistent workspace awareness."
  • Check whether ~/Development (or the Windows equivalent) exists. If it does not, offer to create it.
  • Navigate to the workspace directory before proceeding.

Step 2: Project Choice

Choose a starting point

Ask:

How would you like to start?

  1. Sample promo page — A working single-page personal site with profile card, weather, social links, AI chat, timeline, and music widget. You'll customize it with your info, then modify or add modules from there.

  2. Empty project — A clean slate with the full stack wired up (Hono, DaisyUI, HTMX, Alpine.js, D1, R2, Workers AI) but no modules. Good for building something completely new.

Store the choice as PROJECT_MODE (sample or empty).

Project name

If sample mode:

Ask:

What should we call your project? This becomes the folder name and URL. A short kebab-case name works best — for example, my-site, dj-ammon, jane-codes.

If empty mode:

Ask:

What do you want to build? Describe it in a few sentences — who it's for, what it does, what the core experience feels like.

Then ask:

What should the project be called?

Suggest a kebab-case name derived from their description (e.g., daily-checkin, recipe-finder). Let the user accept or choose a different name.

Store the final name as PROJECT_NAME.


Step 3: Scaffold

Create the project directory at ~/Development/PROJECT_NAME/.

Read the full file on GitHub · 658 lines

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. 10d ago First seen · 658 lines · 34 tokens per session scan A a1193c003d3b

Subscribe to this mod's changes

a-new-project is a command published in the GitHub repository ammonhaggerty/a-primer-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 5,469 once invoked, about $0.0002 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.