5 ms·
Show HN: Claude Composer
Central feature is a something like "yolo mode" but with fine grained controls over how yolo you're feeling. Also makes it easy to use "presets" of tools and permissions.
Let me know if you have any questions and feel free to contact me on X at https://x.com/possibilities https://x.com/possibilities
- mikebannister 1y agoI removed all "ruleset" capabilities so "fine grained controls" are no longer a feature.
- deleted 1y ago[deleted]
- whalesalad 1y agoHow much of this was produced with claude code?
- mikebannister 1y agoAll of it, in close collaboration :)
- BugsJustFindMe 1y agoI read the description of what this is (nb. maybe move that to the top instead of the middle of the page?), and I don't think I understand what problem it solves. > Reduced interruptions: Automatically handles permission dialogs based on configurable rules Why? Claude Code already gives you the option to accept requests permanently going forward. The cost of configuring rules is worse than the cost of just telling Claude Code "yes and you don't need to ask again". I'd like to see a few motivating user stories, tbh.
- mikebannister 1y ago> Why? I have a lot of different projects, scenarios, and edge cases where it's helpful to me. I think you will find that if you're interactive mode there will always be some dialogs to dismiss, especially if you're jumping around a lot of different projects, etc. So for me the goals are somewhere at the intersection of the interactive mode and unattended operation. It depends what your goals are for sure. TBH I use it mostly in full yolo mode. But toolsets are much more useful for me. I can create groups of mcps and pre-allowed permissions and reuse that "preset". I have different types of projects that I use different toolsets for each. But yeah, I hear you. This is pretty niche and might solve problems that only I care about.
- mikebannister 1y agoGood chance this will ultimately end up being part of a set of training wheels that I'll take off gradually as I am able to move work over to using non-interactive instances of CC.
- sbarre 1y agoI like the notifications part! I may try this just for that one feature.. Thank you.. :-)
- mikebannister 1y agoIf you like the idea but they aren't working the way you'd like let me know. They aren't very "well baked" but I'll dump some time into improving at some point. If you have pain points or feedback I'll be happy to consider it. BTW, I also intend to add some way to send push notifications of some sort. I need to be reminded when Claude is done hustling and and it's time to leave the comfort of my iced coffee on the patio for a keyboard and glowing terminal screen.
- gdudeman 1y agoYou may be able to do this with a user-based settings file, so you can have a base layer of settings across all projects. More on how to do that here: https://docs.anthropic.com/en/docs/claude-code/settings https://docs.anthropic.com/en/docs/claude-code/settings
- mikebannister 1y agoAlso, good call, I wiggled the readme around a bit. Thanks!
- serf 1y ago>Why? Claude Code already gives you the option to accept requests permanently going forward. The cost of configuring rules is worse than the cost of just telling Claude Code "yes and you don't need to ask again". want to see this mode fail catastrophically? write enough CLI stuff w/ python w/ powershell or wsl or some other 'leaky' cli. It will eventually fail a command and then try to pipe a shell command through the python interpreter or a specific PS incantation. This means that you now need to approve 'git' , and 'python sh git' and 'powershell.exe git' and 'wsl.exe ubuntu git' as separate and independent commands. (I dont remember the shell incantation command so excuse the pseudocode). That means that for the entire gambit of approvals needed for continued permission for a singular task might be 4x greater than normal -- probably more given that claude is aware of so many different ways to pipe to shell..
- bckr 1y agoClaude has been adding PYTHONPATH to test commands, and for some reason, the “don’t ask again” doesn’t stick for these types of commands. So I’ve been trying to get it to use make commands, which can modify the environment, and don’t trigger the same permission issues. Just now I finally put it in CLAUDE.md “always use make commands to run tests”. Haven’t seen yet whether it will stick.
- mikebannister 1y agoI hate to be pessimistic but this is something that CC doesn't seem good at: forgetting the tools that it loves and using the ones you want it to. You might want to try "disallowing" that command(?) explicitly (in addition to adding to CLAUDE.md and/or prompt). I'm not sure what command is being called to set PYTHONPATH. If my assumption that it relates to a specific command is incorrect the above probably isn't helpful. Good luck!
- shwouchk 1y agohaven’t used claude code directly, but at least through copilot ive seen it read my makefile, extract the command, and run it directly after modifications. telling it to use make helped, but wasn’t perfect
- airstrike 1y agoI suggest a video on the README and breaking up that entire README into docs because it's too much content, then writing a much shorter README that gives people the answer they want coming into the page
- tailspin2019 1y agoAs a heavy Claude user, I’ve seen many examples of what it will produce as a README, and they all look exactly like this. It definitely could use some editing!
- mikebannister 1y agoYeah I tried to keep it chill but it went pretty wild w/ docs. I think I'll just ask it to go on a 50% diet and see what happens! Stay tuned. :)
- mikebannister 1y agoOzempic treatment complete. Should be 50% less annoying. https://github.com/possibilities/claude-composer/commit/45e180c7bfac1358862d8c6ba364336b5a501f2f https://github.com/possibilities/claude-composer/commit/45e1...
- mikebannister 1y agoOops wrong link https://github.com/possibilities/claude-composer/commit/dbb5c293e39f15d8bfb647777a5572656b9e06d6 https://github.com/possibilities/claude-composer/commit/dbb5...
- mikebannister 1y agoprompt> The docs are way to verbose and there's just too much content. The @readme.md and every doc in @docs/ needs to be trimmed down by ~50%. Please work hard, think hard, and work step by step, and file by file to make sure we have the best possible docs at about half the total size. Peace and love <3
- furyofantares 1y ago
- serf 1y agoAdd a 5 hour timer so that us with MAX subs can know when to come back to our Opus work. I like it. thanks for the effort.
- caleblloyd 1y agoThinking of switching from API access to Max 20x tomorrow for a more consistent bill. Been using $50-100 of Opus tokens through API access per day. Think I’ll hit the Max 20x limits and get put in timeout? I wish Max could automatically overflow to API access when it times out so I would need to have token anxiety.
- SatvikBeri 1y agoAccording to CCUsage, I hit limits on Opus usage around the equivalent of $150. If we naively extrapolate, that suggests about $600 of Opus usage per session on Max 20x.
- Syzygies 1y agoI moved to Max after projecting a $2,000 annual API bill. I haven't yet hit five hour limits, but login/ toggles easily between plans. I believe the interface tells you when you've hit a limit, but as I said I don't know first hand.
- collin128 1y agoCan you help me understand how that works? I thought you needed an API key to work with Claude Code
- mikebannister 1y agoThey give you Claude Code usage on all the paid plans now. A certain amount of usage is shared between Chat and Code.
- agotterer 1y agoNot all paid plans, just Max. Pro doesn’t get access to Claude Code.
- jasonliu0704 1y agowhat is possibilities
- mikebannister 1y agojust a guy with linux
- Philpax 1y agoI'd be careful with the branding - it sounds like an official Claude product. Maybe go with "Composer for Claude"?
- zone411 1y agoYes, the name should be changed ASAP. You don't want to rename it after it becomes established, which you'll inevitably have to do.
- deleted 1y ago[deleted]
- rafram 1y agoYou’re going to be hearing from Anthropic’s legal department very, very soon if you use this name.
- mikebannister 1y agoWe'll see. Happy to change it up if need be. I'd rather beg for forgiveness than permission. <3
- bitpush 1y agoThe name is a no-go. They are either going to be nice and ask you to do it or send a cease and desist. I'd recommend you change it right away
- closewith 1y agoTBH I think it's misleading, as I assumed it was an Anthropic product until seeing the repo owner. For ethical reasons, I think you should change it.
- diggan 1y agoYeah I mean ignoring the legal risks, naming something "$Company-name $Tool" is begging to have it confused with an official product from $Company-name. Even if you don't care about the legal risks, at least care about your users not being confused about who made the thing.
- bandrami 1y agoIt's going to be hilarious to watch Anthropic argue with a straight face that it's illegal (or at least tortious) to take someone else's IP and repurpose it
- ramblerman 1y agoI think this is about trademark not IP
- cruijffiaan 1y agoReally like this idea - my team was looking to build something like this ourselves. The only thing I would add to this repository would be the ability to add a global Claude.md file that would be common across the team (across different repos).
- mikebannister 1y agoThat's a good idea. Personally I don't use CLAUDE.md (everything goes in the prompt, thanks to context-composer, which I'll share another day) so I'm not motivated to have it but I'd be happy to collaborate on it and get that kind of feature merged in.
- cruijffiaan 1y agoYeah let's do it :) Let me vibe it out with Claude Code!
- mikebannister 1y agoGo off <3
- cmer 1y agoThis is pretty epic! This should come standard with Claude Code. Thanks for this! Now going to bed, and will wake up to a brand new feature :)
- mikebannister 1y ago<3
- polskibus 1y agoQuestion for those who burn through Max limits- what type of tasks do you do that burn so much of the limit? I’d imagine it has to be a lot of code being produced? Or is it large inputs that burn through it quickly? If you run Claude so often during the day - what is it doing for you all the time?
- deleted 1y ago[deleted]
- rootnod3 1y agoI am guessing part of it is the size of the code base it has to read to do any changes or understand the required changes?
- polskibus 1y agoStill it means it does really heavy lift. I’d like to understand how to extract bigger efficiency gains from Claude etc , because currently often times I just waste time with it and give up after several attempts
- stpedgwdgfhgdd 1y agoDon’t get fully the use-cases this tool solves except for some auto-accept. You would also expect some eat-your-own-dog-food, why does https://github.com/possibilities/claude-composer/blob/main/scripts/release.sh https://github.com/possibilities/claude-composer/blob/main/s... not use CC with a prompt… (Ps I left x/twitter a long time)
- mikebannister 1y ago> auto-accept That's pretty much it and the concept of "toolsets" > You would also expect some eat-your-own-dog-food Maybe, but personally I don't see a reason to use an LLM to release an npm module
- bubblyworld 1y agoAm I the only person who just runs claude code in yolo mode? Curious about these tools for fine-grained permission, did you get burned in a bad way? I think I'm going to trigger half of hacker news with this, but honestly nothing claude does on my machine seems particularly scary, and it's way too far from AGI for me to worry about hostile takeover right now =P
- qwertox 1y agoHonest question: What could it do to your machine if it went crazy? I've not used Claude Code yet.
- johnisgood 1y agoAnything you can think of, but IIRC it asks you if it can perform a particular command (you can tell it to remember that it can or something like that).
- MarceliusK 1y agoLiterally anything a terminal command can do to your machine. Delete things, install malware, send your data to the FBI, start a fire by overheating (ok, now I'm just kidding... or not)
- bubblyworld 1y agoAnything your user has permissions to do, basically. It is absolutely possible to cause serious issues with it in yolo mode, but for me the risk seems acceptably low.
- electroly 1y agoA simple and very plausible example is deciding to run an innocent `find -delete` intended for a particular directory (to clean up temporary files, perhaps) but being confused about what the current directory is.
- CjHuber 1y agoI remember seeing on twitter how Claude 4 Sonnet tried to run rm -r ~ for some reason within cursor. It could have been a meme potentially, but from my experience this doesn’t seem to be to far off as it does weird things for weird reasons sometimes
- throwaway314155 1y agoHow are fine grained permissions changed? Is it just modding a known claude configuration file?
- mikebannister 1y agoNo, the "automatic dismissal" effectively scrapes the terminal and parses out info from the dialog.
- throwaway314155 1y agoNice. So is this resilient to changes in the interface from updates? Seems they release 1-2 updates a day, maybe more?
- mikebannister 1y agoNot at all resilient. It caches a copy of the whatever the current claude is in case of emergency but yeah, get ready to go live without a net if you use this :)
- config_yml 1y agoWould be lovely if this included some defaults around managing git worktrees for parallel work.
- mikebannister 1y agoThat's something I'd like to explore more. It's one of the reason I created "trusted roots". So I can open new worktrees and open claude in them all in one step without any confirmation. If you want to suggest anything specific feel free to open an issue and we explore it more.
- mikebannister 1y agoToday I added --mode plan (along with config option). Nice thing about "owning" my own wrapper is I can invent my own features. https://github.com/possibilities/claude-composer?tab=readme-ov-file#core-options https://github.com/possibilities/claude-composer?tab=readme-... Note: in case you missed it Anthropic added plan mode that you toggle interactively. One of the best additions to CC. So I've only added the ability to start CC in plan mode.
- throwaway314155 1y agoYeah, what is plan mode?
- throwaway314155 1y agoFor anyone curious, it's a read-only mode that reads your code and formulates a plan without writing any new code or changing anything.