archguardian: Skill for Claude Code

.claude/skills/setup/SKILL.md

setup is a skill for Claude Code from ysfAskri/archguardian. It costs 13 tokens per session (388 once invoked), scanned A, original, MIT.

A setup skill that initializes Archguardian, a project scanner for code checks, with configuration and a Git pre-commit hook. A pre-commit hook is an automatic check that runs before Git creates a commit.

In plain words
What is it for?
Use it to initialize or reconfigure Archguardian, run an initial scan, set scan boundaries and severity rules, and create a baseline for existing findings.
Why use it?
It gives a new project a configured scan and catches configured problems during commits, while letting you review or adjust languages, folders, analyzers, and thresholds.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is ysfAskri/archguardian's own configuration. It tells Claude Code how to work on archguardian itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything archguardian configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/ysfAskri/archguardian/master/.claude/skills/setup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ysfAskri/archguardian

Made for: Claude Code.

Wrote 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.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/ysfaskri/archguardian/setup/github.svg)](https://agentmods.dev/skills/ysfaskri/archguardian/setup)
Your own site
<a href="https://agentmods.dev/skills/ysfaskri/archguardian/setup"><img src="https://agentmods.dev/badge/skills/ysfaskri/archguardian/setup/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.

agentmods 80×15 button for setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/ysfaskri/archguardian/setup"><img src="https://agentmods.dev/badge/skills/ysfaskri/archguardian/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00388
Opus 5.5 $0.00005 $0.00155
Sonnet 5.5 $0.00003 $0.00078
Haiku 4.5 $0.00001 $0.00039

Measured 1mo ago against content hash 1cd3cd9278db, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup 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.

.claude/skills/setup/SKILL.md · 51 lines

What it actually says

archguardian setup

Initialize archguardian in the current project.

Instructions

  1. Check if archguardian is already installed:

    ls .archguard.yml 2>/dev/null && echo "EXISTS" || echo "NOT_FOUND"
    
  2. If already configured, read .archguard.yml and summarize the current settings. Ask if the user wants to reconfigure.

  3. If not configured, run init:

    npx archguardian init
    
  4. After init, read the generated .archguard.yml and walk the user through key settings:

    • Languages: Which languages to analyze
    • Include/Exclude: Which directories to scan
    • Analyzers: Which are enabled and their thresholds
    • Severity: What blocks commits vs what just warns
  5. Ask if they want to customize anything based on their project. Apply edits to .archguard.yml as needed.

  6. Run a quick scan to show the initial state:

    npx archguardian scan --format json
    
  7. If there are many findings, suggest creating a baseline:

    npx archguardian scan --update-baseline
    
  8. Remind the user that the pre-commit hook is now installed and will run archguardian check automatically on every commit.

Tips

  • For monorepos, adjust the include patterns to target specific packages.
  • The severity.maxWarnings setting controls how many warnings are allowed before blocking a commit.
  • Suggest starting with security enabled and other analyzers at warning level, then tightening over time.
Changes

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.

  1. 1mo ago First seen · 51 lines · 13 tokens per session scan A 1cd3cd9278db

Subscribe to this mod's changes

setup is a skill published in the GitHub repository ysfAskri/archguardian (4 stars, last pushed 8mo ago), licensed MIT. It adds 13 tokens to every session and 388 once invoked, about $0.0001 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.

Related

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.

artvepa80/Agents-Hefesto · 61 tokens

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.

artvepa80/Agents-Hefesto · 56 tokens

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.

artvepa80/Agents-Hefesto · 0 tokens

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?".

jnMetaCode/skillet · 48 tokens

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…

zebbern/claude-code-guide · 74 tokens

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…

ajitpratap0/GoSQLX · 90 tokens