CLI Evidence: Template
template list(后端)
$ abx template list
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━┓
┃ TemplateID ┃ Alias ┃ Status ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━┩
│ tmpl-001 │ python-base │ ready │
│ tmpl-002 │ node-web │ ready │
└────────────┴─────────────┴────────┘
Exit code: 0
template info tmpl-001
$ abx template info tmpl-001
templateID tmpl-001
alias python-base
status ready
dockerfile FROM python:3.11-slim
Exit code: 0
template install base(内置)
$ abx template install base
'base' is a built-in template. No installation needed.
Use it directly: abx create --template base
Exit code: 0
template search(匿名限流:统一引导)
$ abx template search qwen
Exit code: 1
stderr:
[E5000] GitHub API rate limit exceeded while fetching the template index (anonymous requests are limited to 60/hour). No cached copy of the template index is available (https://raw.githubusercontent.com/alibaba-agent-sandbox/awesome-templates/main/awesome-templates.yaml).
Suggestion: Authenticate to raise the limit to 5000/hour: run 'abx config set github_token' in an interactive terminal (masked input; stored in ~/.abx/.env and reused automatically). Create a fine-grained token here - public repositories need no extra permissions and a 90-day expiry is recommended: https://github.com/settings/personal-access-tokens/new?name=abx-template-token&description=Read-only+access+for+abx+template+installs&expires_in=90&contents=read In CI / non-interactive sessions, inject GITHUB_TOKEN as a secret instead. The explicit '--token <value>' flag also works but may leak into shell history and process listings. Alternatively wait for the window to reset, or point at a mirror via --index-url / ABX_TEMPLATE_INDEX_URL.
template install owner/repo//subdir@ref(匿名限流)
$ abx template install alibaba-agent-sandbox/awesome-templates//codex-agent-api@v1.0
Fetching template from alibaba-agent-sandbox/awesome-templates...
Exit code: 1
stderr:
[E5000] GitHub API rate limit exceeded while fetching alibaba-agent-sandbox/awesome-templates//codex-agent-api@v1.0 (anonymous requests are limited to 60/hour).
Suggestion: Authenticate to raise the limit to 5000/hour: run 'abx config set github_token' in an interactive terminal (masked input; stored in ~/.abx/.env and reused automatically). Create a fine-grained token here - public repositories need no extra permissions and a 90-day expiry is recommended: https://github.com/settings/personal-access-tokens/new?name=abx-template-token&description=Read-only+access+for+abx+template+installs&expires_in=90&contents=read In CI / non-interactive sessions, inject GITHUB_TOKEN as a secret instead. The explicit '--token <value>' flag also works but may leak into shell history and process listings.