Логотип Agnes Ai Skill

Agnes Ai Skill

Спільнота
jomeswang
agnes-ai-skill

Use when the user wants Agnes AI text, image, or video generation and should execute it through the agnes-ai-cli command line instead of hand-writing raw HTTP requests.

Огляд

Видавецьjomeswang
Репозиторійagnes-ai-skill
Назва навичкиagnes-ai-skill
Зірки
47
Форки
4
Файли в пакеті
35
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 35

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: jomeswang. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Agnes Ai Skill у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/jomeswang/agnes-ai-skill/tree/main
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jomeswang/agnes-ai-skill.git \
  .claude/skills/agnes-ai-skill
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Agnes Ai Skill в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Agnes Ai Skill, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Agnes Ai Skill не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Agnes AI Skill

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:

  • text with agnes-2.0-flash
  • image generation and editing with agnes-image-2.1-flash and agnes-image-2.0-flash
  • video generation with agnes-video-v2.0

Some 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.

When To Use

Use this skill when:

  • the user mentions Agnes AI, agnes-ai.com, or the Agnes platform
  • the user wants one provider for text, image, and video generation
  • the user wants Agnes text, image, or video APIs executed from a terminal
  • the user wants image-to-image, multi-image composition, image-to-video, or keyframe video generation
  • the user wants a low-friction multimodal API for prototyping, agent loops, creative iteration, ecommerce content, or storyboard work

Do not use this skill when:

  • the user is asking for a different provider only
  • the task does not need Agnes-specific models, auth, or request behavior
  • you would have to guess current Agnes behavior without running the CLI or checking the live docs

Source Of Truth

Prefer these Agnes pages:

  • Quickstart: https://agnes-ai.com/doc/quickstart
  • API key page: https://platform.agnes-ai.com/settings/apiKeys
  • Text docs: https://agnes-ai.com/doc/agnes-20-flash
  • Image 2.0 docs: https://agnes-ai.com/doc/agnes-image-20-flash
  • Image 2.1 docs: https://agnes-ai.com/doc/agnes-image-21-flash
  • Video docs: https://agnes-ai.com/doc/agnes-video-v20
  • Published CLI: https://www.npmjs.com/package/agnes-ai-cli
  • CLI repo: https://github.com/jomeswang/agnes-ai-cli

Use public articles only as supporting context for likely use cases and product positioning, not as the operational source of truth.

Base URL And Auth

  • Base URL: https://apihub.agnes-ai.com/v1
  • Main environment variable: AGNES_API_KEY
  • Preferred execution package: agnes-ai-cli

Check AGNES_API_KEY before making live Agnes requests.

Missing Key Behavior

If AGNES_API_KEY is missing and the task requires live Agnes access:

  1. Tell the user Agnes access is not configured yet.
  2. Point them to:
    • https://agnes-ai.com/doc/quickstart
    • https://platform.agnes-ai.com/settings/apiKeys
  3. Explain the path briefly: Settings -> API Keys -> Create new secret key
  4. Ask them to provide the key if they want you to save it for future use.

Do not continue with live Agnes calls until a valid key exists.

Chinese Quick Start Response

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:

text
Please read and install Agnes AI Skill: https://github.com/jomeswang/agnes-ai-skill

Then explain:

  • install the skill into the agent's skill directory or use a repository-aware installer such as npx skills add jomeswang/agnes-ai-skill -g
  • create an Agnes API key at https://platform.agnes-ai.com/settings/apiKeys and configure it as AGNES_API_KEY
  • say generate an image, generate a video, or integrate Agnes API
  • the agent should choose the proper Agnes model and use agnes-ai-cli when it is available

Keep this onboarding short before moving into model-specific details.

Persisting The Key Permanently

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.

Rules

  • Save it as AGNES_API_KEY
  • Detect the shell and write to the matching rc file:
    • zsh -> ~/.zshrc
    • bash -> ~/.bashrc
    • fallback -> ~/.profile
  • Update an existing export AGNES_API_KEY=... line if present
  • Otherwise append a new export line
  • Also export it in the current session immediately
  • Do not echo the full key back after saving
  • Tell the user which rc file you changed

Reliable Shell Snippet

Use a non-interactive shell flow like this when saving a provided key:

bash
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_VALUE

After saving, continue using AGNES_API_KEY for the current task.

Execution Contract

