archguardian: Skill for Claude Code

.claude/skills/baseline/SKILL.md

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

A tool for recording existing code-quality findings in a baseline file so a project can adopt scanning gradually. Later scans can focus on findings that are new instead of reporting every old issue.

In plain words
What is it for?
Use it to create or update an archguardian baseline, check its status, compare scans with it, or clear it after confirming that all findings should be shown again.
Why use it?
It prevents pre-existing problems from overwhelming a team when they first introduce the scanner.

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/baseline/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 baseline

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ysfaskri/archguardian/baseline"><img src="https://agentmods.dev/badge/skills/ysfaskri/archguardian/baseline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 370 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.00018 $0.00370
Opus 5.5 $0.00007 $0.00148
Sonnet 5.5 $0.00004 $0.00074
Haiku 4.5 $0.00002 $0.00037

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

Security

Grade A, and why

baseline 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/baseline/SKILL.md · 54 lines

What it actually says

archguardian baseline

Manage the archguardian baseline file for incremental adoption.

Instructions

Determine the user's intent from $ARGUMENTS (create, update, status, clear):

Create / Update baseline

  1. Run:
    npx archguardian scan --update-baseline --format json
    
  2. Report how many findings were saved to .archguard-baseline.json.
  3. Remind the user that future scans will only show NEW findings not in the baseline.
  4. Suggest committing .archguard-baseline.json to version control.

Custom baseline path

If the user specifies a path:

npx archguardian scan --update-baseline --baseline <path> --format json

Check baseline status

  1. Check if .archguard-baseline.json exists:
    ls -la .archguard-baseline.json
    
  2. If it exists, read and summarize: how many findings, when generated, by which command.
  3. Run a scan to show how many new vs baseline findings there are.

Clear baseline

If the user wants to remove the baseline:

  1. Confirm with the user first.
  2. Delete .archguard-baseline.json.
  3. Warn that the next scan will report all findings again.

Tips

  • Baseline matching uses ruleId + file + message (not line numbers), so it survives code edits that shift line numbers.
  • Recommend creating a baseline when first adopting archguardian on a large existing codebase.
  • The baseline should be updated periodically as tech debt is paid down.
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 · 54 lines · 18 tokens per session scan A 6131a5108f08

Subscribe to this mod's changes

baseline is a skill published in the GitHub repository ysfAskri/archguardian (4 stars, last pushed 8mo ago), licensed MIT. It adds 18 tokens to every session and 370 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

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

brooks-lint

AI code reviewer grounded in classic software engineering books for catching design smells, coupling issues, and architectural risks.

skillmds/skillmd · 26 tokens

refactoring-workflow

Improve the structure of existing code without changing its behaviour, in small verified steps under a green test suite. Use when the user asks to refactor, clean up, restructure or simplify code, wants to reduce duplication or coupling, is preparing a codebase for a feature it cannot currently accommodate, or when…

personamanagmentlayer/pcl · 83 tokens

duo-build

Build an issue or feature interactively toward an indexed shared goal, with automatic read-only peer review; resume the same run across Claude Code and Codex.

Hulupeep/Specflow · 35 tokens

argot-setup

Set argot up for a repository end to end — audit its history, decide what should shape its voice, fit, verify the fit actually catches things, tune the rules its own history says are noisy, and wire the places it runs (pre-write hook, pre-commit, MCP, CI). One sitting, one decision at a time, each proposed with the…

get-tmonier/argot · 129 tokens

argot-check

Score your working changes with argot — flag code foreign to this repo's own patterns (unfamiliar dependencies, APIs, constructs), functions the repo already has, code filed in the wrong place, imports that break the repo's layering, and tests weakened, disabled, or deleted alongside a production change — before…

get-tmonier/argot · 110 tokens