Agent Context Isolation
The English summary is being prepared. Showing the original description.
Hook Development Rules
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
When working with files in .claude/hooks/:
Shell wrapper (.sh) → TypeScript (.ts) via npx tsx
#!/bin/bash
set -e
cd "$CLAUDE_PROJECT_DIR/.claude/hooks"
cat | npx tsx <handler>.ts
interface HookInput {
// Event-specific fields
}
async function main() {
const input: HookInput = JSON.parse(await readStdin());
// Process input
const output = {
result: 'continue', // or 'block'
message: 'Optional system reminder'
};
console.log(JSON.stringify(output));
}
Test hooks manually:
echo '{"type": "resume"}' | .claude/hooks/session-start-continuity.sh
Add hooks to .claude/settings.json:
{
"hooks": {
"EventName": [{
"matcher": ["pattern"], // Optional
"hooks": [{
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/hook.sh"
}]
}]
}
}
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Agent Context Isolation
The English summary is being prepared. Showing the original description.
Agent Orchestration Rules
The English summary is being prepared. Showing the original description.
Agentic Workflow Pattern
The English summary is being prepared. Showing the original description.
Guide for integrating Agentica SDK with Claude Code CLI proxy
The English summary is being prepared. Showing the original description.
Reference guide for Agentica multi-agent infrastructure APIs
The English summary is being prepared. Showing the original description.
Write reliable prompts for Agentica/REPL agents that avoid LLM instruction ambiguity
The English summary is being prepared. Showing the original description.