skillctl-operator-guide

Use this skill when an agent needs to understand and operate skillctl capabilities end-to-end (discover, install, version, update, publish, and audit).

Nameskillctl-operator-guide
Pathskillctl-operator-guide
Version1.2.0
Originlocal
SourceSkillHub
AuthorGitHub Copilot
Projectskillctl
Tagsskillctl cli operations versioning testing

Install

skillctl install -r skillhub skillctl-operator-guide

skillctl-operator-guide

Use this skill when the user asks how to use this repository's CLI tool skillctl, or requests command planning/execution for skill lifecycle management.

Capability Map

Task-to-Command Quick Map

Standard Playbooks

1) Install a Skill Safely (Project-first)

  1. Confirm candidate exists:
    • skillctl search -r <repo> <skill-name>
  2. If version-sensitive, list versions first:
    • skillctl list --versions <skill-name> -r <repo> [--skill-project <project>]
  3. Install into explicit target:
    • skillctl install <skill-name> -r <repo> -p github
    • or skillctl install <skill-name>@<version> -r <repo> -p copilot
  4. Validate result:
    • skillctl list

2) Update with Minimal Risk

  1. Dry inspect:
    • skillctl outdated [--repo <repo>] [--skill-project <project>]
  2. Update one skill first:
    • skillctl update <skill-name> [--repo <repo>] [--skill-project <project>]
  3. Expand to all after confirmation:
    • skillctl update --all [--repo <repo>] [--skill-project <project>]
  4. Re-check:
    • skillctl outdated

3) Publish and Version Tagging

  1. Ensure SKILL.md has version and optional project.
  2. Push:
    • skillctl push <skill-name> -r <repo-name>
  3. Apply provider strategy:
  1. Verify tag policy in remote:
    • Preferred: <project>/<skill>@<version>
    • Compatible fallback: <skill>@<version>

Recommended Flag Conventions

Failure Patterns and Fixes

Output Contract for Agents

When this skill is used by an agent, responses should include:

  1. Chosen command(s) with concrete flags.
  2. Why this scope is selected (project/repo/remote).
  3. What to verify after execution.
  4. If command mutates state, include rollback/repair hint.

Suggested response shape:

Intent: <discover/install/update/push>
Command: <exact command>
Expected: <main outcome>
Verify: <follow-up command(s)>
If failed: <first troubleshooting step>

Guardrails

Version Tag Rules

Agent Decision Guide

  1. Identify intent: discover / install / update / publish / clean.
  2. Determine scope: project / repo / remote URL.
  3. If version-sensitive:
    • list versions first,
    • pick project scope when ambiguous,
    • install with <name>@<version> or -v.
  4. Before mass changes:
    • run skillctl outdated,
    • then run skillctl update --all with filters.
  5. For publish workflows:
    • ensure skill metadata includes version and optional project,
    • push and verify tag strategy.

Example Scenarios

Scenario A: Install a skill for Copilot in current project

skillctl install docx -r ningskills -p copilot
skillctl list

Scenario B: Install exact version from specific project namespace

skillctl list --versions skillctl-operator-guide -r ningskills --skill-project skillctl
skillctl install skillctl-operator-guide@1.2.0 -r ningskills --skill-project skillctl -p github

Scenario C: Bulk update only one project namespace

skillctl outdated --skill-project ylapp
skillctl update --all --skill-project ylapp
skillctl outdated --skill-project ylapp

Safety and Validation

Regression Smoke Baseline

go test ./...
go run . -h
go run . add -h
go run . install -h
go run . list -h
go run . list downloads -h
go run . outdated -h
go run . push -h
go run . remove -h
go run . search -h
go run . update -h
Back to all skills