SKILL.md
$27
- First invocation only — read
${CLAUDE_SKILL_DIR}/docs/setup.mdfor configuration, auth headers, and runtime detection.
- Match the action from the table below.
- Read the corresponding doc file for detailed steps.
- If no arguments or unrecognized action, show the help table below.
- If the user asks about newapi (what it is, how to use a command, or any API usage question like calling a specific model format) — read
${CLAUDE_SKILL_DIR}/docs/help.mdand follow the instructions there.
Actions
Action
Description
Details
models
List available models
docs/actions-query.md
groups
List user groups
docs/actions-query.md
balance
Show account balance
docs/actions-query.md
tokens
List API tokens
docs/actions-token.md
create-token
Create a new API token
docs/actions-token.md
switch-group
Change a token's group
docs/actions-token.md
copy-token
Copy real key to clipboard (never shown)
docs/actions-token.md
apply-token
Apply token key to a config file securely
docs/actions-config.md
exec-token
Execute a command with the token key securely substituted
docs/actions-exec.md
scan-config
Inspect config structure with best-effort secret redaction
docs/actions-config.md
help
Answer questions about newapi
docs/help.md
help (or no arguments) — Show available actions
Action
Usage
Description
models
/newapi models
List available models
groups
/newapi groups
List user groups
balance
/newapi balance
Show account balance
tokens
/newapi tokens
List API tokens
create-token
/newapi create-token <name> [--group=xxx]
Create a new API token
switch-group
/newapi switch-group <token_id> <group>
Change a token's group
copy-token
/newapi copy-token <token_id>
Copy real key to clipboard (never shown)
apply-token
/newapi apply-token <token_id> <file_path>
Apply token key to a config file securely
exec-token
/newapi exec-token <token_id> <command...>
Execute a command with the token key securely substituted
scan-config
/newapi scan-config <file_path>
Inspect config structure with best-effort secret redaction
help
/newapi help <question>
Answer questions about newapi