Topics / #hooks
Hooks projects on GitHub
React hooks patterns for state and effects
As of , the most-starred Hooks projects on GitHub are zustand (58.8K stars), query (50.4K stars) and react-hook-form (44.9K stars). GitHub.Locker tracks 66 Hooks repositories with 1.2M stars combined. The fastest-growing on October 16 was context-mode, with +432 stars in a day.
Hot right now
Most stars gained in a day · Oct 16
+432context-mode
mksglu/context-mode · ★ 30.3KContext Mode is an MCP server plus hooks that keeps bulky tool output out of your AI coding agent's context window (98% reduction), persists session memory, and enforces tool routing across 17 platforms.
+90Baize
Xu123-Bob/Baize · ★ 557Baize is an open-source AI coding agent CLI that acts as a drop-in alternative to Claude Code CLI, letting you describe tasks in natural language while it writes, edits, and runs code for you.
+76PilotDeck
OpenBMB/PilotDeck · ★ 4.5KAn open-source agent operating system for task-oriented, multi-project productivity work, where AI agents run real projects in isolated WorkSpaces. Jointly developed by Tsinghua THUNLP, ModelBest, OpenBMB and AI9Stars.
+61Claude-Code-Game-Studios
Donchitos/Claude-Code-Game-Studios · ★ 26.7KA template that turns a Claude Code session into a structured game studio: 49 specialized AI agents led by directors, 73 slash-command skills, 12 validation hooks, and 41 document templates.
The all-time top
66 projects · by stars
- 58.8K
#1 · pmndrs/zustandzustand
Zustand is a small, fast state-management library for React built on simplified flux principles, with a hook-based API that is not boilerplate-heavy or opinionated.
- 50.4K
#2 · TanStack/query
query
TanStack Query is an async state management library that simplifies fetching, caching, synchronizing, and updating server state in web apps.
- 44.9K
#3 · react-hook-form/react-hook-formreact-hook-form
React Hook Form is a library of React Hooks for building and validating forms, usable in both web apps and React Native apps.
- 4

react-use
44Kstreamich/react-use · TypeScriptreact-use is a large collection of reusable React Hooks covering sensors, UI interactions, animations, side-effects, lifecycles, and state management.
- 5
claude-howto
41.9Kluongnv89/claude-howto · PythonA free, open-source guide to Claude Code: 10 visual tutorial modules with Mermaid diagrams and copy-paste templates that take you from your first slash command to advanced agent setups in 11-13 hours.
- 6

styled-components
41.1Kstyled-components/styled-components · TypeScriptA CSS-in-JS library for React: styles are written in JavaScript and turned into styled components, with one API across server components, client components, streaming SSR and React Native.
- 7
ink
40.1Kvadimdemedes/ink · TypeScriptInk is React for the terminal: a library for building interactive command-line apps out of components, with the same component-based UI experience React offers in the browser.
- 8
preact
38.9Kpreactjs/preact · JavaScriptPreact is a fast, 3kB alternative to React that implements the same modern API, including Components and Virtual DOM.
- 9

husky
35.4Ktypicode/husky · JavaScriptHusky is a tool that makes it easy to set up and manage Git hooks, so scripts run automatically on Git events like commits or pushes.
- 10

formik
34.3Kjaredpalmer/formik · TypeScriptFormik is a small React library for building forms: it handles the three most annoying parts - getting values in and out of form state, validation and error messages, and handling form submission.
- 11

oh-my-codex
33.6KYeachan-Heo/oh-my-codex · TypeScriptOMX (oh-my-codex) is a workflow layer on top of OpenAI's Codex CLI that adds hooks, agent teams, HUDs, prompts, and canonical workflow commands like $plan, $ultragoal, $team, $code-review, and $ultraqa, while keeping Codex itself as the execution engine.
- 12

swr
32.5Kvercel/swr · TypeScriptSWR is a React Hooks library for data fetching. The name comes from stale-while-revalidate (HTTP RFC 5861): cached data is shown first, then the request revalidates and fresh data updates the UI.
- 13
mantine
31.8Kmantinedev/mantine · TypeScriptMantine is a fully featured React components library: @mantine/core alone ships 100+ components, and companion packages cover forms, charts, notifications, editors and more.
- 14

context-mode
30.3Kmksglu/context-mode · TypeScriptContext Mode is an MCP server plus hooks that keeps bulky tool output out of your AI coding agent's context window (98% reduction), persists session memory, and enforces tool routing across 17 platforms.
- 15

agentmemory
29.6Krohitg00/agentmemory · TypeScriptPersistent memory for AI coding agents: it captures what your agent does, compresses it into searchable memory, and injects the right context when the next session starts, so you stop re-explaining your project to Claude Code, Cursor or Codex.
- 16

react-spring
29.2Kpmndrs/react-spring · TypeScriptreact-spring is a spring-physics-based animation library for React, letting you animate values fluidly instead of using fixed-duration easing curves.
- 17
crush
28.7Kcharmbracelet/crush · GoA terminal-based AI coding agent from Charm: it wires your tools, code, and workflows into the LLM of your choice and works as a coding partner right in your terminal.
- 18
table
28.5KTanStack/table · TypeScriptTanStack Table is a headless table library for building powerful datagrids in TypeScript and JavaScript. You may know it by its adapter names — React Table, Vue Table, Solid Table, Svelte Table.
- 19

planning-with-files
27.5KOthmanAdi/planning-with-files · PythonA skill for AI coding agents that keeps the plan on disk in three markdown files — taskplan.md, findings.md and progress.md — and re-injects it every turn, so it survives /clear, crashes and context compaction.
- 20

grok-build
27.4Kxai-org/grok-build · RustGrok Build is SpaceXAI's terminal-based AI coding agent. It runs as a full-screen TUI that understands your codebase, edits files, executes shell commands, searches the web, and manages long-running tasks, either interactively, headlessly for scripting/CI, or embedded in editors via the Agent Client Protocol (ACP).
- 21

ai
27.4Kvercel/ai · TypeScriptIt's the AI SDK — a free, open-source TypeScript toolkit from Vercel (the Next.js team) for building AI-powered applications and agents with Next.js, React, Svelte, Vue, Angular and Node.js.
- 22

Claude-Code-Game-Studios
26.7KDonchitos/Claude-Code-Game-Studios · ShellA template that turns a Claude Code session into a structured game studio: 49 specialized AI agents led by directors, 73 slash-command skills, 12 validation hooks, and 41 document templates.
- 23

LSPosed
25.1KLSPosed/LSPosed · JavaLSPosed is an Android hooking framework shipped as a Riru/Zygisk Magisk module. It gives modules the original Xposed APIs to change the behavior of the system and apps without touching any APKs.
- 24
passport
23.5Kjaredhanson/passport · JavaScriptPassport is Express-compatible authentication middleware for Node.js. Its sole purpose is authenticating requests, which it does through an extensible set of plugins called strategies.
- 25

jotai
21.3Kpmndrs/jotai · TypeScriptJotai is a primitive and flexible state management library for React. It scales from a simple useState replacement all the way to an enterprise TypeScript application.
- 26

Recoil
19.4Kfacebookexperimental/Recoil · JavaScriptRecoil is an experimental state management library for React apps, built to add capabilities that are hard to get with plain React (like shared derived state and fine-grained updates), while staying compatible with React's newest features.
- 27

cz-cli
17.5Kcommitizen/cz-cli · JavaScriptA free, open-source Node.js CLI that prompts you for commit message fields at commit time, so every message follows your project's convention — no digging through CONTRIBUTING.md, no hook rejections.
- 28

OpenHarness
16KHKUDS/OpenHarness · PythonOpenHarness is an open-source Python agent harness: the infrastructure that turns an LLM into a working agent with tool use, skills, memory and multi-agent coordination. It also ships ohmo, a personal agent that works for you in chat apps.
- 29

react-spectrum
16Kadobe/react-spectrum · TypeScriptAdobe's open-source collection of libraries and tools for building adaptive, accessible, and robust user experiences with React.
- 30
hooks
15Kalibaba/hooks · TypeScriptThis is ahooks, a high-quality and reliable React Hooks library from Alibaba, bundling a large set of ready-made hooks for everyday React development.
- 31

recompose
14.8Kacdlite/recompose · JavaScriptRecompose is a React utility belt for function components and higher-order components — think of it as lodash for React: a toolkit of small, composable helper functions rather than an app or a framework.
- 32

