get-latest-version
Skill2 starsChanged 5 months agoMITView on GitHub
Get the latest project-doc version number from projects-list.md. A utility sub-skill called by other skills — not intended for direct user invocation. Returns a single string (e.g. "2.0") or "none" if all version fields are —.
In this repository5 other files it gives its agents.
- batch-initSkill
- generate-tech-profile-jsonSkill
- generate-tech-profileSkill
- init-project-docSkill
- scan-projectsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Read projects-list.md in the current working directory, scan all non-— values in the "Version" column, and return the maximum version …
- Very specific: line 15
Use the Read tool to read projects-list.md in the current working directory.
- Very specific: line 16
If the file does not exist, output none and stop.
- Very specific: line 34
If all version fields are —, output:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Get Latest Version Skill
Goal
Read projects-list.md in the current working directory, scan all non-— values in the "Version" column, and return the maximum version number.
Execution Steps
Step 1: Read projects-list.md
Use the Read tool to read projects-list.md in the current working directory.
- If the file does not exist, output
noneand stop.
Step 2: Parse the "Version" column
Extract the "Version" column value from each row in the table:
- Table is Markdown format; version is the 8th column (index 7)
- Skip the header row (contains the word
Version) and separator rows (contain---) - Skip values that are
—(em dash),-(hyphen), or blank
Step 3: Compare to find the maximum version
Perform semantic version comparison on all collected version numbers:
- Format is
"X.Y"— compare major version (X) first, then minor version (Y), both as numbers - Return the maximum value as the "latest version"
Step 4: Output result
Output just the version string, e.g.:
2.0If all version fields are —, output:
noneHow to call (reference for other skills)
In other skills, describe the call like this:
Run the /get-latest-version skill to get the version string for use in downstream filtering logic.Notes
- This skill is read-only — it does not modify any files
- Version comparison is numeric:
2.0>1.9, and minor versions also compared as numbers —is an em dash (U+2014) — distinguish from hyphen-
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.

