Natural language to slash command mapping for Claude Code. Stop memorizing commands—just describe what you want.
You can install this plugin from any of these themed marketplaces. Choose one, add it as a marketplace, then install the plugin.
This plugin uses advanced features that require additional trust:
Only install plugins from repositories you trust. Review the source code before installation.
Choose your preferred installation method below
A marketplace is a collection of plugins. Every plugin gets an auto-generated marketplace JSON for individual installation, plus inclusion in category and themed collections. Add a marketplace once (step 1), then install any plugin from it (step 2).
One-time setup for access to all plugins
When to use: If you plan to install multiple plugins now or later
Step 1: Add the marketplace (one-time)
/plugin marketplace add https://claudepluginhub.com/marketplaces/all.json
Run this once to access all plugins
Step 2: Install this plugin
/plugin install slashsense-2@all
Use this plugin's auto-generated marketplace JSON for individual installation
When to use: If you only want to try this specific plugin
Step 1: Add this plugin's marketplace
/plugin marketplace add https://claudepluginhub.com/marketplaces/plugins/slashsense-2.json
Step 2: Install the plugin
/plugin install slashsense-2@slashsense-2
Stop memorizing commands. Start describing intent.
Natural language to slash command mapping for Claude Code. The first intent detection plugin for coding agents.
Claude Code has 80+ plugins with hundreds of slash commands. You can't remember them all.
Before SlashSense:
You: "I need to run tests"
Claude: "Sure! Running tests..."
[30 seconds later, writes custom test script]
After SlashSense:
You: "I need to run tests"
SlashSense: 🎯 Auto-executing /sc:test (85% confidence, keyword match, 0.02ms)
Claude: [Executes /sc:test automatically]
Understands natural variations and automatically executes the detected command:
/sc:analyze
/sc:analyze
/sc:analyze
/sc:analyze
/slashsense:parallel:execute
Option 1: From Marketplace (Recommended)
# Add SlashSense marketplace
/plugin marketplace add Shakes-tzd/slashsense
# Install plugin
/plugin install slashsense
Option 2: Direct from GitHub
# Install directly
/plugin install Shakes-tzd/slashsense
# Or specify version
/plugin install Shakes-tzd/slashsense@0.1.0
Option 3: Local Development
# Clone repository
git clone https://github.com/Shakes-tzd/slashsense
cd slashsense
# Install locally
/plugin install @local
Just type what you want in natural language:
# Instead of memorizing:
/sc:analyze --comprehensive
# Just type:
"can you analyze my code for issues?"
# SlashSense auto-executes:
🎯 Auto-executing /sc:analyze (85% confidence, keyword match, 0.02ms)
SlashSense detects these commands out of the box:
Natural Language | Command | Confidence |
---|---|---|
"analyze the code" | /sc:analyze | 85% |
"run tests" | /sc:test | 85% |
"fix this bug" | /sc:troubleshoot | 85% |
"implement feature" | /sc:implement | 85% |
"explain this code" | /sc:explain | 85% |
"optimize performance" | /sc:improve | 85% |
"design architecture" | /sc:design | 85% |
"commit changes" | /sc:git | 85% |
Expandable: SlashSense auto-discovers commands from all your installed plugins!
SlashSense includes a powerful parallel development system that lets Claude work on multiple independent tasks simultaneously using git worktrees.
Natural Language | Command | What It Does |
---|---|---|
"plan parallel development" | /slashsense:parallel:plan | Document development plan for parallel execution |
"work on these in parallel" | /slashsense:parallel:execute | Execute plan in parallel using git worktrees |
"check parallel status" | /slashsense:parallel:status | Monitor progress across all parallel tasks |
"cleanup parallel worktrees" | /slashsense:parallel:cleanup | Clean up completed worktrees and branches |
You: "I need to implement authentication, dashboard, and analytics"
Claude: "📋 These tasks are independent. Would you like to work on them in parallel?"
You: "yes, parallelize this work"
SlashSense: 🎯 /slashsense:parallel:execute detected (92% confidence)
Claude:
"✅ Created plan: .parallel/plans/PLAN-20251014.md
✅ Created 3 GitHub issues
✅ Created 3 git worktrees
🚀 Spawning 3 parallel subagents...
Agent 1: Working on authentication (worktrees/task-123)
Agent 2: Working on dashboard (worktrees/task-124)
Agent 3: Working on analytics (worktrees/task-125)
All tasks complete in 2 hours (vs 4.5h sequential - 56% faster!)"
Requirements:
gh
) installed and authenticatedUser prompt: "analyze my code please"
↓
UserPromptSubmit Hook
↓
┌─────────────────────┐
│ 3-Tier Cascade │
├─────────────────────┤
│ 1. Keyword (0.02ms) │ → 60% coverage
│ 2. Model2Vec (0.2ms)│ → 30% coverage
│ 3. Semantic (50ms) │ → 10% coverage
└─────────────────────┘
↓
Command: /sc:analyze (85%)
↓
Hook modifies prompt to "/sc:analyze"
↓
Claude Code auto-executes the command
# Clone repository
git clone https://github.com/yourusername/slashsense
cd slashsense
# Install dependencies
uv sync
# Run tests
uv run pytest
# Test matchers individually
uv run lib/keyword_matcher.py
uv run lib/model2vec_matcher.py
uv run lib/semantic_router_matcher.py
# Test hook
echo '{"prompt":"analyze my code"}' | uv run hooks/user_prompt_submit.py
# Serve docs locally
uv run mkdocs serve
# Visit http://localhost:8000
# Build docs
uv run mkdocs build
# Deploy to GitHub Pages
uv run mkdocs gh-deploy
# Format code
uv run ruff format .
# Lint
uv run ruff check --fix .
# Type check
uv run mypy lib/
# Run all checks
uv run pytest && uv run ruff check . && uv run mypy lib/
SlashSense works out of the box with zero configuration!
Edit ~/.claude/plugins/slashsense/data/user_patterns.json
:
{
"enabled": true,
"confidence_threshold": 0.7,
"tiers": {
"keyword": true,
"model2vec": true,
"semantic_router": false
},
"custom_mappings": {
"make it pretty": "/sc:improve",
"ship it": "/sc:git"
}
}
# Optional: For Semantic Router (Tier 3)
export COHERE_API_KEY="your-key"
# Or
export OPENAI_API_KEY="your-key"
Benchmarked on M1 MacBook Pro:
Tier | Latency (P95) | Coverage | Dependencies |
---|---|---|---|
Keyword | 0.02ms | 60% | None |
Model2Vec | 0.2ms | 30% | model2vec (8MB) |
Semantic Router | 50ms | 10% | API key |
Total hook overhead: <2ms for 90% of queries
/slashsense:config
command/slashsense:stats
command/slashsense:parallel:plan
command/slashsense:parallel:execute
command/slashsense:parallel:status
command/slashsense:parallel:cleanup
commandWe love contributions! Here's how to help:
Open an issue with:
Open an issue with:
git checkout -b feature/amazing-feature
uv run pytest
uv run ruff format .
git commit -m 'feat: add amazing feature'
git push origin feature/amazing-feature
Development guidelines:
# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov=lib --cov-report=html
# Run specific test file
uv run pytest tests/test_keyword.py
# Run with verbose output
uv run pytest -v
# Test individual matchers (built-in tests)
uv run lib/keyword_matcher.py
uv run lib/model2vec_matcher.py
uv run lib/semantic_router_matcher.py
No! The hook adds <2ms latency for 90% of queries. You won't notice it.
Keyword and Model2Vec tiers work completely offline (90% coverage). Semantic Router tier requires an API key but is optional.
Yes! Edit data/user_patterns.json
to add your own mappings.
Yes! SlashSense auto-discovers commands from all installed plugins.
Everything runs locally except Semantic Router (optional). No data is collected.
# Install dependencies
uv sync
The model downloads automatically on first use (~8MB).
# Set API key
export COHERE_API_KEY="your-key"
# Or
export OPENAI_API_KEY="your-key"
Or disable in config: "semantic_router": false
MIT License - see LICENSE file for details.
0.1.0