qianwen-update-check
Original:🇺🇸 English
Translated
2 scriptsChecked / no sensitive code detected
[QianWen] Check for qianwen-ai updates and notify the user when a new version is available. TRIGGER when: user asks to check for updates, check version, asks 'is there a new version', 'latest version', 'update skills', 'check update', or any other qwen skill delegates to this skill, or user explicitly invokes this skill by name (e.g. use qianwen-update-check). DO NOT TRIGGER when: non-update-related tasks, general version questions about other software.
4installs
Sourceqianwen-ai/qianwen-ai
Added on
NPX Install
npx skill4agent add qianwen-ai/qianwen-ai qianwen-update-checkTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →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
- Reads the installed version from (the
version.jsonfield bundled with this skill).version - Fetches the latest version from the remote repository (GitHub raw content).
- Compares versions using semver. Returns if a newer version exists.
{"has_update": true} - Records the check timestamp () in
last_interactionto rate-limit network requests to once every 24 hours.<repo_root>/.agents/state.json
Usage
Other skills invoke this script automatically. You can also run it manually:
bash
python3 <path-to-this-skill>/scripts/check_update.py --print-responseCLI Arguments
| Argument | Description |
|---|---|
| Print result as formatted JSON to stdout |
| Bypass 24-hour rate limit and check immediately |
Output Format
json
{
"has_update": true
}Configuration
| Environment Variable | Default | Description |
|---|---|---|
| | GitHub repo for remote version check |
State File
The timestamp is stored at for rate-limiting. Check results are not cached in the state file. This file persists across sessions and is shared with for fatigue control.
last_interaction<repo_root>/.agents/state.jsongossamer.py