Directory · Hooks
Dao Code
Open-source TypeScript terminal coding agent for DeepSeek V4, inspired by Claude Code, tuned for prefix-cache reuse to keep token costs low.
★ 788 stars · last updated 2026-10-28 · Free, open source · View on GitHub
Best for
- Developers who want a Claude Code-style terminal agent running on DeepSeek V4
- Users in mainland China who cannot easily access Anthropic services
- Cost-sensitive long autonomous coding tasks relying on high cache hit rates
- Teams reusing Claude Code-style Skills, MCP servers, and Hooks configs
Install
curl -fsSL https://raw.githubusercontent.com/tigicion/dao-code/master/install.sh | sh
npm i -g dao-code
Our take
This is a standalone coding agent rather than a hooks package; it supports Hooks across 5 lifecycle events alongside Skills, MCP, subagents, and plugins, and claims Claude Code config compatibility. Its distinguishing focus is byte-stable prompt prefixes and cache-reusing forks for memory and reflection, with self-reported benchmark and cost figures (95.8% cache hit, 70/89 on Terminal-Bench 2.1). It targets DeepSeek specifically, is Chinese-first, and is MIT licensed with recent activity.
Similar hooks
- Claude Code Ultimate Guide: Large open guide to Claude Code covering agent workflows, hooks, skills, MCP, security, and team adoption, with reusable templates.
- dcg (Destructive Command Guard): Rust pre-execution hook that blocks destructive shell, git, filesystem, database, and cloud commands run by AI coding agents.
- Claude Code Showcase: Example Claude Code project config with hooks, skills, agents, slash commands, MCP setup, and GitHub Actions workflows to copy from.
- Claude Code Hooks Mastery: Reference project implementing all 13 Claude Code hook events as UV Python scripts, plus sub-agents, status lines, and output styles.
- Continuous Claude v3: Hooks, skills, and agents that keep Claude Code context across sessions via YAML handoffs, ledgers, and a PostgreSQL memory store.
- Build with Claude: Plugin marketplace and discovery hub of agents, commands, hooks, and skills for Claude Code users extending their workflows.