claude

smart-compact

Steered /compact without questions — a tuned /compact instruction on the clipboard, a handoff file re-injected after compaction, a full session backup right before it, and a bounded search the model uses instead of guessing.

1 on GitHubby Roy Padinav0.3.2MITupdated 2 days agoproductivity
/

Plugin smart-compact from marketplace padina in roypadina/padina-claude-code-plugins. Commands read from the repo's manifest — yesterday.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Slash commands (1)

  • /smart-compact:smart-compact

    Read the session (no questions asked), then copy a complete, mode-tuned /compact instruction to the clipboard plus write an on-disk handoff file — and a full session backup is taken right before the compaction — so compaction keeps the decisions, reasons and paths the default summarizer throws away.

Hooks (3)

  • PreCompact

    test -f "${CLAUDE_PLUGIN_ROOT}/scripts/smart_compact.py" && python3 "${CLAUDE_PLUGIN_ROOT}/scripts/smart_compact.py" hook-precompact || exit 0

  • SessionStart

    test -f "${CLAUDE_PLUGIN_ROOT}/scripts/smart_compact.py" && python3 "${CLAUDE_PLUGIN_ROOT}/scripts/smart_compact.py" hook-sessionstart || exit 0

  • Stop

    test -f "${CLAUDE_PLUGIN_ROOT}/scripts/smart_compact.py" && python3 "${CLAUDE_PLUGIN_ROOT}/scripts/smart_compact.py" hook-nag || exit 0

View source on GitHub apps.roypadina.synology.me

More from roypadina/padina-claude-code-plugins

All 13 plugins →

Name, label, flag, annotate, schedule and close out Claude Code sessions — Claude does it for you, and agentctl shows it in its session picker.

1 skill · 9 commands · hooks

1

Mid-session recap, a pause that brings background agents and jobs to a safe stop before a reboot or sleep, a resume-all check after sleep/network/account disruptions, and an end-of-session close-out that closes the session on "close" — so nothing a Claude Code session started falls through the cracks.

4 commands · hooks

1

Keeps any Obsidian vault's structure under control: a Vault Structure note with rules and a writers registry, a regenerable index, safe restructuring, and reference updates in everything that points into the vault.

4 skills

1

Wires Claude Code into the cmux terminal — sidebar notifications that say what finished and where, progress pills, a session inventory, and a skill that knows the cmux CLI.

1 skill · 1 command · hooks

1

Teaches Claude the Espanso text-expansion CLI — config paths, match YAML patterns, package management — plus a /espanso-doctor preflight for PATH, version, daemon status, service registration and config path.

1 skill · 1 command

1

Researches a dish with three parallel subagents — classic recipes, food science, pro-chef technique — and synthesizes a restaurant-level recipe into a linked note tree. Obsidian optional.

1 skill · 1 command

1

Similar plugins

caveman

claude

Talk like caveman. Cut filler. Keep technical details explicit.

22 skills · 1 command · 3 agents · hooks

JuliusBrussee/caveman 119,462

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

Taste Skill

claudecodex

tasteskill 2.5.1: professional company websites at the figma.com and x.ai level, with one section per screen, real photographs, real product UI, effects kept for tech and gaming pages, and a real-browser checker and finish gate.

1 skill

Leonxlnx/taste-skill 114,391

career-ops

claudecodex

Open-source AI job search that runs locally in your AI coding CLI: scan job portals, evaluate listings into a structured A-H report with a 1-5 score, tailor your CV, track applications

5 skills · hooks

career-ops-hq/career-ops 82,253

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 68,893

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Maintain smart-compact?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins13 plugins