yucai0302

7 mods across 1 repository, 32 stars between them.

memory-compressor

01

yucai0302/memory-loop

Agent Claude Code

Compresses the project memory hot layer when it grows too large. Reads MEMORY.md and schema.yaml, archives older entries into archive.md, and rewrites MEMORY.md keeping only recent high-value entries. Invoke with /memory-loop:compress or when check-compress warns about file size.

not rated 32 4mo ago A 60 tokens

compress

02

yucai0302/memory-loop

Command Claude Code

Compress project memory. Archives older entries from MEMORY.md into archive.md to keep the hot layer lean. Run when memory-loop warns about file size.

not rated 32 4mo ago A 29 tokens

save

03

yucai0302/memory-loop

Command Claude Code

Save current session work to project memory. Updates MEMORY.md with completed tasks, decisions, and discoveries from this session.

not rated 32 4mo ago A 23 tokens

status

04

yucai0302/memory-loop

Command Claude Code

Show project memory status: file size, section counts, and whether compression is recommended.

not rated 32 4mo ago A 17 tokens

SessionStart

05

yucai0302/memory-loop

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing session-start.sh via bash. From yucai0302/memory-loop.

not rated 32 4mo ago A tokens not measured

Stop

06

yucai0302/memory-loop

Hook Claude Code

One of 2 in hooks.json

Runs when the agent finishes a response, executing check-compress.sh via bash. From yucai0302/memory-loop.

not rated 32 4mo ago A tokens not measured

memory-loop

07

yucai0302/memory-loop

Skill Claude CodeCodex

Update project memory after completing a task, making a key decision, discovering a gotcha, or changing active goals. Use this skill at the end of any meaningful unit of work to write structured entries into .claude/memory/MEMORY.md following the project schema. Also use when the user asks to save memory, update…

not rated 32 4mo ago A 76 tokens