the-oracle-keeps-the-human-human

Oracle Auto Rrr Hooks — Development skill for Claude Code

Development community

สอนตั้ง Claude Code hooks สำหรับ auto /rrr + /forward — ไม่ลืม wrap up session อีกต่อไป.

How to install Oracle Auto Rrr Hooks

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the-oracle-keeps-the-human-human/oracle-auto-rrr-hooks and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Oracle Auto Rrr Hooks does

สอนตั้ง Claude Code hooks สำหรับ auto /rrr + /forward — ไม่ลืม wrap up session อีกต่อไป.

Alternatives in Development

  • Om Weekly — Weekly synthesis — cross-session review of vault activity, North Star alignment, patterns, uncaptured wins, an 4.6k ★
  • Ccmanager — 940+ Session manager supporting 8 coding agents with smart auto-approval 946 ★
  • Working Memory — This is your working memory 192 ★

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 jq
  • python3 — มาพร้อม 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/
│