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 skills/ysfaskri/archguardian/gatenpx skills add ysfAskri/archguardian --skill gategit clone --depth 1 https://github.com/ysfAskri/archguardianWrote 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/ysfaskri/archguardian/gate)<a href="https://agentmods.dev/skills/ysfaskri/archguardian/gate"><img src="https://agentmods.dev/badge/skills/ysfaskri/archguardian/gate.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.00010 | $0.00352 |
| Opus 5 | $0.00005 | $0.00176 |
| Sonnet 5 | $0.00002 | $0.00070 |
| Haiku 4.5 | $0.00001 | $0.00035 |
Grade A, and why
gate 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 3d 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.
What it actually says
archguardian gate
Run an archguardian scan with quality gate enforcement to check if the project meets configured thresholds.
Instructions
-
Run the scan with quality gate enabled:
npx archguardian scan --format json --quality-gate $ARGUMENTS -
Parse the JSON output and check the quality gate result:
- passed: All thresholds are met
- failed: One or more thresholds were exceeded
-
If the quality gate passed, congratulate the user and show the threshold margins.
-
If the quality gate failed, for each threshold failure explain:
- Which metric failed (e.g., max errors, max warnings, max duplicates)
- The configured threshold vs the actual value
- Which findings contribute most to the failure
- Concrete steps to get below the threshold
-
If the user wants to adjust thresholds, guide them to update
.archguard.yml:qualityGate: maxErrors: 0 maxWarnings: 10 maxDuplicates: 5
Tips
- Quality gates are ideal for CI pipelines — use
--ci githubto get GitHub Actions annotation output. - If gates are too strict for a new project, suggest creating a
/baselinefirst and tightening thresholds gradually. - If gates are too lenient, recommend lowering thresholds incrementally to drive continuous improvement.
- The exit code is non-zero when the quality gate fails, making it usable in CI scripts.
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.
- 3d ago First seen · 45 lines · 10 tokens per session scan A 5e6f3a9752ca
gate is a skill published in the GitHub repository ysfAskri/archguardian (4 stars, last pushed 6mo ago), licensed MIT. It adds 10 tokens to every session and 352 once invoked, about $0.0001 per session on Opus 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-31.
Other skills, from other repositories
code-to-diagram
Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts. Uses AST parsing to map import dependencies for Python, JS/TS, Go, and Java, outputting Mermaid or SVG files. Triggered when users ask to visualize code architecture, understand dependencies, draw a flowchart, or create a…
truecourse-hooks
Install, configure, or remove the TrueCourse pre-commit hook.
truecourse-analyze
Run TrueCourse architecture analysis on this repository.
truecourse-fix
Fix TrueCourse violations that have suggested fixes.
truecourse-list
List TrueCourse violations found in this repository.
code-quality-review
Run a maintainability and structure review focused on abstraction quality, branching complexity, file growth, canonical ownership, duplication, and refactoring opportunities. Use when the user asks for code quality review, maintainability review, 代码质量审查, 可维护性审查, or comments about whether the change stays easy to…