wasp-nest-core — Claude Code hook: component validation after writes
wasp-nest-core is a hook for Claude Code and Codex that validates components and checks file edits. It runs on session starts and tool calls.
AGPL-3.0-or-later ★ 96 updated 2026-10-18
/plugin marketplace add legioncodeinc/vibe-coding-tools
/plugin install wasp-nest-core@wasp-nestWhat wasp-nest-core does
This hook package connects Wasp Nest workflows to agent lifecycle events. On SessionStart, it triggers register-codex-agents.py via Python 3 and runs onboarding-session.mjs through Node.js. Both startup scripts run with a 10-second timeout.
When the agent issues Edit or Write operations, the suite intercepts the action. Before writing, dash-guard.mjs checks the output. Immediately after file changes apply, component-validate.mjs inspects the result with a 30-second timeout limit.
Without working python3 and node binaries in your system environment, these scripts will fail immediately upon invocation.
What it helps with
- register Codex agents when a new session begins
- inspect edit safety before executing
EditandWriteactions - validate UI components right after the agent writes changes
Example prompts for the agent
- Edit the button component inside
src/Button.tsx - Create
src/Card.tsxand write the initial component structure
How to install wasp-nest-core
1Plugin marketplace
/plugin marketplace add legioncodeinc/vibe-coding-tools/plugin install wasp-nest-core@wasp-nest2Manually: put the files in place
.claude/settings.jsonThe hooks block: event (PreToolUse, PostToolUse, Stop…) → command. Personal ones go to ~/.claude/settings.json
Step by step, with commands for each platform: Claude Code hooks: what they are, where to configure them, how to block a risky command
Questions about wasp-nest-core
How to install wasp-nest-core in Claude Code?
Add the registry via /plugin marketplace add legioncodeinc/vibe-coding-tools, then run /plugin install wasp-nest-core@wasp-nest.
Which trigger events does wasp-nest-core monitor?
It triggers on SessionStart during initialization, plus PreToolUse and PostToolUse whenever Edit or Write tools run.
What system dependencies are needed for these hooks?
You need both python3 and node available in your environment path because the bundle launches Python and JavaScript files.