context-monitor
Monitor conversation context and prevent MAX mode by warning at token thresholds and generating handoff summaries. Use when…
Build a sanitized analytics report from your Model Matchmaker usage for community contribution. Optional; use optimize-classifier for private tuning instead.
$ npx -y skills add coyvalyss1/model-matchmaker --skill share-analytics --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/share-analyticsContext preview
The summary Claude sees to decide when to auto-load this skill.
Build a sanitized analytics report from your Model Matchmaker usage for community contribution. Optional; use optimize-classifier for private tuning instead.
name: share-analytics description: Build a sanitized analytics report from your Model Matchmaker usage for community contribution. Optional; use optimize-classifier for private tuning instead.
**OPTIONAL SKILL** - This is for contributing data back to the community. You don't need this for personal optimization. Use the `optimize-classifier` skill instead for private, local tuning.
This skill helps you contribute sanitized analytics data back to the Model Matchmaker community to improve the classifier, while protecting your privacy. This is completely optional and not required for Model Matchmaker to work or improve based on your usage.
**Note:** You can optimize your classifier privately using the `optimize-classifier` skill. This "share-analytics" skill is only if you want to contribute aggregated data back to help improve Model Matchmaker for everyone.
1. **Reads** your local Model Matchmaker logs (`~/.cursor/hooks/model-matchmaker.ndjson`) 2. **Sanitizes** prompt snippets by removing project names, file paths, and personal details 3. **Categorizes** prompts using a standard 20-category taxonomy 4. **Aggregates** patterns to show where the classifier succeeded or failed 5. **Shows you** the sanitized report for review before you share it
You are helping the user create a privacy-safe contribution report from their Model Matchmaker usage data. Follow these steps:
Read the NDJSON log file at `~/.cursor/hooks/model-matchmaker.ndjson`. Each line is a JSON object with this structure:
{
"event": "recommendation",
"ts": "2026-03-06T15:44:39.040834",
"conversation_id": "abc123",
"generation_id": "gen456",
"model": "claude-4-opus",
"recommendation": "sonnet",
"action": "ALLOW|BLOCK|OVERRIDE",
"word_count": 25,
"prompt_snippet": "First 40 chars of prompt"
}or
{
"event": "completion",
"ts": "2026-03-06T15:45:12.123456",
"conversation_id": "abc123",
"generation_id": "gen456",
"model": "claude-4-opus",
"status": "completed|errored|aborted",
"loop_count": 0
}Classify each `recommendation` event's `prompt_snippet` into one of these 20 categories. **Never output the literal prompt_snippet** — only the category and a generic pattern description.
**High Frequency Categories (prioritize for training):** 1. `ui_ux_bug_fixes` - Layout, responsive design, overlap, positioning, visual glitches 2. `feature_implementation` - New UI elements, components, flows, capabilities 3. `ai_chat_debugging` - AI chat failures, model config, persona behavior issues 4. `data_persistence` - Likes, votes, profile data, Firestore behavior 5. `testing_qa` - Manual testing, browser automation, test flows
**Medium Frequency Categories:** 6. `cross_platform_alignment` - Bringing web and iOS features/design in sync 7. `build_deployment` - Xcode, build errors, deployment, environment setup 8. `product_strategy` - Strategic questions about product, market, differentiation 9. `feature_design_ux` - Designing flows, UX, feature behavior before implementation 10. `marketing_content` - Social posts, launch content, marketing copy 11. `business_planning` - Partnerships, events, proposals, business documents 12. `documentation_process` - Session logs, TODOs, internal docs 13. `api_service_integration` - Third-party APIs, image generation, external services 14. `pricing_monetization` - Plans, paywalls, pricing logic 15. `plan_execution` - Implementing predefined plans with todos
**Low Frequency Categories:** 16. `platform_architecture` - Tech stack, architecture, platform choices 17. `brand_legal` - DBA, trademarks, brand structure 18. `configuration_oauth` - Firebase, OAuth, auth setup 19. `tool_troubleshooting` - Non-code tools and environment issues 20. `rd_competitive_analysis` - Researching competitors, tech options, cost comparisons
If a prompt doesn't fit any category, use `other`.
For each prompt snippet, extract the **task type** without revealing specifics:
**Examples of sanitization:**
**Rules for sanitization:**
Match `recommendation` events with `completion` events using `conversation_id`. Calculate:
Output a structured report in this format:
# Model Matchmaker Analytics Contribution **Version:** [Model Matchmaker version from repo] **Period:** [Date range from logs] **Total Events:** [N recommendations, M completions] ## Summary Statistics - Total Recommendations: N - Allow: X (Y%) - Block: X (Y%) - Override: X (Y%) ## Override Analysis by Category ### High-Frequency Categories **Category: ui_ux_bug_fixes** - Override count: 12 - Model used → Recommended: - opus → sonnet: 8 times - sonnet → opus: 4 times - Generic patterns: - "Responsive layout fixes classified as sonnet-level" - "Visual positioning bugs" - Completion outcomes: - Completed after ove
Stop paying Opus prices to rename files. Stop waiting 20 seconds for responses that should take 3. A local hook for Cursor and Claude Code that classifies every prompt before it's sent and recommends the right model.
Monitor conversation context and prevent MAX mode by warning at token thresholds and generating handoff summaries. Use when…
Analyze your Model Matchmaker override patterns and tune the local classifier to match your preferences. Use after collecting 50+…