Dinky Local CLI
Apps & Automationdinky-local-cliDinky Local CLI is an Agent Skill for apps & automation published in the heyderekj/dinky repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Local dinky image CLI and loopback serve — build from the GitHub repo; JSON schema dinky.image.compress/1.0.0
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/heyderekj/dinky/blob/HEAD/site/.well-known/agent-skills/dinky-local-cli/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/dinky-local-cli, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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.