Borrowing it
Nothing to install: this file belongs to ysfAskri/archguardian. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ysfAskri/archguardian/master/.claude/skills/gate/SKILL.mdgit 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/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/ysfaskri/archguardian/gate"><img src="https://agentmods.dev/badge/skills/ysfaskri/archguardian/gate.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.00010 | $0.00352 |
| Opus 5.5 | $0.00004 | $0.00141 |
| Sonnet 5.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 1mo 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.
- 1mo 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 8mo ago), licensed MIT. It adds 10 tokens to every session and 352 once invoked, about $0.0000 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-08-31.
Other skills, from other repositories
hefestoai
Run HefestoAI before committing AI-generated code: pre-commit / CI quality gate for semantic drift, security, and reliability. Use when the user asks about Hefesto, code quality gates, semantic drift, install hooks, or validating Claude/Codex/Cursor output before commit.
HefestoAI Output Analysis
Interpret HefestoAI analyze / pre-commit / CI output, suggest fixes, and draft a commit-quality summary. Use after hefesto analyze, after a Hefesto hook or CI gate, or when the user asks what Hefesto found.
skill
The HefestoAI agent skill moved to skills/hefestoai/ (name: hefestoai, following the Agent Skills specification). Its reference docs (commands.md, issuetypes.md, integration.md, semanticdrift.md, reliabilitydrift.md and analysis/) moved with it.
repo-onboarding
Systematically map an unfamiliar codebase before changing it — entry points, build/test loop, conventions, data flow. Use when starting work in a repo you haven't seen, or asked "how does this codebase work?".
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…
sql-linting
Lint SQL with GoSQLX and explain its rules L001-L030 (whitespace, keyword case, comma placement, aliasing, plus safety, performance and naming rules), including which rules each entry point applies and which can be auto-fixed. Use when the user asks to lint SQL, enforce SQL style, explains a GoSQLX rule ID like L007…