nginx-rtmp-module
14Karut/nginx-rtmp-module · Cnginx-rtmp-module turns NGINX into a media streaming server, adding RTMP, HLS and MPEG-DASH live streaming plus RTMP video-on-demand playback of FLV/MP4 files.
- 33
react-redux-typescript-guide
13.3Kpiotrwitek/react-redux-typescript-guide · TypeScriptA living guide collecting the most important patterns and recipes for using React and Redux in a fully type-safe way with TypeScript, favoring type inference over manual type annotations.
- 34
snabbdom
12.4Ksnabbdom/snabbdom · TypeScriptSnabbdom is a virtual DOM library focused on simplicity, modularity, powerful features and performance. You describe your UI as vnodes and it efficiently patches the real DOM to match.
- 35
downshift
12.3Kdownshift-js/downshift · JavaScriptA set of primitives for building your own autocomplete, combobox, select dropdown or multi-select tag-group components in React, with WAI-ARIA accessibility built in.
- 36

webhook
12.2Kadnanh/webhook · GoWebhook is a lightweight Go server that exposes HTTP endpoints (hooks) and runs a configured shell command whenever that endpoint receives a request, optionally passing along headers, payload, or query data.
- 37

matrix
12.1KTencent/matrix · JavaMatrix is an APM (Application Performance Management) system developed by WeChat to monitor, locate and analyse performance problems in mobile apps. It runs in production inside WeChat itself.
- 38

BiliRoaming
11.5Kyujincheng08/BiliRoaming · KotlinBiliRoaming (哔哩漫游) was an Xposed module that unblocked region-restricted bangumi (anime) in the Android Bilibili app, with a few miscellaneous extra features. The repo is now archived, and its README is a cease-and-desist letter from Bilibili's lawyers.
- 39

usehooks
11.5Kuidotdev/usehooks · MDXuseHooks is a collection of modern, server-safe React hooks maintained by the ui.dev team, covering common needs like debouncing, local storage, media queries, and geolocation.
- 40

nitro
11.3Knitrojs/nitro · TypeScriptNitro is a server toolkit that extends your Vite app with a production-ready server you can add routes to and deploy anywhere.
- 41

beef
11.1Kbeefproject/beef · JavaScriptBeEF (Browser Exploitation Framework) is a penetration testing tool that focuses on the web browser, letting a tester assess the real security posture of a target by using client-side attack vectors instead of network-perimeter exploits.
- 42

jira_clone
11.1Koldboyxx/jira_clone · JavaScriptA simplified Jira clone: a web app with a React/Babel client and a Node/TypeScript API. A React consultant built it as a showcase of a modern, real-world React codebase to read and learn from, not as a production product.
- 43

react-dropzone
11Kreact-dropzone/react-dropzone · TypeScriptreact-dropzone is a React hook that turns any element into an HTML5-compliant drag-and-drop zone for files, handling the browser drag events and file selection for you.
- 44
nuqs
10.9K47ng/nuqs · TypeScriptnuqs is a type-safe state manager for React that keeps state in the URL query string — like useState, but the value lives in the URL and survives sharing or reloading the page.
- 45

awesome-react-hooks
10.3Krehooks/awesome-react-hooksA curated (awesome) list of React Hooks resources: official docs, discussions, tutorials, videos, podcasts, dev tools, other hook catalogs, and dozens of individual hook npm packages.
- 46
valtio
10.2Kpmndrs/valtio · TypeScriptValtio is a small state-management library: you wrap any JS object and it becomes a self-aware proxy, so React components re-render automatically when the data they read changes. It also works without React.
- 47
react-i18next
10.1Ki18next/react-i18next · JavaScriptreact-i18next is a library that adds internationalization to React apps: you translate your UI through the i18next ecosystem instead of hardcoding strings.
- 48

claude-code-infrastructure-showcase
10Kdiet103/claude-code-infrastructure-showcase · TypeScriptA curated reference library of production-tested Claude Code infrastructure — hooks, skills and agents extracted from 6 months of daily use on a real TypeScript microservices project. It fixes the problem that skills do not activate automatically and shows patterns that scale Claude Code for enterprise development.
- 49

pixel-agents
9.7Kpixel-agents-hq/pixel-agents · TypeScriptPixel Agents turns the AI coding agents running in your terminals into animated pixel-art characters working in a tiny office — they walk to desks, type when editing files, read when searching, and flag you visually when stuck waiting for input.
- 50

plannotator
9.5Kbacknotprop/plannotator · TypeScriptPlannotator is a local, browser-based review surface for AI coding agents: when your agent proposes a plan, HTML, or finishes writing code, the work opens in your browser so you can annotate it and send feedback straight back to the agent.
- 51
harness-sdk
8.8Kstrands-agents/harness-sdk · PythonStrands Agents - an open-source SDK for building and running AI agents in Python and TypeScript, with a model-driven approach where a working agent takes just a few lines of code.
- 52

