Skip to content

Extend --json coverage + list metadata for product integrations (Vibe Remote Skills UI) #11

Description

@cyhhao

Context

We're building a Skills management UI inside Vibe Remote that wraps the askill CLI in --json mode, exactly as described in docs/integrating-askill-cli.md. The UI manages global + project skills across agent backends (Claude Code / OpenCode / Codex), searches/browses the registry, and imports skills from GitHub.

While building against the current JSON contracts we hit three gaps. Filing them together since they share one theme: let the CLI fully drive a dashboard without extra round-trips.

1. --json for check (and info, ideally update)

Today --json is only on add / find / list / remove. The dashboard also needs:

  • check --json → render an "update available" badge per installed skill + a global "N updates" count.
  • info <slug> --json → populate a skill detail panel (full description, version, owner/repo, aiScore/aiBreakdown, commands) for an installed skill without scraping human-formatted stdout.
  • (nice to have) update --json → report per-skill update results in the UI.

Same { ok, ... } / { ok:false, error:{code,message} } envelope as the existing commands would be ideal.

2. list --json should carry per-skill metadata

ListSkillItem is currently { name, scope, path, agents[] }. To render a useful list row the UI additionally needs, per skill:

  • description
  • version
  • source / installSource (e.g. gh:owner/repo@name) and updatedAt

Without these, every row needs a second info call (N+1). Reading them from the canonical .agents/skills/<name>/SKILL.md frontmatter at list time would avoid that.

3. find --tag and --limit (already marked "Planned")

The registry "Browse" view wants tag filtering + pagination. Just confirming these Planned flags are on the roadmap — they unblock the browse UI's filters and infinite scroll.

Not needed

Per-backend enable/disable — we map "available to backend X" onto add -a / remove -a, which already exist. No new surface required there.

Happy to validate any schema changes against our wrapper. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions