Skip to content

Comments

add setup-claude command#44

Draft
BradSwain wants to merge 1 commit intomainfrom
brad/setup-claude
Draft

add setup-claude command#44
BradSwain wants to merge 1 commit intomainfrom
brad/setup-claude

Conversation

@BradSwain
Copy link

The motivation for the setup-claude command is to automate some of the steps to set up a new droplet for working with claude.

This command:

  • copies the global CLAUDE.md
  • global settings
  • github PAT used to auth gh if present
  • marketplace and plugins

The marketplace/plugins part if fragile, but helps with copying private marketplace plugins into a droplet without claude having read access to their source repos.

Copy link
Collaborator

@ret2libc ret2libc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@BradSwain
Copy link
Author

BradSwain commented Feb 24, 2026

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants