chongplus-image
ChongPlus Image
Run the bundled client from this Skill's directory. Resolve SKILL_DIR as the directory containing this SKILL.md; do not use an absolute path from another machine.
The client sends image requests to https://ai.chongplus.plus. It never automatically resubmits an image request to another endpoint after a network failure or timeout.
Daily update check
Check for an upstream skill update at most once per local calendar day. Store the last successful check date in the user's config directory (for example, ~/.config/chongplus-image/update-check.json); if today's check is already recorded, skip all update network calls and continue silently.
On the daily check, use a lightweight remote revision/content comparison. Do not run git fetch or download the full repository as a routine preflight. If an update is available, tell the user it may contain bug fixes or compatibility changes and ask for explicit authorization before installing it. If the check fails, report that update status could not be checked and continue with the installed version. If authorized updating fails or local changes block it, report the failure and preserve the current version.
Credential workflow
- Let the client load the saved key during the image request. Do not run
config --show-statusbefore every request. - On first use, or when the client reports that no key is saved, ask:
Please provide your ChongPlus API Key (sk-...). I will save it locally for future ChongPlus image requests. If you do not have one, sign in at https://api.chongplus.plus/keys, create a key, and select the image-generation group. - Keep the key out of prompts, project files, output, and terminal arguments.
- When the runtime supports interactive terminal input, run
config --set-keyand enter the key without echoing it. - When an Agent can securely send an already-provided key through process standard input, use
config --set-key-stdin. Do not put it in a command-line argument or environment variable.