stranger-danger
Give your AI agent a safe word. Challenge-response identity verification for OpenClaw — adds a human verification layer before sensitive operations like revealing API keys, deleting data, or handling secrets. Answer is bcrypt-hashed and stored in macOS Keychain.
Why use this skill?
Add a human verification layer to OpenClaw. Use Stranger-Danger to password-protect sensitive tasks like API key retrieval and data deletion using secure bcrypt hashing.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jamesalmeida/stranger-dangerWhat This Skill Does
Stranger-Danger is a robust identity verification layer designed for the OpenClaw AI ecosystem. Its primary function is to introduce a human-in-the-loop security gate before the AI agent performs high-stakes operations. Rather than blindly trusting a request, the agent challenges the user to provide a pre-configured safe word or answer to a secret question. The technical implementation is highly secure; the provided answer is never stored in plaintext. Instead, the skill uses salted bcrypt hashing to process inputs, with the hash securely stored in the macOS Keychain, ensuring that even if your configuration files are accessed, your secret remains safe. The question itself is kept in a local JSON configuration for quick retrieval.
Installation
To add this layer of security to your agent, use the OpenClaw CLI package manager. Run the following command in your terminal:
clawhub install openclaw/skills/skills/jamesalmeida/stranger-danger
Once installed, you must initialize the skill to establish your challenge parameters. Execute stranger-danger setup to define your secret question and the corresponding answer. After configuration, you can verify your setup by running stranger-danger test to confirm the interactive flow is working as expected.
Use Cases
This skill is essential for users who grant their AI agents access to sensitive assets. Use it when:
- Secret Management: Protecting your agent from revealing stored API keys, environment variables, or private tokens.
- Data Integrity: Preventing accidental deletion or catastrophic file system modifications by forcing a verification step.
- Authentication Guard: Adding a second factor of authentication before the agent performs tasks on your behalf in external third-party services.
- Edge Cases: Stopping the agent when it receives an unusual, high-risk command that significantly deviates from its standard operating procedures.
Example Prompts
- "OpenClaw, please display my OpenAI API key from the secret vault. (Note: The agent will trigger Stranger-Danger before proceeding)."
- "I need to delete the entire 'experimental_logs' directory. Proceed with caution."
- "Can you show me the current stored password for my administrative portal?"
Tips & Limitations
- Security First: Never use an answer that can be easily guessed or found in your public social media profiles.
- Workflow Design: Incorporate
stranger-danger verifyas a pre-condition in your agent's system prompt to ensure it never executes destructive actions without calling the skill first. - Platform Constraint: This skill relies on the macOS Keychain, meaning it is currently optimized for macOS environments. Ensure your system's keychain is unlocked and accessible to the shell session.
- Data Safety: The skill does not log answers. If you forget your safe word, you must use
stranger-danger resetto clear the credentials, effectively disabling the protection until you complete the setup process again.
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-jamesalmeida-stranger-danger": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read, file-write
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.
Agent Migration Pack
将AI Agent完整迁移到新环境或分享给其他用户的标准化工具包,包含身份、记忆、技能、风格等完整信息,支持状态迁移
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.