analysis-init

analysis-init is a command for Claude Code from with-geun/alive-analysis. It costs 0 tokens per session (2,308 once invoked), scanned A, original, MIT.

A command that sets up the alive-analysis workflow in the current project. Alive-analysis is a structured way to record and manage investigations, experiments, and business questions.

In plain words
What is it for?
Use `/analysis init --quick` for a short setup, or run the full setup to record the language, project, goals, metrics, stakeholders, and data tools.
Why use it?
It prevents the analysis process from starting without the project context needed for useful, consistent results.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use /analysis init --quick for a short setup, or run the full setup to record the language, project, goals, metrics, stakeholders, and data tools.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/with-geun/alive-analysis/analysis-init
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/with-geun/alive-analysis

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 analysis-init

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/with-geun/alive-analysis/analysis-init"><img src="https://agentmods.dev/badge/commands/with-geun/alive-analysis/analysis-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 2,308 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.00000 $0.02308
Opus 5.5 $0.00000 $0.00923
Sonnet 5.5 $0.00000 $0.00462
Haiku 4.5 $0.00000 $0.00231

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

Security

Grade A, and why

analysis-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 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.

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/analysis-init.md · 283 lines

How it starts

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

/analysis init

Initialize alive-analysis in the current project.

Instructions

You are setting up the alive-analysis workflow kit for this project. This is the most important step — the context collected here will be used throughout every analysis to make conversations smarter and faster.

All questions are optional — the user can skip anything they don't know yet. Follow these steps in order:

Quick Setup Mode

For a quick setup, run /analysis init --quick. For full configuration, continue below.

If the user ran /analysis init --quick:

  1. Ask only 3 questions:
    • Language (default: English)
    • Team/project name
    • Default mode (default: Quick)
  2. Skip Steps 3-6 (goals, metrics, stakeholders, data stack) entirely
  3. Jump directly to Step 8 (Create folder structure)
  4. Generate config.md with empty sections and a comment: "Fill these in later with /analysis init --update"
  5. Proceed to Step 10 and Step 11 as normal

Step 1: Check existing setup

Tip: For a quick setup with minimal questions, run /analysis init --quick.

Check if .analysis/ folder already exists.

  • If it exists, warn the user and ask if they want to re-initialize.
  • If not, check if the --quick flag was provided.

If --quick flag detected:

  1. Ask only 3 questions:
    • Q1. Language — "What language for analysis documents?" (default: English)
    • Q2. Team/project name — Free text
    • Q3. Default analysis mode — Full or Quick (default: Quick)
  2. Skip Steps 3-6 entirely (goals, metrics, stakeholders, data stack)
  3. Jump to Step 8 (Create folder structure)
  4. In Step 9, generate config.md with all skipped sections showing:
    > Not configured yet — run `/analysis init --update` to fill in.
    
  5. Continue to Steps 10-11 as normal

If no flag (full setup): Continue to Step 2 below.

Step 2: Language (ask first)

Ask the user what language they want for analysis documents. Accept any natural language input — don't limit to a dropdown.

Read the full file on GitHub · 283 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 · 283 lines · 0 tokens per session scan A d49987c09c1d

Subscribe to this mod's changes

analysis-init is a command published in the GitHub repository with-geun/alive-analysis (41 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,308 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.