Skip to content
Back to skills

Cloud Secrets

ASecurity

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.

  • 2,166 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 5, 2026
ai-agentsrustbashapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add davidondrej/cloudroom-core --skill cloud-secrets --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cloud Secrets?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cloud Secrets
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/davidondrej-cloud-secrets/badge)](https://www.skillsdirectory.com/skills/davidondrej-cloud-secrets)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.