Conversation
ret2libc
left a comment
There was a problem hiding this comment.
I think i've recently changed the cloud-init template to install claude-code from there. And i think that should be the right place to install new packages if possible.
I didn't review this completely, but I'm a bit worried about the settings sanitization. Is that fragile?
I'm not sure how often they change in practice, but if the settings file or plugins/marketplace directory structure change the syncing wont work correctly. We could check that the local claude code version matches the remote version before syncing and bail otherwise. But yes, it is very fragile 😅 Nothing here is really specific to dropkit either, so I'm happy to close this and keep it as a local script for myself if that makes more sense. |
The motivation for the
setup-claudecommand is to automate some of the steps to set up a new droplet for working with claude.This command:
CLAUDE.mdghif presentThe marketplace/plugins part if fragile, but helps with copying private marketplace plugins into a droplet without claude having read access to their source repos.