Skip to content

Align install with the skills CLI ecosystem (npx skills add, per-agent paths, multi-agent targeting) #201

Description

@fujibee

Motivation

vercel-labs/skills ships a unified installer that targets 70+ agents with a single command:

npx skills add vercel-labs/agent-skills -a claude-code -a cursor -a opencode

It maintains a per-agent path registry (project + global scope) and drops the skill/rule files into each agent's conventional location, e.g.:

agent project global
Claude Code .claude/skills/ ~/.claude/skills/
Cursor .agents/skills/ ~/.cursor/skills/
OpenCode .agents/skills/ ~/.config/opencode/skills/
…70+ more

agmsg today ships its own install.sh + npx bootstrapper that installs to ~/.agents/skills/agmsg/ and selects a SKILL.md template via --agent-type. Aligning with the skills convention would:

  • make agmsg installable into any of those 70+ agents with one command (the Add Cursor (cursor-agent CLI) support #131 Cursor request, and every future runtime, comes "for free");
  • reuse a maintained per-agent path registry instead of growing our own --agent-type map;
  • lower onboarding friction and meet users where their agent already looks for skills.

This pairs naturally with the #181 manifest-driven type registry — we already describe each type as data.

Two directions (not mutually exclusive)

A. Make agmsg consumable by the skills CLI. Structure/publish agmsg so npx skills add fujibee/agmsg -a <agent> places it correctly. Lowest effort, maximum reach.

B. Adopt the same conventions in agmsg's own installer. Add -a/--agent multi-target, project+global scopes, and a per-agent path map, built on the type manifests.

Wrinkle to design around

agmsg is more than a static instruction file: it has runtime scripts + shared SQLite state under ~/.agents/skills/agmsg/, plus per-agent delivery hooks (SessionStart/Stop, .cursor/rules/agmsg.mdc, etc.). The skills model places instruction/skill files per agent; agmsg's shared runtime/state and delivery wiring need to map onto that. The likely shape: use the skills install path for the skill/instruction file while keeping one shared runtime + DB, and keep delivery-hook registration (delivery.sh set) as the per-project step.

Note a path collision worth reconciling: the skills CLI uses .agents/skills/ as the project skills dir for some agents, while agmsg's global runtime root is ~/.agents/skills/.

Asks

  • Decide direction A vs B (or A-first, B-later).
  • Scope target (1.2.0?).

Ref: https://github.com/vercel-labs/skills#supported-agents

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions