archguardian: Skill for Claude Code

.claude/skills/licenses/SKILL.md

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

A dependency license scanner that checks whether the software licenses used by a project match allowed or denied rules. A dependency is an external package the project relies on.

In plain words
What is it for?
Use it to inspect npm and Rust packages, allow or deny license patterns such as MIT or GPL, and identify dependencies with incompatible licenses.
Why use it?
It helps find packages whose legal terms may conflict with the project's requirements before release.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ysfaskri/archguardian/licenses"><img src="https://agentmods.dev/badge/skills/ysfaskri/archguardian/licenses.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 220 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.00007 $0.00220
Opus 5 $0.00003 $0.00110
Sonnet 5 $0.00001 $0.00044
Haiku 4.5 $0.00001 $0.00022

Measured 9d ago against content hash 12ecc3efb698, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

licenses 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 9d 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/licenses/SKILL.md · 28 lines

What it actually says

archguardian licenses

Check dependency licenses against allowed/denied lists.

Instructions

  1. Run the scan with license checking enabled:
    npx archguardian scan --format json $ARGUMENTS
    
    Ensure .archguard.yml has analyzers.licenses.enabled: true.
  2. Parse JSON output, filter for license/* rules.
  3. For each finding, explain which dependency has an incompatible license.

Tips

  • Configure allowed licenses: allowed: ["MIT", "Apache-2.0", "ISC", "BSD-*"]
  • Configure denied licenses: denied: ["GPL-*", "AGPL-*"]
  • Supports glob patterns for license matching (e.g., BSD-* matches BSD-2-Clause and BSD-3-Clause).
  • Fetches license info from npm registry and crates.io API.
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. 9d ago First seen · 28 lines · 7 tokens per session scan A 12ecc3efb698

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

code-review-php

Deep PHP-specific code review covering strict types, PHPStan compliance, PSR standards, domain modeling, and ORM boundary violations. Applied in addition to the generic code-review skill when PHP code is detected. Invoked when reviewing PHP PRs, Symfony/Laravel changes, or performing PHP-specific quality checks.

soulcodex/agentic · 66 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

app-store-preflight-compliance

Pre-submission compliance scanner workflow for Apple App Store apps. Use when reviewing iOS, macOS, tvOS, watchOS, or visionOS projects (Swift, Objective-C, React Native, Expo) for App Store rejection risks, submission readiness, privacy compliance, or guideline violations.

RevylAI/greenlight · 65 tokens

nyc-acris

Look up NYC ACRIS deeds, mortgages, liens, sales, and ownership history. Use for property transactions or recorded ownership; not permits or violations.

AlpacaLabsLLC/skills-for-architects · 36 tokens

r-conventions

R code conventions covering R 4.1+, tidyverse/base style, styler/lintr, roxygen2, testthat, error handling, input validation, C/C++/Rust interop, and CRAN compliance. Load when writing or reviewing R code.

Goldziher/ai-rulez · 59 tokens