bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
secrets scan
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install aronchick/expanso-secrets-scan打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Detect hardcoded secrets (API keys, tokens, passwords) in text or code
expanso-edge binary in PATH)clawhub install expanso-edge
# Run standalone
echo '<input>' | expanso-edge run pipeline-cli.yaml
# Start as MCP server
expanso-edge run pipeline-mcp.yaml
expanso-cli job deploy https://skills.expanso.io/secrets-scan/pipeline-cli.yaml
| File | Purpose |
|---|---|
skill.yaml |
Skill metadata (inputs, outputs, credentials) |
pipeline-cli.yaml |
Standalone CLI pipeline |
pipeline-mcp.yaml |
MCP server pipeline |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
Detect hardcoded secrets (API keys, tokens, passwords) in text or code.
Scan code, configs, and logs for accidentally committed credentials. Essential for:
export OPENAI_API_KEY=sk-...
# Scan a file
cat config.yaml | expanso-edge run pipeline-cli.yaml
# Scan before committing
git diff --cached | expanso-edge run pipeline-cli.yaml
# Scan entire codebase
find . -name "*.py" -exec cat {} \; | expanso-edge run pipeline-cli.yaml
PORT=8080 expanso-edge run pipeline-mcp.yaml &
curl -X POST http://localhost:8080/scan \
-H "Content-Type: application/json" \
-d '{
"text": "const API_KEY = \"sk-abc123def456\";",
"types": ["api_key", "token"]
}'
| Variable | Required | Default | Description |
|---|---|---|---|
OPENAI_API_KEY |
Yes | - | OpenAI API key |
SECRET_TYPES |
No | all | Comma-separated secret types |
PORT |
No | 8080 | HTTP port for MCP mode |
| Type | Examples |
|---|---|
api_key |
sk-xxx, AKIA..., api_key=... |
token |
ghp_xxx, Bearer xxx |
password |
password=xxx, pwd:xxx |
private_key |
-----BEGIN RSA PRIVATE KEY----- |
aws_key |
aws-xxx, aws_secret_access_key |
github_token |
ghp_xxx, gho_xxx |
slack_token |
slack-xxx |
openai_key |
sk-xxx |
const config = {
apiKey: "sk-proj-abc123def456ghi789",
database: {
password: "supersecret123!"
},
aws: {
accessKeyId: "YOUR_AWS_ACCESS_KEY_ID",
secretAccessKey: "YOUR_AWS_SECRET_KEY"
}
};
{
"findings": [
{
"type": "openai_key",
"value": "sk-p...789",
"line": 2,
"severity": "high",
"context": "OpenAI API key in apiKey field"
},
{
"type": "password",
"value": "supe...123!",
"li...
# secrets-scan Detect hardcoded secrets (API keys, tokens, passwords) in text or code ## Requirements - Expanso Edge installed (`expanso-edge` binary in PATH) - Install via: `clawhub install expanso-edge` ## Usage ### CLI Pipeline ```bash # Run standalone echo '<input>' | expanso-edge run pipeline-cli.yaml ``` ### MCP Pipeline ```bash # Start as MCP server expanso-edge run pipeline-mcp.yaml ``` ### Deploy to Expanso Cloud ```bash expanso-cli job deploy https://skills.expanso.io/secrets-scan/pipeline-cli.yaml ``` ## Files | File | Purpose | |------|---------| | `skill.yaml` | Skill metadata (inputs, outputs, credentials) | | `pipeline-cli.yaml` | Standalone CLI pipeline | | `pipeline-mcp.yaml` | MCP server pipeline |
# secrets-scan
> Detect hardcoded secrets (API keys, tokens, passwords) in text or code.
Scan code, configs, and logs for accidentally committed credentials. Essential for:
- Pre-commit hooks
- CI/CD pipelines
- Code review automation
- Security audits
## Quick Start
### CLI Mode
```bash
export OPENAI_API_KEY=sk-...
# Scan a file
cat config.yaml | expanso-edge run pipeline-cli.yaml
# Scan before committing
git diff --cached | expanso-edge run pipeline-cli.yaml
# Scan entire codebase
find . -name "*.py" -exec cat {} \; | expanso-edge run pipeline-cli.yaml
```
### MCP Mode
```bash
PORT=8080 expanso-edge run pipeline-mcp.yaml &
curl -X POST http://localhost:8080/scan \
-H "Content-Type: application/json" \
-d '{
"text": "const API_KEY = \"sk-abc123def456\";",
"types": ["api_key", "token"]
}'
```
## Configuration
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `OPENAI_API_KEY` | Yes | - | OpenAI API key |
| `SECRET_TYPES` | No | all | Comma-separated secret types |
| `PORT` | No | 8080 | HTTP port for MCP mode |
## Secret Types
| Type | Examples |
|------|----------|
| `api_key` | sk-xxx, AKIA..., api_key=... |
| `token` | ghp_xxx, Bearer xxx |
| `password` | password=xxx, pwd:xxx |
| `private_key` | -----BEGIN RSA PRIVATE KEY----- |
| `aws_key` | aws-xxx, aws_secret_access_key |
| `github_token` | ghp_xxx, gho_xxx |
| `slack_token` | slack-xxx |
| `openai_key` | sk-xxx |
## Example Output
### Input
```javascript
const config = {
apiKey: "sk-proj-abc123def456ghi789",
database: {
password: "supersecret123!"
},
aws: {
accessKeyId: "YOUR_AWS_ACCESS_KEY_ID",
secretAccessKey: "YOUR_AWS_SECRET_KEY"
}
};
```
### Output
```json
{
"findings": [
{
"type": "openai_key",
"value": "sk-p...789",
"line": 2,
"severity": "high",
"context": "OpenAI API key in apiKey field"
},
{
"type": "password",
"value": "supe...123!",
"li...Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...