new-project

new-project is a command for Claude Code from hdk10/orgkit. It costs 30 tokens per session (1,009 once invoked), scanned C, original, MIT.

A command that creates a new project inside an organisation's role-based folder system. It also creates the project's memory file and updates the organisation's project listings.

In plain words
What is it for?
Use it to start a project, choose or create its owning role, check for name conflicts, and update the shared organisation map.
Why use it?
It keeps new work in the correct role and maintains the organisation's records automatically, reducing setup mistakes and missing entries.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .org/sync_org.py.

Part of the orgkit plugin — 10 commands, 3 hooks shipped together

Good fit Use it to start a project, choose or create its owning role, check for name conflicts, and update the shared organisation map.

Compare 6 commands from other repositories ↓
View source ↗ hdk10/orgkit
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/hdk10/orgkit
agentmods
npx agentmods add commands/hdk10/orgkit/new-project

Made for: Claude Code.

Or install orgkit, the plugin that ships this one along with the rest of its 10 commands, 3 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/hdk10/orgkit/new-project/github.svg)](https://agentmods.dev/commands/hdk10/orgkit/new-project)
Your own site
<a href="https://agentmods.dev/commands/hdk10/orgkit/new-project"><img src="https://agentmods.dev/badge/commands/hdk10/orgkit/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 new-project

Your own site · 80×15
<a href="https://agentmods.dev/commands/hdk10/orgkit/new-project"><img src="https://agentmods.dev/badge/commands/hdk10/orgkit/new-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00030 $0.01009
Opus 5.5 $0.00012 $0.00404
Sonnet 5.5 $0.00006 $0.00202
Haiku 4.5 $0.00003 $0.00101

Measured 1mo ago against content hash 107cd5c5318a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

new-project scanned grade C with 1 finding 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 1mo 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- How does data move through the system? (optional for non-data projects) -->
commands/new-project.md · 92 lines

How it starts

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

You are scaffolding a new project into the org memory system. Every piece of work belongs under a role — never at the repo root.

Steps

  1. Determine the project name. If $ARGUMENTS was passed in the form <role>/<project>, parse it. Otherwise use the AskUserQuestion tool to ask: "What should the project folder be named? (lowercase-hyphenated, e.g. my-new-thing)"

  2. Determine the role. If role was parsed from $ARGUMENTS, use it. Otherwise:

    • Read .org/roles.json and list all keys under roles with their desc.
    • Use AskUserQuestion to present them as a numbered list plus a final option: "Create a new role". Wait for selection.
    • If "Create a new role": ask for the role name (lowercase, e.g. analytics) and a one-sentence description. Add it to roles.json as {"desc": "<desc>", "folders": []} under the new key. Write the updated roles.json back to .org/roles.json.
  3. Validate there is no collision. Check whether <role>/<project>/ already exists on disk. If it does, stop and report: <role>/<project>/ already exists — nothing created.

  4. Create the folder and memory skeleton.

    mkdir -p <role>/<project>/memory
    

    Write <role>/<project>/memory/PROJECT.md from the PROJECT template below (fill in {{ROLE}}, {{PROJECT}}, {{DATE}}):

    # {{PROJECT}}
    
    _Role: {{ROLE}} | Created: {{DATE}}_
    
    ## What it is
    
    <!-- 1–3 sentences: problem this solves, who uses it, the deliverable. -->
    
    ## Key decisions & rationale
    
    <!-- Decisions made so far and WHY. Add more as the project evolves. -->
    <!-- Format: **Decision**: ... **Rationale**: ... -->
    
    ## Tech stack
    
    <!-- Languages, frameworks, services, key libraries. Be specific (version or "latest"). -->
    
    ## Data flow
    
    <!-- How does data move through the system? (optional for non-data projects) -->
    
    ## Gotchas & watch-outs
    
    <!-- The non-obvious things. Use [GOTCHA]: prefix — Stop hook will scrape these into the role brain. -->
    
    ## Current state
    
    <!-- What's been built, what works, what's WIP, what's blocked. Update this as you go. -->
    
    ## How to resume
    
    <!-- The exact steps + files to read to get back up to speed in a future session. -->
    <!-- E.g.: "1. Read this file. 2. Run X. 3. Open Y." -->
    
    ## Lessons & patterns
    
    <!-- Use inline tags — Stop hook auto-promotes these to the role brain: -->
    <!-- [LESSON]: something that worked well -->
    <!-- [PATTERN]: reusable approach discovered here -->
    <!-- [GOTCHA]: subtle thing that bit us -->
    <!-- [TOOL]: library / service / CLI that's genuinely useful -->
    
  5. Register the project in roles.json. Read .org/roles.json, append "<project>" to roles.<role>.folders (if not already present), write it back.

  6. Regenerate ORG.md. Run:

    python3 .org/sync_org.py
    
  7. Report what was created:

    Created: <role>/<project>/
             <role>/<project>/memory/PROJECT.md
    Updated: .org/roles.json  (added "<project>" to <role>.folders)
    Updated: ORG.md
    

    Then suggest: "Open <role>/<project>/memory/PROJECT.md and fill in the What / Decisions / Stack sections to start the memory trail."

Read the full file on GitHub · 92 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. 1mo ago First seen · 92 lines · 30 tokens per session scan C 107cd5c5318a

Subscribe to this mod's changes

new-project is a command published in the GitHub repository hdk10/orgkit (2 stars, last pushed 3mo ago), licensed MIT. It adds 30 tokens to every session and 1,009 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.