phazurlabs/install-labs/agent-update-distribution
Claude Code and agent skill by phazurlabs/install-labs
- community
Checking that the SKILL.md file is still in the repository.
Update mechanisms and distribution strategies for AI agents and automations. Use when the user mentions: update agent, upgrade agent, agent versioning, semantic versioning agents, auto-update, rollback agent, migration, breaking changes, distribute updates, agent release, MCP update, plugin update, docker update, npm update agent, pip upgrade agent, agent rollback, version pinning
Install
npx vskill@latest install phazurlabs/install-labs/agent-update-distributionSKILL.md
The same SKILL.md was published earlier as phazurlabs/install-labs/agent-update-distribution.
Agent Update & Distribution
MCP Server Updates
npx Always-Latest Pattern
Pros: Users always get the latest. No update command needed. Cons: Breaking changes hit immediately. No offline support. Slower startup.
Pinned Install
Version Pinning in MCP Config
@2.1.0-- exact version, never auto-updates@^2.0.0-- allows minor/patch within major 2@latestor omitted -- always fetches newest
Claude Code Plugin Updates
Git-Based Plugins
Versioning in plugin.json
Bump version on every release. Set minClaudeCodeVersion to block incompatible hosts. Tag in git: git tag v2.3.1 && git push --tags.
Self-Updating Plugin Pattern
Docker Agent Updates
Image Tagging Strategy
2.3.1-- immutable, never changes after push2.3/2-- mutable, points to latest in that rangelatest-- newest release
Docker Compose Update Flow
Migration Scripts in Docker
PyPI Agent Updates
Version Constraints
npm Agent Updates
npx caches packages. Use --yes with @latest to guarantee a fresh fetch.
Custom GPT Updates
No package manager -- updates go through the OpenAI builder interface.
Versioning Instructions
Embed version in the GPT's system instructions:
Knowledge File Refresh
Automate knowledge file generation. Keep the manual upload step as small as possible.
Migration Patterns
Config Schema Migration
Migration Registry
Always: Back up before migrating. Print each step. Provide my-agent doctor to verify success. Document in release notes.
Semantic Versioning for Agents
MAJOR (Breaking)
- Config format changes incompatibly
- Required env vars renamed or removed
- Tool interface changes (different inputs/outputs)
- Minimum runtime version increases
- Data/memory format changes incompatibly
MINOR (Feature)
- New tools or capabilities added
- New optional config fields (with defaults)
- Support for additional model providers
PATCH (Fix)
- Bug fixes, prompt improvements (same interface)
- Non-breaking dependency bumps
- Performance improvements
Pre-release Tags
Auto-Update Patterns
Check on Startup
Rules: Timeout at 2-3s. Check at most once per day. Never auto-install without consent. Allow disabling: MY_AGENT_NO_UPDATE_CHECK=1.
Update Strategy Matrix
| Strategy | When to Use | |
|---|---|---|
| Silent notice | Default for CLI tools and plugins | |
| Prompt to update | Critical security fix available | |
| Block until updated | Only if old version risks others' security | |
| Auto-update background | Docker/container deployments you control |
Rollback Strategies
Package Manager Rollback
Config Backup Before Update
Docker Rollback
Git Plugin Rollback
Automated Rollback on Failure
Golden rule: Every update path must have a corresponding rollback path. If you can't roll back, you can't safely update.
Sources & References
- [Semantic Versioning 2.0.0] — Tom Preston-Werner. https://semver.org/. The versioning standard defining MAJOR.MINOR.PATCH semantics, pre-release tags, and build metadata. The foundation for all agent version numbering and compatibility signaling.
- [npm-update] — npm, Inc. https://docs.npmjs.com/cli/commands/npm-update. Official documentation for the
npm updatecommand, including behavior with global installs (-g), semver range resolution, and interaction withpackage-lock.json. - [pip install — Upgrade] — Python Packaging Authority (PyPA). https://pip.pypa.io/en/stable/cli/pip_install/. Reference for
pip install --upgrade, version constraint syntax (==,~=,>=), and dependency resolution behavior during agent upgrades. - [Docker Tagging Best Practices] — Docker, Inc. https://docs.docker.com/build/building/tags/. Guidelines for image tagging strategies including immutable tags (exact version), mutable tags (major/minor), and the
latesttag convention used in agent container distribution. - [The Twelve-Factor App — Factor V: Build, Release, Run] — Adam Wiggins / Heroku. https://12factor.net/build-release-run. Strictly separating the build, release, and run stages enables clean rollbacks and reproducible deployments — directly applicable to agent update and migration workflows.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-update-distribution/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/phazurlabs/install-labs/agent-update-distribution)