secret-safe
Secure API key and secrets management for agent skills. Use this skill whenever a task requires authenticating with an external service, reading or writing API keys, tokens, passwords, or credentials of any kind. Also trigger when auditing other skills for credential leaks, when a user asks how to securely pass a secret to a skill, or when reviewing a SKILL.md that handles sensitive values. This skill teaches the agent how to handle secrets WITHOUT ever placing them in the LLM context, prompts, logs, or output artifacts — using OpenClaw's native env injection instead.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/brycexbt/secret-safeWhat This Skill Does
The secret-safe skill is a foundational security component for OpenClaw agents, designed to eliminate the common vulnerability of exposing credentials within the LLM context. By enforcing strict environment-based injection patterns, this skill ensures that API keys, tokens, and passwords never touch the agent's reasoning process, history logs, or output artifacts. It provides standardized methodologies for handling sensitive authentication data, ensuring they remain encrypted in transit and at rest within the host environment rather than being stored in human-readable prompt history.
Installation
To integrate this protective layer, run the following command in your terminal:
clawhub install openclaw/skills/skills/brycexbt/secret-safe
Once installed, you should update your openclaw.json configuration to map your credentials to specific environment variables, ensuring the metadata frontmatter of your skill correctly defines the requires.env gate. This prevents any skill from executing unless the required security context is initialized.
Use Cases
- Automated API Integration: Securing connections to services like GitHub, AWS, or OpenAI without pasting raw keys into the chat interface.
- Security Audits: Scanning existing skills or developer-written instructions to identify and remediate potential credential leaks.
- Enterprise Configuration: Implementing secrets manager workflows (like HashiCorp Vault, 1Password, or Keychain) where the agent fetches secrets directly into the subprocess environment, bypassing the LLM layer entirely.
- Policy Enforcement: Helping developers structure their
SKILL.mdfiles to adhere to OpenClaw's security-first architectural standards.
Example Prompts
- "How can I securely pass my Stripe API key to the new payment-processing skill I am building?"
- "Audit my current
SKILL.mdfile for credential exposure and suggest the correct environment injection pattern." - "Configure my agent to use the 1Password CLI to fetch my database credentials at runtime instead of hardcoding them."
Tips & Limitations
- Strict Isolation: Always ensure you are using double quotes around variables in shell commands to prevent command expansion leaks.
- Audit Regularly: While this skill helps mitigate risks, developers must still perform periodic manual reviews of their subprocess calls to ensure no accidental logging occurs.
- Environment Only: The skill only functions correctly if the agent adheres to the principle that the LLM should never be told the value of a secret, only that a secret exists within its environment.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-brycexbt-secret-safe": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: code-execution
Related Skills
doctorbot-ci-validator
Stop failing in production. Validate your GitHub Actions, GitLab CI & Keep workflows offline with surgical precision. Born from Keep bounty research, perfected for agents.
brand-butler-local-authority-engine
Brand Butler: Local Authority Engine — the white-glove SEO and AEO system for local service businesses. Use this skill immediately when the user asks about SEO rankings, backlinks, citations, site audits, Google Search Console indexing problems, competitor backlink analysis, directory submissions, schema markup, content placement articles, local map pack visibility, or AI answer engine optimization (Perplexity, ChatGPT, Google AI Overviews). Also triggers for any local business growth, online visibility, or 'why isn't my site ranking?' conversation. Works for agencies managing clients and business owners doing their own SEO. Covers HVAC, plumbing, electrical, law, dental, roofing, and any local service business. Built by Adrian Boysel.
social-vault
社交平台账号凭证管理器。提供登录态获取、AES-256-GCM 加密存储、定时健康监测和自动续期。Use when managing social media account credentials, importing cookies, checking login status, or automating session refresh. Also covers platform adapter creation and browser fingerprint management.
arc-shield
Output sanitization for agent responses - prevents accidental secret leaks
undertow
Skill discovery engine for AI coding agents. Recommends and installs the right skill when you need it — code review, test generation, debugging, commit messages, PR preparation, security scanning, dependency audits, Docker setup, CI/CD pipelines, API documentation, refactoring, performance optimization, bundle analysis, git recovery, README generation, license compliance, migration guides, dead code removal, and secret detection. One install gives your agent access to a curated library of 20+ developer workflow skills. Use when the user asks for help with any development workflow, code quality, DevOps, security, testing, documentation, or project setup task.