claude-howto

A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.

21 articles 8.8k View on GitHub ↗
21 articles
Using Agent Hooks for Complex Verification in Claude Code: A Complete Guide

Master agent hooks in Claude Code for complex verification. Spawn sub-agents for multi-step reasoning and tool execution. Get structured JSON decisions to block or approve workflows.

how-to-guide
Mar 30, 2026
Persisting Environment Variables Across Sessions with Claude Code Hooks: A Complete Guide

Learn to persist environment variables across sessions using Claude Code hooks and CLAUDE_ENV_FILE. This guide shows how to export variables for continuous availability.

how-to-guide
Mar 30, 2026
Configuring HTTP Webhooks as Hooks in Claude Code: A Complete Guide

Learn to configure HTTP webhooks in Claude Code. Integrate real-time with CI, monitoring, and validation services using JSON payloads for tool events.

how-to-guide
Mar 30, 2026
Using Subagent Hooks for Validation in Claude Code: A Complete Security Guide

Secure your Claude Code with subagent hooks. This guide explains how these scripts intercept prompts and tool use, blocking dangerous operations for enhanced security.

how-to-guide
Mar 30, 2026
Claude Code Configuration: Project-Specific vs User-Specific Settings Explained

Master Claude Code configuration with project-specific vs user-specific settings. Understand the hierarchy and control your AI code environment effectively. Learn how settings.json and settings.local.json work.

how-to-guide
Mar 30, 2026
Tracking Context and Token Usage with Claude Code Hooks

Track Claude token usage and context effortlessly with code hooks. Intercept events, calculate deltas, and output stats without workflow disruption. Learn how.

how-to-guide
Mar 30, 2026
Configuring Claude Code Hooks for Specific Tools: A Complete Implementation Guide

Implement Claude Code hooks to automate scripts for specific tools like Write, Bash, or Read. Enforce security, format code, and validate commands automatically.

how-to-guide
Mar 30, 2026
Integrating GitHub MCP with Claude Code: Complete Setup and Usage Guide

Learn to integrate GitHub MCP with Claude Code using a local stdio server for direct repository interaction via slash commands. Complete setup and usage guide available.

how-to-guide
Mar 30, 2026
Securing Claude Code Hooks and Preventing Dangerous Commands: A Complete Guide

Learn to secure Claude Code hooks and prevent dangerous commands. This guide explains how to use validation scripts to block malicious prompts, shell commands, and leaked secrets for enhanced security.

how-to-guide
Mar 30, 2026
Creating Prompt-Based Hooks for Task Verification in Claude Code

Automate task verification in Claude Code using prompt-based hooks. Learn how to intercept session events and evaluate custom LLM prompts for seamless validation.

how-to-guide
Mar 30, 2026
Debugging Issues with Claude Code Hook Execution: A Complete Troubleshooting Guide

Fix Claude Code hook execution errors by verifying JSON configuration, script executability, and stdin/JSON handling. Learn troubleshooting steps for common issues.

how-to-guide
Mar 30, 2026
Running Claude Code in Headless or CI Mode: The Complete Print Mode Guide

Master running Claude Code in headless or CI mode using the Print mode with the claude -p command. Execute prompts non-interactively for automation and CI/CD pipelines.

how-to-guide
Mar 30, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →