Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By xtonev0.4.2In 1 marketplace
Track skill usage and sync to Notion database for team analytics
You run one by typing its /name in Claude Code.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code用のスキル使用状況トラッキングプラグインです。スキルの使用を自動的に記録し、セッション終了時にサマリーを表示します。Notionデータベースへの同期機能も備えています。
スキル呼び出し時に以下の情報を自動記録します:
保存先: ~/.claude/hooks/logs/skill_usage.jsonl
セッション終了時に使用されたスキルの一覧と回数を表示します:
📊 Skill Usage Summary
────────────────────────────────────────
greeting-skill:greeting: 3
backend-development:orchestrating-api-implementation: 2
────────────────────────────────────────
Total: 5 invocations
注意: Stop フックは /exit コマンドで正常終了した場合に動作します。Ctrl+C で強制終了した場合は動作しません。
/skill-stats - 統計表示任意のタイミングでスキル使用状況を確認できます。
/skill-stats reset - データリセットローカルに保存されたスキル使用データをクリアします。
/skill-stats setup - Notion同期設定Notionデータベースへの同期に必要な設定ファイルを作成します。
# 使用方法
skill-stats.js setup <skill_usage_db_id> <slash_command_db_id>
# 例
skill-stats.js setup b787567d-9565-49ac-89d4-fd2569497d15 a24187ec-c81b-4853-a6ae-d8139abffc0b
data_source_id は Notion MCP の mcp__notion__notion-fetch で取得できます。
/skill-stats sync - Notionへの同期未同期のイベントをNotionデータベースに同期します。事前に setup で設定ファイルを作成してください。
チーム全体の使用状況を集計・可視化するために、Notionデータベースへの同期機能を提供します。
/skill-stats setup でデータベースIDを設定/skill-stats sync で同期を実行Skill Usage Events:
| プロパティ名 | 型 | 説明 |
|---|---|---|
| Skill | title | スキル名 |
| Timestamp | date | 実行日時 |
| User Name | rich_text | git config user.name |
| User Email | git config user.email | |
| System User | rich_text | システムユーザー名 |
| Project | rich_text | プロジェクト名 |
| Branch | rich_text | ブランチ名 |
| Remote | url | リモートリポジトリURL |
| Hostname | rich_text | ホスト名 |
Slash Command Events:
| プロパティ名 | 型 | 説明 |
|---|---|---|
| Command | title | コマンド名 |
| Full Command | rich_text | フルコマンド文字列 |
| Source | select | user_prompt / slash_command_tool |
| Timestamp | date | 実行日時 |
| User Name | rich_text | git config user.name |
| User Email | git config user.email | |
| System User | rich_text | システムユーザー名 |
| Project | rich_text | プロジェクト名 |
| Branch | rich_text | ブランチ名 |
| Remote | url | リモートリポジトリURL |
| Hostname | rich_text | ホスト名 |
# マーケットプレイスにリポジトリを追加
/plugin marketplace add xtone/ai_development_tools
# プラグインをインストール
/plugin install skill-usage-tracker@xtone-ai-development-tools
| カテゴリ | 項目 | 取得元 |
|---|---|---|
| スキル | スキル名 | Skill ツールの入力 |
| タイムスタンプ | システム時刻 | |
| ユーザー | name | git config user.name |
git config user.email | ||
| system_user | 環境変数 USER | |
| コンテキスト | project | カレントディレクトリ名 |
| branch | git branch --show-current | |
| remote | git remote get-url origin | |
| hostname | os.hostname() | |
| cwd | カレントディレクトリのフルパス |
データは JSONL(JSON Lines)形式で保存されます。1行1イベントで、追記操作が効率的です。
skill_usage.jsonl:
{"skill":"greeting-skill:greeting","timestamp":"2025-12-03T02:38:45.218Z","user":{"name":"Pregum","email":"[email protected]","system_user":"y.hino"},"context":{"project":"ai_development_tools","branch":"feature/xxx","remote":"ssh://[email protected]/xtone/ai_development_tools.git","hostname":"XTONE-0089-YHINO.local"}}
| ファイル | 説明 |
|---|---|
~/.claude/hooks/logs/skill_usage.jsonl | スキル使用イベント |
~/.claude/hooks/logs/slash_command.jsonl | スラッシュコマンド使用イベント |
~/.claude/hooks/logs/sync_state.json | Notion同期状態 |
~/.claude/hooks/logs/notion_config.json | Notion設定(DB ID) |
収集されたデータは ローカルマシンのみ に保存されます。外部サーバーへの自動送信は行いません。
~/.claude/hooks/logs/# 全データを削除
/skill-stats reset
# 手動で削除
rm ~/.claude/hooks/logs/skill_usage.jsonl
rm ~/.claude/hooks/logs/slash_command.jsonl
notion_config.json にはデータベースIDが含まれるため、.gitignore に追加することを推奨skill_usage_tracker/
├── .claude-plugin/
│ ├── plugin.json # プラグイン設定
│ └── marketplace.json # マーケットプレイス情報
├── hooks/
│ ├── hooks.json # フック設定
│ ├── skill_usage_counter.js # PostToolUse: スキル使用記録
│ ├── slash_command_counter.js # PostToolUse: コマンド使用記録
│ ├── user_prompt_command_counter.js # UserPromptSubmit: プロンプト内コマンド検出
│ └── skill_usage_sender.js # Stop: サマリー表示
├── commands/
│ └── skill-stats.md # カスタムコマンド
├── bin/
│ ├── skill-stats.js # 統計/同期スクリプト
│ └── migrate-to-jsonl.js # JSON→JSONL移行スクリプト
├── CHANGELOG.md
└── README.md
# 最新10件のスキル使用を表示
tail -10 ~/.claude/hooks/logs/skill_usage.jsonl
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub xtone/ai_development_tools --plugin skill-usage-trackerPlugins from other owners that cover similar ground