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 TorchedHatv1.0.0In 1 marketplace
Gets Claude to suggest matching skills for each prompt you submit, using keyword and regex triggers you define in skill-rules.json. A UserPromptSubmit hook runs on every prompt and needs only Python 3.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
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.
This plugin provides a deterministic hook system for Claude Code that enables automatic skill activation suggestions and guardrails based on user prompts.
deterministic-hook/
├── .claude-plugin/
│ └── plugin.json # Plugin configuration
├── hooks/
│ ├── hooks.json # Hook configuration
│ ├── skill_activation_prompt.py # Prompt analyzer
│ └── README.md # Hook documentation
├── skills/
│ └── skill-developer/ # Skill creation guide
│ ├── SKILL.md # Main skill documentation
│ ├── HOOK_MECHANISMS.md # Hook system reference
│ ├── TRIGGER_TYPES.md # Trigger pattern guide
│ ├── PATTERNS_LIBRARY.md # Common patterns
│ ├── ADVANCED.md # Advanced techniques
│ ├── SKILL_RULES_REFERENCE.md # skill-rules.json reference
│ └── TROUBLESHOOTING.md # Debugging guide
└── README.md # This file
When the deterministic-hook plugin is installed:
hooks.json file registers the UserPromptSubmit hook with Claude Codeskill_activation_prompt.py analyzes them against patterns in skill-rules.jsonDefines the hook configuration for the plugin:
{
"description": "Automatic skill activation suggestions based on user prompts",
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/skill_activation_prompt.py",
"timeout": 5
}
]
}
]
}
}
Key features:
${CLAUDE_PLUGIN_ROOT} for plugin-relative pathsPython script that:
skill-rules.jsonadditionalContext formatNo dependencies required - uses only Python 3 standard library.
Defines trigger patterns for each skill:
{
"version": "1.0.0",
"skills": {
"skill-name": {
"type": "domain",
"enforcement": "suggest",
"priority": "high",
"promptTriggers": {
"keywords": ["keyword1", "keyword2"],
"intentPatterns": ["regex.*pattern"]
}
}
}
}
Priority levels:
To add activation triggers for a new skill:
{
"skills": {
"your-skill-name": {
"type": "domain",
"enforcement": "suggest",
"priority": "high",
"promptTriggers": {
"keywords": ["keyword1", "keyword2"],
"intentPatterns": ["pattern.*match"]
}
}
}
}
The plugin includes the skill-developer skill which provides comprehensive guidance for:
Invoke with: /skill-developer or it auto-activates when you mention skill creation.
CLAUDE_PLUGIN_ROOT: Set by Claude Code when running as plugin hook (points to plugin directory)CLAUDE_PROJECT_DIR: Fallback for local development (points to project directory)This plugin is part of the PyTorch AI Marketplace. It will be automatically available when you install the ai-marketplace plugin.
skills/skill-developer/ for comprehensive skill development documentationBuilt 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 torchedhat/ai-marketplace --plugin deterministic-hookPlugins from other owners that cover similar ground