eca icon indicating copy to clipboard operation
eca copied to clipboard

Support .agents/skills for skills discovery

Open sg-qwt opened this issue 8 months ago • 8 comments

Since .agents/skills is becoming popular and consensus among tools, it'd be good for eca to support this common path so skills can be shared among different tools.

Scope Path Purpose
Project <project>/.<your-client>/skills/ Your client's native location
Project <project>/.agents/skills/ Cross-client interoperability
User ~/.<your-client>/skills/ Your client's native location
User ~/.agents/skills/ Cross-client interoperability

ref: https://github.com/agentskills/agentskills/issues/15 https://github.com/agentskills/agentskills/blob/main/docs/client-implementation/adding-skills-support.mdx

sg-qwt avatar Mar 18 '26 00:03 sg-qwt

Oh was not aware of this new standard, nice, will take a look

ericdallo avatar Mar 18 '26 00:03 ericdallo

I'd say ~/.agent is not a good standard, XDG already defined ~/.config/ as the best for those things a long time ago and lots of unix tools follow that, so I'd say ~/.config/agents/skills may be the best for a global level

ericdallo avatar Mar 18 '26 00:03 ericdallo

I don't think this is settled yet, so I will give more time

ericdallo avatar Mar 18 '26 00:03 ericdallo

I'd say ~/.agent is not a good standard, XDG already defined ~/.config/ as the best for those things a long time ago and lots of unix tools follow that, so I'd say ~/.config/agents/skills may be the best for a global level

I agree with you. A xdg based ~/.config/agents/skills would be better for standard. However, given the amount of tools already adopt ~/.agent, I doubt the xdg one will become standard. Or maybe we can make that directory configurable this case?

sg-qwt avatar Mar 18 '26 03:03 sg-qwt

Maybe, what tools have adopted that standard?

ericdallo avatar Mar 18 '26 03:03 ericdallo

Maybe, what tools have adopted that standard?

codex, opencode, cursor, copilot, openclaw(pi-mono), gemini-cli/antigravity, etc..

Pretty much all the major players except Claude...

https://github.com/anthropics/claude-code/issues/31005

sg-qwt avatar Mar 18 '26 07:03 sg-qwt

Ok, sounds good we can do on eca as well, it's a pity we would look for ~/.agents and not follow XDG tho

ericdallo avatar Mar 18 '26 17:03 ericdallo

@sg-qwt Implemented in https://github.com/editor-code-assistant/eca/pull/431. (And now you can also configure custom paths)

zikajk avatar May 01 '26 07:05 zikajk