startup-hook-skill

Create SessionStart hooks that install dependencies for Claude Code on the web sessions.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/BertCalm/XO_OX-XOmnibus --skill startup-hook-skill-bertcalm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: startup-hook-skill
Source: https://github.com/BertCalm/XO_OX-XOmnibus/tree/main/Skills/session-start-hook
Command: npx skills add https://github.com/BertCalm/XO_OX-XOmnibus --skill startup-hook-skill-bertcalm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The startup-hook-skill automates the creation and development of startup hooks for Claude Code on the web, enabling reliable repository initialization and environment setup.

Core Features & Use Cases

  • Create SessionStart hooks that install dependencies so tests and linters run in Claude Code on the web sessions.
  • Provide a guided workflow for analyzing dependencies, designing a startup hook, and validating the hook, linter, and tests.
  • Use cases include preparing new projects for web-based sessions and ensuring reproducible startup across environments.

Quick Start

Create a session-start hook script, place it in .claude/hooks, and register it in .claude/settings.json, then test the hook end-to-end.

Frequently Asked Questions about startup-hook-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate dependency installation for Claude Code on the web?

You can automate dependency installation by creating a SessionStart hook script, placing it in the .claude/hooks directory, and registering it in .claude/settings.json. This ensures tests and linters run reliably in your web sessions.

What is a SessionStart hook and when do I need one for my repository?

A SessionStart hook is a script that executes during session initialization to prepare your repository environment. You need one to ensure dependencies are installed automatically, enabling reliable test and lint startup across different environments.

How do I set up a startup hook for Claude Code sessions step by step?

To set up a startup hook, analyze your project dependencies, design the hook script, place it in .claude/hooks, register it in .claude/settings.json, and validate the hook, linter, and tests end-to-end across your environments.

Does Claude Code on the web support environment variable guidance and synchronization checks for startup hooks?

Yes, setting up startup hooks involves a structured workflow that includes environment variable guidance and synchronization checks. This ensures your repository initialization remains reproducible and correctly configured across environments.

What's the best way to ensure reproducible startup environments for Claude Code web projects?

The best way to ensure reproducible startup environments is to use a guided workflow for dependency discovery, hook design, and validation. This structured approach enforces reliable repository initialization and consistent session setup.

Why are my tests and linters failing when starting a Claude Code on the web session?

Tests and linters often fail because dependencies are not installed at session start. Creating a SessionStart hook to automatically install dependencies ensures the repository environment is fully prepared before tests execute.