[Feature Request] Add --model flag to /compact command or config default for compaction model
Resolved 💬 3 comments Opened Feb 3, 2026 by jonah-osmo Closed Feb 7, 2026
Bug Description
i assume the "/compact" uses which ever modle is currently the active model" to review the conversation to create the summary. for very long conversations, I have noticed this can take a while and be relatively token intensive, so I usually do "/model haiku" -> "/compact" -> "/model opus".if I chain these commands in my conversation, sometimes the "/model opus" step is skipped. it would just be easier if I could do soemthing like "/compact --model haiku" or just set a default model for the "/compact" command in my config.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.25
- Feedback ID: b0ea3449-29dd-499a-9b84-0ece241d83e1
Errors
[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n at readdirSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:2063)\n at iW (/$bunfs/root/claude:11:35715)\n at readdirSync (/$bunfs/root/claude:12:2024)\n at wQR (/$bunfs/root/claude:1783:380)\n at wQR (/$bunfs/root/claude:1783:1350)\n at <anonymous> (/$bunfs/root/claude:1783:4670)\n at <anonymous> (/$bunfs/root/claude:1783:5401)\n at A (/$bunfs/root/claude:11:7259)\n at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-02-03T13:47:26.367Z"},{"error":"Error\n at sy (/$bunfs/root/claude:42:1144)\n at <anonymous> (/$bunfs/root/claude:47:10093)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:49:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T13:47:26.589Z"},{"error":"AbortError: The operation was aborted.\n at unknown\n at abortChildProcess (node:child_process:935:42)\n at onAbortListener2 (node:child_process:35:24)\n at abort (unknown)\n at <anonymous> (/$bunfs/root/claude:3000:209)","timestamp":"2026-02-03T13:47:31.518Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