Cli Tweaks banner
KilimcininKorOglu KilimcininKorOglu

Cli Tweaks

Development community

Description

A collection of hooks and skills for Factory Droid and Claude Code that add planning automation, persistent memory, smart commits, and more. Drop them into your home directory and they work out of the box.

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

cli-tweaks

[Türkçe](README.tr.md)

A collection of hooks, skills, and output styles for Factory Droid and Claude Code that add planning automation, persistent memory, smart commits, and more. Drop them into your home directory and they work out of the box. The two platforms share the same behavior, mirrored under `factory/` and `claude/`, diverging only where a platform contract requires it.

What's Included

Hooks

Hook Event Description
session-start.py SessionStart/compact Injects global user files and project memory into context
save-plan.py PreToolUse Notifies while a plan waits for approval; also saves the plan to disk on Factory
notify-ask.py PreToolUse Notifies while a question waits for an answer, with the first question's header
notify-stop.py Stop/StopFailure Notifies when the turn ends, with a one-line excerpt of the final message or the error
memory-save.py Stop Reminds the agent to update MEMORY.md; offloads old entries to topic files near the line cap and migrates a malformed file to the standard structure
memory-reinject.py UserPromptSubmit Re-injects MEMORY.md critical rules (every 5th msg) and the full global instruction file (every 15th) to counter recency bias
compact-reinject.py SessionStart:compact Re-injects instruction files (via argv) after context compaction
git-protect.py PreToolUse (Bash) Blocks git add -f/--force on files listed in the global gitignore
notify.py (helper module) Cross-platfo