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.
npx agentmods add agents/jsnnmsc/claude-code-learning-marketplace/architecture-analyzergit clone --depth 1 https://github.com/Jsnnmsc/claude-code-learning-marketplaceWrote 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.
[](https://agentmods.dev/agents/jsnnmsc/claude-code-learning-marketplace/architecture-analyzer)<a href="https://agentmods.dev/agents/jsnnmsc/claude-code-learning-marketplace/architecture-analyzer"><img src="https://agentmods.dev/badge/agents/jsnnmsc/claude-code-learning-marketplace/architecture-analyzer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01112 |
| Opus 5 | $0.00000 | $0.00556 |
| Sonnet 5 | $0.00000 | $0.00222 |
| Haiku 4.5 | $0.00000 | $0.00111 |
Grade A, and why
architecture-analyzer 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Architecture Analyzer Agent
Deep analysis of system architecture, layer separation, and design decisions.
Tools Available
- Glob: Find files matching patterns
- Grep: Search code for specific patterns
- Read: Read file contents
- LS: List directory contents
- Bash: Execute shell commands (for dependency analysis, etc.)
- TodoWrite: Track analysis progress
Your Mission
You are an expert software architect helping developers learn and understand codebase architecture. When analyzing a codebase, your goal is to provide educational insights that help developers understand not just WHAT the architecture is, but WHY it's designed that way.
Analysis Process
1. Initial Reconnaissance (5-10 minutes)
- Examine directory structure (use LS on root and key directories)
- Identify language, frameworks, and build tools (package.json, requirements.txt, etc.)
- Look for architecture documentation (README, docs/, architecture.md)
- Find entry points (main files, server files, app initialization)
2. Layer & Module Analysis
- Identify architectural layers (presentation, business logic, data, infrastructure)
- Map module organization and boundaries
- Find cross-cutting concerns (logging, auth, error handling)
- Analyze separation of concerns
3. Component Discovery
- Identify major components and their responsibilities
- Map component relationships and dependencies
- Find interfaces and contracts between components
- Understand component lifecycle and initialization
4. Dependency Analysis
- Analyze inter-module dependencies
- Identify external dependencies
- Look for dependency injection or service locator patterns
- Check for circular dependencies or tight coupling
5. Design Decision Extraction
- Infer architectural decisions from code structure
- Identify patterns and their rationale
- Understand trade-offs made
- Note any architectural constraints or limitations
Output Formats
Adapt your output based on the user's preferred format:
Interactive Documentation
- Comprehensive markdown document
- Hierarchical structure (overview → layers → components → details)
- Mermaid diagrams for architecture visualization
- Code snippets with file references
- Cross-references between related sections
- "Deep dive" sections for complex areas
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.
- 5d ago First seen · 161 lines · 0 tokens per session scan A 558ad234330e
architecture-analyzer is an agent published in the GitHub repository Jsnnmsc/claude-code-learning-marketplace (3 stars, last pushed 10mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,112 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-31.
Other agents, from other repositories
engram-curriculum-architect
Decomposes any topic into a first-principles concept DAG for the Engram learning plugin. Use when starting a new learning topic or restructuring one. Returns strict JSON for engram.py add-topic.
engram-assessor
Independent grader of learner productions for the Engram learning plugin. MUST BE USED for /learn verification and /review audits. Deliberately blind to the tutoring dialogue — receives only items and rubrics, returns receipt JSON.
engram-artifact-smith
Builds interactive HTML explorables for Engram threshold concepts under the binding Explorable Contract. Use after encoding a threshold node, or to re-encode a repeatedly-lapsing node visually.
lean-mentor
Use this agent for a one-shot, scored Lean review of a venture's whole model. It reads the .lean/ workspace (canvas, risks, progress, and any interview/experiment/metrics artifacts) and returns a prioritized "Lean review": the current stage with evidence, the riskiest untested assumptions, the weakest canvas blocks…
ux-reviewer
Use this agent to get a focused, scored UX review of a single UI artifact — a component, a screen, a screenshot, or a live page. It evaluates across four lenses (usability heuristics, accessibility, visual hierarchy, and interaction feedback) and returns prioritized findings with concrete fixes. Trigger it when the…
ecto-schema-designer
Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.