Skip to content

feat(cli): run and add accept repository, curator, and collection refs - #131

Open
harlan-zw wants to merge 6 commits into
mainfrom
feat/multi-skill-refs
Open

feat(cli): run and add accept repository, curator, and collection refs#131
harlan-zw wants to merge 6 commits into
mainfrom
feat/multi-skill-refs

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

❓ Type of change

  • ✨ New feature

📚 Description

The homepage, owner pages, and collection pages print npx skilld add gh:owner/repo, npx skilld add @login, and npx skilld add @login/slug. The v3 CLI had no add, and run refused anything but one Skill, so every one of those commands failed against skilld@beta. ROADMAP "Now" item 4.

skilld run <ref> answers with an index and loads nothing. skilld add <ref> installs every Skill the ref names through the same hosted Artifact path install uses, with --global, --agent, and --mode. skilld add <selector> is install for one Skill, so the site can settle on one verb if it wants to. gh:owner/repo/skill and npm: are rejected with a message that names the form to use instead.

Live, against skilld.dev:

$ skilld run @harlan-zw/agent-workflow-stack --plain
subagent-driven-development	obra/superpowers	Split a larger plan into focused tasks, with review between each result.	npx skilld run skilld:obra/superpowers/subagent-driven-development
dispatching-parallel-agents	obra/superpowers	Run independent investigations in parallel before changing code.	npx skilld run skilld:obra/superpowers/dispatching-parallel-agents
verification-before-completion	obra/superpowers	Require fresh evidence before the agent declares the work complete.	npx skilld run skilld:obra/superpowers/verification-before-completion
workflow	brianlovin/claude-config	Connect planning, execution, and branch cleanup in one practical loop.	npx skilld run skilld:brianlovin/claude-config/workflow
using-superpowers	obra/superpowers	Select and compose the right workflow skill at each stage of the task.	npx skilld run skilld:obra/superpowers/using-superpowers
executing-plans	obra/superpowers	Move through written steps without redesigning the plan midway through execution.	npx skilld run skilld:obra/superpowers/executing-plans

$ skilld run @harlan-zw --json     # 28 Skills across 5 collections
$ skilld run @harlan-zw/nope --plain
SOURCE_NOT_FOUND: skilld.dev has no collection @harlan-zw/nope

Endpoints: GET /api/skills?owner=&limit=200 (filtered to the repository client side), GET /api/curators/{login}, GET /api/collections/by-author/{login}/{slug}. None of these are in skilld-protocol or the /api/v1 OpenAPI. I went with the collection detail route over the protocol-typed /manifest because the manifest reports the seeded collections as npm packages (for example apple-apps is six npm items), while the detail route has them resolved to owner/repo/name plus the curator's reason, which the index prints as the description.

Protocol gaps worth a site PR: a repository filter on /api/v1/skills (or owner + repository query params reusing presentSkillSearch) so the Repository listing stops paging an owner's whole index, and v1 routes for curator and collection listings. A missing curator returns 200 with no collections, so the CLI reports SOURCE_NOT_FOUND: @x names no Skills that skilld.dev lists rather than "no such curator".

Open question: add stops at the first failed install and says how many landed. Should it continue and report the failures at the end instead?

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

https://claude.ai/code/session_018T67Ndp8FAjnHWthXABbJW

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 1, 2026
@harlan-github-agent

harlan-github-agent Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

🤖 STOPPED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. A person still decides the merge. Last updated: 2026-09-01 18:17 UTC.

The automated review stopped. Reason: The current head commit already has an automated review.

Push a new commit to start a new review. To review this commit again, comment /harlan-agent rerun.

@harlan-github-agent harlan-github-agent Bot removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 1, 2026
skilld.dev prints `npx skilld add gh:owner/repo`, `@login`, and
`@login/slug`, but the v3 CLI had no `add` and `run` took one Skill.

`skilld run <ref>` now prints an index: one line per Skill with its run
command, and loads none of them. `skilld add <ref>` installs every
Skill the ref names through the hosted Artifact path `install` uses.
`skilld add <selector>` installs one Skill like `install`.

Refs parse once into `SkillRef` in skilld-core. Listings come from
`/api/skills?owner=`, `/api/curators/{login}`, and
`/api/collections/by-author/{login}/{slug}`.

Claude-Session: https://claude.ai/code/session_018T67Ndp8FAjnHWthXABbJW
@harlan-zw
harlan-zw force-pushed the feat/multi-skill-refs branch from ff970d5 to be5d693 Compare September 1, 2026 15:37
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-blocked The automated Review found a material defect in this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-blocked The automated Review found a material defect in this head commit. labels Sep 1, 2026
# Conflicts:
#	crates/skilld-command/src/lib.rs
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-blocked The automated Review found a material defect in this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-blocked The automated Review found a material defect in this head commit. labels Sep 1, 2026
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-running An Agent holds a Task on this issue or pull request right now. label Sep 1, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-blocked The automated Review found a material defect in this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. labels Sep 1, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-blocked The automated Review found a material defect in this head commit. and removed harlan-agent-blocked The automated Review found a material defect in this head commit. harlan-agent-running An Agent holds a Task on this issue or pull request right now. labels Sep 1, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. and removed harlan-agent-blocked The automated Review found a material defect in this head commit. harlan-agent-running An Agent holds a Task on this issue or pull request right now. labels Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant