project

project is a command for Claude Code from MadAppGang/magus. It costs 25 tokens per session (5,460 once invoked), scanned C, original, MIT.

A project setup command that examines a repository before provisioning tools, plugins, model context, and framework references. A repository is the project’s files and version-controlled history.

In plain words
What is it for?
Use it to bootstrap a project, detect its technology stack, install relevant tooling, and seed project knowledge for future work.
Why use it?
It reduces setup mistakes by checking the actual languages, frameworks, package managers, tests, and infrastructure files before making changes.

Command for Claude Code

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

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the setup plugin — 2 skills, 4 commands shipped together

Good fit Use it to bootstrap a project, detect its technology stack, install relevant tooling, and seed project knowledge for future work.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add MadAppGang/magus
Claude Code
/plugin install setup

Made for: Claude Code.

Or install setup, the plugin that ships this one along with the rest of its 2 skills, 4 commands.

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/madappgang/magus/project/github.svg)](https://agentmods.dev/commands/madappgang/magus/project)
Your own site
<a href="https://agentmods.dev/commands/madappgang/magus/project"><img src="https://agentmods.dev/badge/commands/madappgang/magus/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 project

Your own site · 80×15
<a href="https://agentmods.dev/commands/madappgang/magus/project"><img src="https://agentmods.dev/badge/commands/madappgang/magus/project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,460 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00025 $0.05460
Opus 5.5 $0.00010 $0.02184
Sonnet 5.5 $0.00005 $0.01092
Haiku 4.5 $0.00003 $0.00546

Measured 10d ago against content hash 846ff900ae5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

project scanned grade C with 2 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 10d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

a sudo password the tool cannot type), plus `dir` when it is set. Then

Reads agent configuration directoriesmediumAgent snooping

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

cat .claude/settings.json 2>/dev/null
plugins/setup/commands/project.md · 498 lines

How it starts

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

This command investigates first and installs second, with an approval gate between. It never guesses at a stack it has not seen evidence for.

```bash
ls -A | head -40
git log --oneline -10 2>/dev/null
```

Then look for manifests and lockfiles, and record which ones exist:

| Signal | Means |
|---|---|
| `bun.lock`, `bunfig.toml` | Bun runtime |
| `package.json` + `pnpm-lock.yaml` / `yarn.lock` / `package-lock.json` | Node, and which package manager |
| `go.mod` | Go — read the `go` directive for the version |
| `Cargo.toml` | Rust |
| `pyproject.toml`, `requirements.txt`, `uv.lock` | Python |
| `Gemfile` | Ruby |
| `*.xcodeproj`, `Package.swift` | Swift |
| `pubspec.yaml` | Dart / Flutter |
| `docker-compose.yml`, `Dockerfile` | containerised services |
| `.github/workflows/` | CI — read what it actually runs |
| `terraform/`, `*.tf` | infrastructure as code |

Read the manifest, not just its name. The dependency list tells you the
framework (React, Next, Vue, Svelte, Astro, Django, Rails, Gin, Axum);
the scripts block tells you the real test and build commands.

Detect the test runner and the lint/format toolchain from the same place.
Note the commands verbatim — later steps quote them.

Read the full file on GitHub · 498 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. 10d ago Changed · +181 lines scan B → C 846ff900ae5f
  2. 20d ago Changed 10c292ae4b78
  3. 22d ago Changed · +1 lines f2f217f62e72
  4. 1mo ago Changed 44aacdc8775a
  5. 1mo ago First seen · 316 lines · 25 tokens per session scan B dde504c6ca00

Subscribe to this mod's changes

project is a command published in the GitHub repository MadAppGang/magus (13 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 5,460 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.