project

project is a command for coding agents from drobins25/craft. It costs 18 tokens per session (598 once invoked), scanned A, original, MIT.

A command for choosing the active project in a monorepo, a repository containing multiple related projects, or viewing their shared status.

In plain words
What is it for?
Use it to list projects and their development state, switch the active project, or inspect work across a multi-project repository.
Why use it?
It avoids confusion about which project the agent should modify and shows project, cycle, progress, and status information in one dashboard.

Command

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 craft plugin — 29 commands, 27 agents, 1 MCP server 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 commands/drobins25/craft/craft-project
Clone the repo
git clone --depth 1 https://github.com/drobins25/craft

Or install craft, the plugin that ships this one along with the rest of its 29 commands, 27 agents, 1 MCP server.

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 project

README.md
[![agentmods](https://agentmods.dev/badge/commands/drobins25/craft/craft-project.svg)](https://agentmods.dev/commands/drobins25/craft/craft-project)
Your own site
<a href="https://agentmods.dev/commands/drobins25/craft/craft-project"><img src="https://agentmods.dev/badge/commands/drobins25/craft/craft-project.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 598 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.00018 $0.00598
Opus 5 $0.00009 $0.00299
Sonnet 5 $0.00004 $0.00120
Haiku 4.5 $0.00002 $0.00060

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

Security

Grade A, and why

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 4d 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/craft-project.md · 63 lines

How it starts

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

Craft Project

Manage which project is active in a multi-project monorepo.

Behavior

No arguments: Show dashboard

Run the discover-projects.sh script to list all projects:

bash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/discover-projects.sh"

This returns name|path|status|package_manager lines.

Display a dashboard like:

┌──────────────────────────────────────────────────────┐
│  PROJECTS                                             │
├──────────────┬──────────┬───────────┬────────────────┤
│ Project      │ Cycle    │ Progress  │ Status         │
├──────────────┼──────────┼───────────┼────────────────┤
│ ● craftsman  │ 7-ext    │ 4/5 done  │ active-dev     │
│ ○ you-coded  │ —        │ —         │ pre-dev        │
│ ○ master     │ —        │ —         │ planning       │
└──────────────┴──────────┴───────────┴────────────────┘
Currently pinned: craftsman

For each project, read its .craft/.global-state to get ACTIVE_CYCLE, then read cycle state for progress. Mark the currently pinned project (from $CRAFT_PROJECT_ROOT env var) with a bullet.

With project name argument: Switch project

When the user provides a project name (e.g., /craft:project craftsman):

  1. Validate the project exists in the registry (or is "root"/"master" for the monorepo root)
  2. Resolve its absolute path
  3. Update the session env via $CLAUDE_ENV_FILE:
    echo "export CRAFT_PROJECT_ROOT=\"/absolute/path/to/project\"" >> "$CLAUDE_ENV_FILE"
    echo "export CRAFT_PROJECT_NAME=\"craftsman\"" >> "$CLAUDE_ENV_FILE"
    
  4. Write the persistent pin file (so hooks can resolve without env vars):
    repo_root=$(git rev-parse --show-toplevel 2>/dev/null)
    printf '%s\n%s\n' "/absolute/path/to/project" "project-name" > "$repo_root/.craft/.pinned-project"
    
  5. Show a mini status summary for the new project (backlog count, active cycle, etc.)

Important

  • This command only applies to monorepo setups with multiple .craft/ directories
  • In single-project repos, inform the user there's only one project and no switching needed
  • The project registry lives at the git repo root: .craft/projects/*.md
  • Each registry file has YAML frontmatter with name, path, status, package_manager

Read the full file on GitHub · 63 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. 4d ago First seen · 63 lines · 18 tokens per session scan A 5b664e092c02

Subscribe to this mod's changes

project is a command published in the GitHub repository drobins25/craft (53 stars, last pushed 5d ago), licensed MIT. It adds 18 tokens to every session and 598 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-30.