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

.claude/commands/install-global.md

install-global is a command for Claude Code from TheDecipherist/claude-code-mastery-project-starter-kit. It costs 15 tokens per session (1,231 once invoked), scanned B, original, MIT.

A command that installs the starter kit’s shared Claude configuration into `~/.claude/`. This folder stores settings that can apply across projects.

In plain words
What is it for?
Use it for first-time global setup, checking existing Claude files, and adding or updating the starter kit’s global instructions and settings.
Why use it?
It adds shared security rules, hooks, and settings while merging with existing configuration instead of replacing it.

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/install-global.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 install-global

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/install-global"><img src="https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/install-global.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 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,231 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.00015 $0.01231
Opus 5.5 $0.00006 $0.00492
Sonnet 5.5 $0.00003 $0.00246
Haiku 4.5 $0.00002 $0.00123

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

Security

Grade B, and why

install-global 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 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.

Reads agent configuration directoriesmediumAgent snooping

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

[ -f ~/.claude/settings.json ] && echo "EXISTING_SETTINGS" || echo "NO_SETTINGS"
.claude/commands/install-global.md · 146 lines

How it starts

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

Install Global Config

$ARGUMENTS

Install the starter kit's global Claude configuration into ~/.claude/. This is a one-time setup that gives you security rules, hooks, and settings across ALL projects.

Smart merge: If you already have a global config, this merges new content — it never overwrites your existing rules.

Step 1 — Check What Exists

# Check if global claude directory exists
ls -la ~/.claude/ 2>/dev/null || echo "NO_GLOBAL_DIR"

# Check for existing files
[ -f ~/.claude/CLAUDE.md ] && echo "EXISTING_CLAUDE_MD" || echo "NO_CLAUDE_MD"
[ -f ~/.claude/settings.json ] && echo "EXISTING_SETTINGS" || echo "NO_SETTINGS"
[ -d ~/.claude/hooks ] && echo "EXISTING_HOOKS" || echo "NO_HOOKS"

Step 2 — Handle Each File

2A. ~/.claude/CLAUDE.md

If NO existing file:

  • Copy global-claude-md/CLAUDE.md directly to ~/.claude/CLAUDE.md
  • Report: "Installed global CLAUDE.md (fresh install)"

If existing file found:

  1. Read BOTH files:
    • The existing ~/.claude/CLAUDE.md
    • The starter kit's global-claude-md/CLAUDE.md
  2. Compare section by section. The starter kit has these sections:
    • ## Identity
    • ## NEVER EVER DO
    • ## New Project Setup
    • ## Coding Standards (All Projects)
    • ## Workflow
  3. For each section:
    • If the section header already exists in the user's file → SKIP (don't overwrite their version)
    • If the section header does NOT exist → APPEND it to the end of the user's file
  4. Report exactly what was added and what was skipped:
    Global CLAUDE.md merge:
      ✓ Identity — already exists, skipped
      ✓ NEVER EVER DO — already exists, skipped
      + New Project Setup — added
      + Coding Standards — added
      ✓ Workflow — already exists, skipped
    

IMPORTANT: NEVER delete or overwrite existing content. Only append missing sections.

2B. ~/.claude/settings.json

If NO existing file:

  • Copy global-claude-md/settings.json directly to ~/.claude/settings.json
  • Report: "Installed global settings.json (fresh install)"

Read the full file on GitHub · 146 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 · 146 lines · 15 tokens per session scan B 6923ea1cf132

Subscribe to this mod's changes

install-global 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 15 tokens to every session and 1,231 once invoked, about $0.0001 per session on Opus 5.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.

Related

install-global compared with commands from other repositories

install-global next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
install-globalTheDecipherist/claude-code-mastery-project-starter-kitCommand3424mo agoMITB15Claude 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