get-latest-version

get-latest-version is a skill for Claude Code from jasonChen0604/codebase-to-portfolio. It costs 58 tokens per session (458 once invoked), scanned A, original, MIT.

A helper skill that reads the Version column in projects-list.md and returns the highest version number, or "none" if no versions are listed.

In plain words
What is it for?
It helps other skills identify which project documentation is the newest. It is not intended for direct use.
Why use it?
It avoids manually checking and comparing project versions in a Markdown table.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the codebase-to-portfolio plugin — 6 skills shipped together

Good fit It helps other skills identify which project documentation is the newest. It is not intended for direct use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jasonchen0604/codebase-to-portfolio/get-latest-version
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 jasonChen0604/codebase-to-portfolio --skill get-latest-version
Clone the repo
git clone --depth 1 https://github.com/jasonChen0604/codebase-to-portfolio

Made for: Claude Code.

Or install codebase-to-portfolio, the plugin that ships this one along with the rest of its 6 skills.

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 get-latest-version

README.md
[![agentmods](https://agentmods.dev/badge/skills/jasonchen0604/codebase-to-portfolio/get-latest-version.svg)](https://agentmods.dev/skills/jasonchen0604/codebase-to-portfolio/get-latest-version)
Your own site
<a href="https://agentmods.dev/skills/jasonchen0604/codebase-to-portfolio/get-latest-version"><img src="https://agentmods.dev/badge/skills/jasonchen0604/codebase-to-portfolio/get-latest-version.svg" alt="Measured on agentmods" 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 458 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.00458
Opus 5 $0.00029 $0.00229
Sonnet 5 $0.00012 $0.00092
Haiku 4.5 $0.00006 $0.00046

Measured 7d ago against content hash 70aaf46448d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

get-latest-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 7d 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.

skills/get-latest-version/SKILL.md · 50 lines

What it actually says

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 none and 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.0

If all version fields are , output:

none

How 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 -
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. 7d ago First seen · 50 lines · 58 tokens per session scan A 70aaf46448d2

Subscribe to this mod's changes

get-latest-version is a skill published in the GitHub repository jasonChen0604/codebase-to-portfolio (2 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 458 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-31.

Related

Other skills, from other repositories

a11y-analyzer

Accessibility analysis from session data — keyboard-only navigation patterns, focus order issues, screen reader compatibility, and accessibility regressions. Use when auditing a11y compliance, investigating accessibility bugs, or validating inclusive design.

reatlat/fullstory-claude-plugin · 47 tokens

benchmark-analyzer

Establish performance baselines and benchmarks — compare current metrics to historical averages, set targets, and track progress over time. Use when setting KPIs, establishing baselines, or measuring against goals.

reatlat/fullstory-claude-plugin · 43 tokens

campaign-tracker

Track marketing campaign performance — UTM-tagged traffic, landing page conversion, campaign cohort behavior, and ROI signals. Use when analyzing campaign performance, measuring landing page effectiveness, or comparing marketing channels.

reatlat/fullstory-claude-plugin · 43 tokens

changelog-detective

Detect what changed in the product by comparing before and after a deploy or date — find new behaviors, new errors, changed user flows, and unexpected side effects that weren't in the release notes. Use after a deploy or when the user suspects something changed but doesn't know what.

reatlat/fullstory-claude-plugin · 60 tokens

dashboard-builder

Build and manage recurring dashboard views of key metrics — set up daily/weekly monitoring with saved metrics and segments. Use when the user wants to create a recurring dashboard, set up KPI monitoring, or establish a baseline.

reatlat/fullstory-claude-plugin · 46 tokens

experiment-analyzer

A/B test and experiment analysis — measure statistical impact, segment breakdowns, and before/after comparisons. Use when the user is running an experiment, wants to know if a variant won, or needs to measure the impact of a change.

reatlat/fullstory-claude-plugin · 52 tokens