Customized PAI + Pulling Updates #111
Replies: 1 comment 1 reply
-
|
I have been struggling with the same question and I have a somewhat similar start as you have. But I am new to symlinks and how this works so not tried that out. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to figure out how to handle customization while pulling updates for months. After a lot of trials and tribulations, here's what I have come to :
So essentially I have a folder containing 2 completely separate repos:
The PAI repo provides the foundation and core functionality (voice server, main hooks, shipped skills, fabric). I try not to modify this repo to avoid merge conflicts when I pull updates from the upstream PAI repo. If I modify files here I keep it minimal and targeted. I try to get issues fixed on the upstream public repo rather than change the code myself.
The KAI repo (or whatever your DA is called) is an entirely private repo where I keep my own agents, hooks, skills, etc. This repo has its own separate history (no merge conflicts). If I need to reinstall PAI from scratch, this repo is untouched.
PRIVATE is data I want my DA to have access to but that I do not want copied to Github for privacy and security concerns. I could also put it into the KAI private repo and gitignore it of course.
So how do I get this all to work together ? Symlinks. I use a script that Claude wrote that:
PAI/.claude/and for each folder there, creates an equivalent empty folder in~/.claudePAI/.claude/andKAI/.claude/and places them inside~/.claudein the correct folder.The result is that all my agents (the stock PAI ones and my own now have a symlink inside
~/.claude/agents/, and so on.You can create an alias that updates these symlinks and launches claude at the same time.
Curious how people are organizing their custom install.
Beta Was this translation helpful? Give feedback.
All reactions