capsule-memory
8.4Kunicity-aos/capsule-memory · RustIt is a 'capsule' (plugin) for Astrid OS / Unicity AOS agents that gives them cross-session memory: it reads a local memory file from the workspace and injects its content into the system prompt so the agent remembers what happened in previous sessions.
- 53

superpowers-zh
8.3KjnMetaCode/superpowers-zh · JavaScriptThe Chinese community edition of superpowers — a skills framework for AI coding tools. It installs 20 battle-tested workflow skills (brainstorming, planning, TDD, debugging, code review) into 26 AI coding agents so they follow proven work methods.
- 54

kimi-code
7.9KMoonshotAI/kimi-code · TypeScriptKimi Code CLI is an AI coding agent that runs in your terminal — it reads and edits code, runs shell commands, searches files, fetches web pages, and decides the next step based on the feedback it gets. It works with Moonshot AI's Kimi models out of the box and can be configured to use other compatible providers.
- 55

agent-scripts
7.4Ksteipete/agent-scripts · ShellA personal toolbox for AI coding agents: shared agent instructions, reusable workflow skills and small portable scripts kept in one canonical repo and synced into the author's Codex and Claude Code setups.
- 56
n8n-skills
6.4Kczlonkowski/n8n-skills · ShellA set of 14 Claude Code skills (plus a router skill and hooks enforcement layer) that teach AI assistants how to build production-ready n8n workflows using the n8n-mcp MCP server, and how to self-host n8n to run them.
- 57

claude-code-showcase
6.1KChrisWiles/claude-code-showcase · JavaScriptA reference repository showing a full Claude Code project configuration: hooks, skills, agents, slash commands, MCP servers, LSP integration, and GitHub Actions workflows that you can copy into your own project.
- 58
failproofai
5.6KFailproofAI/failproofai · TypeScriptFailproof AI is an observability and enforcement layer that sits inside AI agent harnesses (coding CLIs, chat gateways, self-hosted assistants), capturing every run and blocking dangerous tool calls before they execute.
- 59

peon-ping
5.1KPeonPing/peon-ping · Shellpeon-ping plays Warcraft III Peon voice lines and shows bold on-screen banners whenever your AI coding agent (Claude Code, Codex, Cursor, and others) finishes a task or needs your input, so you stop babysitting the terminal and losing focus.
- 60

PilotDeck
4.5KOpenBMB/PilotDeck · TypeScriptAn open-source agent operating system for task-oriented, multi-project productivity work, where AI agents run real projects in isolated WorkSpaces. Jointly developed by Tsinghua THUNLP, ModelBest, OpenBMB and AI9Stars.
- 61

Continuous-Claude-v3
3.9Kparcadei/Continuous-Claude-v3 · PythonContinuous Claude is a plugin/environment layered on top of Claude Code that adds persistent memory, context-efficient handoffs, and multi-agent orchestration so Claude keeps learning across sessions instead of losing context on compaction.
- 62

Athena-Public
615winstonkoh87/Athena-Public · PythonAthena is a local-first memory layer for AI coding agents: it stores your working context as plain Markdown files on your own disk so any model or IDE can pick up where the last one left off.
- 63

Baize
557Xu123-Bob/Baize · JavaScriptBaize is an open-source AI coding agent CLI that acts as a drop-in alternative to Claude Code CLI, letting you describe tasks in natural language while it writes, edits, and runs code for you.
- 64

browser-use-pi
431browser-use/browser-use-pi · TypeScriptBrowser Use Pi is a tiny TypeScript SDK that lets an AI agent write live JavaScript to drive a real Chrome browser over the raw DevTools Protocol, instead of calling a fixed set of browser actions.
- 65

squeez
217claudioemmanuel/squeez · RustSqueez is a hook-based token compressor for seven AI coding CLI hosts (Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI, Pi, Hermes) that intercepts tool output and shrinks bash results by up to 95% without losing exact identifiers.
- 66

procoder
211azrtydxb/procoder · GoA discipline layer for AI coding agents: one Go binary that gives the agent a commit gate it cannot talk its way past, quality controllers that refuse to call unfinished work done, and a self-learning loop for escaped bugs.
Related topics
Often tagged together