Repository navigation
Conversation
Each SKILL.md now has a short "check this skill is current" section under its H1. The agent fetches the docs site's skills index once per conversation and compares the published version with the installed one. It mentions an update only when the index has a newer version, and never runs it itself. The request carries analytics query parameters (skill, version, surface, model, purpose, and the cloud name if the agent already has it from the conversation or code). - templates/version-check.md is the single source for the block - scripts/check-version-block.sh renders it into each skill (--fix) or checks it - New CI job fails on a missing, edited, or misplaced block - README discloses what's sent and how to turn the check off - CONTRIBUTING covers editing the block and rerunning --fix after a version bump - Minor version bump for all four skills
skills@latest (1.7.4) requires Node 22.20 or newer and crashes on Node 20.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Most people install skills once and never update them. With this change, each skill checks whether it's up to date the first time it's used in a conversation, and tells the user when a newer version is available.
How it works
Each
SKILL.mdgets a short "Before you start: check this skill is current" section directly under its H1. The first time the skill is used in a conversation, the agent:https://cloudinary.com/documentation/.well-known/agent-skills/index.json. This is the Agent Skills discovery index, which theskillsCLI can also install from.x-cloudinary-versionfor the skill with the installed version.npx skills update <name>, or reinstall withnpx skills add https://cloudinary.com/documentation. Otherwise it carries on.Things it doesn't do:
Agents that can't fetch URLs skip the check. The check also follows the user's or project's instructions to skip it.
What's sent
The request includes the skill name and version, the agent product and model, the kind of task (for example
setupordocs), and the user's cloud name, but only if the agent already has it from the conversation or the code it's working on. The block tells the agent never to open.envfiles or readCLOUDINARY_URLfor this, and never to include API keys or secrets. The README documents this and how to turn the check off.Keeping the block consistent
templates/version-check.mdis the single source for the block.scripts/check-version-block.sh --fixrenders it into every skill, filling in the skill's name, version, and referrer.version-check-block, fails if a skill's block is missing, edited by hand, misplaced, or out of date after a version bump.Versions
Testing
Headless Claude Code runs, with the skills installed from this branch:
To test locally:
Then ask your agent a Cloudinary task. To see the update notice, change the version in an installed skill's
SKILL.mdto0.9.0(in both the frontmatter and the block) and start a new conversation.