arch-init

arch-init is a command for Claude Code from athola/claude-night-market. It costs 20 tokens per session (1,414 once invoked), scanned A, original, MIT.

A project setup command that researches and helps choose a software architecture, then initializes the project with templates for that choice.

In plain words
What is it for?
Use it to compare patterns such as hexagonal or clean architecture and create a new Python or other supported-language project from the selected approach.
Why use it?
It helps when you are unsure how to structure a project and want to understand the trade-offs between architectural approaches.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 plugins/attune/scripts/attune_arch_init.py \.

Part of the attune plugin — 14 skills, 11 commands, 2 agents shipped together

Good fit Use it to compare patterns such as hexagonal or clean architecture and create a new Python or other supported-language project from the selected approach.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/athola/claude-night-market
agentmods
npx agentmods add commands/athola/claude-night-market/arch-init

Made for: Claude Code.

Or install attune, the plugin that ships this one along with the rest of its 14 skills, 11 commands, 2 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/athola/claude-night-market/arch-init"><img src="https://agentmods.dev/badge/commands/athola/claude-night-market/arch-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 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,414 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.00020 $0.01414
Opus 5 $0.00010 $0.00707
Sonnet 5 $0.00004 $0.00283
Haiku 4.5 $0.00002 $0.00141

Measured 6d ago against content hash 3f263bdceeb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

arch-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 6d 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.

plugins/attune/commands/arch-init.md · 199 lines

How it starts

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

Attune Architecture-Aware Init Command

Research-driven project initialization that selects appropriate architectural paradigms based on project needs.

When To Use

Use this command when you need to:

  • Start a new project with architecture guidance
  • Choose between architectural paradigms (hexagonal, clean, etc.)
  • Get research-backed architecture recommendations
  • Initialize project with paradigm-specific templates
  • Understand trade-offs of different architectures

When NOT To Use

Avoid this command if:

  • Architecture already decided (use /attune:project-init directly)
  • Simple project without architectural complexity
  • Modifying existing project structure
  • Standard patterns sufficient without special architecture

Usage

# Interactive mode (recommended) - guides through architecture selection
/attune:arch-init --name my-project

# Specify language and let it recommend architecture
/attune:arch-init --name my-project --lang python

# Specify both language and architecture
/attune:arch-init --name my-project --lang python --arch hexagonal

# Accept recommended architecture without prompting
/attune:arch-init --name my-project --lang python --accept-recommendation

What This Command Does

  1. Gathers project context:

    • Project type (Web API, CLI, data pipeline, etc.)
    • Domain complexity
    • Team size and experience
    • Non-functional requirements
    • Timeline constraints
  2. Researches best practices:

    • Searches for current industry standards (2026)
    • Identifies emerging patterns
    • Notes anti-patterns to avoid
    • Finds technology-specific considerations
  3. Recommends architecture paradigm from 14 available options:

    • Layered Architecture
    • Functional Core, Imperative Shell
    • Hexagonal (Ports & Adapters)
    • Modular Monolith
    • Microservices
    • Service-Based Architecture
    • Event-Driven Architecture
    • CQRS + Event Sourcing
    • Serverless
    • Space-Based Architecture
    • Pipeline Architecture
    • Microkernel Architecture
    • Client-Server Architecture

Read the full file on GitHub · 199 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. 6d ago First seen · 199 lines · 20 tokens per session scan A 3f263bdceeb8

Subscribe to this mod's changes

arch-init is a command published in the GitHub repository athola/claude-night-market (337 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 1,414 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.