docs: real repo URL + backup-location note; link.sh backs up outside skills dir

This commit is contained in:
naps62
2026-07-24 18:00:57 +00:00
parent f83a247de3
commit a067cecee1
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -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
View File
@@ -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