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 tamnguyendinh/Anvien --skill spec-architecture-discussiongit clone --depth 1 https://github.com/tamnguyendinh/AnvienWrote 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/tamnguyendinh/anvien/spec-architecture-discussion)<a href="https://agentmods.dev/skills/tamnguyendinh/anvien/spec-architecture-discussion"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/spec-architecture-discussion/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/tamnguyendinh/anvien/spec-architecture-discussion"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/spec-architecture-discussion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00133 | $0.01710 |
| Opus 5.5 | $0.00053 | $0.00684 |
| Sonnet 5.5 | $0.00027 | $0.00342 |
| Haiku 4.5 | $0.00013 | $0.00171 |
Grade A, and why
spec-architecture-discussion 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 — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Thảo Luận Kiến Trúc Từ SPEC
Mục Đích
Skill này dùng để thảo luận kiến trúc dựa trên bộ SPEC đặc biệt của dự án.
Nhiệm vụ không phải là áp pattern kiến trúc có sẵn vào app. Nhiệm vụ là đọc hiểu SPEC, nắm invariant, boundary, pipeline, luồng dữ liệu, điểm chưa rõ, rồi tạo nền thảo luận chính xác.
Bộ SPEC này không được xem như tài liệu thông thường và không được xử lý bằng keyword search. Phải đọc hiểu toàn bộ file SPEC liên quan trước khi thảo luận.
Nguyên Tắc Cứng
- Phải đọc tuần tự từng file SPEC liên quan.
- Mỗi file SPEC đã chọn phải được đọc hết toàn bộ trước khi dùng nó làm căn cứ.
- Cấm đọc theo từ khóa.
- Cấm làm việc theo từ khóa.
- Cấm dùng keyword giống nhau để gom cụm pipeline nếu chúng không thật sự liên quan.
- Cấm mang pattern học được từ hệ thống khác để gán vào app này.
- Cấm tự ý cập nhật tài liệu SPEC.
- Chỉ được cập nhật SPEC khi user ra đúng lệnh:
cập nhật spec. - Những từ tương đương như "ghi lại", "sửa lại", "bổ sung", "làm rõ", "update docs", "chỉnh tài liệu" không được xem là lệnh cập nhật SPEC.
- Nếu chưa đọc đủ SPEC liên quan, không được kết luận kiến trúc.
- Nếu không xác định được bộ SPEC cần đọc, hỏi lại user thay vì đoán.
Xác Định Bộ SPEC Cần Đọc
Khi user đưa file SPEC cụ thể, đọc hết từng file đó.
Khi user đưa thư mục SPEC, liệt kê các file SPEC trong thư mục theo thứ tự ổn định rồi đọc hết từng file.
Khi user nêu vấn đề nhưng không chỉ rõ file, xác định bộ SPEC liên quan bằng cấu trúc tài liệu, chỉ mục, tên file, hoặc ngữ cảnh đã được user cung cấp. Không được dùng keyword search trong nội dung để thay thế việc đọc.
Nếu chỉ có thể tìm được một slice nhỏ nhưng vấn đề rõ ràng thuộc tổng thể lớn hơn, nói rõ rằng phạm vi SPEC chưa đủ và hỏi user cần đọc thêm file nào.
Ledger Đọc SPEC
Mỗi lần thảo luận phải có ledger thể hiện đã đọc SPEC nào.
Ledger tối thiểu:
## SPEC Đã Đọc
| Thứ tự | File SPEC | Đã đọc hết toàn bộ | Vai trò trong vấn đề |
|---:|---|---|---|
Nếu một file chưa được đọc hết vì lỗi tool, thiếu quyền, context quá lớn, hoặc file không tồn tại, không được dùng file đó làm căn cứ kết luận. Ghi rõ chưa đủ điều kiện kết luận.
What ships with it
1 file 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.
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 First seen · 168 lines · 133 tokens per session scan A cc5c9785c635
spec-architecture-discussion is a skill published in the GitHub repository tamnguyendinh/Anvien (12 stars, last pushed today), licensed MIT. It adds 133 tokens to every session and 1,710 once invoked, about $0.0005 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.
spec-architecture-discussion compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spec-architecture-discussiontamnguyendinh/Anvien | Skill | 12 | today | MIT | A | 133 | Codex |
| skill-feedback-writertopoteretes/cognee | Skill | 34k | today | Apache-2.0 | A | 13 | Claude Code, Codex |
| pr-comment-evaluatortopoteretes/cognee | Skill | 34k | today | Apache-2.0 | A | 11 | Claude Code, Codex |
| performing-cloud-asset-inventory-with-cartographyxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |
| kivgraphLuqueee/kivgraph | Skill | 24 | today | Apache-2.0 | A | 39 | Claude Code, Codex |
| source-command-github-repo-architectayushcodes10/echo-mem | Skill | 2 | 2mo ago | Apache-2.0 | A | 20 | Claude Code, Codex |
| source-command-github-issue-trackerayushcodes10/echo-mem | Skill | 2 | 2mo ago | Apache-2.0 | A | 20 | Claude Code, Codex |