spire-studio/cloakbot/update-setup

Claude Code and agent skill by spire-studio/cloakbot

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

One-time setup wizard for the CloakBot upgrade skill. Triggers: setup update, configure update, 切设置更新, 初始化更新.

Install

npx vskill@latest install spire-studio/cloakbot/update-setup

SKILL.md

Update Setup

Generate a personalized upgrade skill for this workspace.

Step 1: Check Existing

Use read_file to check if skills/update/SKILL.md already exists in the workspace.

If it exists, ask the user: "An upgrade skill already exists. Reconfigure?" Wait for the user's reply. If no, stop here.

Step 2: Current Version and Install Clues

Use exec to run cloakbot --version. Tell the user the current version.

Then collect install clues with exec. These commands are best-effort; if one fails, keep going and show the useful output:

command -v cloakbot || true
python -m pip show cloakbot || true
pipx list | sed -n '/cloakbot/,+3p' || true
uv tool list | sed -n '/cloakbot/,+3p' || true

Summarize what you found in one short paragraph. Use the clues only to suggest a likely install method. Do not treat them as confirmation.

Step 3: Confirm Required Inputs

CRITICAL: Do not write skills/update/SKILL.md until the install method is explicitly confirmed by the user. The install method must come from a user answer or confirmation, not from inference alone. If you cannot get a clear answer, stop and ask the user to rerun this setup when they know how CloakBot was installed.

Ask the user the questions below, one at a time, in your response text. Wait for the user's reply before proceeding to the next question. If you cannot get a clear answer, stop without writing the skill.

Question 1 — Install method:

question: "I found these install clues: <SUMMARY>. Which update method should this workspace use?"
options: ["uv", "pipx", "pip", "source (git clone)", "not sure"]

If the user selected not sure, explain the difference between the options and stop. Do not generate the upgrade skill.

If the user selected source (git clone), ask for the local checkout path: question: "Where is your CloakBot source checkout? Enter an absolute path or a path relative to this workspace:".

Question 2 — Optional dependencies:

question: "Which optional dependencies do you need? List names separated by spaces, or reply 'none'. Available: api, wecom, weixin, msteams, matrix, discord, langsmith, pdf"

Parse the reply. If the user says "none" or similar, set extras to empty. Otherwise collect the valid names.

Question 3 — Proxy:

question: "Do you need an HTTP proxy to reach PyPI or GitHub?"
options: ["no", "yes"]

If yes, ask one more time for the proxy URL: question: "Enter proxy URL (e.g. http://127.0.0.1:7890):".

Step 4: Generate Skill

Build the extras string. If the user selected dependencies, format as [dep1,dep2,...]. Otherwise omit the brackets entirely.

Determine the upgrade command from the install method:

MethodCommand
uvuv tool install "cloakbot[EXTRAS]" --force
pipxpipx install --force "cloakbot[EXTRAS]"
pippython -m pip install --upgrade "cloakbot[EXTRAS]"
sourcecd <SOURCE_CHECKOUT> && git pull && python -m pip install -e ".[EXTRAS]"

For source installs, include extras in the editable install command when selected. Quote the source checkout path if it contains spaces.

Determine the preflight check from the install method:

MethodPreflight check
uvcommand -v uv
pipxcommand -v pipx
pippython -m pip --version
sourcetest -d <SOURCE_CHECKOUT> && test -d <SOURCE_CHECKOUT>/.git && test -f <SOURCE_CHECKOUT>/pyproject.toml

For source installs, quote the source checkout path in the preflight check if it contains spaces.

Build the skill content. If proxy is configured, add export http_proxy=URL and export https_proxy=URL lines before the upgrade command.

Use write_file to write skills/update/SKILL.md with this content:

---
name: update
description: "Upgrade CloakBot to the latest version. Triggers: upgrade cloakbot, update cloakbot, 升级cloakbot, 更新cloakbot."
---
# Update CloakBot
1. (If proxy configured) Set proxy: `export http_proxy=URL && export https_proxy=URL`
2. Use `exec` to run the preflight check: <PREFLIGHT_CHECK>. If it fails, stop and tell the user to rerun `update-setup` because the saved install method no longer matches this environment.
3. Use `exec` to run the upgrade command: <UPGRADE_COMMAND>
4. Use `exec` to verify: `cloakbot --version`
5. Tell the user the new version. Say: "Run `/restart` to restart CloakBot and apply the update. If `/restart` is unavailable in this channel, restart the CloakBot process manually."

Step 5: Confirm

Tell the user: "Upgrade skill created. Say 'upgrade cloakbot' when you want to update."

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
209
7-day trend score
27

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/spire-studio/cloakbot/update-setup/badge)](https://verified-skill.com/skills/spire-studio/cloakbot/update-setup)

Something wrong with this skill or its page? Tell us.