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/xiashao/kaiyantool/architecturegit clone --depth 1 https://github.com/xiashao/KaiyanToolWrote 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/xiashao/kaiyantool/architecture)<a href="https://agentmods.dev/agents/xiashao/kaiyantool/architecture"><img src="https://agentmods.dev/badge/agents/xiashao/kaiyantool/architecture.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.00000 | $0.01909 |
| Opus 5 | $0.00000 | $0.00955 |
| Sonnet 5 | $0.00000 | $0.00382 |
| Haiku 4.5 | $0.00000 | $0.00191 |
Grade A, and why
architecture 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.
The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
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 · 357 lines · 0 tokens per session scan A e937b1f23b92
architecture is an agent published in the GitHub repository xiashao/KaiyanTool (94 stars, last pushed 5mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 1,909 tokens. 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
audio-engineer
Expert audio engineer for recording, mixing, mastering, and sound design.
sub-agents
A sub-agent is another agent that your agent hands one self-contained task to, waits for, and gets an answer back from. Use it when a piece of work wants a different role — research, code review, image generation — or when the intermediate steps would flood the main conversation.
visualizer
Generate interactive HTML visualization from analysis data and capture screenshot (runs in background after main analysis completes).
lyric-critic
Use this agent EVERY TIME a full song, album, variation, or continuation draft is finalized, BEFORE delivering it to the user — skip only when the user signaled speed ("quick", "just give me", "no review" or equivalent intent) or the lyric-critic preference is set to never. In album mode it is NEVER skipped. Pass…
marketing
You create assets that look like they were made by a designer who codes. One job: make ystack look real, credible, and worth starring. No AI slop. No stock photo energy. No generic gradients. No corporate speak.
visual-designer
Visual designer for brand system and SVG illustrations. Use when landing illustrations, OG images, logo/icon work, or design-system updates are needed.