This skill should execute Agnes through the CLI, not by manually composing raw HTTP requests.

Preferred Order

  1. First use the no-install command path:
    • npx -y agnes-ai-cli@^0.1.0 --help
  2. Use npx -y agnes-ai-cli@^0.1.0 ... as the default live execution path in fresh or unknown environments.
  3. If a local agnes binary already exists, run:
    • agnes --version
    • agnes --help
  4. Use the local binary only when its version falls inside:
    • >=0.1.0 <0.2.0
  5. Do not fall back to raw curl for normal Agnes execution paths.

Why CLI-First

The CLI already handles:

  • auth checks
  • local file to temporary public URL bridging
  • image request normalization
  • video task creation
  • video polling
  • JSON output for agent consumption

That means the agent should select the right CLI command, not rebuild the underlying HTTP payload each time.

Mandatory --help Guidance

When 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:

bash
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 --help

If 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.

Model Selection

Choose the smallest suitable Agnes model path:

  • agnes-2.0-flash
    • chat, coding, tool calling, structured agent work, fast production tasks
    • default when text chat runs without --model
  • agnes-image-2.1-flash
    • default for new text-to-image and straightforward image-to-image work
    • especially useful for denser layouts and stronger semantic alignment
    • default when image text2img, image img2img, or image compose runs without --model
  • agnes-image-2.0-flash
    • use when the user explicitly wants Image 2.0
    • useful for edit-heavy or multi-image composition flows
  • agnes-video-v2.0
    • use for text-to-video, image-to-video, multi-image guided video, and keyframes
    • current default when any video generate command runs without --model

CLI Command Map

Auth

bash
npx -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.

Media URL Bridge

bash
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.png

Use this when the user gives a local image path and Agnes needs a public image URL. The CLI handles the temporary upload bridge automatically.

Text

bash
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.

Image

bash
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 generation
  • img2img for one input image
  • compose for multiple input images
  • if --model is omitted, the CLI defaults to agnes-image-2.1-flash

Video

bash
npx -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 600

Use:

  • text2video for prompt-only video
  • img2video for one image input
  • multivideo for multiple guiding images
  • keyframes for explicit keyframe interpolation
  • poll for asynchronous completion
  • if --model is omitted, current CLI behavior uses agnes-video-v2.0

Practical CLI Workflow

Text Verification

  1. npx -y agnes-ai-cli@^0.1.0 text chat --help
  2. npx -y agnes-ai-cli@^0.1.0 text chat --prompt "Reply with exactly pong." --json

Text-To-Image

  1. npx -y agnes-ai-cli@^0.1.0 image text2img --help
  2. run npx -y agnes-ai-cli@^0.1.0 image text2img ... --json
  3. read the returned image URL

Image-To-Image

  1. npx -y agnes-ai-cli@^0.1.0 image img2img --help
  2. if the user gave a local path, let the CLI bridge it automatically
  3. run npx -y agnes-ai-cli@^0.1.0 image img2img ... --json

Multi-Image Composition

  1. npx -y agnes-ai-cli@^0.1.0 image compose --help
  2. pass --image multiple times
  3. run with npx -y agnes-ai-cli@^0.1.0 image compose ... --json

Text-To-Video

  1. npx -y agnes-ai-cli@^0.1.0 video text2video --help
  2. run npx -y agnes-ai-cli@^0.1.0 video text2video ... --json
  3. capture videoId
  4. run npx -y agnes-ai-cli@^0.1.0 video poll <videoId> --json

Image-To-Video

  1. npx -y agnes-ai-cli@^0.1.0 video img2video --help
  2. if the user gave a local path, let the CLI bridge it automatically
  3. run npx -y agnes-ai-cli@^0.1.0 video img2video ... --json
  4. capture videoId
  5. run npx -y agnes-ai-cli@^0.1.0 video poll <videoId> --json

Keyframes

  1. npx -y agnes-ai-cli@^0.1.0 video keyframes --help
  2. pass --image at least twice
  3. run npx -y agnes-ai-cli@^0.1.0 video keyframes ... --json
  4. capture videoId
  5. run npx -y agnes-ai-cli@^0.1.0 video poll <videoId> --json

Image Guidance

Use the CLI as the execution layer, but keep these Agnes-specific rules in mind:

  • Image 2.1 is the default for most new image work
  • Image 2.0 is useful for edit-heavy or multi-image composition work
  • For edits, explicitly separate:
    • what should change
    • what must stay fixed
  • For dense images, be explicit about:
    • primary subject
    • background environment
    • important secondary details
    • style and lighting
    • composition constraints

Video Guidance

Use the CLI as the execution layer, but keep these Agnes-specific rules in mind:

  • the API is asynchronous
  • num_frames must be <= 441
  • num_frames must satisfy 8n + 1
  • frame_rate supports 1-60
  • common safe example settings are:
    • width: 1152
    • height: 768
    • num_frames: 121
    • frame_rate: 24
  • for keyframes, use the dedicated CLI subcommand instead of inventing your own payload shape

For text-to-video prompts, describe:

  • subject
  • action
  • environment
  • camera movement
  • lighting
  • style

For image-to-video prompts, describe:

  • what should move
  • what should stay stable
  • how subtle or dramatic the motion should be

For keyframes and multi-image work, describe:

  • how the inputs relate
  • what continuity should remain stable
  • what transition feeling is desired

JSON Output

Prefer --json whenever the command result will be consumed by the agent.

Examples:

bash
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 --json

This makes it easier to:

  • read taskId and videoId
  • extract image URLs
  • extract final video URLs
  • detect failures cleanly

Operational Guidance

  • Supported companion CLI range for this skill release:
    • >=0.1.0 <0.2.0
  • Prefer live CLI tests over guessing when the user asks whether a model path or parameter actually works.
  • For image results, expect a URL in the response.
  • For video results, expect task creation first, then polling.
  • Prefer videoId for polling. Passing an older taskId remains compatible through the CLI's legacy endpoint routing.
  • Use the CLI's local-file bridge instead of manually uploading files yourself unless the user explicitly wants a separate upload step.
  • If the user asks for SDK code, translate the confirmed CLI behavior into the target language only after the CLI path has been validated.
  • If the user asks about pricing, limits, or free access, verify the live docs.

Compact Reference

  • Base URL: https://apihub.agnes-ai.com/v1

  • Text endpoint behind CLI: /chat/completions

  • Image endpoint behind CLI: /images/generations

  • Video create endpoint behind CLI: /videos

  • Video recommended poll endpoint behind CLI: /agnesapi?video_id={video_id}

  • Video legacy poll endpoint behind CLI: /videos/{task_id}

  • Text model: agnes-2.0-flash

  • Image model: agnes-image-2.1-flash

  • Image compatibility model: agnes-image-2.0-flash

  • Video model: agnes-video-v2.0

Do Not

  • Do not proceed with live Agnes calls when the key is missing
  • Do not default to raw curl for Agnes execution in this skill
  • Do not rebuild request payloads by hand when the CLI already covers the flow
  • Do not skip video poll and assume video generation is synchronous
  • Do not trust stale marketing claims over the current API docs

Safety

  • Never echo a full Agnes API key back to the user after it has been supplied
  • Never continue with live Agnes requests when auth is missing or clearly invalid
  • Never treat article copy or marketing claims as more authoritative than the official Agnes docs
  • Never promise pricing, limits, or "forever free" terms without noting they can change over time
  • Never write the key to a project file unless the user explicitly asks for that behavior

Installation

With repository-aware skill installers:

bash
npx skills add jomeswang/agnes-ai-skill -g

After installation, invoke this skill whenever Agnes setup or Agnes model usage comes up.

Version History

  • 1.2.2 - Added a linked Chinese README and Chinese quick-start onboarding guidance for agent responses.
  • 1.2.1 - Made npx -y agnes-ai-cli@^0.1.0 the default copy-paste execution path 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 curl execution guidance, and made --help discovery part of the expected flow.
  • 1.1.2 - Added dual-track CLI guidance so agents prefer the separate Agnes execution 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 Video 2.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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Agnes Ai Skill?

Use when the user wants Agnes AI text, image, or video generation and should execute it through the agnes-ai-cli command line instead of hand-writing raw HTTP requests.

Навіщо використовувати Agnes Ai Skill у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Agnes Ai Skill — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Agnes Ai Skill у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/jomeswang/agnes-ai-skill/tree/main. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Agnes Ai Skill?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Agnes Ai Skill?

Зі скількома забажаєте. У TypingMind ви можете використовувати Agnes Ai Skill із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Agnes Ai Skill?

Так. На GitHub цю навичку публікує jomeswang за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