nuvem
Installation
SKILL.md
nuvem
The monthly API credit is the ceiling: no session opens unless this month's commitment plus the new session's cap fits under the lower of the credit and the Console spend limit, with a margin. The commitment counts what finished sessions spent, the full cap of live ones, and the external API use you declare. If the spend cannot be read, nothing opens.
N="bash ${CLAUDE_SKILL_DIR}/scripts/nuvem.sh"; $N alone lists the commands. Your values live in ~/.config/nuvem/ (limits.conf and projects/), and the state (agent, environment, sessions, uploads, outputs) lives in ~/.local/state/nuvem/. NUVEM_CONFIG and NUVEM_STATE move them.
First run
- Key. A Claude API key in
~/.config/anthropic/api-key(mode 600), or inANTHROPIC_API_KEY. The user creates and saves it; you check only that the file exists and its size. - Limits. Copy the skill's
limits.confto~/.config/nuvem/limits.confand fillMONTHLY_CREDIT_CENTSwith the user's monthly credit. ReadCONSOLE_LIMIT_CENTSfrom https://platform.claude.com/settings/spend-limits (in the user's browser, through Claude in Chrome when available). Both ship as0, so the ceiling refuses every session until they are set. - Done when
$N spendprints a non-negative "free" line.