Skip to main content

cloud-secrets

Ask the user for API keys, tokens, or other credentials from a Cloudroom cloud thread and write them to a dotenv file without exposing them in chat.

Source facts

Repository
davidondrej/cloudroom
Last source activity
November 8, 2026 at 22:24
Detected SKILL.md language
English
Stars
1,541
Forks
279

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
cloud-secrets
description
Ask the user for API keys, tokens, or other credentials from a Cloudroom cloud thread and write them to a dotenv file without exposing them in chat.
# Request secrets securely Use `room-cli secret request` when the user needs to supply a credential. Never ask the user to paste a secret into chat. Open a form only after the user says they have the value and are ready. One secret per form. If it times out or is cancelled, never reopen it on your own. Ask once, then wait. Check documentation or `.env.example` for names, but never read or print an existing secret-bearing env file. ```bash room-cli secret request OPENAI_API_KEY \ --purpose "Configure application credentials" \ --describe OPENAI_API_KEY "OpenAI API key used by the server" \ --write-env .env.local ``` - The user fills a secure form in the thread. The command waits until they submit or cancel, so allow it up to 10 minutes. - Relative paths resolve from the current folder. The file is written with mode 0600. - After success, trust the printed path and added/updated/unchanged counts. Never verify with `cat`, `env`, or anything that reveals values. - If it reports duplicate or multiline assignments, fix the file structure without reading values, then rerun. - If the request is cancelled, ask in chat whether to try again, then wait for the user's answer. Never ask for the values in chat.
View on GitHub