intent list discovers skill-enabled packages and prints available skills.
npx @tanstack/intent@latest list [--json] [--global] [--global-only]npx @tanstack/intent@latest list [--json] [--global] [--global-only]REQUIRES uses intent.requires values joined by a comma and space; empty values render as –. SOURCE is a lightweight indicator showing whether the selected package came from local discovery or explicit global scanning. When both local and global packages are scanned, local packages take precedence.
--json prints the ScanResult object:
{
"packageManager": "npm | pnpm | yarn | bun | unknown",
"packages": [
{
"name": "string",
"version": "string",
"source": "local | global",
"packageRoot": "string",
"intent": {
"version": 1,
"repo": "string",
"docs": "string",
"requires": ["string"]
},
"skills": [
{
"name": "string",
"path": "string",
"description": "string",
"type": "string (optional)",
"framework": "string (optional)"
}
]
}
],
"warnings": ["string"],
"conflicts": [
{
"packageName": "string",
"chosen": {
"version": "string",
"packageRoot": "string"
},
"variants": [
{
"version": "string",
"packageRoot": "string"
}
]
}
],
"nodeModules": {
"local": {
"path": "string | null",
"detected": true,
"exists": true,
"scanned": true
},
"global": {
"path": "string | null",
"detected": true,
"exists": true,
"scanned": false,
"source": "string (optional)"
}
}
}{
"packageManager": "npm | pnpm | yarn | bun | unknown",
"packages": [
{
"name": "string",
"version": "string",
"source": "local | global",
"packageRoot": "string",
"intent": {
"version": 1,
"repo": "string",
"docs": "string",
"requires": ["string"]
},
"skills": [
{
"name": "string",
"path": "string",
"description": "string",
"type": "string (optional)",
"framework": "string (optional)"
}
]
}
],
"warnings": ["string"],
"conflicts": [
{
"packageName": "string",
"chosen": {
"version": "string",
"packageRoot": "string"
},
"variants": [
{
"version": "string",
"packageRoot": "string"
}
]
}
],
"nodeModules": {
"local": {
"path": "string | null",
"detected": true,
"exists": true,
"scanned": true
},
"global": {
"path": "string | null",
"detected": true,
"exists": true,
"scanned": false,
"source": "string (optional)"
}
}
}packages are ordered using intent.requires when possible. When the same package exists both locally and globally and global scanning is enabled, intent list prefers the local package.