mcpField
Q
qianwen-update-check

qianwen-update-check

github.com/qianwen-aiAgent workflows1155.8k installsUpdated 3w ago
Repository

About qianwen-update-check

Qwen Update Checker is a skill that checks whether the installed QianWen-AI/qianwen-ai skill pack has a newer GitHub release. It compares versions with semver and limits network checks to once every 24 hours unless forced.

Key features

  1. 01Reads the installed version from version.json
  2. 02Checks the latest version on GitHub
  3. 03Compares versions using semver
  4. 04Rate-limits checks using a timestamp
  5. 05Supports JSON output and forced checks

Use cases

  1. 01Checking for skill pack updates when another skill runs
  2. 02Manually checking the installed version
  3. 03Bypassing the check interval for an immediate update check

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/qianwen-ai/qianwen-ai --skill qianwen-update-check

After installing, type/qianwen-update-checkin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

version.json
scripts/
check_update.py
gossamer.py

Details

From the project README

Qwen Update Checker

Automatic version checker for the QianWen-AI/qianwen-ai skill pack. Compares the locally installed version against the latest release on GitHub and notifies the user when an update is available.

This skill is referenced by all other QianWen-AI/qianwen-ai. When any skill runs, it checks if this skill is installed and delegates version checking here.

How It Works

  1. Reads the installed version from version.json (the version field bundled with this skill).
  2. Fetches the latest version from the remote repository (GitHub raw content).
  3. Compares versions using semver. Returns {"has_update": true} if a newer version exists.
  4. Records the check timestamp (last_interaction) in <repo_root>/.agents/state.json to rate-limit network requests to once every 24 hours.

Usage

Other skills invoke this script automatically. You can also run it manually:

python3 <path-to-this-skill>/scripts/check_update.py --print-response
CLI Arguments
ArgumentDescription
--print-responsePrint result as formatted JSON to stdout
--forceBypass 24-hour rate limit and check immediately
Output Format
{
  "has_update": true
}

Configuration

Environment VariableDefaultDescription
QWEN_SKILLS_REPOQianWen-AI/qianwen-aiGitHub repo for remote version check

State File

The last_interaction timestamp is stored at <repo_root>/.agents/state.json for rate-limiting. Check results are not cached in the state file. This file persists across sessions and is shared with gossamer.py for fatigue control.

Comments

Markdown supported