Skip to contentSkip to conversation

git: Fix broken relative symlinks for Claude and Gemini skills

PATCH In review Zhenzhong Duan 3 participants 5 messages Nov 23 – Nov 24

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git: Fix broken relative symlinks for Claude and Gemini skills

Update the relative symlink targets for both ".claude/skills" and ".gemini/skills" from ".agents/skills/" to "../.agents/skills".

Fixes 3e9fe057ae0b ("agents: Add a skill for finding your way around QEMU")
---
 .claude/skills | 2 +-
 .gemini/skills | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
.claude/skills +1 -1
index a7540c2442..2b7a412b8f 120000
@@ -1 +1 @@
-.agents/skills/
\ No newline at end of file
+../.agents/skills
\ No newline at end of file
.gemini/skills +1 -1
index a7540c2442..2b7a412b8f 120000
@@ -1 +1 @@
-.agents/skills/
\ No newline at end of file
+../.agents/skills
\ No newline at end of file
Signature · 1 line
2.52.0
#1 lore raw
Quoted 9 lines · Zhenzhong Duan

Update the relative symlink targets for both ".claude/skills" and ".gemini/skills" from ".agents/skills/" to "../.agents/skills".

Fixes 3e9fe057ae0b ("agents: Add a skill for finding your way around QEMU")
---
 .claude/skills | 2 +-
 .gemini/skills | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

FYI, I've also sent the same fix several weeks ago

https://lists.gnu.org/archive/html/qemu-devel/2026-11/msg02802.html

Quoted 23 lines
.claude/skills +1 -1
index a7540c2442..2b7a412b8f 120000
@@ -1 +1 @@
-.agents/skills/
\ No newline at end of file
+../.agents/skills
\ No newline at end of file
.gemini/skills +1 -1
index a7540c2442..2b7a412b8f 120000
@@ -1 +1 @@
-.agents/skills/
\ No newline at end of file
+../.agents/skills
\ No newline at end of file
Signature · 1 line
2.52.0

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|
#2 lore raw
Quoted 11 lines · Daniel P. Berrangé
Quoted 9 lines · Zhenzhong Duan

Update the relative symlink targets for both ".claude/skills" and ".gemini/skills" from ".agents/skills/" to "../.agents/skills".

Fixes 3e9fe057ae0b ("agents: Add a skill for finding your way around QEMU")
---
  .claude/skills | 2 +-
  .gemini/skills | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 3 lines

FYI, I've also sent the same fix several weeks ago

https://lists.gnu.org/archive/html/qemu-devel/2026-11/msg02802.html

Can't we just remove these and let the generic .agents/ path?

#3 lore raw
Quoted 12 lines · Philippe Mathieu-Daudé
Quoted 11 lines · Daniel P. Berrangé
Quoted 9 lines · Zhenzhong Duan

Update the relative symlink targets for both ".claude/skills" and ".gemini/skills" from ".agents/skills/" to "../.agents/skills".

Fixes 3e9fe057ae0b ("agents: Add a skill for finding your way around QEMU")
---
  .claude/skills | 2 +-
  .gemini/skills | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 5 lines
Quoted 3 lines

FYI, I've also sent the same fix several weeks ago

https://lists.gnu.org/archive/html/qemu-devel/2026-11/msg02802.html

Can't we just remove these and let the generic .agents/ path?

It seems like both claude and gemini honour the agent skills standard, so yes, .agents ought to be all we need AFAICT.

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|
#4 lore raw
Quoted 7 lines

-----Original Message-----
From: Daniel P. Berrangé <[email protected]>
Subject: Re: [PATCH] git: Fix broken relative symlinks for Claude and Gemini skills

Quoted 17 lines
Quoted 6 lines · Philippe Mathieu-Daudé
Quoted 5 lines · Daniel P. Berrangé
Quoted 4 lines · Zhenzhong Duan

Update the relative symlink targets for both ".claude/skills" and ".gemini/skills" from ".agents/skills/" to "../.agents/skills".

Fixes 3e9fe057ae0b ("agents: Add a skill for finding your way around

QEMU")

Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
---
  .claude/skills | 2 +-
  .gemini/skills | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

FYI, I've also sent the same fix several weeks ago

https://lists.gnu.org/archive/html/qemu-devel/2026-11/msg02802.html

Oh, good to see, I'll drop my patch in favor of yours.

Quoted 5 lines
Quoted 2 lines

Can't we just remove these and let the generic .agents/ path?

It seems like both claude and gemini honour the agent skills standard, so yes, .agents ought to be all we need AFAICT.

I asked AI, it says:

Even on the newest Claude Code (now 2.1.331), Claude Code doesn't load skills from .agents/skills.

Thanks
Zhenzhong