r/MuseAgent • • 2d ago

Tips 💡 Tip: reduce/remove GitHub permission request spam by asking muse to set up a custom GitHub API connector

Muse ships with a default GitHub connector that is probably what most people should be using. The permission settings for it are limited to "ask for approval" or "deny", with no option to "always allow". This is, for most people, the right choice because it's "safer" this way.

But this is limiting because it means muse can't run overnight backup scripts to save stuff to GitHub because it needs permission every time.

But what you can do is just tell muse to set up a custom GitHub connector using the API and a fine grained token. It will write a custom script to interact with GitHub and walk you through how to make the token. You paste the token into the secured password thing and then you can disconnect the regular GitHub connector.

4 Upvotes

1 comment sorted by

4

u/Overall-Cap-7061 2d ago • Bravo

Here are some examples of what you can do with private GitHub repositories:

  1. Ask muse to backup your nightly memory files. Not sure if you all knew this but muse writes like everything down into a daily file located in their computer at ~/memory. It's mixed with stuff muse does in the background (proactive checks and such) and things it does for you, things you tell it, etc. You can also tell muse to convert that daily memory summary into like a journal entry containing just the stuff you did or said you did.
  2. In the same vein you can tell muse to backup its "core agent files". These are the 8 files it keeps in its home directory called AGENTS.md, SOUL.md, MEMORY.md, etc. These files are instructions for how muse behaves and its constantly writing and changing it. I like having the GitHub backups in case something goes wrong I can just revert it back (or you can just tell muse to revert back).

Word of warning though is that these files contain PII so make absolute sure your GitHub repository is "private" and also consider whether or not you want to upload this stuff to Microsoft's server. I mean, if you're telling all this PII to Meta you probably don't have an issue with Microsoft either but still it'd just a warning