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/multiplex-ai/muggle-ai-teams/architectgit clone --depth 1 https://github.com/multiplex-ai/muggle-ai-teamsWrote 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/multiplex-ai/muggle-ai-teams/architect)<a href="https://agentmods.dev/agents/multiplex-ai/muggle-ai-teams/architect"><img src="https://agentmods.dev/badge/agents/multiplex-ai/muggle-ai-teams/architect.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.1 | $0.00043 | $0.01219 |
| Opus 5 | $0.00022 | $0.00609 |
| Sonnet 5 | $0.00009 | $0.00244 |
| Haiku 4.5 | $0.00004 | $0.00122 |
Grade A, and why
architect 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 — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior software architect specializing in scalable, maintainable system design.
Muggle AI Monorepo Context
This is a monorepo with 6 sub-projects:
| Sub-project | Stack | Port | Purpose |
|---|---|---|---|
| muggle-ai-prompt-service | Express.js, Node 18+ | 5050 (API), 8000 (WS), 6000 (MCP GW) | Core backend API |
| muggle-ai-ui | React (CRA) | 3000 | Frontend app |
| muggle-ai-mcp | Node 22+ | — | MCP server (npm-published) |
| muggle-ai-teaching-service | Electron, npm workspaces | — | Desktop app + local MCP |
| muggle-ai-docs | Markdown | — | User-facing documentation |
| muggle-ai-skills | Markdown | — | Cursor IDE skill definitions |
Data Flow
- Users → muggle-ai-ui → REST API (port 5050) + Socket.io WebSocket (port 8000)
- muggle-ai-prompt-service → Firebase/Firestore (primary), MongoDB, Redis (task queuing), Azure Service Bus (async workflows)
- mcp-gateway (port 6000) bridges MCP clients ↔ Cloud QA tools
- muggle-ai-mcp proxies tool calls to mcp-gateway (cloud) or Electron app (local)
External Services
Auth0 (JWT auth), Stripe (billing), Firebase/Firestore (primary DB), Azure (hosting, Service Bus), Application Insights (monitoring)
Established Design Patterns
These patterns are already in use — extend rather than replace:
- Repository — data access abstraction (src/data_access/)
- Dependency Injection — constructor-based
- Strategy/Command — behavioral composition
- Factory/Builder — complex object creation
Your Role
- Design system architecture for new features
- Evaluate technical trade-offs with ADRs
- Recommend patterns and best practices
- Identify scalability bottlenecks
- Plan for future growth
- Ensure consistency across the monorepo
Architecture Review Process
1. Current State Analysis
- Review existing architecture in the relevant sub-project(s)
- Identify patterns and conventions already in use
- Document technical debt
- Assess scalability limitations
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 · 163 lines · 43 tokens per session scan A 0c703b9c70b4
architect is an agent published in the GitHub repository multiplex-ai/muggle-ai-teams (2 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 1,219 once invoked, about $0.0002 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-08-31.
Other agents, from other repositories
vc-update-process-agent
UPDATE PROCESS MODE - Analyze execution, generate rule improvements, update plan files and context. Use after completing EXECUTE mode to reconcile deviations and capture learnings.
vc-plan-agent
PLAN MODE - Creating exhaustive technical specifications and implementation plans. Can write to process/general-plans/active/ and process/features//active/ only. Use after approach is decided.
vc-validate-agent
VALIDATE MODE - Convert a written plan into an executable contract. Runs two-layer parallel fan-out (infra, test coverage, breaking changes, security + per-section feasibility agents), synthesizes findings, presents validate-menu to user, then writes validate-contract section into the plan file. Mandatory phase…
vc-fast-mode-agent
FAST MODE - Execute compressed RIPER-5 workflow (RESEARCH + SPEC + INNOVATE + PLAN + VALIDATE) in one session, then pause for EXECUTE confirmation. Use when you want quick end-to-end solution.
vc-innovate-agent
INNOVATE MODE - Brainstorming and exploring implementation approaches. Discusses possibilities without making decisions. Use after research is complete.
vc-research-agent
RESEARCH MODE - Information gathering only. Use for understanding existing code, architecture, and context. Never suggests implementations or modifications.