docs: real repo URL + backup-location note; link.sh backs up outside skills dir
This commit is contained in:
@@ -19,17 +19,17 @@ Skills are portable: only `name`+`description` frontmatter is required by both t
|
||||
### Non-Nix machine (e.g. dev VM)
|
||||
|
||||
```sh
|
||||
git clone https://git.naps.pt/naps62/agent-skills.git ~/git.naps.pt/naps62/agent-skills
|
||||
~/git.naps.pt/naps62/agent-skills/bin/link.sh
|
||||
git clone https://git.naps.pt/naps62-yolo/agent-skills.git ~/git.naps.pt/naps62-yolo/agent-skills
|
||||
~/git.naps.pt/naps62-yolo/agent-skills/bin/link.sh
|
||||
```
|
||||
|
||||
Symlinks each skill into `~/.claude/skills/` and `~/.agents/skills/`, commands into `~/.claude/commands/`. Idempotent; backs up any pre-existing real dir to `*.bak`. Re-run after adding a skill.
|
||||
Symlinks each skill into `~/.claude/skills/` and `~/.agents/skills/`, commands into `~/.claude/commands/`. Idempotent; any pre-existing real dir is moved to `~/.agent-skills-backup/` (outside the discovery path, so it isn't picked up as a duplicate skill). Re-run after adding a skill.
|
||||
|
||||
### NixOS machine (home-manager)
|
||||
|
||||
```nix
|
||||
# flake inputs
|
||||
inputs.agent-skills.url = "git+https://git.naps.pt/naps62/agent-skills.git";
|
||||
inputs.agent-skills.url = "git+https://git.naps.pt/naps62-yolo/agent-skills.git";
|
||||
|
||||
# home config imports
|
||||
imports = [ inputs.agent-skills.homeModules.default ];
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
# Home-manager module: link centralized agent skills into Claude Code + Codex.
|
||||
# Usage: add this flake as an input, then import this module in your home config.
|
||||
#
|
||||
# inputs.agent-skills.url = "git+https://git.naps.pt/naps62/agent-skills.git";
|
||||
# inputs.agent-skills.url = "git+https://git.naps.pt/naps62-yolo/agent-skills.git";
|
||||
# # in home.nix imports: inputs.agent-skills.homeModules.default
|
||||
#
|
||||
# recursive=true links each FILE individually, so machine-local skills can still
|
||||
|
||||
Reference in New Issue
Block a user