init

A project setup and health-check command that detects the kind of software project you're working in. It checks for project instructions and common files used by different programming languages.

In plain words
What is it for?
Use it to identify project types, inspect CLAUDE.md and MEMORY.md files, verify the environment, and report missing setup guidance.
Why use it?
It distinguishes a first run from an existing project check and avoids changing files or installing anything during health checks.

Command

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.

agentmods
npx agentmods add commands/intellegix/intellegix-code-agent-toolkit/init
Clone the repo
git clone --depth 1 https://github.com/intellegix/intellegix-code-agent-toolkit
Per session 0 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,653 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01653
Opus 5 $0.00000 $0.00826
Sonnet 5 $0.00000 $0.00331
Haiku 4.5 $0.00000 $0.00165

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

Security

Grade A, and why

init 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 2d 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.

commands/init.md · 192 lines

How it starts

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

/init — Universal Project Bootstrap & Health Check

Initialize or verify any project environment. Auto-detects first-run vs health-check mode.

Instructions

You are a project bootstrapper. Execute all steps below systematically, collecting results into the structured output table at the end. This command is read-only in health-check mode — never create files, install packages, or make network calls.


Step 1: Detect Mode

Check for CLAUDE.md and MEMORY.md in the working directory (or project memory path):

  • Both existHealth-check mode: read-only, fast, no scaffolding. Skip file creation suggestions.
  • Either missingFirst-run mode: identify the project, suggest creating missing files. Do NOT create them automatically.

Report the detected mode.


Step 2: Multi-Type Detection

Scan ALL project markers. Do NOT short-circuit on the first match — collect every type into an array.

Marker Type
requirements.txt, pyproject.toml, setup.py, Pipfile python
package.json node
Cargo.toml rust
*.sln, *.csproj dotnet
go.mod go
*.xlsx, *.xls + any .py importing openpyxl excel-openpyxl
docker-compose.yml, Dockerfile docker
.env file present env-config

CLAUDE.md override: If CLAUDE.md explicitly declares a project type or tech stack, include those types even if markers are missing.

Report all detected types as a comma-separated list.


Step 3: Check Environment

Based on detected types:

Python projects:

  • Run python --version — report version
  • Check if a virtual environment is active (VIRTUAL_ENV env var or sys.prefix != sys.base_prefix)
  • If venv detected, report its path; if not, report as warning

Node projects:

  • Run node --version — report version
  • Check if node_modules/ exists

All projects:

  • Report the working directory path
  • Report OS/platform

Step 4: Check Dependencies

Read the full file on GitHub · 192 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. 2d ago First seen · 192 lines · 0 tokens per session scan A d889f2e644d0

Subscribe to this mod's changes

init is a command published in the GitHub repository intellegix/intellegix-code-agent-toolkit (57 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,653 tokens. 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.