Skip to content
AGH RuntimeSkills

Marketplace

How to discover, install, update, and remove marketplace skills with the current AGH CLI.

Audience
Operators running durable agent work
Focus
Skills guidance shaped for scanability, day-two clarity, and operator context.

AGH can install community skills from a marketplace registry into the same local skill hierarchy as manual skills. The default registry adapter is ClawHub.

Marketplace commands are local CLI operations. They do not require the daemon to be running, but a running daemon notices installed skills on the next skills watcher refresh.

Configure the Registry

The default marketplace registry is clawhub. You can leave it implicit, or set it explicitly:

[skills.marketplace]
registry = "clawhub"

Use base_url only when you are pointing AGH at a compatible mirror or test registry:

[skills.marketplace]
registry = "clawhub"
base_url = "https://clawhub.ai/api/v1"

Validation rules:

SettingBehavior
no [skills.marketplace] sectionAGH uses the built-in ClawHub default when a marketplace command runs.
base_url without registryInvalid. The registry name is required when overriding the URL.
registry other than clawhubInvalid today.
base_url schemeMust be http or https, and must include a host.

Search the registry:

agh skill search "database migration" --limit 5

The default search limit is 20. Results include the slug, name, description, author, version, downloads, source, and package type when the registry returns those fields.

Use the slug for install commands:

@author/skill-name

Slugs must match @author/name. Version suffixes are not accepted in the user-facing slug syntax.

Install

Install a marketplace skill:

agh skill install @author/refactor-checklist

Install behavior:

  1. AGH resolves the configured registry.
  2. It fetches marketplace detail for the slug.
  3. It downloads the archive into a temporary staging directory under ~/.agh/skills/.
  4. It verifies the archive shape and scans content before install.
  5. It computes a deterministic directory hash.
  6. It writes .agh-meta.json.
  7. It moves the skill into ~/.agh/skills/<parsed-skill-name>.

Installed marketplace skills then load from the global registry. If the same skill name already exists in a lower source, the higher-precedence source wins according to the normal skill hierarchy.

Provenance And Verification

Marketplace provenance looks like this:

{
  "hash": "7c0f...",
  "registry": "clawhub",
  "slug": "@author/refactor-checklist",
  "version": "1.0.0",
  "installed_at": "2026-04-16T12:00:00Z"
}

All fields are required. AGH recomputes the installed directory hash on load. If the hash differs, the skill is treated as unsafe and does not enter the registry.

Marketplace content also goes through the same load-time scanner as local skills:

FindingOutcome
critical prompt injection, destructive command, or credential extraction patternSkill is blocked.
sensitive path reference or suspicious tool chainingWarning is logged; skill may load.
body over 50,000 charactersInfo warning is logged.

Marketplace skill MCP servers are blocked unless they are allowed in config.

[skills]
allowed_marketplace_mcp = [
  "@author/postgres-tools",
  "clawhub:@author/filesystem-tools"
]

Accepted consent keys are:

KeyExample
slug@author/postgres-tools
registry and slugclawhub:@author/postgres-tools
installed hash7c0f...

There is no interactive consent prompt today. Add allowlist entries deliberately, review the skill's SKILL.md, and inspect any mcp.json sidecar before allowing marketplace MCP servers.

Marketplace hooks use the same static model with skills.allowed_marketplace_hooks.

Update

Check one installed marketplace skill:

agh skill update refactor-checklist --check

Install the latest available version for one skill:

agh skill update refactor-checklist

Check every installed marketplace skill:

agh skill update --all --check

Update every installed marketplace skill:

agh skill update --all

Update behavior:

CaseBehavior
skill has no .agh-meta.jsonIt is not treated as marketplace-installed and cannot be updated by this command.
--checkAGH reports whether an update is available but does not replace files.
no updateStatus is already up to date.
update available and not check-onlyAGH installs the latest version through the same install pipeline.

Version Pinning

The internal install pipeline can request a specific archive version, and the marketplace provenance stores the installed version. The current user-facing CLI does not expose agh skill install --version, nor does it accept version syntax in slugs.

For now, treat marketplace installs as "install latest" and use the recorded .agh-meta.json version for audit and update checks. If you need a fixed skill version today, vendor the skill as a manual local skill in ~/.agh/skills/ or <workspace>/.agh/skills/ and review updates manually.

Remove

Remove a marketplace-installed skill:

agh skill remove refactor-checklist

Remove only deletes skills with a valid .agh-meta.json sidecar. Manual user or workspace skills are rejected so the CLI does not silently delete locally authored work.

Inspect Installed Skills

List all visible skills:

agh skill list

List only marketplace skills:

agh skill list --source marketplace

Read full instructions:

agh skill view refactor-checklist

Read one resource file inside the skill directory:

agh skill view refactor-checklist --file references/review-template.md

Resource reads must stay inside the skill directory. AGH rejects traversal and symlink escape attempts.

On this page