Skip to content

quantum-toolbox logo

quantum-toolbox

AI Agent toolbox for software architecture

Audience: Humans (GitHub landing page)

A structured knowledge base that turns AI coding agents into architecture-aware partners — built for senior software professionals: architects, tech leads, principal engineers, solution architects, technical consultants, and anyone working at the intersection of code and architecture decisions.

Overview

Give your AI coding assistant the skills to do real architecture work — analysis, synthesis, auditing, contextualization, documentation, reporting, planning, and more.

It ships as a git submodule your agent reads at session start. No plugins, no API calls — just markdown that teaches the agent how to think about architecture.

  • Analysis — Codebase analysis, security analysis, nonfunctional analysis, architecture synthesis, fitness functions
  • Architecture — TOGAF ADM (Preliminary + Phases A-H), C4 modeling with Structurizr DSL
  • Workflows — Git conventions, task management, autonomous development loop
  • Outputs — 8 structured formats: architecture docs, PDF reports, presentations, C4 workspaces, and more

Quick Start

One-Prompt Setup

Copy and paste this prompt to your AI assistant:

Add the AI architect toolbox by adding a git submodule from https://github.com/quantum-crowbar/quantum-toolbox.git into .ai-toolkit. Once downloaded, read through the toolkit to learn its capabilities. When done, tell me "what skills do you have?"

This will: 1. Add the toolbox as a submodule 2. Train your agent on all available skills 3. Trigger the skill discovery workflow 4. Present capabilities organized by category 5. Offer to elaborate on any skill

Anytime Refresh

Ask your agent:

"What skills do you have?"

This re-reads the toolkit and presents all capabilities with invokable commands. Useful after toolkit updates or when you want a reminder of what's available.

Model Best For When to Use
Claude Haiku Fast, simple tasks Quick edits, simple questions, code formatting
Claude Sonnet Balanced performance Most coding tasks, analysis, debugging
Claude Opus Complex reasoning Architecture design, large refactors, multi-file changes

How It Works

The toolkit is built around a single core idea: the mental model is the engine.

graph TD
    MM["<b>Mental Model</b><br/><i>architecture-thinking.md</i><br/><br/>Domains · Stakeholders · Principles<br/>Gap Analysis · Risk · Prioritization"]

    MM --> A["Analysis Skills"]
    MM --> M["Modeling Skills"]
    MM --> W["Workflow Skills"]

    A --> O["Outputs<br/><i>8 formats</i>"]
    M --> O
    W --> O

core/architecture-thinking.md defines how the agent thinks about architecture — which domains to consider, which stakeholders matter, how to analyze gaps, assess risk, and prioritize work. Every analysis skill, every TOGAF phase, every output adapter inherits its lens from this file.

This means you can change how the toolkit thinks:

  • Override sections — Add a domain, swap prioritization criteria, adjust stakeholder types. Drop an architecture-thinking.local.md in your project root and the agent layers your changes on top of the defaults.
  • Swap the entire model (coming soon) — Select a named profile (lean-startup, platform-eng, regulated-enterprise) for a fundamentally different architectural worldview.

The skills are the tools. The mental model is what makes them coherent.


Skills at a Glance

The toolkit provides 27+ specialized skills organized into 4 categories:

Category Count Skills
Analysis 6 codebase-analysis, arch-analysis, security-analysis, nonfunctional-analysis, architecture-synthesis, fitness-functions
Architecture 11 structurizr, TOGAF ADM (Preliminary + Phases A-H)
Workflow 2 git-workflow (core), todo-workflow
Output 8 core-architecture, architecture-docs, coding-context, product-spec, structurizr, archimate, presentation, pdf-report

Common Invocations

"Analyze the architecture"              → arch-analysis
"Analyze security with OWASP"          → security-analysis
"Apply TOGAF Business Architecture"    → togaf/business-architecture
"Create C4 model"                      → structurizr
"Export to PDF"                        → pdf-report
"Generate presentation"                → presentation

Full skill documentation: docs/skills/README.md


Repository Structure

.
├── AGENTS.md              # Agent entry point (lean router)
├── core/                  # Core concepts and workflows
│   ├── instructions.md    # Coding rules, safety
│   ├── workflows.md       # Development processes
│   ├── architecture-thinking.md  # TOGAF foundations
│   └── glossary.md        # Standard terminology
├── skills/                # Modular skill packages
│   ├── _index.md          # Canonical skill catalog
│   ├── core/              # Always-active skills
│   └── optional/          # Opt-in skills
├── templates/             # Commit, PR templates
├── docs/                  # Human-readable guides
└── specs/                 # Specifications & roadmaps

Example Project

See the toolkit in action on a real codebase: quantum-blockchain — a Python/Flask blockchain microservice with the toolkit wired up, custom mental model overrides (Consensus Architecture, Network Topology), and copy-paste prompts to try.


Documentation

Resource Description
Skills Documentation Full skill listing with detailed guides
Skills Index Skill catalog and activation guide
TOGAF Index ADM phases and when to use each
Analysis Outputs Available export formats
Architecture Guide How to analyze unfamiliar codebases
Roadmap Planned work and progress

License

MIT