tag-version

tag-version is a skill for Claude Code from davila7/claude-with-skills. It costs 58 tokens per session (505 once invoked), scanned A, original, MIT.

A release procedure that changes a package's semantic version, creates a Git commit, and adds an annotated tag. Semantic versioning uses numbers such as major, minor, and patch to describe the scale of a release.

In plain words
What is it for?
Use it to create patch, minor, or major releases, or to set an exact version and tag it without pushing the tag.
Why use it?
Manual version changes and tags can be inconsistent or missing from the release history. This procedure makes the version and Git record follow one repeatable sequence.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create patch, minor, or major releases, or to set an exact version and tag it without pushing the tag.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davila7/claude-with-skills/tag-version
About the project

Claude With Skills is a progressive course that teaches developers to create reusable, portable Agent Skills for Claude Code, from basic SKILL.md files to advanced automation and plugin packaging. It is intended for developers who want repeatable instructions and workflows instead of repeatedly pasting the same guidance. The catalogue contains the course's skills, agents, and instruction.

davila7/claude-with-skills · 12 stars · on GitHub · claude-with-skills.vercel.app

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 davila7/claude-with-skills --skill tag-version
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-with-skills

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 tag-version

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/davila7/claude-with-skills/tag-version"><img src="https://agentmods.dev/badge/skills/davila7/claude-with-skills/tag-version.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 505 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.00058 $0.00505
Opus 5 $0.00029 $0.00253
Sonnet 5 $0.00012 $0.00101
Haiku 4.5 $0.00006 $0.00051

Measured 11d ago against content hash 720b38e446cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tag-version 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 11d 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.

src/content/docs/03-advanced/lesson-05-skills-orchestrating-skills/examples/release-flow/.claude/skills/tag-version/SKILL.md · 51 lines

What it actually says

Bump the version and create an annotated git tag for $ARGUMENTS.

If $ARGUMENTS is empty, stop and tell the user: "Provide a version or bump type — for example: /tag-version patch or /tag-version 1.2.0."

Step 1: Determine the new version

Inspect the current version: !cat package.json 2>/dev/null | grep '"version"' | head -1 || echo "no package.json found"

If $ARGUMENTS is a semantic version string matching the pattern X.Y.Z (e.g., 1.2.0, 0.9.1), use it directly as the new version.

If $ARGUMENTS is patch, minor, or major, run:

npm version $ARGUMENTS --no-git-tag-version

This updates package.json without creating a git tag. Read the new version from package.json after the command runs:

cat package.json | grep '"version"'

Step 2: Stage the version bump

If npm version was used to update package.json, stage the change:

git add package.json package-lock.json
git commit -m "Bump version to v$VERSION"

If the version was provided as a literal semver string, update package.json manually: edit the "version" field to the new value, then stage and commit it.

Step 3: Create the annotated tag

git tag -a v$VERSION -m "Release v$VERSION"

Step 4: Confirm

Run git describe --tags --abbrev=0 and show the output. Confirm: "Tag v$VERSION created. Run /publish to push it to origin and create the GitHub release."

Do not push. The publish skill handles pushing.

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. 11d ago First seen · 51 lines · 58 tokens per session scan A 720b38e446cc

Subscribe to this mod's changes

tag-version is a skill published in the GitHub repository davila7/claude-with-skills (12 stars, last pushed 3mo ago), licensed MIT. It adds 58 tokens to every session and 505 once invoked, about $0.0003 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.