Skip to main content
hook CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add legioncodeinc/vibe-coding-tools
/plugin install wasp-nest-core@wasp-nest
Open on GitHub

What 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 Edit and Write actions
  • 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.tsx and 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-nest

2Manually: put the files in place

.claude/settings.json

The 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.

Similar hooks

All hooks for Agent setup: memory, context, orchestration →

From the same set172

The whole set →
newsletter-platform-wasp-drone newsletter-platform-wasp-drone is a subagent for Claude Code, Codex, and Cursor that picks newsletter platforms, embeds Next.js signup forms, and handles monetization and list migration. CX Codex ★ 96repo stars posthog-stinger posthog-stinger configures PostHog analytics for SvelteKit 5 apps deployed on Vercel. It fixes router pageview tracking, sets up feature flags, and handles reverse proxying. CX Codex +1 ★ 96repo stars image-optimization-wasp-drone image-optimization-wasp-drone is a Claude Code subagent that audits image formats, sizing, loading, and placeholders in React, Next.js, and HTML. CX Codex ★ 96repo stars security-stinger security-stinger scans SvelteKit projects for authorization gaps, SQL injection, secret leaks and unsafe webhooks before code reaches production. CX Codex +1 ★ 96repo stars auth-stinger auth-stinger guides authentication architecture, provider choice, sessions, RBAC, and OAuth verification under strict security baselines. CX Codex +1 ★ 96repo stars api-docs-wasp-drone The api-docs-wasp-drone subagent helps choose an API docs renderer, add OpenAPI examples, and prepare hosting or SDK generation. It supports Claude Code and Codex. CX Codex ★ 96repo stars svelte-stinger svelte-stinger is a Claude Code skill for Svelte 5 and SvelteKit 2, covering runes, reactivity, and migration from Svelte 4. CX Codex +1 ★ 96repo stars http-rest-fundamentals-wasp-drone http-rest-fundamentals-wasp-drone audits API routes against HTTP RFC standards and REST principles. Catches status code mismatches, caching issues, and broken CORS preflights. CX Codex ★ 96repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open