cursor-hooks-automation-guru
Skill0 starsChanged 45 days agoMITView on GitHub
add or repair hooks/hooks.json in a LegioX plugin
- Deletes or force-pushes
- Commits and pushes
In this repository146 other files it gives its agents.
- accessibility-compliance-enforcerSkill
- ai-anthropic-api-specialistSkill
- ai-anthropic-claude-runtime-env-guruSkill
- ai-avatar-presenter-specialistSkill
- ai-aws-bedrock-agentcore-guruSkill
- ai-aws-bedrock-agents-guruSkill
- ai-aws-bedrock-specialistSkill
- ai-aws-sagemaker-specialistSkill
- ai-context-masterSkill
- ai-llm-datasets-specialistSkill
- ai-powered-personalization-engineSkill
- ai-video-editor-postproduction-guruSkill
- ai-video-generation-orchestratorSkill
- ai-voice-audio-production-guruSkill
- ai-voice-dubbing-orchestratorSkill
- android-ndk-coderSkill
- apac-market-specialistSkill
- app-store-optimization-specialistSkill
- aptos-react-next-wallet-integrationSkill
- aptos-ts-sdk-coreSkill
- authjs-specialistSkill
- aws-console-cli-agentSkill
- aws-cost-budgets-specialistSkill
- aws-ec2-lambda-s3-specialistSkill
- aws-eks-specialistSkill
- aws-iam-guruSkill
- base-erc4337-paymaster-sponsorshipSkill
- base-react-next-wallet-integrationSkill
- business-viral-adoption-acceleratorSkill
- ci-cd-pipeline-specialistSkill
- code-apple-pwa-ios-16-guruSkill
- codebase-memory-mcpSkill
- competitive-intelligence-analystSkill
- competitive-intelligence-specialistSkill
- crisis-communication-reputation-managerSkill
- cross-border-legal-compliance-specialistSkill
- cursor-agents-orchestration-guruSkill
- cursor-installer-engineerSkill
- cursor-marketplace-publisher-guruSkill
- cursor-mcp-plugin-integration-specialistSkill
- cursor-plugin-architect-guruSkill
- cursor-sdk-automation-guruSkill
- cursor-skills-rules-author-guruSkill
- cybersecurity-governance-specialistSkill
- dagi-general-expertSkill
- developer-experience-architectSkill
- devops-aptos-gas-station-opsSkill
- devops-auto-repair-shop-crm-guruSkill
- devops-base-paymaster-opsSkill
- devops-ffmpeg-live-transmux-hls-packaging-guruSkill
- devops-hetzner-api-specialistSkill
- devops-k8s-dns-cluster-guruSkill
- devops-k8s-forgejo-guruSkill
- devops-k8s-guruSkill
- devops-k8s-local-storage-guruSkill
- devops-k8s-mail-addons-guruSkill
- devops-k8s-nginx-guruSkill
- devops-k8s-rook-ceph-guruSkill
- devops-k8s-tailscale-tunnelSkill
- devops-k8s-valero-backupSkill
- The first 60 shown.
The file
Files
Cursor Hooks Automation Guru
Summary
hooks/hooks.json maps event names to command arrays. Each entry may set command, matcher, and failClosed or other fields the hooks doc allows. Agent events: sessionStart, sessionEnd, preToolUse, postToolUse, postToolUseFailure, subagentStart, subagentStop, beforeShellExecution, afterShellExecution, beforeMCPExecution, afterMCPExecution, beforeReadFile, afterFileEdit, beforeSubmitPrompt, preCompact, stop, afterAgentResponse, afterAgentThought. Tab events: beforeTabFileRead, afterTabFileEdit. App event: workspaceOpen, which can return additional plugin paths. Script paths are relative to the plugin, typically ./scripts/. Use ${CURSOR_PLUGIN_ROOT} when a script must find plugin files. Both legiox-free and legiox-pro ship hooks (bootloader on workspaceOpen, plus guardrails). Do not ship a hooks file that only exists as a comment in a README. Never exfiltrate file contents. Matchers such as git push --force belong on beforeShellExecution. Create hooks with the built-in /create-hook skill when authoring new ones.
Instructions
- Pattern: hooks/hooks.json workspaceOpen -> bootloader script
- Pattern: beforeShellExecution matcher on force-push and rm -rf
- Pattern: afterFileEdit reminder when AI-CONTEXT implementations change
- Pattern: beforeMCPExecution logs the tool name and does not copy file bodies
- Pattern: workspaceOpen additionalPluginPaths when a workspace needs an extra local plugin
- Pattern: script command ./scripts/
<name>.sh relative to the plugin root - Pattern: free and pro both ship hooks; do not leave a commented example as the only hook
- Pattern: /create-hook writes hooks.json for a new event
Deeper fields
jq -r '.mission, .expertise, .keywords' "mcp/AI-LEGIOX/legiox-truth-lens/cursor-hooks-automation-guru.nodus.json"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

