Skip to content

feat: first-class agent support #98

@mk-imagine

Description

@mk-imagine

Feature Request

Agents should be first-class citizens in skillshare, alongside skills. Currently agents must be managed as extras, which is a generic file-sync mechanism that lacks the discovery, install, update, and lifecycle features that skills enjoy.

Motivation

AI CLI tools increasingly support custom agents (Claude Code /agents, etc.) as a primary extensibility mechanism — on par with skills/prompts. Treating agents as unstructured extras means:

  • No skillshare install user/repo -a my-agent workflow
  • No skillshare list --agents, check, update for agents
  • No per-agent frontmatter (targets, versioning, descriptions)
  • Extras sync preserves subdirectory structure, so agents organized in subdirs (e.g. agents/curriculum/, agents/software/) land in subdirs that tools like Claude Code cannot discover (see feat: flatten option for extras sync #97)
  • No audit/security scanning for agent files

Proposed Design

Mirror the skills model:

skillshare install user/repo --agents          # install agents from a hub/repo
skillshare install user/repo -a my-agent       # install specific agent
skillshare list --agents                       # list installed agents
skillshare check --agents                      # check for updates
skillshare update --agents                     # update all agents
skillshare sync --agents                       # sync agents to all targets
skillshare collect --agents                    # pull agent changes back to source

Agent frontmatter (e.g. in AGENT.md or reuse skill frontmatter conventions):

---
name: curriculum-tactician
description: Execution planning agent for curriculum design
type: agent
targets: [claude]
version: 1.2.0
---

Config:

agents:
  - name: curriculum-tactician
    source: github.com/myorg/agents
    track: true

targets:
  claude:
    agents_path: ~/.claude/agents   # separate from skills_path

Relationship to #97

First-class support would also resolve the flatten issue naturally — skillshare would own the agents directory and sync files flat by default, matching how target CLIs expect to discover them.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions