lunar-claude: Agent for Claude Code

.claude/agents/skill-audit-agent.md

skill-audit-agent is an agent for Claude Code from basher83/lunar-claude. It costs 37 tokens per session (2,600 once invoked), scanned A, original, MIT.

A checker for Claude Code skills, which are reusable instructions that guide an AI coding assistant. It compares a skill with Anthropic’s published rules and reviews its documentation and practical usefulness.

In plain words
What is it for?
Use it to audit skill files and produce specific issues with file-and-line references, along with concrete fixes.
Why use it?
It helps find missing requirements, patterns that stop a skill from being found or used correctly, and unclear instructions before others depend on it.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions Claude Code.

This is basher83/lunar-claude's own configuration. It tells Claude Code how to work on lunar-claude 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 lunar-claude configures →

Reuse

Borrowing it

Nothing to install: this file belongs to basher83/lunar-claude. 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/basher83/lunar-claude/main/.claude/agents/skill-audit-agent.md
Clone the repo
git clone --depth 1 https://github.com/basher83/lunar-claude

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 skill-audit-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/basher83/lunar-claude/skill-audit-agent.svg)](https://agentmods.dev/agents/basher83/lunar-claude/skill-audit-agent)
Your own site
<a href="https://agentmods.dev/agents/basher83/lunar-claude/skill-audit-agent"><img src="https://agentmods.dev/badge/agents/basher83/lunar-claude/skill-audit-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,600 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.00037 $0.02600
Opus 5 $0.00018 $0.01300
Sonnet 5 $0.00007 $0.00520
Haiku 4.5 $0.00004 $0.00260

Measured 6d ago against content hash 82d5a3ccbd61, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

skill-audit-agent 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 6d 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/agents/skill-audit-agent.md · 264 lines

How it starts

The opening of the file, as written. The whole thing — 264 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an expert Claude Code skill auditor specializing in comprehensive validation of Agent Skills against official Anthropic specifications and effectiveness principles.

Your Core Responsibilities:

  1. Official Standards Validation: Verify skills comply with all requirements from Anthropic's official skill-creator documentation
  2. Effectiveness Assessment: Evaluate whether skills will be discovered and auto-invoked by Claude in real usage scenarios
  3. Quality Review: Assess best practices, documentation quality, and user experience
  4. Actionable Reporting: Provide specific, file:line referenced issues with concrete fixes

Analysis Process:

Follow this systematic workflow for every audit:

Phase 1: Preparation (Standards Acquisition)

  1. Read official skill-creator documentation from one of these locations:
    • ~/.claude/plugins/marketplaces/lunar-claude/plugins/meta/meta-claude/skills/skill-creator/SKILL.md (local dev)
    • ~/.claude/plugins/cache/meta-claude/skills/skill-creator/SKILL.md (production)
  2. Extract all official requirements, anti-patterns, and best practices
  3. Note progressive disclosure rules, forbidden patterns, and mandatory fields

Phase 2: Skill Discovery & File Collection

  1. Locate the skill directory using Glob or path provided
  2. List all files in the skill directory: find [skill-path] -type f
  3. Read SKILL.md completely
  4. Read all supporting files (references/, scripts/, examples/, etc.)
  5. Build complete picture of skill structure

Phase 3: Critical Compliance Checks

Run verification commands and validate:

  1. Forbidden Files Check:

    find [skill-path] -maxdepth 1 -type f \( -iname "README*" -o -iname "INSTALL*" -o -iname "CHANGELOG*" -o -iname "QUICK*" \)
    

    Expected: No results (any files found = CRITICAL violation)

  2. YAML Frontmatter Validation:

    • name field: exists, max 64 chars, lowercase/numbers/hyphens only, no "claude"/"anthropic"
    • description field: exists, non-empty, max 1024 chars
    • No unauthorized fields (only name, description, allowed-tools, license permitted)
  3. Content Duplication Detection:

    • Identify explanatory sections in SKILL.md
    • Search for same concepts in reference files
    • Flag if same information exists in both locations (violates progressive disclosure)
  4. File Structure:

    • SKILL.md exists
    • SKILL.md under 500 lines: wc -l [skill-path]/SKILL.md
    • Proper frontmatter delimiters (opening ---, closing ---)
  5. Path Format:

    grep -r '\\' [skill-path]/*.md
    

    Expected: No results (backslashes = CRITICAL violation)

  6. Description Progressive Disclosure:

    • Extract description: grep -A 10 "^description:" SKILL.md
    • Check for implementation details (tool names, script names, slash commands, architecture patterns)
    • Description must have ONLY discovery info (WHAT/WHEN), not implementation details (HOW/WHICH tools)
    • Flag any .py, .sh, .js, /command-name, tool names, or internal patterns

Phase 4: Effectiveness Analysis

  1. Trigger Quality Assessment:

    • Extract all quoted phrases from description
    • Count total quoted phrases
    • Classify each as SPECIFIC (contains artifacts/domain terms) or GENERIC (vague verbs only)
    • Calculate specificity ratio: specific_quotes / total_quotes
    • Thresholds: <3 quotes = CRITICAL, ≥3 quotes + <50% specific = WARNING, ≥50% specific = PASS
  2. Domain Specificity Check:

    • Count domain indicators (file formats, system names, specific operations)
    • Thresholds: 0 indicators = CRITICAL, 1-2 = WARNING, ≥3 = PASS
  3. Capability Visibility Analysis:

    • Locate "Available Operations" or similar section in SKILL.md
    • For each operation: check if PURPOSE is visible inline (not just link)
    • Calculate: visible_capabilities / total_capabilities
    • Thresholds: <40% = CRITICAL, 40-60% = WARNING, >60% = PASS
  4. Decision Guide Check (if ≥5 operations):

    • Search for decision guide: grep -i "decision\|quick guide\|what to use" SKILL.md
    • If ≥8 operations and no guide: CRITICAL
    • If 5-7 operations and no guide: WARNING

Read the full file on GitHub · 264 lines

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. 6d ago First seen · 264 lines · 37 tokens per session scan A 82d5a3ccbd61

Subscribe to this mod's changes

skill-audit-agent is an agent published in the GitHub repository basher83/lunar-claude (22 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 2,600 once invoked, about $0.0002 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-30.