技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 516 · 8 current installs · 8 all-time installs
⭐ 0
安装量(当前) 8
🛡 VirusTotal :可疑 · OpenClaw :良性
Package:autogame-17/qr-generator
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :良性
OpenClaw 评估
This QR Generator appears to do what it claims (create QR images or terminal output), requests no secrets, and contains straightforward code; the only notable mismatch is that code/dependencies are bundled but there is no install spec—review dependencies before running.
目的
Name/description match the actual behavior: the included index.js and package.json implement a simple QR code generator using the 'qrcode' npm package and 'commander' for CLI parsing. There are no requests for unrelated credentials, binaries, or system access.
说明范围
SKILL.md instructions are narrowly scoped to running the provided Node script, writing an output file or printing ASCII to the terminal. The README includes an example that hands the generated file to a separate Feishu send script and then removes it; referencing another skill's send script is an example only and not performed by this code. The skill does perform local file writes (expected for file output) and prints errors to stderr—no instr…
安装机制
There is no explicit install spec, but the package.json and package-lock.json are bundled and list standard npm dependencies (commander, qrcode, etc.). That is coherent but worth noting: running this skill will typically require installing npm dependencies (npm install) which fetches third-party packages. The dependencies shown are standard and resolved from the npm registry; no remote arbitrary-download URLs or extract-from-unknown-host actio…
证书
The skill declares no required environment variables, no primary credential, and no config paths. The code does not read env vars or request secrets. Example usage that mentions Feishu would require credentials in the Feishu sender script, but those are outside this skill and not requested here.
持久
The skill does not request persistent or elevated privileges (always is false). It will create files in the working directory when asked to save output, which is expected behavior for a QR generator.
综合结论
This skill looks coherent and low-risk: it simply generates QR codes. Before running it, do these simple checks: 1) If you will run the bundled code, run npm install in an isolated environment and review package-lock.json for unfamiliar packages; 2) run the script with non-privileged user access (it writes files to the current directory); 3) the SKILL.md example references a Feishu send script—verify that separate sender skill if you intend to…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Qr Generator」。简介:Generate QR codes from text or URL for mobile scanning.。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/autogame-17/qr-generator/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: qr-generator
description: Generate QR codes from text or URL for mobile scanning.
---
# QR Generator
Generates a QR code image (PNG/SVG) or terminal output from a given text or URL.
Useful for transferring long URLs, WiFi credentials, or text snippets to mobile devices via Feishu (scan QR).
## Usage
```bash
# Generate a QR code image
node skills/qr-generator/index.js --text "https://openclaw.ai" --output "qr_code.png"
# Generate to terminal (ASCII art)
node skills/qr-generator/index.js --text "Hello World" --terminal
```
## Options
- `-t, --text <text>`: The text or URL to encode (required).
- `-o, --output <path>`: Output file path (e.g., `code.png`, `code.svg`).
- `--terminal`: Output QR code as ASCII art to the terminal.
- `--width <number>`: Width of the image (default: 500).
- `--color-dark <hex>`: Dark color (default: `#000000`).
- `--color-light <hex>`: Light color (default: `#ffffff`).
## Example: Send QR to Feishu
```bash
# 1. Generate QR code
node skills/qr-generator/index.js --text "https://example.com" --output "temp_qr.png"
# 2. Send to user via Feishu
node skills/feishu-image/send.js --target "ou_xxx" --file "temp_qr.png"
# 3. Clean up
rm temp_qr.png
```