skill.auto_add

skill.auto_add is a skill for Claude Code from gpsaggese/helpers. It costs 14 tokens per session (828 once invoked), scanned A, original, Apache-2.0.

A workflow for improving a skill or prompt by studying how a file changed across Git commits. Git commits are saved versions of a project, and a diff shows the changes between versions.

In plain words
What is it for?
It helps trace a file's history, inspect relevant changes, and update a skill or prompt when the file and target are clear.
Why use it?
A manual fix may reveal a general rule that the original instructions missed. This workflow turns that lesson into a broader instruction instead of copying one particular change.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter; reads .claude/ paths.

Good fit It helps trace a file's history, inspect relevant changes, and update a skill or prompt when the file and target are clear.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gpsaggese/helpers/skill.auto_add
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.

Any agent
npx skills add gpsaggese/helpers --skill skill.auto_add
Clone the repo
git clone --depth 1 https://github.com/gpsaggese/helpers

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.auto_add

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gpsaggese/helpers/skill.auto_add"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/skill.auto_add.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 828 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.00014 $0.00828
Opus 5.5 $0.00006 $0.00331
Sonnet 5.5 $0.00003 $0.00166
Haiku 4.5 $0.00001 $0.00083

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

Security

Grade A, and why

skill.auto_add 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 yesterday.

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/skill.auto_add/SKILL.md · 94 lines

How it starts

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

Goal

  • The user gives two arguments:
    • <FILE>: a path to a file edited across one or more Git commits
    • <PROMPT>: a path to a skill (SKILL.md) or prompt file to improve
  • The edits to <FILE> encode a lesson: someone fixed by hand what <PROMPT> should have gotten right the first time
  • Update <PROMPT> so that, given the original <FILE>, it would produce the final <FILE>
  • Generalize: infer the underlying rule. Do not hard-code the strings from this one diff

Inputs

  • If <FILE> or <PROMPT> is missing or ambiguous, stop and ask the user. Do not guess
  • If <FILE> has no committed changes, report that and stop

Workflow

Determine the Changes

  • Find the commits that touched <FILE>:
    > git log --oneline --follow -- <FILE>
    
  • Identify the first and last relevant revisions. Default to the full history. If the user named a range, use that instead
  • Extract <CHANGES> as a unified diff:
    > git diff <FIRST_SHA> <LAST_SHA> -- <FILE>
    
    • If the diff is large, also read the final version to see the intended end state, not just the deltas:
      > git show <LAST_SHA>:<FILE>
      
  • Do not use interactive commands (e.g., git difftool). They block

Read the Prompt and the Conventions

  • Read <PROMPT> in full
  • Read .claude/skills/skill.rules.md for the rules that govern how skills and prompts are written
  • Read any files <PROMPT> references, so you do not duplicate a rule that already lives elsewhere

Infer the Rules

  • For each meaningful hunk in <CHANGES>, note:
    • What changed (before -> after)
    • The general rule it implies
    • Whether <PROMPT> already covers it (fully, partially, not at all)
  • Drop hunks that are one-off content edits, not repeatable rules (e.g., a typo fix, a date update). Say which hunks you dropped and why
  • Merge restated rules. Prefer one sharp rule over three overlapping ones

Improve the Prompt

  • Draft the minimal edit to <PROMPT> that encodes the inferred rules:
    • Amend an existing rule when one is close but imprecise
    • Add a new rule only when no existing rule covers the case
    • Keep the structure, heading style, and voice of <PROMPT>
    • State rules as imperatives, with a short before/after example when a rule is easy to misread
  • Do not grow the prompt unnecessarily. If the new rule makes an old one redundant, remove the old one

Read the full file on GitHub · 94 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. yesterday First seen · 94 lines · 14 tokens per session scan A be01e0b0248c

Subscribe to this mod's changes

skill.auto_add is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 14 tokens to every session and 828 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-11-06.

Related

skill.auto_add compared with skills from other repositories

skill.auto_add next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill.auto_addgpsaggese/helpersSkill158todayApache-2.0A14Claude Code
merge-batchdiegosouzapw/OmniRouteSkill83k6d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k2d agoMITA51Claude Code
release-helperSahir619/fable-methodSkill2.3k1mo agoMITA43Claude Code