← 返回 Skills 市场
🔌

TinyPNG

作者 OOMOL · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
25
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oo-tinypng
功能描述
TinyPNG (tinypng.com). Use this skill for ANY TinyPNG request — searching and reading data. Whenever a task involves TinyPNG, use this skill instead of calli...
使用说明 (SKILL.md)

TinyPNG

Operate TinyPNG through your OOMOL-connected account. This skill calls the tinypng connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

Category: Design & Media. Exposes 2 action(s).

Running an action

Assume the user has already installed the oo CLI, signed in, and connected TinyPNG. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.

1. Inspect the contract to get the authoritative input/output schema before building a payload:

oo connector schema "tinypng" --action "\x3Caction_name>"

2. Run the action with a JSON payload that matches the input schema:

oo connector run "tinypng" --action "\x3Caction_name>" --data '\x3Cjson>' --json
  • --data takes a JSON object string or @path/to/file.json; omit it to send {}.
  • The response is { "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.

Each action below links to a reference file with its purpose and exact commands. Read the linked file, then fetch the live schema with oo connector schema before constructing --data.

Available actions

  • output_image — Transform a TinyPNG output image and return a transit URL for the resulting file.
  • shrink_image — Create a TinyPNG compressed image resource from a public URL or base64-encoded image bytes.

Safety

  • Read actions (get / list / search) are safe to run directly.
  • Create, update, send, or post actions change TinyPNG state — confirm the exact payload and effect with the user before running.
  • Delete or remove actions are destructive — always confirm the target and get explicit approval first.

First-time setup

These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

  • oo: command not found — install the oo CLI (other platforms: \x3Chttps://cli.oomol.com/install-guide.md>):

    curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
    
    irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
    
  • Not signed in / authentication error — sign in to your OOMOL account once:

    oo auth login
    
  • scope_missing / credential_expired / app_not_ready / app_not_found — TinyPNG is not connected, or the connection expired or lacks a scope. Connect once (auth type: API key) at:

    https://console.oomol.com/app-connections?provider=tinypng
    
  • HTTP 402 / OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.

Resources

安全使用建议
Install this if you are comfortable using OOMOL as the intermediary for TinyPNG actions and sending image URLs or image bytes through that connector. Before running the optional CLI installer commands, verify the OOMOL installer URL and only connect the TinyPNG account or API key you intend to use.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The artifacts consistently describe TinyPNG image compression and output transformation through the OOMOL oo CLI, and the two action files match that purpose.
Instruction Scope
The trigger wording is broad for TinyPNG-related requests, but the executable scope is limited to oo connector commands and the skill tells the agent to inspect schemas before running actions.
Install Mechanism
The first-time setup section includes curl-to-bash and PowerShell remote installer commands for the oo CLI; this is disclosed, HTTPS-based, and only suggested after a missing-CLI failure, but users should verify the installer source.
Credentials
The declared tool access is limited to Bash commands matching oo, which is proportionate for an OOMOL connector workflow.
Persistence & Privilege
The skill relies on an existing OOMOL login and server-side credential injection, does not request raw TinyPNG tokens, and shows no background persistence, privilege escalation, deletion, or local indexing behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oo-tinypng
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oo-tinypng 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Integrates TinyPNG through the OOMOL `tinypng` connector, using server-side credential injection so raw API tokens are never handled directly. - Compresses images by creating TinyPNG compressed image resources from either public image URLs or base64-encoded image bytes. - Transforms TinyPNG output images and returns transit URLs for the resulting files. - Provides action-specific guidance for `shrink_image` and `output_image`, including schema inspection and execution through the `oo` CLI. - Documents first-time setup and failure handling for CLI installation, authentication, TinyPNG connection status, and billing-related errors.
元数据
Slug oo-tinypng
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

TinyPNG 是什么?

TinyPNG (tinypng.com). Use this skill for ANY TinyPNG request — searching and reading data. Whenever a task involves TinyPNG, use this skill instead of calli... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 25 次。

如何安装 TinyPNG?

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

TinyPNG 是免费的吗?

是的,TinyPNG 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

TinyPNG 支持哪些平台?

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

谁开发了 TinyPNG?

由 OOMOL(@oomol)开发并维护,当前版本 v1.0.0。

💬 留言讨论