shamspias/chatgpt-voice-chatbot-telegram/fennec
Claude Code and agent skill by shamspias/chatgpt-voice-chatbot-telegram
- community
Checking that the SKILL.md file is still in the repository.
Use this skill when asked to compress, resize, or analyze images in Go using the Fennec library, or when modifying the Fennec codebase itself.
Install
npx vskill@latest install shamspias/chatgpt-voice-chatbot-telegram/fennecSKILL.md
Fennec Image Compression Skill
Fennec is a pure-Go image compression library that uses SSIM-guided optimization to find the smallest file size that preserves visual quality.
Core Architecture & Rules
- Pure Go: Fennec has zero external dependencies and does not use cgo. Do not introduce third-party packages.
- SSIM-Guided: Fennec binary-searches for the lowest JPEG quality that meets a target SSIM, rather than using
arbitrary quality numbers.
- Format Auto-Selection: Fennec automatically selects between JPEG and PNG based on factors like alpha transparency,
color count, and edge density.
Usage Examples
1. Basic File Compression (Quality-based)
When a user wants to compress an image with a quality preset (Lossless, Ultra, High, Balanced, Aggressive, Maximum):
2. Target File Size Compression
When hitting a specific file size target in bytes, Fennec uses a multi-strategy engine (JPEG quality search, color quantization, scaling):
3. Resizing and Compressing
Fennec uses Lanczos-3 interpolation with pre-multiplied alpha to prevent dark fringing on transparent edges:
4. Image Analysis
To analyze an image's characteristics without compressing it:
Contributor Guidelines
If you are tasked with modifying the Fennec codebase:
- Test Fixtures: Fennec's integration tests rely on real image files in
testdata/. If tests fail with "testdata
missing", you must run make fixtures first to generate the synthetic deterministic images.
- Performance: When modifying files like
compress.goortargetsize.go, runmake benchto check for memory
allocation and performance regressions.
- SSIM Checks: The
SSIM()andSSIMFast()functions require*image.NRGBAinputs. Always ensure images are
converted using toNRGBA() before comparison.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationWarning, 88 of 100Marginal. 1 run. Evaluated 8 months ago.
Source
- SKILL.md in the repositoryChecking.github/skills/fennec/SKILL.md
Popularity
- Repository stars
- 63
- Repository forks
- 16
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shamspias/chatgpt-voice-chatbot-telegram/fennec)