Sfg Skills Agnes

Agnes AI 图像与视频生成技能。当用户需要生成图片(文生图、图生图)或视频(文生视频、图生视频、多图视频、关键帧动画)时使用此技能。 触发关键词:生成图片、绘图、画图、AI画图、文生图、图生图、生成视频、做视频、AI视频、文生视频、图生视频、关键帧动画、Agnes、agnes-image、agnes-video。 安装后需配置 API Key 才能使用,首次使用时引导用户设置。

9 stars 1 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add fuzhengwei/xfg-skills-agnes --skill sfg-skills-agnes
Manual install
git clone --depth 1 https://github.com/fuzhengwei/xfg-skills-agnes.git /tmp/xfg-skills-agnes
mkdir -p ~/.claude/skills
cp -r /tmp/xfg-skills-agnes/. ~/.claude/skills/sfg-skills-agnes

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Agnes AI 图像与视频生成技能

通过 Agnes AI API 生成高质量图片和视频。支持文生图、图生图、文生视频、图生视频、多图视频和关键帧动画。

## API Key 配置

> ⚠️ API Key 仅保存在本地 `~/.agnes/config.json`,不会被提交到版本控制。

### 静默检查优先

调用图像/视频生成前,**不要主动询问 API Key**。按以下逻辑处理:

1. **静默检查**:直接读取 `~/.agnes/config.json`,如果已有 `api_key` 字段且非空,直接使用,无需提示用户
2. **首次配置**:仅当本地不存在配置文件或 `api_key` 为空时,才引导用户设置:
   ```bash
   python3 "{SKILL_DIR}/scripts/agnes_config.py" set --api-key YOUR_API_KEY
   ```
3. **Key 失效**:仅当 API 返回 401 错误时,才提示用户 Key 可能失效,引导重新配置

### 配置管理命令

```bash
# 查看当前配置
python3 "{SKILL_DIR}/scripts/agnes_config.py" show

# 设置/更新 API Key
python3 "{SKILL_DIR}/scripts/agnes_config.py" set --api-key YOUR_API_KEY

# 删除配置
python3 "{SKILL_DIR}/scripts/agnes_config.py" delete
```

---

## 一、图像生成(agnes-image-2.1-flash)

### 1.1 文生图

根据文本提示词生成图片:

```bash
python3 "{SKILL_DIR}/scripts/agnes_image.py" \
  --prompt "A luminous floating city above a misty canyon at sunrise, cinematic realism" \
  --size "1024x768"
```

### 1.2 图生图

基于已有图片进行风格转换或编辑:

```bash
python3 "{SKILL_DIR}/scripts/agnes_image.py" \
  --prompt "Transform the scene into a rain-soaked cyberpunk night with neon reflections while preserving the original composition" \
  --size "1024x768" \
  --image "https://example.com/input-image.png"
```

也支持本地图片(自动转 Base64):

```bash
python3 "{SKILL_DIR}/scripts/agnes_image.py" \
  --prompt "Make the object orange while preserving the original composition" \
  --size "1024x768" \
  --image "/path/to/local/image.png"
```

### 1.3 图像参数

| 参数 | 默认值 | 说明 |
Read the full skill on GitHub

Details

Skill name
sfg-skills-agnes
License
Apache-2.0
Repo updated
16 June 2026

FAQ

What does the Sfg Skills Agnes skill do?

Agnes AI 图像与视频生成技能。当用户需要生成图片(文生图、图生图)或视频(文生视频、图生视频、多图视频、关键帧动画)时使用此技能。 触发关键词:生成图片、绘图、画图、AI画图、文生图、图生图、生成视频、做视频、AI视频、文生视频、图生视频、关键帧动画、Agnes、agnes-image、agnes-video。 安装后需配置 API Key 才能使用,首次使用时引导用户设置。

How do I install the Sfg Skills Agnes skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add fuzhengwei/xfg-skills-agnes --skill sfg-skills-agnes. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Sfg Skills Agnes popular?

It lives in fuzhengwei/xfg-skills-agnes, which has 9 GitHub stars and 1 forks.

Related skills

Solidworks AI Bridge

9

Mochaxgcc/solidworks-ai-bridge

Bridge a local AI coding agent to SolidWorks through the Windows COM Automation API for automated CAD modeling, parametric part and assembly creation, macro-like API calls, template discovery, dependency setup, controlled document cleanup, preview image export, and neutral CAD export for downstream CAE/CFD workflows such as Ansys Fluent, Ansys Mechanical, COMSOL Multiphysics, or other simulation tools. Use when the user asks to connect an agent with SolidWorks, drive an open SolidWorks session, avoid accumulating many Part/零件 windows, troubleshoot SldWorks.Application COM access, create SolidW

AI, LLMs & Agents

Openclaw Genpark Agent Monitor

9

alphaparkinc/openclaw-genpark-agent-monitor

OpenClaw GenPark Agent Monitor - Heartbeat telemetry liveness auditor, EWMA latency drift detector with CUSUM change-points, and Apdex performance index solver with zero dependencies.

AI, LLMs & Agents

Unipus

9

Han-maker-wp/unipus-agent

操作网页版 U校园(Unipus / U校园AI版 uai.unipus.cn)的全能技能:登录课程、定位单元任务与作业、从内置答案知识库(21 系列/约200本教材)检索答案、AI 辅助作答(默认只填不提交,每次必须当场询问用户提交策略)、按配置时长挂机积累学习时长(默认10分钟/节,带心跳提示)、提交前多重答案核查。当用户提到 U校园、U校园AI版、unipus、Unipus、新编大学英语、新视野、新标准、大学英语作业、刷时长、做英语作业时一律使用本技能,即使用户没有明确说出"U校园"三个字。

AI, LLMs & Agents

Motionsites Promptcapture

9

bingo33-gif/motionsites-promptcapture

Use when the user asks to create a website (landing page, SaaS site, portfolio, agency site, hero section, etc.) and mentions UI design, or explicitly asks to find website prompts from motionsites.ai. Go to https://motionsites.ai, find the most relevant prompt template for the user's request, and deliver the prompt plus an optimization plan adapted to the user's tech stack. Triggers on natural language like '需要你创建一个网站并且要用到UI设计', '创建一个网站,要用到UI设计', '帮我从 MotionSites 找合适的 prompt', '做一个带动效的落地页'. Do not use for plain coding tasks without UI/website design needs.

AI, LLMs & Agents

Agent Onboarding

10

skyil7/agent-onboarding

Initialize a repository by analyzing its structure and generating `AGENTS.md` and structured `docs/`, enabling AI coding agents (Claude Code, Codex, Cursor, etc.) to operate safely, deterministically, and with minimal human supervision.

AI, LLMs & Agents

JanitorAI Agent Skill

9

alphaparkinc/janitor-ai-skill

A modular GenPark AI Agent skill that interacts with JanitorAI to create, manage, and converse with highly customizable AI personas for storytelling, roleplay, and character-driven interactions.

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.