Agnes AI skill for text, image, and video APIs with persistent auth and OpenAI-style workflows
SaferSkills independently audited agnes-ai-skill (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill when the user wants Agnes AI text, image, or video generation. This skill is now CLI-first: prefer agnes-ai-cli for all live execution, guide the user through --help when needed, and do not default to hand-written curl commands for Agnes work.
Agnes is attractive because one platform covers:
agnes-2.0-flashagnes-image-2.1-flash andagnes-image-2.0-flash
agnes-video-v2.0Some public June 2026 materials positioned Agnes as broadly free to try. The live docs also include pricing sections, so treat that free-access message as a strong but time-sensitive positioning claim and verify current billing when the user cares about cost.
Use this skill when:
agnes-ai.com, or the Agnes platformkeyframe video generation
creative iteration, ecommerce content, or storyboard work
Do not use this skill when:
checking the live docs
Prefer these Agnes pages:
https://agnes-ai.com/doc/quickstarthttps://platform.agnes-ai.com/settings/apiKeyshttps://agnes-ai.com/doc/agnes-20-flashhttps://agnes-ai.com/doc/agnes-image-20-flashhttps://agnes-ai.com/doc/agnes-image-21-flashhttps://agnes-ai.com/doc/agnes-video-v20https://www.npmjs.com/package/agnes-ai-clihttps://github.com/jomeswang/agnes-ai-cliUse public articles only as supporting context for likely use cases and product positioning, not as the operational source of truth.
https://apihub.agnes-ai.com/v1AGNES_API_KEYagnes-ai-cliCheck AGNES_API_KEY before making live Agnes requests.
If AGNES_API_KEY is missing and the task requires live Agnes access:
https://agnes-ai.com/doc/quickstarthttps://platform.agnes-ai.com/settings/apiKeysSettings -> API Keys -> Create new secret key
Do not continue with live Agnes calls until a valid key exists.
When a Chinese-speaking user asks how to get started, install, or use Agnes from an agent tool, give them this concise copy-paste path:
Please read and install Agnes AI Skill: https://github.com/jomeswang/agnes-ai-skillThen explain:
installer such as npx skills add jomeswang/agnes-ai-skill -g
https://platform.agnes-ai.com/settings/apiKeysand configure it as AGNES_API_KEY
generate an image, generate a video, or integrate Agnes APIagnes-ai-cli when itis available
Keep this onboarding short before moving into model-specific details.
If the user explicitly gives you an Agnes key and wants it remembered, persist it for future terminal sessions instead of keeping it only in the current process.
AGNES_API_KEY~/.zshrc~/.bashrc~/.profileexport AGNES_API_KEY=... line if presentUse a non-interactive shell flow like this when saving a provided key:
AGNES_API_KEY_VALUE='USER_PROVIDED_KEY'
shell_name="$(basename "${SHELL:-}")"
case "$shell_name" in
zsh) rc_file="$HOME/.zshrc" ;;
bash) rc_file="$HOME/.bashrc" ;;
*) rc_file="$HOME/.profile" ;;
esac
touch "$rc_file"
tmp_file="$(mktemp)"
grep -v '^export AGNES_API_KEY=' "$rc_file" > "$tmp_file" || true
printf '\nexport AGNES_API_KEY=%q\n' "$AGNES_API_KEY_VALUE" >> "$tmp_file"
mv "$tmp_file" "$rc_file"
export AGNES_API_KEY="$AGNES_API_KEY_VALUE"
unset AGNES_API_KEY_VALUEAfter saving, continue using AGNES_API_KEY for the current task.
This skill should execute Agnes through the CLI, not by manually composing raw HTTP requests.
npx -y agnes-ai-cli@^0.1.0 --helpnpx -y agnes-ai-cli@^0.1.0 ... as the default live execution pathin fresh or unknown environments.
agnes binary already exists, run:agnes --versionagnes --help>=0.1.0 <0.2.0curl for normal Agnes execution paths.The CLI already handles:
That means the agent should select the right CLI command, not rebuild the underlying HTTP payload each time.
--help GuidanceWhen the user is new to the CLI, or when you are about to use a less common command, guide through --help first.
At minimum, know these help entry points:
npx -y agnes-ai-cli@^0.1.0 --help
npx -y agnes-ai-cli@^0.1.0 auth --help
npx -y agnes-ai-cli@^0.1.0 media --help
npx -y agnes-ai-cli@^0.1.0 text chat --help
npx -y agnes-ai-cli@^0.1.0 image text2img --help
npx -y agnes-ai-cli@^0.1.0 image img2img --help
npx -y agnes-ai-cli@^0.1.0 image compose --help
npx -y agnes-ai-cli@^0.1.0 video text2video --help
npx -y agnes-ai-cli@^0.1.0 video img2video --help
npx -y agnes-ai-cli@^0.1.0 video multivideo --help
npx -y agnes-ai-cli@^0.1.0 video keyframes --help
npx -y agnes-ai-cli@^0.1.0 video poll --helpIf agnes is already installed globally and version-compatible, you can drop the npx -y agnes-ai-cli@^0.1.0 prefix and run the same subcommands directly.
Choose the smallest suitable Agnes model path:
agnes-2.0-flashtext chat runs without --modelagnes-image-2.1-flashimage text2img, image img2img, or image compose runswithout --model
agnes-image-2.0-flashagnes-video-v2.0keyframes
video generate command runs without --modelnpx -y agnes-ai-cli@^0.1.0 auth check
npx -y agnes-ai-cli@^0.1.0 auth save-key --key 'YOUR_KEY'Use auth check before live requests when auth may be missing.
npx -y agnes-ai-cli@^0.1.0 media url ./local-image.png
npx -y agnes-ai-cli@^0.1.0 media url https://example.com/already-remote.pngUse this when the user gives a local image path and Agnes needs a public image URL. The CLI handles the temporary upload bridge automatically.
npx -y agnes-ai-cli@^0.1.0 text chat --prompt "Reply with exactly pong."Use this for one-shot text verification, coding help, or small agent checks. If --model is omitted here, the CLI defaults to agnes-2.0-flash.
npx -y agnes-ai-cli@^0.1.0 image text2img --prompt "A premium studio product photo of a perfume bottle"
npx -y agnes-ai-cli@^0.1.0 image img2img \
--image ./input.png \
--prompt "Turn this into a refined editorial campaign visual"
npx -y agnes-ai-cli@^0.1.0 image compose \
--image ./subject.png \
--image ./reference.png \
--prompt "Blend these references into one polished commercial still"Use:
text2img for prompt-only image generationimg2img for one input imagecompose for multiple input images--model is omitted, the CLI defaults to agnes-image-2.1-flashnpx -y agnes-ai-cli@^0.1.0 video text2video \
--prompt "A cinematic beach scene at dusk"
npx -y agnes-ai-cli@^0.1.0 video img2video \
--image ./frame.png \
--prompt "Add subtle wind and a slow camera push"
npx -y agnes-ai-cli@^0.1.0 video multivideo \
--image ./frame-a.png \
--image ./frame-b.png \
--prompt "Blend these frames into one smooth motion concept"
npx -y agnes-ai-cli@^0.1.0 video keyframes \
--image ./frame-a.png \
--image ./frame-b.png \
--prompt "Transition between these frames with a polished morph"
npx -y agnes-ai-cli@^0.1.0 video poll video_123 --interval 5 --timeout 600Use:
text2video for prompt-only videoimg2video for one image inputmultivideo for multiple guiding imageskeyframes for explicit keyframe interpolationpoll for asynchronous completion--model is omitted, current CLI behavior uses agnes-video-v2.0npx -y agnes-ai-cli@^0.1.0 text chat --helpnpx -y agnes-ai-cli@^0.1.0 text chat --prompt "Reply with exactly pong." --jsonnpx -y agnes-ai-cli@^0.1.0 image text2img --helpnpx -y agnes-ai-cli@^0.1.0 image text2img ... --jsonnpx -y agnes-ai-cli@^0.1.0 image img2img --helpnpx -y agnes-ai-cli@^0.1.0 image img2img ... --jsonnpx -y agnes-ai-cli@^0.1.0 image compose --help--image multiple timesnpx -y agnes-ai-cli@^0.1.0 image compose ... --jsonnpx -y agnes-ai-cli@^0.1.0 video text2video --helpnpx -y agnes-ai-cli@^0.1.0 video text2video ... --jsonvideoIdnpx -y agnes-ai-cli@^0.1.0 video poll <videoId> --jsonnpx -y agnes-ai-cli@^0.1.0 video img2video --helpnpx -y agnes-ai-cli@^0.1.0 video img2video ... --jsonvideoIdnpx -y agnes-ai-cli@^0.1.0 video poll <videoId> --jsonnpx -y agnes-ai-cli@^0.1.0 video keyframes --help--image at least twicenpx -y agnes-ai-cli@^0.1.0 video keyframes ... --jsonvideoIdnpx -y agnes-ai-cli@^0.1.0 video poll <videoId> --jsonUse the CLI as the execution layer, but keep these Agnes-specific rules in mind:
Use the CLI as the execution layer, but keep these Agnes-specific rules in mind:
num_frames must be <= 441num_frames must satisfy 8n + 1frame_rate supports 1-60width: 1152height: 768num_frames: 121frame_rate: 24own payload shape
For text-to-video prompts, describe:
For image-to-video prompts, describe:
For keyframes and multi-image work, describe:
Prefer --json whenever the command result will be consumed by the agent.
Examples:
npx -y agnes-ai-cli@^0.1.0 image text2img --prompt "..." --json
npx -y agnes-ai-cli@^0.1.0 video text2video --prompt "..." --json
npx -y agnes-ai-cli@^0.1.0 video poll video_123 --jsonThis makes it easier to:
taskId and videoId>=0.1.0 <0.2.0or parameter actually works.
videoId for polling. Passing an older taskId remains compatiblethrough the CLI's legacy endpoint routing.
unless the user explicitly wants a separate upload step.
target language only after the CLI path has been validated.
https://apihub.agnes-ai.com/v1/chat/completions/images/generations/videos/agnesapi?video_id={video_id}/videos/{task_id}agnes-2.0-flashagnes-image-2.1-flashagnes-image-2.0-flashagnes-video-v2.0curl for Agnes execution in this skillvideo poll and assume video generation is synchronousinvalid
official Agnes docs
can change over time
that behavior
With repository-aware skill installers:
npx skills add jomeswang/agnes-ai-skill -gAfter installation, invoke this skill whenever Agnes setup or Agnes model usage comes up.
1.2.2 - Added a linked Chinese README and Chinese quick-start onboardingguidance for agent responses.
1.2.1 - Made npx -y agnes-ai-cli@^0.1.0 the default copy-paste executionpath in fresh environments and kept global agnes as an optional fast path.
1.2.0 - Switched the skill to CLI-first Agnes execution, removed raw curlexecution guidance, and made --help discovery part of the expected flow.
1.1.2 - Added dual-track CLI guidance so agents prefer the separate Agnesexecution layer when available and keep raw curl as the fallback.
1.1.0 - Expanded official doc coverage for Image 2.0, Image 2.1, and Video2.0 parameters, scenarios, prompt structures, response fields, and task states.
1.0.0 - Initial public release with Agnes platform setup, persistent auth,text, image, and video workflow guidance.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.