Claude Code hook

Gggodlin CC Harness

Governance layer of a personal Claude Code harness: gates, hooks, review and spec-to-ticket workflow. Reference, not a turnkey install.

73 stars 5 forksHooks Source

Install

From source
git clone https://github.com/GGGODLIN/gggodlin-cc-harness.git

From the README

claude-harness(治理部分的公開版)

https://github.com/user-attachments/assets/0421df31-50ee-447b-a314-a471e8e156a3

English summary

This repository is the governance part of one person's Claude Code harness: always-on rules (CLAUDE.md, rules/), hooks that enforce some of those rules mechanically, the skills, commands and agents that the workflow depends on, and the systems around them — a memory system, a trial (observation period) ledger, a friction log, a daily local analysis report, cc-session-index (ccsi, an FTS5 trigram session transcript indexer), and compact-guard, which keeps evidence across context compaction. Personal customisation (status line, personal tools, blog pipeline, account and browser setup) is not included.

The rules are written in Traditional Chinese and are not translated. If you want them in another language or in your own style, ask Claude to translate or rewrite the files you pick.

It is a reference, not a product. You can install single pieces, but nothing guarantees the whole set runs on your machine. Places where the owner's private wiring was removed are marked in place and listed in WIRING.md. Issues are welcome, with no promise of a response. Pull requests are not accepted: this repository is regenerated from a private source on every publish, so a merged pull request would be overwritten by the next export. If you have an improvement, open an issue that describes it.

這是什麼

一份個人 Claude Code 設定裡「治理」那一半的公開版。包含:

- 常駐規則:CLAUDE.md、rules/、output-styles/,以及規則引用的 references/。
- hook:把部分規則從「靠模型自律」改成機械檢查,註冊寫在 settings.json。
- skill、command、agent 與審查標準:規劃、實作、審查、查證這條工作流用到的部分,以及按變更條件載入的 34 份審查標準(review-standards/)。
- 四套制度:memory(跨 session 記憶)、wiki(收斂後的知識條目)、trial(新工具與新機制的觀察期帳本)、摩擦紀錄(卡住、繞路、規則沒被遵守的事件)。四套都只公開機制,內容換成 examples/ 裡的虛構範例。
-…
Read the full README on GitHub

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs

Details

Type
Hooks
Language
Python
License
MIT
Last updated
3 November 2026

FAQ

What is Gggodlin CC Harness?

Governance layer of a personal Claude Code harness: gates, hooks, review and spec-to-ticket workflow. Reference, not a turnkey install. It is a hook for Claude Code, from GGGODLIN/gggodlin-cc-harness on GitHub.

How do I install Gggodlin CC Harness?

Clone GGGODLIN/gggodlin-cc-harness from GitHub and follow the setup steps in its README.

Is Gggodlin CC Harness popular?

GGGODLIN/gggodlin-cc-harness has 73 GitHub stars and 5 forks. It was last updated on 3 November 2026.

More hooks

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.