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 sruja-ai/sruja --skill sruja-architecturegit clone --depth 1 https://github.com/sruja-ai/srujaWrote 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/sruja-ai/sruja/sruja-architecture)<a href="https://agentmods.dev/skills/sruja-ai/sruja/sruja-architecture"><img src="https://agentmods.dev/badge/skills/sruja-ai/sruja/sruja-architecture/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/sruja-ai/sruja/sruja-architecture"><img src="https://agentmods.dev/badge/skills/sruja-ai/sruja/sruja-architecture.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.00066 | $0.03919 |
| Opus 5 | $0.00033 | $0.01959 |
| Sonnet 5 | $0.00013 | $0.00784 |
| Haiku 4.5 | $0.00007 | $0.00392 |
Grade C, and why
sruja-architecture scanned grade C with 2 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 11d 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://sruja.ai/install.sh | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://sruja.ai/install.sh | bash How it starts
The opening of the file, as written. The whole thing — 303 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sruja Architecture Skill
Deterministic, evidence-first workflow for generating and maintaining repo.sruja (or architecture.sruja). The skill guides the AI to write valid architecture from real code evidence; no DSL expertise required.
Quick Start
- Evidence — Prefer
.sruja/author_evidence.jsonwhen present and recent; else runsruja sync -r .(do not ask the user to run it). Use.sruja/context.jsononly for the small fields needed for synthesis (communities, suggested_questions, architecture_digest) and avoid loading.sruja/graph.jsonunless the user explicitly asks for deep dependency debugging. - Synthesis (Mandatory) — Propose a domain architecture map from evidence. Communities are import-graph hints, not containers; merge/split/rename into domain boundaries.
- Questions — Ask 2–5 targeted questions only when evidence is ambiguous (boundaries, externals, datastores, deployment, runtime/data flows).
- Output (Never write truth by default) — Write either (a)
.sruja/proposals/<id>.json(preferred, incremental) or (b)repo.sruja.working(greenfield / big bang). Do not writerepo.srujauntil the user explicitly says to promote. - Promote + Validate — For proposals:
sruja propose approve <id>thensruja lint repo.sruja. For working DSL: user promotes by renaming/copying torepo.srujathensruja lint. - Refine — Run
sruja drift -r .and iterate; keep unknowns as open questions instead of guessing. - Impact (Optional) — Before refactoring code, run
sruja impact <target> -r . --depth 3.
Workflow checklist: [ ] Evidence gathered → [ ] Synthesis done → [ ] Questions (if needed) → [ ] Proposal/working DSL written → [ ] Promotion path used → [ ] sruja lint passed → [ ] Open questions listed
Core Principles
- Evidence-first — Gather evidence before modeling.
- No guessing — Surface open questions instead of fabricating answers.
- Synthesis is required — Import clusters and manifests are facts; architecture boundaries and names are hypotheses backed by evidence.
- Minimal DSL — Generate only what evidence supports; prefer small, reviewable proposals.
- Validation — Always lint and fix errors before considering complete.
What ships with it
26 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 412 B
- agents/skill.yaml 3.5 KB
- PROMPTS.md 207 B
- REFERENCE.md 256 B
- references/AGENTS.md 19 KB
- references/KNOWLEDGE_TEMPLATE.md 738 B
- references/PROMPTS.md 9.7 KB
- references/REFERENCE.md 18 KB
- rules/anti-god-component.md 6.1 KB
- rules/component-person.md 4.9 KB
- rules/pattern-monolith.md 5.6 KB
- rules/principle-separation.md 2.6 KB
- rules/query/compliance-check.md 1.7 KB
- rules/query/impact-analysis.md 2.6 KB
- rules/query/scip-discovery.md 2.5 KB
- rules/relationship-labels.md 5.5 KB
- rules/requirements/capture-requirements.md 1.9 KB
- rules/requirements/link-requirements.md 1.6 KB
- rules/sdlc/create-phase.md 1.8 KB
- rules/sdlc/query-phase.md 1.7 KB
- rules/sdlc/update-phase.md 1.9 KB
- rules/tradeoff-monolith-vs-microservices.md 7.5 KB
- rules/validate-after-every-iteration.md 1.5 KB
- scripts/collect-evidence.sh 1.0 KB runs code
- scripts/README.md 2.9 KB
- scripts/validate-refine.sh 1.8 KB runs code
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.
- 11d ago First seen · 303 lines · 66 tokens per session scan C 77181efc513a
sruja-architecture is a skill published in the GitHub repository sruja-ai/sruja (24 stars, last pushed 4d ago), licensed Apache-2.0. It adds 66 tokens to every session and 3,919 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
truecourse-hooks
Install, configure, or remove the TrueCourse pre-commit hook.
truecourse-analyze
Run TrueCourse architecture analysis on this repository.
init-workspace-documentation
Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.
truecourse-fix
Fix TrueCourse violations that have suggested fixes.
truecourse-list
List TrueCourse violations found in this repository.
release
Guide through the Cortex TMS release process — version bump, changelog, sync, tag, publish. Every step requires user approval.