witt3rd/dotagent/upgrade
Claude Code and agent skill by witt3rd/dotagent
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Upgrade an already-inhabited repo to the latest dotagent. Covers what changes between versions, the upgrade procedure (copy latest CLI + dispatch hook, clean deprecated artifacts, merge new skills), verification, and self-upgrade. Use when a dotagent-inhabited repo has an outdated scripts/agent or dispatch hook, when new guardrails are added, when STATE.md needs to be removed (S-event migration), or when asked to "upgrade dotagent" on a repo. Pairs with inhabit (which establishes — `skills/inha…
Install
npx vskill@latest install witt3rd/dotagent/upgradeSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Upgrade — maintain an inhabited repo at the latest dotagent
inhabit establishes. upgrade maintains. When dotagent evolves — new guardrails, new event types, new prompt — existing inhabited repos need the latest tooling. This skill is the procedure for bringing them current.
When to upgrade
A repo needs upgrading when any of these hold:
- `scripts/agent` is outdated — missing new event types (S events), missing commands
(claim), or missing the STATE.md removal.
- Dispatch hook is outdated — missing guardrails (self-dispatch filter, chaining cap,
rate limiting, bounded epoch), or still has the old has_work filter / pre-claim step.
- STATE.md is still tracked — the S-event migration removed the shared mutable file;
any repo still tracking STATE.md should be upgraded.
- `.gitignore` is incomplete — missing
.agent/.dispatch.logor.agent/.busy/. - Skills are missing — new core skills were added to dotagent since the repo was
inhabited.
The upgrade procedure
1. Copy the latest CLI
This brings the S-event state model, the claim command, and all bug fixes.
2. Copy the latest dispatch hook
This brings the guardrails: self-dispatch filter, chaining cap, rate limiting, bounded epoch, the generalized prompt, and the removal of pre-claim.
3. Clean deprecated artifacts
4. Update .gitignore
Ensure .gitignore includes:
5. Merge new skills (idempotent)
cp -rn never overwrites existing skill dirs — safe to re-run.
6. Commit and verify
Self-upgrade
dotagent itself is an inhabited repo. To upgrade dotagent with its own latest:
Since dotagent's dispatch is a symlink to integrations/dispatch/dispatch.sh, editing the source updates the hook automatically — no copy needed. Other repos use copies and need the explicit copy step.
Verification checklist
After upgrading:
- [ ]
scripts/agent checkexits 0 - [ ]
scripts/agent stateworks (no STATE.md reference errors) - [ ] Dispatch hook has guardrails (
grep -c 'MAX_CHAIN_DEPTH' <repo>/.agent/hooks/post-commit) - [ ] No STATE.md tracked or on disk
- [ ]
.gitignoreincludes.agent/.dispatch.log - [ ] Log is clean:
scripts/agent logshows only valid event types (H/O/I/R/C/S)
Rollback
If an upgrade breaks something:
The event log is append-only and unaffected by tooling changes — reverting the tooling never loses the ledger.
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/upgrade/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/witt3rd/dotagent/upgrade)