A security-focused git pre-commit hook that scans for API keys, passwords, and tokens to prevent accidental data leakage.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install secret-detection
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install secret-detection using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Secret Detection skill for Openclaw Skills provides a robust local security layer for developers. It functions as a git pre-commit hook that automatically analyzes staged files for sensitive patterns, such as cloud provider keys or hardcoded credentials, before they can be committed to the repository history. By implementing this skill, you ensure that your Openclaw Skills workflows remain secure and compliant with modern security standards.
This utility is entirely self-contained, requiring no external APIs or third-party services to function. It helps teams maintain a clean codebase and prevents the costly and time-consuming process of rotating leaked credentials by stopping the leak at the source—the local commit process.
To get started with Secret Detection for your Openclaw Skills environment, follow these steps:
# Install the pre-commit hook in your current git repository
./scripts/main.py install
# Manually scan your staged files to check for secrets
./scripts/main.py scan --staged
# Scan a specific file for sensitive information
./scripts/main.py scan --file path/to/your/config.yaml
| Element | Type | Description |
|---|---|---|
| Hook Location | File Path | Installs at .git/hooks/pre-commit |
| Scanning Engine | Python | Local regex-based pattern matching |
| Report Output | CLI | Returns line numbers and truncated secret identifiers |
| Exit Status | Integer | 0 for success (no secrets), 1 for failure (secrets found) |
Loading
A CLI utility for storing and retrieving persistent chat history and conversation contexts across various channels and users.

A comprehensive CLI tool for constructing, executing, and managing HTTP requests with support for templates and history tracking.

A specialized CLI utility designed to efficiently prune stopped containers, unused images, and orphaned volumes to optimize Docker disk usage.

A robust CLI tool for comparing database schemas, generating migration scripts, and tracking structural evolution across various environments.

A comprehensive CLI utility designed to organize, generate, and validate SSH host configurations for streamlined remote access.

A lightweight CLI tool for monitoring SSL/TLS certificate expiration, security details, and compliance across multiple domains.
