claude-code-mastery-project-starter-kit: Command for Claude Code

.claude/commands/convert-project-to-starter-kit.md

convert-project-to-starter-kit is a command for Claude Code from TheDecipherist/claude-code-mastery-project-starter-kit. It costs 16 tokens per session (4,659 once invoked), scanned B, original, MIT.

A command that merges the Claude Code Starter Kit's commands, hooks, skills, rules, and project-document templates into an existing project.

In plain words
What is it for?
It is for locating the starter kit and target project, then performing a non-destructive merge, with an optional force option.
Why use it?
It adds the starter kit's project setup while preserving the files already in the project.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

This is TheDecipherist/claude-code-mastery-project-starter-kit's own configuration. It tells Claude Code how to work on claude-code-mastery-project-starter-kit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-mastery-project-starter-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TheDecipherist/claude-code-mastery-project-starter-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TheDecipherist/claude-code-mastery-project-starter-kit/main/.claude/commands/convert-project-to-starter-kit.md
Clone the repo
git clone --depth 1 https://github.com/TheDecipherist/claude-code-mastery-project-starter-kit

Made for: Claude Code.

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 convert-project-to-starter-kit

README.md
[![agentmods](https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/convert-project-to-starter-kit/github.svg)](https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/convert-project-to-starter-kit)
Your own site
<a href="https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/convert-project-to-starter-kit"><img src="https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/convert-project-to-starter-kit/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 convert-project-to-starter-kit

Your own site · 80×15
<a href="https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/convert-project-to-starter-kit"><img src="https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/convert-project-to-starter-kit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,659 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00016 $0.04659
Opus 5 $0.00008 $0.02329
Sonnet 5 $0.00003 $0.00932
Haiku 4.5 $0.00002 $0.00466

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

Security

Grade B, and why

convert-project-to-starter-kit scanned grade B 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 9d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**If target has no `.claude/settings.json`:** Copy `$SOURCE/.claude/settings.json` directly.
.claude/commands/convert-project-to-starter-kit.md · 509 lines

How it starts

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

Convert Existing Project to Starter Kit

Merge all Claude Code Starter Kit infrastructure (commands, hooks, skills, CLAUDE.md rules, project-docs templates) into an existing project. Non-destructive — preserves everything the user already has.

Arguments: $ARGUMENTS


Step 0 — Resolve Source and Target

Source (starter kit location)

Find the starter kit source directory:

  1. If CWD has BOTH claude-mastery-project.conf AND .claude/commands/new-project.md → use CWD as source
  2. Else read ~/.claude/starter-kit-source-path → verify it still has both files
  3. Else ask via AskUserQuestion: "Where is the starter kit cloned?" with a text input

Store as $SOURCE.

Target (existing project)

Parse $ARGUMENTS for a path (everything that is not --force). Handle ~ expansion and ./ relative paths.

  • If a path argument is provided → resolve to absolute path, store as $TARGET
  • If no path AND CWD is NOT the starter kit (no claude-mastery-project.conf in CWD) → use CWD as $TARGET
  • If no path AND CWD IS the starter kit → ask via AskUserQuestion: "Which project do you want to convert? Provide the full path."

Check for --force flag in $ARGUMENTS. If present, set $FORCE=true (skips conflict prompts — uses "keep existing, add missing" for everything).

Validations (all must pass — stop with clear error if any fail)

  1. $TARGET directory exists → if not: "Directory not found: $TARGET"
  2. $TARGET is a git repo → run: git -C "$TARGET" rev-parse --is-inside-work-tree 2>/dev/null
    • If not a git repo: "This project must be a git repo. Run git init && git commit --allow-empty -m 'init' first."
  3. $TARGET is NOT the starter kit itself (compare resolved paths of $SOURCE and $TARGET)
    • If same: "Cannot convert the starter kit itself. Provide the path to an existing project."
  4. $SOURCE has expected starter kit files (claude-mastery-project.conf + .claude/commands/new-project.md)
    • If not: "Starter kit source is incomplete. Expected claude-mastery-project.conf and .claude/commands/new-project.md"

Read the full file on GitHub · 509 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. 9d ago First seen · 509 lines · 16 tokens per session scan B ee548bd46539

Subscribe to this mod's changes

convert-project-to-starter-kit is a command published in the GitHub repository TheDecipherist/claude-code-mastery-project-starter-kit (338 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 4,659 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.