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.
git 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/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.
<a href="https://agentmods.dev/agents/dubsopenhub/dark-factory/architect"><img src="https://agentmods.dev/badge/agents/dubsopenhub/dark-factory/architect.svg" alt="Reviewed on agentmods" width="80" 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.00020 | $0.00976 |
| Opus 5.5 | $0.00008 | $0.00390 |
| Sonnet 5.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 3mo 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.
- 3mo ago First seen · 133 lines · 20 tokens per session scan A e6f4295e2dbf
architect is an agent published in the GitHub repository DUBSOpenHub/dark-factory (29 stars, last pushed 27d ago), licensed MIT. It adds 20 tokens to every session and 976 once invoked, about $0.0001 per session on Opus 5.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.
architect compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architectDUBSOpenHub/dark-factory | Agent | 29 | 27d ago | MIT | A | 20 | Claude Code |
| pilotfish-plan-verifierNanako0129/pilotfish | Agent | 721 | 10d ago | MIT | A | 41 | Claude Code |
| pilotfish-security-reviewerNanako0129/pilotfish | Agent | 721 | 10d ago | MIT | A | 56 | Claude Code |
| security-reviewerNanako0129/pilotfish | Agent | 721 | 10d ago | MIT | A | 58 | Claude Code |
| aiwg-model-coding-workerjmagly/aiwg | Agent | 233 | today | MIT | A | 19 | Claude Code |
| grid-medicDUBSOpenHub/havoc-hackathon | Agent | 5 | 27d ago | MIT | A | 89 | Claude Code |
| starlight-energy-gridfrankxai/Starlight-Intelligence-System | Agent | 10 | 26d ago | MIT | A | 53 | Claude Code |