analyze

analyze is a command for Claude Code from terrene-foundation/kailash-coc-claude-py. It costs 15 tokens per session (1,993 once invoked), scanned A, original, Apache-2.0.

A command that starts the first analysis phase for the current workspace and records its results in the project's analysis, planning, and user-flow folders.

In plain words
What is it for?
Use it to read project briefs, resolve the target workspace, and prepare analysis, plans, and user flows for later phases.
Why use it?
It gives project work a defined starting point and keeps the analysis outputs in predictable locations.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to read project briefs, resolve the target workspace, and prepare analysis, plans, and user flows for later phases.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/terrene-foundation/kailash-coc-claude-py/analyze
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/terrene-foundation/kailash-coc-claude-py

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 analyze

README.md
[![agentmods](https://agentmods.dev/badge/commands/terrene-foundation/kailash-coc-claude-py/analyze/github.svg)](https://agentmods.dev/commands/terrene-foundation/kailash-coc-claude-py/analyze)
Your own site
<a href="https://agentmods.dev/commands/terrene-foundation/kailash-coc-claude-py/analyze"><img src="https://agentmods.dev/badge/commands/terrene-foundation/kailash-coc-claude-py/analyze/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 analyze

Your own site · 80×15
<a href="https://agentmods.dev/commands/terrene-foundation/kailash-coc-claude-py/analyze"><img src="https://agentmods.dev/badge/commands/terrene-foundation/kailash-coc-claude-py/analyze.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,993 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.00015 $0.01993
Opus 5 $0.00008 $0.00996
Sonnet 5 $0.00003 $0.00399
Haiku 4.5 $0.00002 $0.00199

Measured 7d ago against content hash 86d14e9f9233, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

analyze 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 7d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • analyze — 88% identical, 27 lines differ
.claude/commands/analyze.md · 149 lines

How it starts

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

Workspace Resolution

  1. If $ARGUMENTS specifies a project name, use workspaces/$ARGUMENTS/
  2. Otherwise, use the most recently modified directory under workspaces/ (excluding instructions/ and leading-underscore meta-dirs like _archive/_template, per cc-artifacts.md Rule 8 — this matches the analyze-completeness-guard.js resolver so the gate and the command select the same workspace)
  3. If no workspace exists, ask the user to create one first
  4. Read all files in workspaces/<project>/briefs/ for user context (this is the user's input surface)

Phase Check

  • Output goes into workspaces/<project>/01-analysis/, workspaces/<project>/02-plans/, and workspaces/<project>/03-user-flows/

Execution Model

This phase executes under the autonomous execution model (see rules/autonomous-execution.md). All analysis, deliberation, and recommendations MUST assume autonomous AI agent execution — not human team constraints. Do not estimate effort in human-days. Do not constrain recommendations by team size or hiring. Recommend the technically optimal approach; agents scale horizontally.

Workflow

1. Be explicit about objectives and expectations

Understand the product idea before diving into research.

2. Perform Deep Research

Document in detail in workspaces/<project>/01-analysis/01-research.

  • Use as many subdirectories and files as required
  • Name them sequentially as 01-, 02-, etc, for easy referencing

3. Ensure strong product focus

Keep this soft rule in mind for everything:

  • 80% of the codebase/features/efforts can be reused (agnostic)
  • 15% of client specific requirements goes into consideration for self-service functionalities that can be reused (agnostic)
  • 5% customization

Steps:

  1. Research thoroughly and distill value propositions and UNIQUE SELLING POINTS
    • Scrutinize and critique the intent and vision, focusing on perfect product-market fit
    • Research competing products, gaps, painpoints, and any other information that helps build solid value propositions
    • Define unique selling points (not the same as value propositions) — be extremely critical and scrutinize them
  2. Evaluate using platform model thinking
    • Seamless direct transactions between users (producers, consumers, partners)
      • Producers: Users who offer/deliver a product or service
      • Consumers: Users who consume a product or service
      • Partners: To facilitate the transaction between producers and consumers
  3. Evaluate using the AAA framework
    • Automate: Reduce operational costs
    • Augment: Reduce decision-making costs
    • Amplify: Reduce expertise costs (for scaling)
  4. Features must cover network behaviors for strong network effects
    • Accessibility: Easy for users to complete a transaction (activity between producer and consumer, not necessarily monetary)
    • Engagement: Information useful to users for completing a transaction
    • Personalization: Information curated for an intended use
    • Connection: Information sources connected to the platform (one or two-way)
    • Collaboration: Producers and consumers can jointly work seamlessly

Read the full file on GitHub · 149 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. 7d ago First seen · 149 lines · 15 tokens per session scan A 86d14e9f9233

Subscribe to this mod's changes

analyze is a command published in the GitHub repository terrene-foundation/kailash-coc-claude-py (12 stars, last pushed 22d ago), licensed Apache-2.0. It adds 15 tokens to every session and 1,993 once invoked, about $0.0001 per session on Opus 5. 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-09-03.