Agent skill
meta-upgrade
Upgrade installed workflow skills and templates from the agentic-workflow repo. Version-aware: compares semver versions, shows changelogs, warns about local adaptations. Use when the user says "upgrade the workflow", "update skills", "sync skills", "check for skill updates", or after pulling a new version of agentic-workflow.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/meta-upgrade
SKILL.md
Upgrade — Sync Skills & Templates from agentic-workflow
Compares the installed workflow skills and templates against the source agentic-workflow repo and offers selective upgrades.
Step 1: Locate Source Repo
- Read
workflow.jsonin the current project root - Resolve
workflowRepopath (e.g.,../agentic-workflow) - If
workflow.jsondoesn't exist or has noworkflowRepo:- Ask the user for the path to the agentic-workflow repo
- Verify the source repo exists and is accessible
Step 2: Compare Skills (Version-Aware)
-
Read the source catalog:
<workflowRepo>/.claude/skills/meta-skill-catalog/catalog.json -
Read the local catalog:
.claude/skills/meta-skill-catalog/catalog.json -
For each skill in the source catalog, compare versions:
New skills (in source but not local):
- List them with name, category, description, and version
- Mark as "Available to install"
Version comparison (in both catalogs):
- Compare
version(source) vsinstalled_version(local) - Categorize by semver difference:
up-to-date— same versionpatch-available— bug fixes, safe to auto-applyminor-available— new features, review recommendedmajor-available— breaking changes, review required
- Read the source skill's
CHANGELOG.mdand show entries between installed and current version
Ahead of source (local
installed_version> sourceversion):- This means local modifications exist
- Check
context/adaptations.mdfor tracked adaptations - Warn: "This skill has local modifications. Run /meta-contribute-back before upgrading to preserve changes."
Local-only skills (in local but not source):
- These are project-specific skills — leave them untouched
- List as "Project-specific (no upstream)"
Step 3: Compare Templates
- Resolve the docs repo path from
workflow.json - Compare templates in
<workflowRepo>/templates/against<docsRepo>/templates/ - For each template:
- New: Template exists in source but not in docs repo
- Updated: Content differs between source and docs repo
- Unchanged: Identical
Step 4: Present Upgrade Report
- Show the version-aware report:
### Workflow Upgrade Report
**Source:** <workflowRepo path>
#### Skills
| Skill | Installed | Current | Status |
|-------|-----------|---------|--------|
| meta-heartbeat | 1.0.0 | 1.1.0 | minor-available |
| doc-prd | 1.0.0 | 1.0.0 | up-to-date |
| dev-tdd-backend | 1.0.0 | 1.2.0 | minor-available (2 changes) |
| dev-verification-backend | 1.0.0 | 2.0.0 | major-available ⚠ |
| my-custom-skill | — | — | project-specific |
#### Changelog for Updated Skills
**dev-tdd-backend** (1.0.0 → 1.2.0):
- 1.2.0: Added Aspire integration test handling
- 1.1.0: Added event sourcing test patterns
**dev-verification-backend** (1.0.0 → 2.0.0):
- 2.0.0: BREAKING — Verification phases restructured
⚠ Review required before upgrading
#### Adaptation Warnings
⚠ dev-tdd-backend has 1 local adaptation (Aspire integration tests)
Run /meta-contribute-back dev-tdd-backend before upgrading to preserve changes.
Step 5: Apply Updates (After Approval)
-
Ask the user what to upgrade:
- "Update all" — apply all updates and install new skills
- "Update skills only" — skip templates
- "Update templates only" — skip skills
- "Let me pick" — interactive selection
-
For each approved update:
Skill updates:
- Back up the current SKILL.md to
SKILL.md.bak(overwrite previous backup) - Copy the new SKILL.md from the source repo
- Copy any new supporting files (references/, scripts/)
- Update the local catalog entry
- Update
installed_versionandinstalled_datein the local catalog entry
Skill installs (new):
- Create the skill directory
- Copy SKILL.md and supporting files
- Add to local catalog
Template updates:
- Copy the new template to the docs repo
- Note: existing generated documents are NOT affected (only the template changes)
Template installs (new):
- Copy to docs repo templates directory
- Create the output directory if it doesn't exist
- Back up the current SKILL.md to
-
Update the local catalog's
updateddate- Copy the skill's
CHANGELOG.mdfrom source (for local reference during future upgrades)
- Copy the skill's
Step 6: Post-Upgrade Verification
- Run a quick check:
- All installed skills have valid SKILL.md files
- Catalog matches what's on disk
- No orphaned skill directories
- Report any issues found
Step 7: Update Daily Memory
- Log the upgrade in today's daily memory:
- What was upgraded (skills, templates)
- What was newly installed
- What was skipped
Flags
| Flag | Behavior |
|---|---|
--all |
Update everything without prompting for selection |
--skills-only |
Only compare and update skills |
--templates-only |
Only compare and update templates |
--diff |
Show full content diffs for changed files |
--dry-run |
Show what would change without applying |
Safety Rules
- Never overwrite project-specific skills (skills not in the source catalog)
- Never modify context files (SOUL.md, USER.md, MEMORY.md) — those are personal
- Never modify workflow.json — that's project-specific config
- Never modify CLAUDE.md — bootstrap handles that, not upgrade
- Always back up before overwriting (SKILL.md.bak)
- Always show changes before applying — no silent updates
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?