latest-version

Queries official registries to return latest stable package and Gemini model versions with warnings for deprecations, yanks, and retractions.

13|3|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/danicat/skills --skill latest-version-danicat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: latest-version
Source: https://github.com/danicat/skills/tree/main/latest-version
Command: npx skills add https://github.com/danicat/skills --skill latest-version-danicat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires https, and includes scripts (resource) components.

What problem does it solve?

It prevents version hallucinations by fetching the latest stable release information directly from live software and model registries instead of relying on outdated internal knowledge.

Core Features & Use Cases

  • Deterministic latest-version lookup: Retrieves the current latest version from the correct upstream registry for multiple ecosystems (npm, PyPI, Go, Cargo, RubyGems, and Gemini models).
  • De-risking checks: Warns about deprecations, yanked releases, retracted Go versions, and other registry-level or documentation-level signals.
  • Gemini model discovery: Maps friendly model names/brands to official Gemini model IDs by parsing official model documentation sources.

Quick Start

Run latest.js with the ecosystem and package name (for example: node scripts/latest.js npm react) to print the latest stable version string and any relevant warnings.

Frequently Asked Questions about latest-version

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check the latest stable version of an npm or PyPI package without guessing?

Checking the latest stable version requires querying live registries like npm or PyPI directly. This approach fetches deterministic version strings from upstream sources, preventing version hallucination caused by relying on outdated internal knowledge.

Why does my AI assistant hallucinate outdated dependency versions during installation?

Dependency version hallucination happens when relying on internal knowledge instead of live data. Querying official software registries directly retrieves current stable release version strings, ensuring accurate installation preparation and preventing version hallucination.

Can I find the official Gemini model ID using a friendly brand name?

Yes, you can find the official Gemini model ID by parsing official model documentation sources. This discovery process maps friendly model names and brands to their corresponding official Gemini model identifiers for configuration updates.

Does registry lookup warn about yanked releases or deprecated packages?

Registry lookup does warn about yanked releases and deprecated packages. It emits warnings for deprecations, yanked releases, and retracted Go versions by checking registry-level and documentation-level signals during the deterministic version retrieval process.

What package ecosystems are supported for deterministic version fetching?

Supported package ecosystems for deterministic version fetching include Node.js, Python, Go, Rust/Cargo, and RubyGems. The lookup also supports Gemini model ecosystems, retrieving current stable releases directly from their respective official upstream registries.

What is the best way to prevent version hallucination when updating dependencies?

The best way to prevent version hallucination is querying live software and model registries directly for the latest stable release information. This deterministic registry lookup returns accurate version strings while emitting warnings for deprecations, yanked releases, and retractions.