SkillTrust

← All skills

new-hook

100 / 100 · Low risk

Fine to try.

By gaia-harness/gaia (GitHub) · coding · 26 stars · scanned at commit c4a509b

Scaffolds a new custom React hook with a Vitest browser-mode test file. Use this skill whenever the user asks to "create a hook", "make a useFoo hook", "scaffold a custom React hook", "add a hook under app/hooks", or describes a piece of reusable React state/effect logic that warrants extraction into a named `use*` hook.

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'new-hook' ] || [ -L ~/.agents/skills/'new-hook' ]; then echo 'A skill folder named new-hook already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/gaia-harness/gaia' "$d" && git -C "$d" checkout --quiet 'c4a509b34c3f25df36a616a531decdfd57baa29c' -- 'apps/web/.claude/skills/new-hook' && mkdir -p ~/.agents/skills && cp -R "$d"/'apps/web/.claude/skills/new-hook' ~/.agents/skills/'new-hook' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'new-hook' ~/.claude/skills/'new-hook' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for gaia-harness/gaia shows the score of its lowest-scoring skill.

SkillTrust badge for gaia-harness/gaia

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/gaia-harness/gaia.svg)](https://zalavijaysinh.github.io/skilltrust/repos/gaia-harness/gaia/)

Score history

DateVersionScore
2026-11-13c4a509b100
2026-11-09360fd9b100
2026-11-0788786e5100