スキル一覧に戻る
Youngger9765

context-monitor

by Youngger9765

0🍴 0📅 2026年1月10日
GitHubで見るManusで実行

SKILL.md


name: context-monitor description: | Monitors context token usage and warns when approaching limits. Automatically activates when context usage exceeds thresholds (30k, 50k, 70k tokens). Provides recommendations for context management and /clear usage.

Auto-activates based on token usage, no specific keywords needed. allowed-tools: [Read]

Context Usage Monitor

Purpose

Monitor and warn about context usage to prevent context exhaustion.

Usage Thresholds

  • 30k tokens: First warning (Yellow)
  • 50k tokens: Strong warning (Orange)
  • 70k tokens: Critical warning (Red) - Consider /clear

Monitoring Points

  1. After each agent invocation
  2. Before complex tasks
  3. When reading large files

Warning Messages

Yellow (30k)

⚠️ Context Usage: ~30k tokens
Consider focusing on current task only.

Orange (50k)

🟠 Context Usage: ~50k tokens
Recommend completing current task then /clear.

Red (70k+)

🔴 Context Usage: 70k+ tokens
CRITICAL: Use /clear soon to prevent errors.
Save important context before clearing.

Best Practices

  1. Use subagents to preserve main context
  2. Clear context between major features
  3. Avoid reading unnecessary large files
  4. Use Task tool for complex searches

Context-Saving Commands

Before /clear, save important info:

# Save current branch and status
git status > /tmp/context_save.txt
git diff --staged >> /tmp/context_save.txt

# After /clear, restore context:
cat /tmp/context_save.txt

Skill Version: v1.0 Last Updated: 2025-12-25 Project: career_ios_backend

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です