代码片段管理器

v1.0.0

代码片段收藏和管理工具

0· 312·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for huangjingzhi07/code-snippet-oc.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "代码片段管理器" (huangjingzhi07/code-snippet-oc) from ClawHub.
Skill page: https://clawhub.ai/huangjingzhi07/code-snippet-oc
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install huangjingzhi07/code-snippet-oc

ClawHub CLI

Package manager switcher

npx clawhub@latest install code-snippet-oc
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
技能名称、描述和列出的功能(收藏、搜索、高亮、复制)与 SKILL.md 中的内容一致。没有声明需要访问云服务或额外凭据,所需项目与目的相称。
Instruction Scope
SKILL.md 是说明性文档而非可执行指令;它提到将使用 snippets.json 和 tags.json 存储数据,但没有说明这些文件的确切路径或权限。虽然这在功能上合理,但建议确认代理会将这些文件放在哪个目录并如何保护它们。
Install Mechanism
这是纯文本说明(无安装规范、无代码文件、也无下载或执行步骤),因此没有安装相关风险。
Credentials
技能未请求任何环境变量、凭据或外部配置,所声明的数据存储(本地 JSON 文件)与其功能相符,没有不成比例的访问要求。
Persistence & Privilege
技能未设置 always:true,也不会修改其他技能或系统配置;默认的自主调用能力是平台默认行为,本技能并未增加额外权限。
Assessment
这个技能是一个纯说明性的“代码片段管理”文档,没有安装步骤或外部凭据要求。安装前请确认: - 代理会把 snippets.json 和 tags.json 放在哪个目录(确保不是包含敏感数据的目录); - 是否需要对这些本地文件做加密或访问控制,以免代码片段包含敏感信息被本地其他进程读取; - 如果你关心隐私,确认代理在运行时不会把片段自动发送到外部服务(SKILL.md 中没有列出任何外部端点,但实际行为取决于代理实现)。 总体而言,文档与其宣称的功能一致,风险较低。

Like a lobster shell, security has layers — review code before you run it.

latestvk97b49d27hgrr6t0fzzp747aps82gvnr
312downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

code-snippet - 代码片段技能

代码片段收藏和管理工具。

功能列表

  1. 片段收藏 - 保存常用代码片段,带标签分类
  2. 快速搜索 - 通过关键词、标签快速查找
  3. 代码高亮 - 支持多种编程语言高亮显示
  4. 一键复制 - 快速复制所需代码片段

触发关键词

  • 保存代码、收藏代码
  • 搜索代码、查找代码
  • 代码片段、代码模板

数据存储

  • snippets.json - 代码片段库
  • tags.json - 标签管理

使用示例

  • "保存这段Python代码"
  • "搜索关于排序的代码"
  • "查找React组件模板"

Comments

Loading comments...