Share code snippets and files securely via snipit.sh with AES-256 encryption. Use when sharing code, configs, logs, diffs, or secrets with password protection, burn-after-read, or auto-expiration. Supports CLI (snipit) or curl API fallback.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install snipit或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install snipit⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/snipit/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: snipit description: Share code snippets and files securely via snipit.sh with AES-256 encryption. Use when sharing code, configs, logs, diffs, or secrets with password protection, burn-after-read, or auto-expiration. Supports CLI (snipit) or curl API fallback. metadata: {"openclaw":{"emoji":"📋","requires":{"anyBins":["snipit","curl"]},"install":[{"id":"npm","kind":"node","package":"snipit-sh","bins":["snipit"],"label":"Install snipit CLI (npm)"}]}} ---
Secure code snippet sharing with AES-256 encryption at rest.
# Install
npm install -g snipit-sh
# Create from file
snipit create server.py
# Pipe from stdin
cat code.js | snipit -l javascript
# With options
snipit create .env -t "Config" -p secret -b -e 1h
# Get snippet
snipit get abc123 -p secret
| Flag | Description | |------|-------------| | -t, --title | Snippet title | | -l, --language | Syntax highlighting | | -p, --password | Password protect | | -e, --expires | 1h, 6h, 1d, 3d, 1w, 2w, never | | -b, --burn | Burn after reading | | -c, --copy | Copy URL to clipboard |
# Create
curl -X POST https://snipit.sh/api/snippets \
-H "Content-Type: application/json" \
-d '{"content":"code","language":"python","burnAfterRead":true}'
# Get
curl https://snipit.sh/api/snippets/{id}
# Share git diff
git diff | snipit -t "Changes" -l diff
# Share logs (auto-expire 1h)
tail -100 app.log | snipit -e 1h
# Secure config (password + burn)
snipit create .env -p secret123 -b
# Build output
./build.sh 2>&1 | snipit -t "Build log"安装 snipit.sh 后,可以对 AI 说这些话来触发它
Help me get started with snipit.sh
Explains what snipit.sh does, walks through the setup, and runs a quick demo based on your current project
Use snipit.sh to share code snippets and files securely via snipit
Invokes snipit.sh with the right parameters and returns the result directly in the conversation
What can I do with snipit.sh in my developer & devops workflow?
Lists the top use cases for snipit.sh, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/snipit/ 目录(个人级,所有项目可用),或 .claude/skills/snipit/(项目级)。重启 AI 客户端后,用 /snipit 主动调用,或让 AI 根据上下文自动发现并使用。
snipit.sh 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
snipit.sh 可免费安装使用。请查阅仓库了解许可证信息。
Share code snippets and files securely via snipit.sh with AES-256 encryption. Use when sharing code, configs, logs, diffs, or secrets with password protection, burn-after-read, or auto-expiration. Supports CLI (snipit) or curl API fallback.
snipit.sh 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using snipit.sh
Identifies repetitive steps in your workflow and sets up snipit.sh to handle them automatically