Cs update

From onur-gokyildiz-bhi/codescope · View interactive version

Cs update is an AI agent skill from the GitHub repository onur-gokyildiz-bhi/codescope. Check for Codescope updates and install the latest version. Self-update mechanism.

How to use this skill

Skill file

Update Codescope

Check for the latest version and update if available.

Steps:

  1. Get the current installed version:

```bash

codescope --version 2>/dev/null || codescope-mcp --version 2>/dev/null || echo "unknown"

```

  1. Check the latest release from GitHub:

```bash

curl -fsSL https://api.github.com/repos/onur-gokyildiz-bhi/codescope/releases/latest 2>/dev/null | grep -o '"tag_name": "[^"]"' | head -1 | sed 's/."v\?\([^"]\)"/\1/'

```

  1. Compare versions. If they match, report "Already up to date" and stop.
  1. If an update is available, ask the user for confirmation, then run the appropriate installer:

Windows (PowerShell):

```powershell

powershell -Command "irm https://raw.githubusercontent.com/onur-gokyildiz-bhi/codescope/main/install.ps1 | iex"

```

Linux / macOS:

```bash

curl -fsSL https://raw.githubusercontent.com/onur-gokyildiz-bhi/codescope/main/install.sh | bash

```

  1. Verify the update:

```bash

codescope --version

```

  1. Report the result:

```

Codescope updated: v0.4.0 -> v0.5.0

```

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.