hooks
Skill3.9k starsChanged 11 months agoMITView on GitHub
Hook Development Rules
13 other projects use a version of this.
Trending
Quiet since October.thin dataabout the whole repository
Most recently taken up by
- adrijshikhar/catalysttheir own version, first seen Sep 4, 2026
- Samin12/skillstheir own version, first seen Aug 14, 2026
- Data-Wise/crafttheir own version, first seen Aug 8, 2026
- donatassimkus/claude-ai-skillstheir own version, first seen Jul 23, 2026
- hzblj/skillstheir own version, first seen Jul 15, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Jul 14, 2026
Who's talking about parcadei/Continuous-Claude-v3
- @tom-doerr.bsky.social“https://github.com/parcadei/Continuous-Claude-v3”Bluesky · Apr 21, 2026 · 1 likes
- sudosubin/agents.nix“claude-code-plugins.github.parcadei.continuous-claude-v3: init at 0-unstable-2026-01-26”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.parcadei.continuous-claude-v3: init at 0-unstable-2026-01-26”GitHub · Oct 1, 2026
- jimy-r/awesome-agent-workspaces“Add Reef to Skills and instruction management”GitHub · Sep 27, 2026
- jimy-r/awesome-agent-workspaces“Maintained-bar check: entries to review”GitHub · Sep 14, 2026
The biggest 5 of 12 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 12
Talked about on GitHub and Bluesky (12 times).
On GitHub · 11
- Oct 4, 2026claude-code-plugins.github.parcadei.continuous-claude-v3: init at 0-unstable-2026-01-26 — sudosubin/agents.nix0 reactions
- Oct 1, 2026agent-skills.github.parcadei.continuous-claude-v3: init at 0-unstable-2026-01-26 — sudosubin/agents.nix0 reactions
- Sep 27, 2026Add Reef to Skills and instruction management — jimy-r/awesome-agent-workspaces0 reactions · 1 comment
- Sep 14, 2026Maintained-bar check: entries to review — jimy-r/awesome-agent-workspaces0 reactions
- Sep 13, 2026ci: SHA-pin third-party actions and split the 90-day flag from the 365-day breach — jimy-r/awesome-agent-workspaces0 reactions
6 more on GitHub
- Aug 31, 2026Maintained-bar check: entries to review — jimy-r/awesome-agent-workspaces0 reactions · 2 comments
- Apr 25, 2026Audit candidate: parcadei/Continuous-Claude-v3 — xiaolai/nlpm0 reactions · 2 comments
- Apr 1, 2026Profile: continuous-claude-v3 — nota-america/forgecat-agent-profiles0 reactions
- Feb 10, 2026feat(hooks): TLDR-lite file summaries — AST-based token reduction for large file reads — yonatangross/orchestkit0 reactions · 2 comments
- Jan 11, 2026manylinux 2_28 can't build working postgres binaries — pypa/manylinux0 reactions · 2 comments
- Dec 12, 2025dec 2025 jan 2026 — kimtth/azure-openai-llm-notes0 reactions
On Bluesky · 1
- Apr 21, 2026https://github.com/parcadei/Continuous-Claude-v3 — @tom-doerr.bsky.social1 likes and repost
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- nimadorostkar/Claude-Skills-collection★ 28same name
- AI-Answer/ContentRepurposeSystem★ 20same name
- duncan-buildroom/profit-room-skills★ 18same name
- coopersimson96/ai-content-system★ 17same name
- Samin12/skills★ 9same name
- Data-Wise/craft★ 4same name
- Epistates/sparX★ 3same name
- donatassimkus/claude-ai-skills★ 1same name
- hzblj/skills★ 1same name
- MaGe1993/Claude-Code-Base-Harness★ 1same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository107 other files it gives its agents.
- agent-context-isolationSkill
- agentica-claude-proxySkill
- agentica-infrastructureSkill
- agentica-promptsSkill
- agentica-sdkSkill
- agentica-serverSkill
- agentica-spawnSkill
- agentic-workflowSkill
- agent-orchestrationSkill
- ast-grep-findSkill
- async-repl-protocolSkill
- background-agent-pingsSkill
- braintrust-analyzeSkill
- braintrust-tracingSkill
- buildSkill
- cli-referenceSkill
- commitSkill
- complete-skillSkill
- completion-checkSkill
- compound-learningsSkill
- continuity-ledgerSkill
- create-handoffSkill
- dead-codeSkill
- debug-hooksSkill
- debugSkill
- describe-prSkill
- discovery-interviewSkill
- environment-triageSkill
- explicit-identitySkill
- exploreSkill
- firecrawl-scrapeSkill
- fixSkill
- git-commitsSkill
- github-searchSkill
- graceful-degradationSkill
- helpSkill
- hook-developerSkill
- idempotent-redundancySkill
- implement_plan_microSkill
- implement_planSkill
- implement_taskSkill
- index-at-creationSkill
- llm-tuning-patternsSkill
- loogle-searchSkill
- math-helpSkill
- math-routerSkill
- mathSkill
- mcp-chainingSkill
- mcp-scriptsSkill
- migrateSkill
- modular-codeSkill
- morph-applySkill
- morph-searchSkill
- motSkill
- nia-docsSkill
- no-polling-agentsSkill
- no-task-outputSkill
- observe-before-editingSkill
- onboardSkill
- opc-architectureSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
When working with files in .claude/hooks/:
- Distinctive: line 43
PreToolUse: - Before tool execution (can block)
- Distinctive: line 44
PostToolUse: - After tool execution
- Distinctive: line 45
UserPromptSubmit: - Before processing user prompt
- Distinctive: line 46
PreCompact: - Before context compaction
- Distinctive: line 48
Stop: - When agent finishes
- Very specific: line 57
Add hooks to .claude/settings.json:
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hook Development Rules
When working with files in .claude/hooks/:
Pattern
Shell wrapper (.sh) → TypeScript (.ts) via npx tsx
Shell Wrapper Template
#!/bin/bash
set -e
cd "$CLAUDE_PROJECT_DIR/.claude/hooks"
cat | npx tsx <handler>.tsTypeScript Handler Pattern
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));
}Hook Events
- PreToolUse - Before tool execution (can block)
- PostToolUse - After tool execution
- UserPromptSubmit - Before processing user prompt
- PreCompact - Before context compaction
- SessionStart - On session start/resume/compact
- Stop - When agent finishes
Testing
Test hooks manually:
echo '{"type": "resume"}' | .claude/hooks/session-start-continuity.shRegistration
Add hooks to .claude/settings.json:
{
"hooks": {
"EventName": [{
"matcher": ["pattern"], // Optional
"hooks": [{
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/hook.sh"
}]
}]
}
}Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

