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

.claude/commands/set-project-profile-default.md

set-project-profile-default is a command for Claude Code from TheDecipherist/claude-code-mastery-project-starter-kit. It costs 8 tokens per session (850 once invoked), scanned A, original, MIT.

A command for choosing the default project profile used when starting a new project without specifying one. A profile is a saved set of project settings such as language, framework, or tools.

In plain words
What is it for?
Use it to view or change the default profile, including presets for Go, Python APIs, or projects using tools such as MongoDB, Next.js, Tailwind, and Docker.
Why use it?
It avoids repeatedly selecting the same project setup whenever a new project is created.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; 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/set-project-profile-default.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 set-project-profile-default

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/set-project-profile-default"><img src="https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/set-project-profile-default.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 850 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.00008 $0.00850
Opus 5.5 $0.00003 $0.00340
Sonnet 5.5 $0.00002 $0.00170
Haiku 4.5 $0.00001 $0.00085

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

Security

Grade A, and why

set-project-profile-default 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 2mo 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.

.claude/commands/set-project-profile-default.md · 80 lines

How it starts

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

Set Project Profile Default

Set which profile /new-project uses by default when no profile is specified.

Arguments: $ARGUMENTS

Usage

/set-project-profile-default go              → sets default_profile = go
/set-project-profile-default clean           → sets default_profile = clean
/set-project-profile-default default         → sets default_profile = default
/set-project-profile-default python-api      → sets default_profile = python-api
/set-project-profile-default mongo next tailwind docker
  → creates/updates [user-default] profile with those settings
  → sets default_profile = user-default
/set-project-profile-default (no args)
  → shows current default, asks what to change

Steps

1. Read the config file

Read claude-mastery-project.conf from the project root. If not found, check ~/.claude/claude-mastery-project.conf.

Extract:

  • All [section] names (these are the available profiles)
  • Current default_profile value from [global] (if set)

2. Parse arguments

$ARGUMENTS can be:

A) No arguments — show current state and ask:

  • Display the current default_profile value (or "not set" if absent)
  • List all available profiles with a one-line summary of each
  • Ask via AskUserQuestion: "Which profile should be the default?"
    • Options: list all profile section names from the conf file
  • After selection, proceed to Step 3

B) Single argument matching an existing [section] name (e.g., go, clean, default, api, vue, python-api):

  • Proceed to Step 3 with that profile name

C) Multiple arguments (e.g., mongo next tailwind docker):

  • Parse as shorthand options using the same parser as /new-project:
    • Languages: node, go, python
    • Frameworks: vite, react, next, vue, nuxt, svelte, sveltekit, angular, astro, fastify, express, hono, gin, chi, echo, fiber, stdlib, fastapi, django, flask
    • Database: mongo, postgres, mysql, mssql, sqlite
    • Hosting: dokploy, vercel, static
    • Package managers: pnpm, npm, bun, pip, uv, poetry
    • Options: seo, ssr, tailwind, prisma, docker, ci, multiregion
    • Analytics: rybbit
    • MCP: playwright, context7, rulecatch
  • Create or update a [user-default] section in the conf file with the parsed settings
  • Set default_profile = user-default in [global]
  • Proceed to Step 4 (confirmation)

Read the full file on GitHub · 80 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. 2mo ago First seen · 80 lines · 8 tokens per session scan A 534e041dd94a

Subscribe to this mod's changes

set-project-profile-default is a command published in the GitHub repository TheDecipherist/claude-code-mastery-project-starter-kit (342 stars, last pushed 4mo ago), licensed MIT. It adds 8 tokens to every session and 850 once invoked, about $0.0000 per session on Opus 5.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.

Related

set-project-profile-default compared with commands from other repositories

set-project-profile-default next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
set-project-profile-defaultTheDecipherist/claude-code-mastery-project-starter-kitCommand3424mo agoMITA8Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code