aptl: Skill for Claude Code

.claude/skills/stage/SKILL.md

stage is a skill for Claude Code from Brad-Edwards/aptl. It costs 16 tokens per session (261 once invoked), scanned A, original, MIT.

A workflow for preparing changed files for a commit. It identifies relevant files, excludes secrets and unsuitable files, runs pre-commit checks, fixes failures, and reports what is staged.

In plain words
What is it for?
Use it to inspect changes, stage safe files, run pre-commit, correct failures, and confirm the staged file list is clean.
Why use it?
It reduces the chance of committing credentials or other unwanted files and catches formatting or validation problems before the commit. It repeats the checks when fixes are needed.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Brad-Edwards/aptl. 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/Brad-Edwards/aptl/main/.claude/skills/stage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Brad-Edwards/aptl

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 stage

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/brad-edwards/aptl/stage"><img src="https://agentmods.dev/badge/skills/brad-edwards/aptl/stage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 261 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 12
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.00016 $0.00261
Opus 5.5 $0.00006 $0.00104
Sonnet 5.5 $0.00003 $0.00052
Haiku 4.5 $0.00002 $0.00026

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

Security

Grade A, and why

stage 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/stage/SKILL.md · 37 lines

What it actually says

Stage Changes

Step 1: Identify Changed Files

  1. Run git status to see all changed and untracked files.
  2. Exclude from staging: .env files, credentials, secrets, large binaries.

Step 2: Stage Files

  1. git add all relevant changed files.

Step 3: Pre-commit Loop

Run up to 5 iterations:

  1. Run pre-commit run against the staged files. Never use --all-files locally; CI/CD owns whole-tree checks.
  2. If it passes, proceed to Step 4.
  3. If it fails:
    • Read the failure output.
    • Fix the issues.
    • Re-stage any modified files with git add.
    • Go back to step 1.
  4. If still failing after 5 attempts, report the failure details to the user and stop.

Step 4: Report

  • List what is staged: git diff --cached --name-only
  • Confirm pre-commit passes.
  • "All files staged and pre-commit clean. Ready for commit."
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 Changed · +1 lines b139a52b1ccb
  2. 2mo ago First seen · 36 lines · 16 tokens per session scan A fad2a69469aa

Subscribe to this mod's changes

stage is a skill published in the GitHub repository Brad-Edwards/aptl (25 stars, last pushed 24d ago), licensed MIT. It adds 16 tokens to every session and 261 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-30.