Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Rockheungv0.1.0MITIn 1 marketplace
규범 문서를 Read 도구로 읽은 줄 범위를 장부에 기록하고, 전문을 읽지 않은 문서를 근거로 삼는 서브에이전트 지시문·파일 쓰기·셸 명령·최종 답변을 막는다.
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; reads files; reads environment variables (HOME).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
규범 문서(원칙·규칙·명세)를 Read 도구로 읽은 줄 범위를 장부에 기록하고, 전문을 읽지 않은 문서를 근거로 삼는 출력을 막는 Claude Code mod(함수 훅 플러그인).
메인 루프에서 아래 입력에 등록된 문서의 트리거(mentions 정규식)가 있는데, 그 문서의 읽지 않은 줄이 남아 있으면 거부한다.
| 훅 | 입력 | 거부 방식 |
|---|---|---|
tool.call Agent | prompt | deny |
tool.call Write | content | deny |
tool.call Bash | command | deny |
classic.Stop | 최종 답변 | block (stop_hook_active 인 두 번째 시도는 통과) |
거부 사유에는 읽지 않은 구간(예: 읽지 않은 구간 11-52줄)이 들어간다.
Read 결과의 startLine·numLines·totalLines 로 읽은 구간을 문서별로 합친다. 여러 번에 나눠 읽어 전체를 덮으면 열린다.Read 는 기록하지 않는다.session.compact)과 /clear 뒤에는 장부를 비운다.Bash 의 sed·grep·head 로 읽은 것은 기록되지 않는다.~/.claude/normative-docs.json 을 세션 시작 때 읽는다. 없거나 깨져 있으면 아무것도 막지 않는다.
[
{ "path": "docs/PRINCIPLES.md", "mentions": "원칙\\s*\\d+|PRINCIPLES\\.md" }
]
path: 문서 경로의 접미사. 절대 경로가 이 접미사(/ 포함)로 끝나는 파일이 대상이다.mentions: 입력에 이 정규식이 있으면 그 문서를 근거로 삼는 것으로 본다..catch 를 두지 않았다. 훅이 실패하면 통과한다. mentions 가 잘못된 정규식이면 게이트가 꺼진다.Read 하면 풀린다.claude plugin validate plugins/read-ledger
cd plugins/read-ledger && claude plugin test
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub rockheung/plugings --plugin read-ledger