Skip to content

apkg search

The search command queries the registry and lists matching packages with their name, version, type, and description.

Terminal window
apkg search <query> [--limit <n>] [--json] [--registry <URL>]
ArgumentDescription
<query>Search term to look for
OptionDefaultDescription
--limit <n>20Maximum number of results to return
--jsonOutput results as JSON
--registry <URL>Override the registry URL for this search

In the default human-readable mode, each result shows:

@acme/code-reviewer 1.2.0 [skill]
AI-powered code review

With --json, the output is a JSON object with results and total fields:

{
"results": [
{
"name": "@acme/code-reviewer",
"version": "1.2.0",
"description": "AI-powered code review",
"type": "skill"
}
],
"total": 1
}

Search for code review packages:

Terminal window
apkg search code-review

Limit results to 5:

Terminal window
apkg search agent --limit 5

Get results as JSON (useful for scripting):

Terminal window
apkg search summarize --json
CommandDescription
infoShow detailed metadata for a package
addAdd a package to your dependencies