Add /skill-stats setup and /skill-stats sync commands to enable
syncing usage events to Notion databases for team-wide analytics.
- setup: outputs Notion database schema for creation via MCP
- sync: outputs unsynced events with Notion-formatted properties
- Supports sync_state.json for tracking synced lines
- Supports notion_config.json for database IDs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- 全てのhooksにasync: trueを追加してバックグラウンド実行を有効化
- Claude Codeの実行をブロックしないように改善
- バージョンを0.1.0から0.1.1に更新
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add user_prompt_command_counter.js to detect slash commands in user prompts
- Update hooks.json with UserPromptSubmit hook configuration
- Records events with source: "user_prompt" to distinguish from tool invocations
This enables tracking when users directly type slash commands (e.g., /command),
which previously wasn't captured by the PostToolUse SlashCommand hook.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add slash_command_counter.js hook to record SlashCommand tool usage
- Update hooks.json to trigger counter on PostToolUse for SlashCommand
- Enhance skill-stats.js to display both skill and command statistics
- Add reset option to skill-stats.js for clearing usage data
Note: This only tracks when Claude programmatically invokes slash
commands via the SlashCommand tool, not direct user input.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add validation for event.skill in skill_usage_sender.js
- Update plugin.json description to reflect local-only storage
- Update marketplace.json description and features to match current implementation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add catch handler to main() for unhandled promise rejections
- Use fs.promises for async file I/O operations
- Add privacy and data handling section to README
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Enhance skill_usage_counter.js to record detailed event data
- Timestamp, user info (git config), context (project, branch, hostname)
- Add skill_usage_sender.js for Stop hook to display usage summary
- Update hooks.json to include Stop hook
- Simplify README for current feature scope
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove tools configuration from plugin.json (keep hooks only)
- Move sendRegistration.js from tools/ to root directory
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This plugin provides two main features:
1. Automatic skill usage counting via PostToolUse hook
2. Custom command to send registration data with usage statistics
Features:
- Tracks skill invocations automatically through PostToolUse hook
- Stores usage counts in ~/.claude/hooks/state/skill_usage_counts.json
- Provides sendRegistration command to POST data to external services
- Configurable endpoint URL via environment variables or CLI args
- Combines user payload with skill usage statistics
Technical details:
- Requires Node.js 18.0.0+ (for native fetch API support)
- Hook matcher: "Skill" tool
- Data persistence: JSON file storage
- Executable scripts with proper permissions
Author: HINO, Yasushi <y.hino@xtone.co.jp>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>