qianwen-update-check
この Skill は、QianWen-AI スキルパックの最新バージョンを自動的にチェックし、利用可能なアップデートがある場合にユーザーに通知します。GitHub リポジトリと比較することで、ユーザーは常に最新かつ安定したスキルバージョンを使用でき、開発効率とシステムセキュリティが向上し、手動メンテナンスの負担が軽減されます。
npx skills add https://github.com/qianwen-ai/qianwen-ai --skill qianwen-update-checkBefore / After 効果比較
1 组この Skill がない場合、ユーザーは手動で GitHub リポジトリにアクセスし、最新バージョン情報を探し、ローカルバージョンと比較する必要がありました。これは時間がかかり、見落としやすく、スキルパックが長期間更新されず、新機能やセキュリティ修正を逃す原因となっていました。
この Skill は、QianWen-AI スキルパックの最新バージョンを自動的に検出し、アップデートがある場合にユーザーに迅速に通知します。これにより、手動での介入なしにスキルが常に最新の状態に保たれ、スキルメンテナンスの効率と正確性が大幅に向上します。
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
version.json(theversionfield bundled with this skill). - Fetches the latest version from the remote repository (GitHub raw content).
- Compares versions using semver. Returns
{"has_update": true}if a newer version exists. - Records the check timestamp (
last_interaction) in<repo_root>/.agents/state.jsonto 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
| Argument | Description |
|---|---|
--print-response | Print result as formatted JSON to stdout |
--force | Bypass 24-hour rate limit and check immediately |
Output Format
{
"has_update": true
}
Configuration
| Environment Variable | Default | Description |
|---|---|---|
QWEN_SKILLS_REPO | QianWen-AI/qianwen-ai | GitHub 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.
ユーザーレビュー (0)
レビューを書く
レビューなし
統計データ
ユーザー評価
この Skill を評価