42 lines
1.7 KiB
Markdown
42 lines
1.7 KiB
Markdown
# Profile skills
|
|
|
|
Skills a person installs **once in their own agent profile**, not inside a
|
|
knowledge base. They work from any folder, before any KB exists on the
|
|
machine. `ckb-init` and `ckb-upgrade` never copy this folder into a KB.
|
|
|
|
| Skill | What it does | Say |
|
|
|---|---|---|
|
|
| `ckb-create` | Creates a new KB in a folder and publishes it to an empty git remote, ready for colleagues | "Create a new wiki in `~/kb/team` with origin `<url>`" |
|
|
| `ckb-join` | Clones an existing KB from its origin URL, checks it works on this machine | "Join the knowledge base at `<url>`" (optionally "into `<folder>`") |
|
|
|
|
`ckb-create` holds no scaffold logic of its own: it fetches the template at
|
|
run time and follows that version's `ckb-init`. An old copy in a profile
|
|
therefore still builds a current KB.
|
|
|
|
## Install
|
|
|
|
Claude Code (macOS / Linux):
|
|
|
|
```bash
|
|
git clone --depth 1 https://git.wierzbowa.cloud/michal/ckb.git /tmp/ckb
|
|
mkdir -p ~/.claude/skills
|
|
cp -R /tmp/ckb/user-skills/ckb-create /tmp/ckb/user-skills/ckb-join ~/.claude/skills/
|
|
rm -rf /tmp/ckb
|
|
```
|
|
|
|
Windows (PowerShell):
|
|
|
|
```powershell
|
|
git clone --depth 1 https://git.wierzbowa.cloud/michal/ckb.git $env:TEMP\ckb
|
|
New-Item -ItemType Directory -Force $HOME\.claude\skills | Out-Null
|
|
Copy-Item -Recurse $env:TEMP\ckb\user-skills\ckb-create, $env:TEMP\ckb\user-skills\ckb-join $HOME\.claude\skills\
|
|
Remove-Item -Recurse -Force $env:TEMP\ckb
|
|
```
|
|
|
|
Other agents: copy the two folders into that agent's user-level skills
|
|
directory, or point it at the `SKILL.md` files.
|
|
|
|
To update, repeat the copy. To remove, delete the two folders.
|
|
|
|
If your profile also has an old `ckb-init` copy, you can remove it:
|
|
`ckb-init` belongs inside a KB, and `ckb-create` covers the from-anywhere case.
|