AlphaMoatによると、2026-09時点でContext Sentinelのダウンロード数は2,510、スター数は4で、AIスキル全体5,078件中4,090位、AIエージェントでは969件中832位です。
| プラットフォーム | インストール数 | ダウンロード数 | スター数 | コメント |
|---|---|---|---|---|
| ClawHub ↗ | 76 | 2510 | 4 | 2 |
| SkillHub ↗ | 102 | 2474 | 4 | — |
プラットフォームごとに集計方法と集計時点が異なります。
ガイドはcronやheartbeatで定期実行する方法を示しますが、参照されるスクリプトの実装は提供資料に含まれていません。自動化の前に実際のロジックを確認し、モデル切り替えや引き継ぎの許可範囲を確認してください。出力文字列だけを根拠に未検証の操作を実行しないでください。
資料公開日 2026-10-29
スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。
2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。
| 月 | ダウンロード数 | 前月比 | スター数 |
|---|---|---|---|
| 2026-09 | 2510 | — | 4 |
| 2026-08 | 2362 | +8.4% | 4 |
| 2026-07 | 2178 | — | 4 |
| 2026-05 | 1777 | — | 4 |
| 2026-03 | 1207 | — | 4 |
作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。
--- name: context-sentinel description: "Monitors session context and automatically manages model switching based on a cascading protocol. Use as part of a heartbeat or cron job to maintain session health and optimize token usage." version: 1.0.0 --- # Context Sentinel This skill provides a script to automate the "Cascading Model Protocol," ensuring the agent gracefully degrades from high-cost models to high-context models as the session grows.
## Protocol Summary
1. **Opus 4.6:** Use until 80% context, then switch to Opus 4.5.
2. **Opus 4.5:** Use until 80% context, then switch to Gemini 2.5 Pro.
3. **Gemini Pro:** Use until 80% context, then trigger a handoff.
This skill operationalizes the logic defined in `MEMORY.md`.
## How to Use
This skill is designed to be run periodically, either via a `cron` job or as part of the main agent's `HEARTBEAT.md` checklist.
### Workflow
1. **Execute the script:**
Run the `check_context.ps1` script to get the current session status and determine the required action.
```powershell
powershell -File scripts/check_context.ps1
```
2. **Evaluate the output:**
The script will return one of three possible string commands:
* `SWITCH_TO:<model_id>`
* `HANDOFF_NOW`
* `STATUS_OK`
3. **Take Action:**
Based on the output, execute the appropriate agent command.
* If `SWITCH_TO:<model_id>`, run `session_status` with the new model ID:
```
session_status model=<model_id>
```
* If `HANDOFF_NOW`, trigger the handoff process by writing to the handoff file. This is typically done by running a specific, pre-defined prompt or script.
* If `STATUS_OK`, no action is needed.
### Example Usage in `HEARTBEAT.md`
You can replace the manual checks in your `HEARTBEAT.md` with a call to this skill's script.
**Old `HEARTBEAT.md`:**
```markdown
## Cascading Model Protocol (Check Every Heartbeat)
1. **Check Status:** Get current model and context %.
2. **Opus 4.6:** If model is `Opus 4.6` and context > 80% -> Switch to `Opus 4.5`.
...
```
**New `HEARTBEAT.md` using this skill:**
```markdown
## Context Sentinel (Check Every Heartbeat)
1. Run `powershell -File skills/context-sentinel/scripts/check_context.ps1`.
2. Evaluate the output and take action (`SWITCH_TO`, `HANDOFF_NOW`, or `STATUS_OK`).
```
This makes the logic reusable and keeps the `HEARTBEAT.md` file clean and focused on execution.
開発中の学び、エラー、訂正を Markdown ファイルに記録し、再利用やワークスペースの記憶への昇格に備えます。
やりたいことを自然文で伝えると、ローカルとリモートのカタログからスキルを探して推薦するスキルです。
AI エージェント向けのブラウザ自動化コマンドラインスキルです。
利用者の訂正と自己点検を層構造の記憶に蓄え、使われ方に応じて昇格や保管を行うスキルです。
第三者のスキルを入れる前に、出所と権限と危険な作りを手順に沿って調べるスキルです。
エージェントの記憶とスキル間の状態を、型と制約を持つ知識グラフとして保存するスキルです。
AI エージェントの先回り、作業記憶、振り返りの手順を計画するためのワークスペース設定ガイドです。
効果的な Claude スキルの作成・更新ガイドです。
データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。