skilltotal CLAUDE.md

skilltotal CLAUDE.md is an instructions file for coding agents from pezhik/skilltotal. It costs 3,300 tokens per session, scanned A, original, Apache-2.0.

A project instruction file for Claude Code, an AI coding assistant. It records how to install this project, run its tests, scan for security issues, and use its command-line tool.

In plain words
What is it for?
Use it when developing SkillTotal, a command-line security scanner for AI components and software packages. It helps with installation, running individual or full tests, security scans, pre-commit checks, and command-line usage.
Why use it?
It gives the coding assistant and contributors one place to find the project’s working rules and common commands. This reduces guesswork when setting up the project or checking a code change.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/pezhik/skilltotal/claude-md
Clone the repo
git clone --depth 1 https://github.com/pezhik/skilltotal

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 skilltotal CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pezhik/skilltotal/claude-md.svg)](https://agentmods.dev/instructions/pezhik/skilltotal/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/pezhik/skilltotal/claude-md"><img src="https://agentmods.dev/badge/instructions/pezhik/skilltotal/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,300 This file is loaded in full into every session.
When invoked 3,300 The same file — it is already loaded in full.
Security scan A 2 findings. Scan, not verified.
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 $0.03300 $0.03300
Opus 5 $0.01650 $0.01650
Sonnet 5 $0.00660 $0.00660
Haiku 4.5 $0.00330 $0.00330

Measured 3d ago against content hash 545d25343930, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skilltotal CLAUDE.md scanned grade A with 2 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

not flag its own pattern literals, a README's example attack, a `# Usage: curl|bash` comment, or a

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

targeted JSON/markdown parsing. (Security hooks may flag `eval`/`os.system` in scanner
CLAUDE.md · 203 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project

SkillTotal is an AI Component Security Platform — a CLI engine that statically analyzes AI-related components (skills, plugins, MCP servers, npm/Python packages, repos) for supply-chain risks, dangerous capabilities, prompt-injection surfaces, and exfiltration paths. This phase is CLI-only, but the core is built to be reused by future web/SaaS products.

Commands

# Install (editable) + dev deps
pip install -e ".[dev]"

# Run the full test suite (pytest config lives in pyproject.toml; addopts = -q)
pytest

# Run one test file / one test
pytest tests/test_scoring.py
pytest tests/test_scoring.py::test_combo_rule_fires_when_fs_and_network_present

# Security checks (required on every change — see memory + SECURITY.md)
bandit -r skilltotal          # static security scan (clean = exit 0)
pre-commit install            # once: enables gitleaks/detect-secrets/ruff/bandit on commit

# Run the CLI (console script or module form — identical)
skilltotal scan <path-or-url> [--json | --sarif] [--output FILE] [--fail-on-high]
skilltotal scan <path-or-url> [--baseline FILE | --write-baseline FILE]
skilltotal rules list [--json]
python -m skilltotal scan <path-or-url>

Zero runtime dependencies (Python stdlib only); dev deps (pip install -e ".[dev]") cover testing/lint/security/build. Requires Python 3.10+. git is required only for scanning remote URLs. Secret-leak defense is layered: pre-commit (gitleaks/detect-secrets) → CI secrets job (gitleaks) → GitHub push protection → OIDC publishing (no stored tokens); see SECURITY.md.

On Windows PowerShell, do not pipe between two python processes (encoding corruption); use a script file or one process.

Non-negotiable invariants

These define the product and are enforced in code — preserve them in any change:

  1. Every confirmed Finding carries evidence. Finding.__post_init__ (models.py) raises if evidence is empty. Signals that cannot be anchored to a file/line/snippet must be emitted as NeedsReview, never as Finding, and NeedsReview never affects the score.
  2. Component-only analysis. Derive everything from files inside the component — never from user/company/environment/deployment/runtime context.
  3. Never execute analyzed code, never call an LLM. Detection is deterministic regex + targeted JSON/markdown parsing. (Security hooks may flag eval/os.system in scanner regexes — those are detection string literals, not calls.)
  4. Interpret evidence only. Descriptions may explain what a matched API does ("child_process.exec enables shell execution"); they must not assert unproven intent ("this steals secrets").

Read the full file on GitHub · 203 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. 3d ago First seen · 203 lines · 3,300 tokens per session scan A 545d25343930

Subscribe to this mod's changes

skilltotal CLAUDE.md is an instructions file published in the GitHub repository pezhik/skilltotal (1 stars, last pushed 8d ago), licensed Apache-2.0. It adds 3,300 tokens to every session, about $0.0165 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.