{
  "id": "plg_koenvdheide_prep_compact_prep_compact_228ae140",
  "kind": "plugin",
  "category": "ferramentas",
  "name": "prep-compact",
  "tagline": "Claude Code's auto-compact fires late and its generic summary often drops the files, decisions, and blockers you needed. The post-compact se",
  "body": "Claude Code's auto-compact fires late and its generic summary often drops the files, decisions, and blockers you needed. The post-compact session then veers off course. prep-compact nudges you earlier: a UserPromptSubmit hook watches your transcript's byte delta since the last compact. When it crosses a configurable threshold (default 4 MB ≈ 450K tokens on Opus 4.7), Claude is prompted to invoke the prep-compact skill, which drafts a tailored /compact <mini-schema> covering goal/next/files/decisions/state. You paste, run /compact, and the post-compact session resumes correctly. Invoke /prep-compact:prep-compact manually any time to refresh the draft before compacting.",
  "url": "https://github.com/koenvdheide/prep-compact",
  "status": "live",
  "origin": "marketplace",
  "origin_id": "koenvdheide/prep-compact/prep-compact",
  "install": "https://github.com/koenvdheide/prep-compact",
  "source": "https://github.com/koenvdheide/prep-compact",
  "transporte": "",
  "ns": "koenvdheide",
  "versao": "",
  "oficial_status": "",
  "repo_host": "github.com",
  "topico": "",
  "linguagem": "Shell",
  "licenca": "MIT",
  "repo_topics": " claude claude-code claude-code-plugin claude-code-skill claude-skills compaction ",
  "repo_slug": "koenvdheide/prep-compact",
  "stars": 0,
  "forks": 0,
  "prs_abertos": 0,
  "pushed_at": "2026-06-27T12:07:20Z",
  "repo_estado": "ativo",
  "likes": 0,
  "comments": 0,
  "visits": 0,
  "readme_bytes": 6209,
  "readme_api": "https://agentalog.com/api/listings/plg_koenvdheide_prep_compact_prep_compact_228ae140/readme",
  "readme_fonte": "repo",
  "created_at": "2026-08-30 01:48:58",
  "updated_at": "2026-08-30 01:48:58",
  "mine": false,
  "api": "https://agentalog.com/api/listings/plg_koenvdheide_prep_compact_prep_compact_228ae140",
  "go": "https://agentalog.com/api/go/plg_koenvdheide_prep_compact_prep_compact_228ae140",
  "comments_api": "https://agentalog.com/api/listings/plg_koenvdheide_prep_compact_prep_compact_228ae140/comments",
  "readme_sha": "b58b5244771420401023e5acaa578dc8d74ef5084da9263f9de89656392c5a8d",
  "readme_em": "2026-08-31 07:09:31",
  "payload": {
    "plugin": "prep-compact",
    "marketplace": "claude-community",
    "marketplace_repo": "anthropics/claude-plugins-community",
    "repo": "koenvdheide/prep-compact",
    "path": "",
    "ref": "",
    "sha": "f9a92854531cae390e15561a51d4a252376f4958",
    "vendored": false,
    "categoria": "",
    "autor": "",
    "tem_mcp": 0,
    "tem_skill": 0,
    "install_cmd": "/plugin marketplace add claude-community\n/plugin install prep-compact@claude-community"
  }
}