Vigiar
1
0
Derivar
Você já tinha feito uma derivação do repositório claude-plugin, anteriormente
0
claude-plugin/commands/status.md
2026-11-28 15:28:04 +02:00

1,1 KiB

description allowed-tools
Show the Interweb Mozambique API key mode, its permissions and the AI credit balance, without printing the key. Bash(curl:*), Bash(test:*)

Check the user's Interweb Mozambique setup and give a short summary. Never print, echo or log the key.

  1. Run test -n "$INTERWEB_API_KEY" && echo set || echo missing.
  2. If it is set, run: curl -sS "https://api.interweb.co.mz/v1/token" -H "Authorization: Bearer $INTERWEB_API_KEY" and report data.mode (sandbox or production), data.permissions, data.expires_at and the spending limit in data.spending. Do not show data.suffix or any part of the key.
  3. If the interweb-ai MCP server is connected, call its get_balance tool and report the AI credits. Otherwise run: curl -sS "https://api.interweb.co.mz/v1/ai/balance" -H "Authorization: Bearer $INTERWEB_API_KEY"
  4. If the key is missing or answers 401, explain how to create one in the API Center (https://www.meu.interweb.co.mz/api-center.php) and set it with export INTERWEB_API_KEY="sandbox_...".

Answer in the language the user writes in, in five lines or fewer.