← Back to Skills Marketplace
代码片段管理器
by
huangjingzhi07
· GitHub ↗
· v1.0.0
321
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install code-snippet-oc
Description
代码片段收藏和管理工具
README (SKILL.md)
code-snippet - 代码片段技能
代码片段收藏和管理工具。
功能列表
- 片段收藏 - 保存常用代码片段,带标签分类
- 快速搜索 - 通过关键词、标签快速查找
- 代码高亮 - 支持多种编程语言高亮显示
- 一键复制 - 快速复制所需代码片段
触发关键词
- 保存代码、收藏代码
- 搜索代码、查找代码
- 代码片段、代码模板
数据存储
- snippets.json - 代码片段库
- tags.json - 标签管理
使用示例
- "保存这段Python代码"
- "搜索关于排序的代码"
- "查找React组件模板"
Usage Guidance
这个技能是一个纯说明性的“代码片段管理”文档,没有安装步骤或外部凭据要求。安装前请确认:
- 代理会把 snippets.json 和 tags.json 放在哪个目录(确保不是包含敏感数据的目录);
- 是否需要对这些本地文件做加密或访问控制,以免代码片段包含敏感信息被本地其他进程读取;
- 如果你关心隐私,确认代理在运行时不会把片段自动发送到外部服务(SKILL.md 中没有列出任何外部端点,但实际行为取决于代理实现)。
总体而言,文档与其宣称的功能一致,风险较低。
Capability Analysis
Type: OpenClaw Skill
Name: code-snippet-oc
Version: 1.0.0
The skill bundle is a standard documentation-only package for a code snippet management tool. It contains no executable code, network requests, or suspicious instructions in SKILL.md, and its stated purpose of saving and searching code fragments is consistent with the provided metadata and usage examples.
Capability Assessment
Purpose & Capability
技能名称、描述和列出的功能(收藏、搜索、高亮、复制)与 SKILL.md 中的内容一致。没有声明需要访问云服务或额外凭据,所需项目与目的相称。
Instruction Scope
SKILL.md 是说明性文档而非可执行指令;它提到将使用 snippets.json 和 tags.json 存储数据,但没有说明这些文件的确切路径或权限。虽然这在功能上合理,但建议确认代理会将这些文件放在哪个目录并如何保护它们。
Install Mechanism
这是纯文本说明(无安装规范、无代码文件、也无下载或执行步骤),因此没有安装相关风险。
Credentials
技能未请求任何环境变量、凭据或外部配置,所声明的数据存储(本地 JSON 文件)与其功能相符,没有不成比例的访问要求。
Persistence & Privilege
技能未设置 always:true,也不会修改其他技能或系统配置;默认的自主调用能力是平台默认行为,本技能并未增加额外权限。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install code-snippet-oc - After installation, invoke the skill by name or use
/code-snippet-oc - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始版本
Metadata
Frequently Asked Questions
What is 代码片段管理器?
代码片段收藏和管理工具. It is an AI Agent Skill for Claude Code / OpenClaw, with 321 downloads so far.
How do I install 代码片段管理器?
Run "/install code-snippet-oc" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 代码片段管理器 free?
Yes, 代码片段管理器 is completely free (open-source). You can download, install and use it at no cost.
Which platforms does 代码片段管理器 support?
代码片段管理器 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 代码片段管理器?
It is built and maintained by huangjingzhi07 (@huangjingzhi07); the current version is v1.0.0.
More Skills