← 返回 Skills 市场
mcollina

Snipgrapher - generate images from code snippets

作者 Matteo Collina · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
612
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install snipgrapher
功能描述
Configure and use snipgrapher to generate polished code snippet images
安全使用建议
This skill is an instruction handbook for the snipgrapher CLI and appears internally consistent. Before using it, verify the npm package name/version you intend to run (npx will download code from the npm registry), prefer installing a vetted binary or pinning a version in CI, review generated config files (snipgrapher.config.*) before committing, and avoid running unknown packages with elevated privileges. No credentials are requested by the skill itself.
功能分析
Type: OpenClaw Skill Name: snipgrapher Version: 0.1.0 The skill instructs the AI agent to use `npx --yes snipgrapher` to install and execute the `snipgrapher` tool from npm if it's not found. This instruction, found in `rules/rendering-workflows.md` and `rules/setup-and-configuration.md`, creates a supply chain vulnerability. Automatically downloading and executing code from a public registry without user confirmation (due to `--yes`) poses a risk of arbitrary code execution if the `snipgrapher` npm package (or a typosquatted version) were compromised. While the skill's stated purpose is benign, this practice introduces a significant security risk.
能力评估
Purpose & Capability
The name/description match the contents: all files describe configuring and running a CLI (snipgrapher) to render code snippets. Required env/config suggestions are relevant to rendering and profiles. Nothing asks for unrelated services or credentials.
Instruction Scope
Instructions are narrowly scoped to installing, initializing, configuring, and running the snipgrapher CLI (render, batch, watch, init, doctor). They reference project config files and suggest env vars relevant to rendering; no unexpected file reads, system-wide config changes, or external endpoints are specified.
Install Mechanism
There is no formal install spec (instruction-only), which is low-risk. The docs explicitly recommend falling back to 'npx --yes snipgrapher ...' if the binary is unavailable — this will fetch the package from npm at runtime. That behavior is expected for an npm CLI but carries the usual trust considerations of downloading packages from the registry.
Credentials
No required environment variables or credentials are declared. The README sensibly documents optional env vars (SNIPGRAPHER_PROFILE, THEME, etc.) that are proportional to the tool's purpose and are not sensitive credentials.
Persistence & Privilege
The skill is not always-enabled and does not request persistent system privileges or modify other skills or global agent settings. It is instruction-only and does not write persistent installers or tokens.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install snipgrapher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /snipgrapher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of snipgrapher skill. - Generate polished code snippet images in SVG, PNG, or WebP formats from source code. - Configure reusable rendering defaults and named profiles for consistent output. - Supports batch rendering of snippet assets for documentation, social media, or changelogs. - Provides setup, configuration, and rendering workflow guides. - Designed for automation and reproducibility using CLI flags, config files, or environment variables.
元数据
Slug snipgrapher
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Snipgrapher - generate images from code snippets 是什么?

Configure and use snipgrapher to generate polished code snippet images. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 612 次。

如何安装 Snipgrapher - generate images from code snippets?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install snipgrapher」即可一键安装,无需额外配置。

Snipgrapher - generate images from code snippets 是免费的吗?

是的,Snipgrapher - generate images from code snippets 完全免费(开源免费),可自由下载、安装和使用。

Snipgrapher - generate images from code snippets 支持哪些平台?

Snipgrapher - generate images from code snippets 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Snipgrapher - generate images from code snippets?

由 Matteo Collina(@mcollina)开发并维护,当前版本 v0.1.0。

💬 留言讨论