extract-version
Skill0 starsChanged 4 months agoMITView on GitHub
Extract the semantic version (e.g. 1.2.3 or 1.2.3-rc.1) from a single line of text such as a release-notes header, changelog title, or tag — returning just the version, or an empty string when there is none. Use when asked to pull a version out of a header/line.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- maslennikov-ig/claude-code-orchestrator-kittheir own version, first seen Mar 5, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- maslennikov-ig/claude-code-orchestrator-kit★ 248same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/00-defer-to-agents-md.mdcCursor rule
- bootstrap-stackSkill
- distillSkill
- learnSkill
- reflectSkill
- seed-updateSkill
The file
Files
extract-version
Given one line of text, return only the semantic version it contains, or an empty string
if it contains none. Do not include surrounding words, a leading v, or any punctuation.
This skill is the worked example for the offline optimizer (skillopt/): its behavior is a
single regex, kept between the markers below so skillopt/optimize.py --backend builtin can
tune it against skillopt/evals/extract-version/eval.jsonl. The starter pattern is
deliberately mediocre (it stops at two components and mishandles prereleases) so the
optimization run has something to improve.
<!-- skillopt:pattern -->(\d+\.\d+)
<!-- /skillopt:pattern -->Examples:
Release notes for MyApp v2.3.1 (2026-05-01)→2.3.1Version: 0.14.7-beta→0.14.7-betano version here, just text→ `` (empty)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

