dominiktobureto/awesome-grok-build/hooksmith

Claude Code and agent skill by dominiktobureto/awesome-grok-build

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when designing or reviewing safe Grok Build hooks for linting, tests, formatting, notifications, command guards, lifecycle automation, or project hook trust decisions.

Install

npx vskill@latest install dominiktobureto/awesome-grok-build/hooksmith

SKILL.md

Hooksmith

Design hooks as deterministic safety rails around agent work.

Grok Build Mode

  • Start with read-only analysis unless the user explicitly asks to create hook files.
  • Use Plan Mode before adding project hooks because Grok requires trust for .grok/hooks/.
  • Use subagents for hook reviews:
  • security: command injection, secrets, network exfiltration.
  • dx: runtime, noise, failure messages.
  • portability: Windows/macOS/Linux shell compatibility.
  • Arena-style comparison: compare 2-3 hook designs and choose the least powerful one that solves the workflow.

Mental Model

Hooks are automation triggered by agent lifecycle or tool events. They should be boring, transparent, and easy to disable.

Workflow

  1. Identify the event that should trigger the hook.
  2. Decide whether the hook should be:
  • read-only check;
  • formatter;
  • test runner;
  • notification;
  • policy guard.
  1. Prefer the smallest command that proves the intended condition.
  2. Document:
  • trigger event;
  • command;
  • files touched;
  • expected runtime;
  • failure behavior;
  • how to disable it.
  1. If the hook mutates files, make the mutation obvious and limited.

Safe Hook Ideas

  • After edit: run formatter on touched files.
  • After edit: run lint on touched files.
  • Before shell command: block commands matching dangerous patterns.
  • Stop event: summarize changed files and verification status.
  • Notification: send a local desktop notification when a long task completes.

Auto Lint/Test Pattern

Prefer repository-native commands discovered from config files:

  1. Find lint/test/typecheck commands.
  2. Start with a reporting hook.
  3. Add auto-format only after the team trusts it.
  4. Keep runtime short enough that agents do not learn to ignore it.

Red Flags

  • Hooks that run network commands without explanation.
  • Hooks that read .env or credential stores.
  • Hooks that rewrite broad directories.
  • Hooks that auto-commit or push.
  • Hooks that hide output from the user.

Example Prompts

text
Use hooksmith to design a read-only post-edit lint hook. Discover the repo's actual lint command and explain trust risks.
text
Review these Grok hooks before /hooks-trust. Flag secrets, network calls, broad file writes, and cross-platform problems.

Output Format

text
Hook: <name>
Trigger: <event>
Command: <command>
Risk: <low/medium/high>
Files touched: <none/list>
Failure behavior: <what happens>
Trust note: <why /hooks-trust is or is not appropriate>

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
64
Repository forks
16
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dominiktobureto/awesome-grok-build/hooksmith/badge)](https://verified-skill.com/skills/dominiktobureto/awesome-grok-build/hooksmith)

Something wrong with this skill or its page? Tell us.