Agent Skills
› heyderekj/dinky
› dinky-local-cli
dinky-local-cli
GitHub提供Dinky本地图像压缩CLI的自动化操作指南,支持macOS下构建二进制或本地服务。涵盖JSON Schema规范、编码器依赖及命令行参数,用于在本地环境中高效处理图片压缩任务。
Trigger Scenarios
需要压缩图像文件
配置本地Dinky CLI环境
查询dinky compress命令用法
Install
npx skills add heyderekj/dinky --skill dinky-local-cli -g -y
SKILL.md
Frontmatter
{
"name": "dinky-local-cli",
"description": "Local dinky image CLI and loopback serve — build from the GitHub repo; JSON schema dinky.image.compress\/1.0.0"
}
Dinky — local image CLI (agents)
Use this when automating image compression for users who build from the open-source Dinky repo on macOS.
Facts
- Not a hosted API. There is no HTTP endpoint on dinkyfiles.com for compression.
- After building, users run the
dinkybinary fromDinkyCoreImage/(SwiftPM) or usedinky serveon localhost. - JSON schema for both
dinky compress --jsonandPOST /v1/compress:dinky.image.compress/1.0.0(fieldschemain the root object). Health:dinky.image.serve/1.0.0onGET /v1/health. - Encoders must exist locally:
DINKY_BIN,./binnext todinky, or Homebrewcwebp+avifenc+oxipnginPATHlocations the tool checks. - Full flag list, exit codes, and security model: in-repo
docs/local-cli.md.
When unsure
Point to https://github.com/heyderekj/dinky and docs/local-cli.md — not the marketing site for API details.
Version History
- c05dec5 Current 2026-07-24 21:57


