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/checknpx skills add ysfAskri/archguardian --skill checkgit 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/check)<a href="https://agentmods.dev/skills/ysfaskri/archguardian/check"><img src="https://agentmods.dev/badge/skills/ysfaskri/archguardian/check.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.00011 | $0.00322 |
| Opus 5 | $0.00005 | $0.00161 |
| Sonnet 5 | $0.00002 | $0.00064 |
| Haiku 4.5 | $0.00001 | $0.00032 |
Grade A, and why
check 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.
What it actually says
archguardian check
Analyze only the staged git changes to catch issues before they are committed.
Instructions
-
Verify there are staged changes:
git diff --cached --statIf nothing is staged, tell the user and suggest staging files first.
-
Run the check command:
npx archguardian check --format json $ARGUMENTS -
Parse the JSON output and present findings, focusing only on the staged files.
-
For each finding:
- Show the file, line, and rule
- Explain what's wrong and how to fix it
- Offer to apply the fix directly
-
If all checks pass, tell the user they're clear to commit.
Tips
- This is the same analysis that runs in the pre-commit hook.
- If the user wants to commit despite warnings, suggest using
// archguard-ignore-linefor intentional exceptions. - Offer
/fix --dry-runto preview auto-fixes before applying. - Use
--quality-gateto enforce quality thresholds and get a pass/fail result (see/gate). - Use
--ci githubin CI pipelines to output findings as GitHub Actions annotations. - Use
--post-to-prto post findings as inline review comments on a GitHub PR (requires GITHUB_TOKEN).
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 · 42 lines · 11 tokens per session scan A 9a29c46777ac
check is a skill published in the GitHub repository ysfAskri/archguardian (4 stars, last pushed 6mo ago), licensed MIT. It adds 11 tokens to every session and 322 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
drift-commit-push
Drift-specific git commit and push workflow. Use when preparing commits, choosing conventional commit messages, checking pre-push gates, or deciding whether a push to main is allowed. Keywords: commit, push, git push, conventional commit, pre-push, changelog, risk audit, hooks.
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.