{"_id":"@coo-quack/do-not-compact","_rev":"6-0a378a8eb42c072863a7229d7140c44c","name":"@coo-quack/do-not-compact","dist-tags":{"latest":"1.1.4"},"versions":{"1.0.0":{"name":"@coo-quack/do-not-compact","version":"1.0.0","license":"MIT","_id":"@coo-quack/do-not-compact@1.0.0","maintainers":[{"name":"chata","email":"kato@quack.jp"}],"homepage":"https://github.com/coo-quack/do-not-compact","bugs":{"url":"https://github.com/coo-quack/do-not-compact/issues"},"dist":{"shasum":"90b377165495765adfef2d8bd3c2cd6a7b571da2","tarball":"https://registry.npmjs.org/@coo-quack/do-not-compact/-/do-not-compact-1.0.0.tgz","fileCount":7,"integrity":"sha512-YG42BxzvvGAvcXmjbMB7ZhnpkXEL4UNY0Y44d0TRybE+OOIlwA6HsEG2qC32NDQJFsqTdxgn7AzhBwpAwlvrzA==","signatures":[{"sig":"MEYCIQCaydu10fh7DvcFpF95xhJHMMdnkyq0nPRiEmWICp8PYgIhALOET1MlhGWM4pJvf3dpPSjuFRuEfFA6f6UQFO+XQqV3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@coo-quack%2fdo-not-compact@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4548},"type":"module","gitHead":"367f2ab4b2c143e926ffa94f49f8ca6d66ab7e1c","_npmUser":{"name":"chata","email":"kato@quack.jp"},"repository":{"url":"git+https://github.com/coo-quack/do-not-compact.git","type":"git"},"_npmVersion":"10.9.4","description":"Claude Code plugin that reloads CLAUDE.md files into context after conversation compaction","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/do-not-compact_1.0.0_1773503204197_0.23395971819908867","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@coo-quack/do-not-compact","version":"1.1.0","license":"MIT","_id":"@coo-quack/do-not-compact@1.1.0","maintainers":[{"name":"chata","email":"kato@quack.jp"}],"homepage":"https://github.com/coo-quack/do-not-compact","bugs":{"url":"https://github.com/coo-quack/do-not-compact/issues"},"dist":{"shasum":"e1c58fa4d64409e77a029a4a2f6a1d06c492d0be","tarball":"https://registry.npmjs.org/@coo-quack/do-not-compact/-/do-not-compact-1.1.0.tgz","fileCount":7,"integrity":"sha512-4YXMKG+tu9o0JOGhKht5YWt0bJaBFYzVBLgxsARk3cocpNOUfiQk1SD3qctSWdu1YL8+Y6GzoUZYD7ah7Zl/zQ==","signatures":[{"sig":"MEQCIHJTec0fkSjzxZSOfJWG4vS+IrAY3OUZBiFVGHf15lyDAiA2qUaAVuX3MolesiVT2kEDXg+fAR1muXLPVxB9LSMKdQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@coo-quack%2fdo-not-compact@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6620},"type":"module","gitHead":"c839b264fcd91ca85e3f7d0b84b06455546ba585","_npmUser":{"name":"chata","email":"kato@quack.jp"},"repository":{"url":"git+https://github.com/coo-quack/do-not-compact.git","type":"git"},"_npmVersion":"10.9.4","description":"Claude Code plugin that reloads CLAUDE.md files into context after conversation compaction","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/do-not-compact_1.1.0_1773560729091_0.971848681381293","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@coo-quack/do-not-compact","version":"1.1.1","license":"MIT","_id":"@coo-quack/do-not-compact@1.1.1","maintainers":[{"name":"chata","email":"kato@quack.jp"}],"homepage":"https://github.com/coo-quack/do-not-compact","bugs":{"url":"https://github.com/coo-quack/do-not-compact/issues"},"dist":{"shasum":"5168779372dd517d2d53b47fb425b0c51a5d7b6a","tarball":"https://registry.npmjs.org/@coo-quack/do-not-compact/-/do-not-compact-1.1.1.tgz","fileCount":7,"integrity":"sha512-qZEwHHy3lZnXz5sZ0hvY5tJ/3JfSEm13GZgfQUmKpvvaxsjkcfZdKrYL/KWno/A/mrDmSqB31XuU+T4ewW+xPA==","signatures":[{"sig":"MEQCIFQ4YsO8VHrjIlGSiL5ThUEXPAqDQISDrMLysMkiCi3iAiA7gBw8DkLN5fQzCqky3l79NeOZHmqIUPY7X7QAGHEQLw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@coo-quack%2fdo-not-compact@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6900},"type":"module","gitHead":"17687c649ad3425b55465383574b64eedf2bebba","_npmUser":{"name":"chata","email":"kato@quack.jp"},"repository":{"url":"git+https://github.com/coo-quack/do-not-compact.git","type":"git"},"_npmVersion":"11.13.0","description":"Claude Code plugin that reloads CLAUDE.md files into context after conversation compaction","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/do-not-compact_1.1.1_1782544892407_0.7367031143743394","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@coo-quack/do-not-compact","version":"1.1.2","license":"MIT","_id":"@coo-quack/do-not-compact@1.1.2","maintainers":[{"name":"chata","email":"kato@quack.jp"}],"homepage":"https://github.com/coo-quack/do-not-compact","bugs":{"url":"https://github.com/coo-quack/do-not-compact/issues"},"dist":{"shasum":"175b7c69a87d4238c4bf0c86e1bef1e292c0655a","tarball":"https://registry.npmjs.org/@coo-quack/do-not-compact/-/do-not-compact-1.1.2.tgz","fileCount":7,"integrity":"sha512-mTDApOJlbqnTHKH9pgajzqu/tmx45LbbHmQnOfbix3J5/VcvIRU7/M6nQfBy72lR8E/EPu9nuJM1fau1ykX8IA==","signatures":[{"sig":"MEUCIGmukwMGLkXeCUhnkbWI2gHyx4Q3Vda+lpZbxrxYLRb1AiEAlFZjoMrGCzgDYhIVfPK8ZgsAn2woFGb2Fm6uogAWlII=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@coo-quack%2fdo-not-compact@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7204},"type":"module","gitHead":"67080bff81ab3b0b91894d87fc82644fb60eedb9","_npmUser":{"name":"chata","email":"kato@quack.jp"},"repository":{"url":"git+https://github.com/coo-quack/do-not-compact.git","type":"git"},"_npmVersion":"11.17.0","description":"Claude Code plugin that reloads CLAUDE.md files into context after conversation compaction","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/do-not-compact_1.1.2_1787036567842_0.21602978028968756","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@coo-quack/do-not-compact","version":"1.1.3","license":"MIT","_id":"@coo-quack/do-not-compact@1.1.3","maintainers":[{"name":"chata","email":"kato@quack.jp"}],"homepage":"https://github.com/coo-quack/do-not-compact","bugs":{"url":"https://github.com/coo-quack/do-not-compact/issues"},"dist":{"shasum":"03b0209b1194dcd109198dabb5e22d0131d771d5","tarball":"https://registry.npmjs.org/@coo-quack/do-not-compact/-/do-not-compact-1.1.3.tgz","fileCount":7,"integrity":"sha512-YmjUIZ/1OH2yu33YyIkl00kjYl+OR9RIWI1HCbHQUhhPWiQwHQrBS5pE0PtOVFGVsgmXHNH0w7L92S41nf7jqg==","signatures":[{"sig":"MEUCIQCpz0g99K8OZOASdSuqBqQ34TW38OT2KFExeW4MYF1XlgIgdKh4jJW+VTA/5B3Oz7h2Lwqavh/uMCsC45KPkDZyN/g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDLPMb+MV06cGld46DscvfdA61AYc2p9goSfPZu/+eETgIhAM+QJkWKEOKvNjjBPRvO4Qiz5uL3rnUD7jqFMakBYI7/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@coo-quack%2fdo-not-compact@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7292},"type":"module","gitHead":"6c69525dfd90e3759fb69db81cdb321c6b10105b","_npmUser":{"name":"chata","email":"kato@quack.jp"},"repository":{"url":"git+https://github.com/coo-quack/do-not-compact.git","type":"git"},"_npmVersion":"11.19.0","description":"Claude Code plugin that reloads CLAUDE.md files into context after conversation compaction","directories":{},"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/do-not-compact_1.1.3_1790356513270_0.6714928257859529","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"_id":"@coo-quack/do-not-compact@1.1.4","bugs":{"url":"https://github.com/coo-quack/do-not-compact/issues"},"dist":{"shasum":"2aae5886f55aa5dcb738770652238cbed7f9e691","tarball":"https://registry.npmjs.org/@coo-quack/do-not-compact/-/do-not-compact-1.1.4.tgz","fileCount":7,"integrity":"sha512-Sslh6MR4UHHCAzcxvowM7bAlrPrz1gzVMoxdLyqnvtV9x0tsNnv8p4+8DJpbZNMngxQmxa56k3/D6CLu7RnHhw==","signatures":[{"sig":"MEYCIQDnqL8/b+fG80T7yHKq81FkwA6BHr3vWTs6g3zQkdWQhQIhAPhSPPfZTzzM7SUBVxNtsq+Wv+PBK2xyobkGgc9xIat4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQClgltwUxcTqU60pIC5HIcKYACXuy+C1VT77PQUglsYKgIgV8+auU8O70XdnUkDCVgtGg/rAwlmmB5ja4LbmB0+teU="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@coo-quack%2fdo-not-compact@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7418},"name":"@coo-quack/do-not-compact","type":"module","gitHead":"5f84ccf57ecad00be3f50c9b1dbc953ff9515305","license":"MIT","version":"1.1.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:baa04516-874f-4a1b-8bf4-e2ba3d395df0"}},"homepage":"https://github.com/coo-quack/do-not-compact","repository":{"url":"git+https://github.com/coo-quack/do-not-compact.git","type":"git"},"_npmVersion":"11.19.0","description":"Claude Code plugin that reloads CLAUDE.md files into context after conversation compaction","directories":{},"maintainers":[{"name":"chata","email":"kato@quack.jp"}],"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/do-not-compact_1.1.4_1790402217541_0.9749530241927633"}}},"time":{"created":"2026-03-14T15:46:44.060Z","modified":"2026-09-26T05:56:57.948Z","1.0.0":"2026-03-14T15:46:44.346Z","1.1.0":"2026-03-15T07:45:29.219Z","1.1.1":"2026-06-27T07:21:32.548Z","1.1.2":"2026-08-18T07:02:47.985Z","1.1.3":"2026-09-25T17:15:13.372Z","1.1.4":"2026-09-26T05:56:57.625Z"},"bugs":{"url":"https://github.com/coo-quack/do-not-compact/issues"},"license":"MIT","homepage":"https://github.com/coo-quack/do-not-compact","repository":{"url":"git+https://github.com/coo-quack/do-not-compact.git","type":"git"},"description":"Claude Code plugin that reloads CLAUDE.md files into context after conversation compaction","maintainers":[{"name":"chata","email":"kato@quack.jp"}],"readme":"# Don't Compact CLAUDE.md\n\nClaude Code plugin that reloads CLAUDE.md files into context after conversation compaction.\n\n## Problem\n\nWhen Claude Code compacts the conversation to stay within context limits, the contents of CLAUDE.md files (user instructions, project rules, git conventions, etc.) may be lost or summarized. This can cause Claude to forget important rules like commit message conventions or coding standards.\n\n## Solution\n\nThis plugin hooks into the `SessionStart` event with a `compact` matcher. After compaction, it collects all CLAUDE.md files from the directory hierarchy and injects them back into context as `additionalContext`.\n\nFiles collected (in order):\n1. `~/.claude/CLAUDE.md` (user global instructions)\n2. `~/CLAUDE.md` and parent directories up to cwd (project hierarchy)\n\n## Installation\n\n### Plugin install (recommended)\n\nInstall in two commands from inside a Claude Code session:\n\n**1. Register the marketplace**\n\n```\n/plugin marketplace add coo-quack/claude-code-marketplace\n```\n\n**2. Install the plugin**\n\n```\n/plugin install do-not-compact@coo-quack\n```\n\nDone. The hooks are enabled automatically.\n\n> **Keeping up to date:** Third-party marketplaces have auto-update disabled by default. To receive automatic updates, run `/plugin` → **Marketplaces** tab → select the marketplace → **Enable auto-update**. You can also update manually from the same tab. See [Discover and install plugins](https://docs.anthropic.com/en/docs/claude-code/discover-plugins) for details.\n\n<details>\n<summary>npm install</summary>\n\nInstall globally via npm and configure hooks manually:\n\n```bash\nnpm install -g @coo-quack/do-not-compact\n```\n\nUpdate to the latest version:\n\n```bash\nnpm update -g @coo-quack/do-not-compact\n```\n\nThen add to `~/.claude/settings.json`:\n\n```json\n{\n  \"hooks\": {\n    \"SessionStart\": [\n      {\n        \"matcher\": \"compact\",\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"\\\"$(npm root -g)/@coo-quack/do-not-compact/hooks/reload-claude-md.sh\\\"\",\n            \"timeout\": 10\n          }\n        ]\n      }\n    ]\n  }\n}\n```\n\n</details>\n\n<details>\n<summary>Manual setup (git clone)</summary>\n\nClone the repository and configure hooks manually:\n\n```bash\ngit clone https://github.com/coo-quack/do-not-compact.git ~/do-not-compact\n```\n\nUpdate to the latest version:\n\n```bash\ncd ~/do-not-compact && git pull\n```\n\nThen add to `~/.claude/settings.json`:\n\n```json\n{\n  \"hooks\": {\n    \"SessionStart\": [\n      {\n        \"matcher\": \"compact\",\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"~/do-not-compact/hooks/reload-claude-md.sh\",\n            \"timeout\": 10\n          }\n        ]\n      }\n    ]\n  }\n}\n```\n\n</details>\n\n## Requirements\n\n- `jq` must be installed and available in PATH\n","readmeFilename":"README.md"}