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 skills add saajunaid/caddis-plugin --skill architecture-documentgit clone --depth 1 https://github.com/saajunaid/caddis-pluginWrote 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/skills/saajunaid/caddis-plugin/architecture-document)<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/architecture-document"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/architecture-document/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/skills/saajunaid/caddis-plugin/architecture-document"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/architecture-document.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.00031 | $0.02880 |
| Opus 5.5 | $0.00012 | $0.01152 |
| Sonnet 5.5 | $0.00006 | $0.00576 |
| Haiku 4.5 | $0.00003 | $0.00288 |
Grade A, and why
architecture-document 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 2mo 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 — 322 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Architecture Document Generator
Produce formal High-Level Design (HLD) and Low-Level Design (LLD) documents from the project's living docs/Architecture.md and codebase.
Project Context — Read
project-config.mdfor brand tokens, org name, tech stack, and project metadata used in document headers. Document metadata — Any Markdown companion doc or source doc created or updated in this workflow must follow.github/instructions/document-frontmatter.instructions.md. For DOCX/PPTX deliverables, mirror the same author/date/model fields on the cover page or revision history.
When to Load This Skill
- Stakeholder requests a formal architecture deliverable
- Audit or compliance review requires documented HLD/LLD
- Onboarding pack for new team members
- Architecture review board submission
- Project milestone that requires design documentation
Prerequisites
Before generating, ensure:
docs/Architecture.mdexists and is current (the@architectagent maintains this)- Architecture diagrams exist in
docs/architecture/*.drawio(or.pngexports) project-config.mdhas a profile set (for org name, tech stack, branding)
Output Formats
| Format | Skill to Load | Best For |
|---|---|---|
| DOCX (recommended) | .github/skills/document-skills/docx/SKILL.md |
Full HLD/LLD — editable, ToC, numbered sections |
| PPTX | .github/skills/document-skills/pptx/SKILL.md |
Executive summary / architecture overview deck |
.github/skills/document-skills/pdf/SKILL.md |
Final read-only distribution (generate from DOCX) |
HLD — High-Level Design
Document Structure
COVER PAGE
Project: <APP_TITLE>
Organization: <ORG_NAME>
Document Type: High-Level Design (HLD)
Version: {from Architecture.md front-matter or git tag}
Date: {current date}
Author: {architect or team}
Status: Draft | Under Review | Approved
Classification: Internal | Confidential
REVISION HISTORY
| Version | Date | Author | Changes |
APPROVAL TABLE
| Role | Name | Signature | Date |
TABLE OF CONTENTS (auto-generated)
§1 INTRODUCTION
§1.1 Purpose
§1.2 Scope
§1.3 Audience
§1.4 References & Related Documents
§1.5 Glossary & Abbreviations
§2 EXECUTIVE SUMMARY
- Business context (1-2 paragraphs)
- Solution overview (1-2 paragraphs)
- Key architectural decisions summary
§3 SYSTEM CONTEXT
§3.1 System Context Diagram (C4 Level 1)
§3.2 External Systems & Interfaces
§3.3 User Roles & Access Patterns
§3.4 Data Sources
§4 ARCHITECTURE OVERVIEW
§4.1 Architecture Style & Patterns
§4.2 Component Architecture Diagram (C4 Level 2)
§4.3 Component Descriptions
(table: Component | Responsibility | Technology | Interfaces)
§4.4 Technology Stack Summary
§5 DATA ARCHITECTURE
§5.1 Data Flow Diagram
§5.2 Data Sources & Stores
§5.3 Data Integration Patterns
§5.4 Data Retention & Archival
§6 INTEGRATION ARCHITECTURE
§6.1 Integration Patterns (sync/async, push/pull)
§6.2 API Overview (endpoints, protocols)
§6.3 External System Interfaces
§6.4 Message Flows / Event Flows
§7 DEPLOYMENT ARCHITECTURE
§7.1 Deployment Diagram
§7.2 Infrastructure Components
§7.3 Environment Strategy (Dev/UAT/Prod)
§7.4 Scaling & High Availability
§8 SECURITY ARCHITECTURE
§8.1 Authentication & Authorization
§8.2 Data Protection (at rest, in transit)
§8.3 Network Security
§8.4 Compliance Requirements
§9 NON-FUNCTIONAL REQUIREMENTS
§9.1 Performance Targets
§9.2 Availability & Reliability
§9.3 Scalability
§9.4 Maintainability
§9.5 Observability (logging, monitoring, alerting)
§10 ARCHITECTURAL DECISIONS
§10.1 Key Decisions Log (ADR summary table)
§10.2 Alternatives Considered
§10.3 Constraints & Trade-offs
§11 RISKS & MITIGATIONS
(table: Risk | Likelihood | Impact | Mitigation)
§12 APPENDICES
§A Full Diagram Index
§B Glossary
§C Referenced Documents
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.
- 2mo ago Changed · -7 tokens per session ea66f15a246d
- 3mo ago First seen · 322 lines · 38 tokens per session scan A 7dda80b83675
architecture-document is a skill published in the GitHub repository saajunaid/caddis-plugin (0 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 2,880 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-09-03.
architecture-document compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architecture-documentsaajunaid/caddis-plugin | Skill | 0 | today | MIT | A | 31 | Claude Code |
| docxeigent-ai/eigent | Skill | 16k | 2d ago | Apache-2.0 | A | 168 | Claude Code, Codex |
| pptxeigent-ai/eigent | Skill | 16k | 2d ago | Apache-2.0 | A | 152 | Claude Code, Codex |
| xlsxeigent-ai/eigent | Skill | 16k | 2d ago | Apache-2.0 | A | 201 | Claude Code, Codex |
| pdfeigent-ai/eigent | Skill | 16k | 2d ago | Apache-2.0 | A | 92 | Claude Code, Codex |
| document-processorvixues/LeAgent | Skill | 248 | 3mo ago | Apache-2.0 | A | 44 | Claude Code |
| attendance-signin-sheetvixues/LeAgent | Skill | 248 | 3mo ago | Apache-2.0 | A | 51 | Claude Code |