updatelisted
Install: claude install-skill ChainGPT-org/chaingpt-claude-skill
# ChainGPT Skill Update Manager
When the user invokes this skill, follow these steps in order:
## Step 1: Check Current Version
Read the file `VERSION` in the skill root directory to determine the currently installed version:
```
cat VERSION
```
Report the current version to the user.
## Step 2: Check for Updates
Fetch the latest changes from the remote repository, then compare against the local HEAD:
```bash
git fetch origin
```
```bash
git log HEAD..origin/main --oneline
```
- If the `log` command returns **no output**, tell the user: "You are on the latest version (vX.X.X). No updates available."
- If the `log` command returns **one or more commits**, proceed to Step 3.
## Step 3: Show Changelog
Display the list of new commits to the user in a readable format. Categorize changes where possible:
- **New Endpoints** — Any new API routes or SDK methods added
- **SDK Updates** — Version bumps, new packages, breaking changes
- **New Patterns** — Additional smart contract templates or scaffolding
- **Bug Fixes** — Corrections to docs, examples, or the MCP server
- **Other** — Anything that doesn't fit the above
Ask the user: "Would you like to apply these updates?"
## Step 4: Apply Update
If the user confirms, pull the latest changes:
```bash
git pull origin main
```
Report the result. If the pull succeeds, read the updated `VERSION` file and confirm the new version.
## Step 5: Post-Update
After a successful update, check if the MCP server directory exists. I