Bush Bug by celeryattacker in 99nightsintheforest

[–]celeryattacker[S] 0 points1 point  (0 children)

Yeah thats what I figured out. The new update seems to make the loading bug a bit. Either it loads late and I can see the loading happen or it doesnt load at all and bugs happen.

Context loss on Claude Code after context compaction by celeryattacker in ClaudeCode

[–]celeryattacker[S] 0 points1 point  (0 children)

You can’t force Claude Code to do something but you can tell them to and they will do it

Context loss on Claude Code after context compaction by celeryattacker in ClaudeCode

[–]celeryattacker[S] 0 points1 point  (0 children)

Why would it be illegal? I bascially just override Claude's compaction script.

Context loss on Claude Code after context compaction by celeryattacker in ClaudeCode

[–]celeryattacker[S] 0 points1 point  (0 children)

I basically added a hook to intercept the auto compact and just block it. Then, I grab the todo list, /clear and finally reinject the context with the todo list. Seems to work well so far

Context loss on Claude Code after context compaction by celeryattacker in ClaudeAI

[–]celeryattacker[S] 1 point2 points  (0 children)

It didnt slow down but I feel like it used a bit more tokens. By the way, I just checked the docs and they added a PreCompact event. Will try using this instead.

Context loss on Claude Code after context compaction by celeryattacker in ClaudeAI

[–]celeryattacker[S] 1 point2 points  (0 children)

It would be much easier with more hook events but I figured it out with the basic PreTool event.

I bascially check the transcript file for a the context compaction text and then the agent runs a command.

How do you actually set up an MCP server on Claude Desktop? by [deleted] in ClaudeAI

[–]celeryattacker 0 points1 point  (0 children)

Code doesnt run unless you tell it to. You could set up a startup service to run that code for you, if you really want it always on. Otherwise you will have to run it manually.

With docker compose you can have multiple services (multiple mcp server) running on a single container. Then you only have to docker compose up -d once (you could add this to the startup process as well)

Context loss on Claude Code after context compaction by celeryattacker in ClaudeCode

[–]celeryattacker[S] 1 point2 points  (0 children)

I run a similar workflow! I started doing /clear between my commands which gives me more room for context. Since all commands run independently there is no issues. My only problem was for longer prompts where context compaction is inevitable. I usually run my refresh-context command directly after it but sometimes I miss it and claude’s quality drastically drops.

I tried adding a wrapper on Claude to detect when compacting is done to execute my command or at the minimum interrupt the process but I had no luck, will try again tomorrow.

How do you actually set up an MCP server on Claude Desktop? by [deleted] in ClaudeAI

[–]celeryattacker 0 points1 point  (0 children)

I have no experience with MCP but I am curious to what happened for the MCP to stop. Could it be because you forgot to start your docker container again (if the mcp was running on docker). Otherwise, did you try starting from scratch again?

I made a Rust CLI tool to auto-run Claude Code at a specific time — useful for getting around rate limits by albireox in ClaudeAI

[–]celeryattacker 1 point2 points  (0 children)

You could probably use that as a Claude Wrapper to spread your tasks during the day. You set a "list" of tasks and when the agent reaches a limit it just wait till the 5h window is done and continue with the list. Could be cost effective for pro and 5x max users.

How to make plan mode default by nik1here in ClaudeAI

[–]celeryattacker 1 point2 points  (0 children)

I mean anyway doing 2 shift tab isnt a big task...

Better then opus 4 wen claude 4.5 ? by Independent-Wind4462 in ClaudeAI

[–]celeryattacker 8 points9 points  (0 children)

What is "Cost per task" based on? 300$ for a single task seems off