# Semver Toolkit

> Semver 2.0 parse, compare, bump and npm-style range matching.

Semver Toolkit is a paid AI agent skill on Agensi by Joblessking, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Joblessking](https://www.agensi.io/creators/joblessking)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/semver-toolkit
- Tags: devops, python, semver, versioning

## What it does

- Calculates new version numbers for major, minor, or patch updates
- Selects the highest version number that fits a specific range rule
- Sorts lists of versions correctly even with labels like alpha or beta
- Checks if a specific version is allowed by common range symbols like caret or tilde
- Handles pre-release logic to move from test versions to final releases

## Who it's for

- **Engineers building release pipelines:** Automate version numbers for your app releases accurately. Try: "Help me find the right version to release next for my app."
- **Developers managing software dependencies:** Ensure your project only uses versions of code that won't break it. Try: "Which of these versions fits the range ^1.2.0?"
- **Technical project leads tracking software updates:** Sort and organize lists of software updates correctly. Try: "Sort these version numbers from oldest to newest."

## About this skill

When you are building software, managing version numbers like 1.2.3 can get messy. This skill helps your AI agent handle software versions using the standard Semantic Versioning rules. It allows your agent to compare versions, sort them in the right order, and figure out which version comes next when you release an update.

### How it works
1. You provide a list of version numbers or a specific rule like a version range.
2. Your AI agent uses the skill to check which versions are newer or older.
3. The skill identifies which versions are allowed based on rules like "anything above version 1.0 but below 2.0".
4. You get back a sorted list, a specific version recommendation, or a newly calculated version number.

### Frameworks & tools
This skill includes a Python script and a reference module that follow the standard Semver 2.0 rules for software versioning.

### Why this beats prompting it yourself
AI agents often struggle with the specific logic of versioning, like knowing that 1.11.0 is newer than 1.2.0 or how "beta" versions fit in. This skill provides a set of strict rules and code that ensure the math and logic are always correct, following the same standards used by major tools like npm.

### Use cases
- Update version numbers automatically in your release scripts
- Find the newest version in a list that is safe for your app to use
- Put a messy list of software versions into the correct chronological order
- Decide if a specific update is a major, minor, or patch change

### Known limitations
This skill follows standard Semantic Versioning rules, so it ignores build metadata when comparing versions.

## Technical details

Built with a Python 3.9+ reference module (semver.py) and a validation script (check.py). Supports Semver 2.0.0 spec including prereleases and build metadata. Implements npm-style range parsing including ^, ~, x-ranges, AND (space), and OR (||) operators. Provides functions for parse, compare, sort_versions, bump, satisfies, and max_satisfying.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Semver Toolkit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help me manage version numbers?

This skill organizes software versions according to standard rules. It helps your agent decide which version is newer, sort a disorganized list, and calculate what the next version number should be when you release an update.

### Do I need to install any special software or have external accounts to use this?

You only need your AI agent. The skill includes a Python script and a reference module that follow the standard Semantic Versioning 2.0 rules for calculating and matching versions.

### Can it handle version ranges like the ones used in package managers?

This skill handles standard symbols like carets and tildes to find the best version in a range. For example, you can ask it to find the newest version that is above 1.0 but below 2.0 from a specific list.

### What specific tasks can I ask my AI agent to do with this?

You can ask your agent to compare two specific versions, find the highest version allowed by a rule, or update a version number to the next major or minor release. It can also sort a messy list of versions into the correct chronological order.

### Are there any types of version data the skill ignores?

Following standard rules, the skill ignores build metadata when it compares two versions. It also treats pre-release versions, like a beta or alpha, differently than final releases to ensure they are only matched when appropriate.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
