Install
openclaw skills install @zkeviny/key-safe-skill-generatorA documentation‑only meta‑skill that teaches AI agents how to generate secure, zero‑exposure skills using MGC Blackbox for credential management. Contains no executable code.
openclaw skills install @zkeviny/key-safe-skill-generatorKey‑Safe Skill Generator is a meta‑skill that teaches AI agents how to generate secure skills that interact with external services requiring credentials (email, APIs, tokens, SSH keys, etc.).
It provides a design pattern, structural templates, and conceptual workflows for building skills that never expose secrets to AI models.
This skill contains no executable code and is safe for automatic approval.
After reading this documentation, an AI agent will understand how to:
Traditional skills often embed credentials in:
Zero‑Exposure skills avoid this entirely:
To build a Zero‑Exposure skill, users must:
pip install mgc-blackboxmgc (runs at http://127.0.0.1:57219)mgc_save, mgc_get) for credential managementImportant: For AI agents, use MCP tools (
mgc_save,mgc_get). CLI may have port conflicts in some environments.
A Zero‑Exposure skill follows this pattern:
User stores credentials in MGC
Example identifiers: smtp_config, slack_bot_token, github_token.
Skill references the identifier
The AI never sees the actual credentials.
Local script retrieves credentials from MGC
The script communicates with the local MGC service to fetch encrypted content.
Local script performs the sensitive operation
Examples: sending email, calling an API, pushing to Git.
AI receives only the result
No secrets are ever exposed.
A typical Zero‑Exposure skill package contains:
your_skill/
SKILL.md
README.md
local_script
Should describe:
Should explain:
The script should:
The script must never print or expose secrets.
This section provides the technical details needed to interact with MGC Blackbox.
All information is text‑only and not executable.
Retrieve stored credentials from MGC Blackbox.
Endpoint: /api/mgc/sensitive/get
Method: POST
Headers:
Body fields:
Response fields:
Store credentials in MGC Blackbox.
Endpoint: /api/mgc/sensitive/save
Method: POST
Headers: same as above
Body fields:
A local script should follow this conceptual flow:
This skill:
This skill has no runtime entrypoint.
It is a documentation‑only instructional skill.