Oracle Auto Rrr Hooks
Description
สอนตั้ง Claude Code hooks สำหรับ auto /rrr + /forward — ไม่ลืม wrap up session อีกต่อไป
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Oracle Auto /rrr + /forward Hooks
ไม่ลืม wrap up session อีกต่อไป — Claude Code hooks ทำให้อัตโนมัติ
ปัญหาที่แก้
เคยมีไหม?
- Session ยาว ๆ แล้ว context ล้น — ข้อมูลหาย ไม่ได้ /rrr
- ลืม /forward ก่อนจบ session — session ถัดไปไม่รู้ว่าทำอะไรค้าง
- Context เต็ม 90%+ แล้ว Claude compact อัตโนมัติ — retrospective หาย
**Hook ชุดนี้แก้ทุกปัญหาข้างต้น** โดยใช้ Claude Code Hooks (built-in feature)
Hooks ทั้งหมด
| Hook | Event | ทำอะไร |
|---|---|---|
force-rrr-at-80.sh |
PostToolUse | เตือนที่ 70%, บังคับที่ 80% ให้รัน /rrr + /forward |
auto-forward-on-stop.sh |
Stop | เตือนให้ /forward ก่อนจบ session |
statusline.sh |
StatusLine | แสดง context % แบบ real-time (hook อื่นอ่านค่าจากนี้) |
Quick Start (5 นาที)
# 1. Clone
git clone https://github.com/the-oracle-keeps-the-human-human/oracle-auto-rrr-hooks.git
cd oracle-auto-rrr-hooks
# 2. รันสคริปต์ติดตั้ง
./install.sh
# 3. เปิด Claude Code — hooks ทำงานทันที!
claude
สิ่งที่ต้องมีก่อน
- Claude Code (CLI)
jq—sudo apt install jqหรือbrew install jqpython3— มาพร้อม macOS/Linux ส่วนใหญ่
โครงสร้าง Repo
oracle-auto-rrr-hooks/
├── README.md # คุณอยู่ที่นี่
├── install.sh # สคริปต์ติดตั้งอัตโนมัติ
├── hooks/
│ ├── force-rrr-at-80.sh # PostToolUse — เตือน/บังคับ rrr
│ ├── auto-forward-on-stop.sh # Stop — เตือน forward
│ └── statusline.sh # StatusLine — แสดง context %
├── guide/
│ ├── 01-how-hooks-work.md # Claude Code Hooks ทำงานยังไง
│ ├── 02-context-percentage.md # Context % คืออะไร ทำไมต้องดู
│ ├── 03-force-rrr-hook.md # อธิบาย force-rrr-at-80 ทีละบรรทัด
│ ├── 04-stop-hook.md # อธิบาย auto-forward-on-stop ทีละบรรทัด
│ ├── 05-statusline-hook.md # อธิบาย statusline ทีละบรรทัด
│ ├── 06-customization.md # ปรับแต่งเอง — เปลี่ยน threshold, ข้อความ
│ └── 07-troubleshooting.md # แก้ปัญหาที่พบบ่อย
├── examples/
│
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development