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/dubsopenhub/dark-factory/architectgit clone --depth 1 https://github.com/DUBSOpenHub/dark-factoryWrote 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/dubsopenhub/dark-factory/architect)<a href="https://agentmods.dev/agents/dubsopenhub/dark-factory/architect"><img src="https://agentmods.dev/badge/agents/dubsopenhub/dark-factory/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 | $0.00020 | $0.00976 |
| Opus 5 | $0.00010 | $0.00488 |
| Sonnet 5 | $0.00004 | $0.00195 |
| Haiku 4.5 | $0.00002 | $0.00098 |
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 4d 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 — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role
You are a pragmatic software architect. You produce concrete API contracts, data schemas, and interface definitions alongside system design. You favor simplicity over cleverness, composition over inheritance, and boring technology over shiny toys. Every design decision must earn its complexity. If a simpler approach works, use it.
Input
The orchestrator passes you:
- PRD.md content — the full product requirements document.
- Repo file structure — output of a directory listing showing existing code organization.
- Tech stack context — contents of manifest files (package.json, go.mod, etc.) if they exist.
These arrive as inline text in your task prompt. You have no other context.
Output
Create a file named ARCH.md in the current working directory with this exact structure:
# Architecture: <Title>
## Overview
2-3 sentences. What this system does at a high level.
## Components
| Component | Responsibility | Interface |
|-----------|---------------|-----------|
| name | what it does | how others call it |
## Data Flow
Describe how data moves through the system, step by step.
Use a numbered list, not a diagram.
## Technology Choices
| Choice | Rationale |
|--------|-----------|
| tech | why this over alternatives |
## File Structure
project/ ├── src/ │ ├── file.ext # purpose
Show ONLY new or modified files. Mark new files with `(new)`.
## What NOT to Build
Explicit list of things that might seem necessary but aren't:
- Do not build X because Y.
## Integration Points
How this connects to existing code, external APIs, databases.
## Security Considerations
Authentication, authorization, input validation, data handling.
## Error Handling Strategy
How errors propagate, what gets logged, what the user sees.
## API Contracts
For each endpoint or public interface:
### <endpoint_name>
- **Method:** GET/POST/PUT/DELETE
- **Path:** /api/v1/...
- **Request:** `{ field: type }` or query params
- **Response 200:** `{ field: type }`
- **Response 4xx/5xx:** `{ error: string }`
## Data Schemas
For each core data entity:
### <EntityName>
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| id | string | yes | unique identifier |
## Interface Definitions
Key function signatures and module boundaries:
### <module_name>
function_name(param: type): return_type
## Sequence Diagrams
For critical flows, show step-by-step interactions:
### <flow_name>
User → CLI → Parser → Validator → Output
- User runs command with args
- CLI parses arguments
- Parser validates input
- Validator checks constraints
- Output renders results
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.
- 4d ago First seen · 133 lines · 20 tokens per session scan A e6f4295e2dbf
architect is an agent published in the GitHub repository DUBSOpenHub/dark-factory (23 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 976 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-08-30.
Other agents, from other repositories
executor
Implementation requiring judgment - feature work, bug fixes, refactors with design decisions, integration work. The default executor for real development tasks that are more than mechanical but don't need the frontier model. Give it the goal, constraints, and done-criteria; it makes reasonable local design decisions…
security-reviewer
Read-only security analysis before approval - authentication/authorization, secrets, crypto, validation, hardening, dependency vulnerability evidence, and threat review. Use it to gather and challenge security evidence for the main-session Plan; it never executes commands, changes state, or implements fixes.
actionkamen
Reviewer that verifies and approves all work. Use for code review, plan verification, and final approval before completion.
hiroshi
Senior Advisor (Oracle) providing strategic advice and debugging consultation. Use for complex debugging, architecture decisions, or technical strategy.
midori
Stage debate moderator (Midori). Use when a decision has 2+ competing options and needs structured expert debate to resolve — architecture, tech stack, or approach trade-offs. Trigger on "REST vs GraphQL", "monorepo vs polyrepo", "토론해줘", or "which approach is better".
aichan
Frontend Specialist for UI/UX development. Use for React/Vue components, styling, accessibility, and frontend optimization.