init-project

init-project is a command for Claude Code from alphaaiservice/cortex. It costs 71 tokens per session (14,183 once invoked), scanned A, original, MIT.

A command that creates or upgrades a project using a standard architecture for Python with FastAPI, Node.js with NestJS, or Java with Spring Boot.

In plain words
What is it for?
Use it to start a new backend project or organize an existing one, optionally adding a frontend, mobile app, or AI support.
Why use it?
It avoids setting up the project structure, dependencies, configuration, and basic patterns manually.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Part of the cortex plugin — 43 commands, 1 MCP server shipped together

Good fit Use it to start a new backend project or organize an existing one, optionally adding a frontend, mobile app, or AI support.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/alphaaiservice/cortex/init-project
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.

Clone the repo
git clone --depth 1 https://github.com/alphaaiservice/cortex

Made for: Claude Code.

Or install cortex, the plugin that ships this one along with the rest of its 43 commands, 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 init-project

README.md
[![agentmods](https://agentmods.dev/badge/commands/alphaaiservice/cortex/init-project/github.svg)](https://agentmods.dev/commands/alphaaiservice/cortex/init-project)
Your own site
<a href="https://agentmods.dev/commands/alphaaiservice/cortex/init-project"><img src="https://agentmods.dev/badge/commands/alphaaiservice/cortex/init-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 init-project

Your own site · 80×15
<a href="https://agentmods.dev/commands/alphaaiservice/cortex/init-project"><img src="https://agentmods.dev/badge/commands/alphaaiservice/cortex/init-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 14,183 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00071 $0.14183
Opus 5.5 $0.00028 $0.05673
Sonnet 5.5 $0.00014 $0.02837
Haiku 4.5 $0.00007 $0.01418

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

Security

Grade A, and why

init-project scanned grade A 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

export const api = axios.create({
commands/init-project.md · 1,262 lines

How it starts

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

Project Initialization — Alpha AI Standards

Initialize project: $ARGUMENTS

Mode Detection

Automatically detect whether this is a new project or existing project:

# Check if target directory has existing code
ls $ARGUMENTS/app/ 2>/dev/null || ls $ARGUMENTS/src/ 2>/dev/null || ls $ARGUMENTS/package.json 2>/dev/null

Step 0: Detect Backend Language

Before scaffolding, detect the backend language:

  1. --lang flag: If provided, use it directly (python, nestjs, springboot)
  2. Existing project: Detect from files:
    • requirements.txt / pyproject.toml / app/main.py → python-fastapi
    • package.json with @nestjs/ / nest-cli.json / src/main.ts → nodejs-nestjs
    • build.gradle.kts / pom.xml with spring-boot / src/main/java/ → java-springboot
  3. New project without --lang: Default to python-fastapi
  4. Load reference files:
    • skills/alpha-architecture/references/LANG_PROFILE_{LANG}.md → directory structure, deps, configs, Docker, verify commands
    • skills/alpha-architecture/references/CODE_PATTERNS_{LANG}.md → code patterns

Step 0.1: Database Selection

Before scaffolding, ask the user which database(s) this project will use:

╔══════════════════════════════════════════════════════════════╗
║  DATABASE SELECTION                                          ║
╠══════════════════════════════════════════════════════════════╣
║                                                               ║
║  Which database(s) will this project use?                    ║
║                                                               ║
║  1. MySQL only     — Relational data, strict schemas,        ║
║                      transactions, JOINs. Best for: e-comm,  ║
║                      SaaS, financial apps, CRUD apps         ║
║                                                               ║
║  2. MongoDB only   — Flexible documents, nested objects,     ║
║                      schema-less. Best for: CMS, logs,       ║
║                      profiles, analytics, real-time apps     ║
║                                                               ║
║  3. Both (MySQL + MongoDB) — MySQL for transactional data,   ║
║                      MongoDB for logs/profiles/flexible docs ║
║                                                               ║
║  Enter 1, 2, or 3:                                           ║
╚══════════════════════════════════════════════════════════════╝

Read the full file on GitHub · 1,262 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. 1mo ago First seen · 1,262 lines · 71 tokens per session scan A 84e3fec4d606

Subscribe to this mod's changes

init-project is a command published in the GitHub repository alphaaiservice/cortex (1 stars, last pushed 2mo ago), licensed MIT. It adds 71 tokens to every session and 14,183 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.