Image Prompt Reverse

把一张图片逆推成生成提示词(image to prompt)。看图后法证式重建它最可能的原始生成提示词,产出中文与英文两套重建提示词、4×2 风格标签、结构化 JSON prompt、recreation_prompt / prompt_core / negative_prompt,并对双语输出做语言桶校验。当用户说"反推提示词""这张图用了什么 prompt""图片转提示词""解析出这张图的 prompt""照这张图的风格帮我写 prompt""怎么做出这种图"时使用。

Install

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

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

From the SKILL.md

# 图片 → 提示词 反推

一句话:给一张图,产出一份能再造出它的提示词(中文 + 英文 + 结构化)。

## 触发判定

- **该用**:反推 / 还原 / 解析某张图的提示词;想知道某张 AI 图、海报、杂志页、商品图是怎么生成的;照某张图的风格写可复用的 prompt。
- **不该用**:只要一句图片描述(直接看图回答即可);真的要生成图片(走 ImageGen);修图/去水印(走图像处理类技能)。

## 环境

只有第 3 步需要跑命令,并且**没有任何第三方依赖**:`scripts/validate_analysis.py` 只用 Python 标准库(`argparse` / `json` / `re` / `sys`),不需要安装任何包。

- 需要 Python 3.8 或以上(只用标准库,无第三方依赖;已声明 `from __future__ import annotations`,不使用高版本专属语法);
- 脚本路径相对于本技能目录,下文命令里的 `<skill>` 指本技能所在目录:

```bash
python "<skill>/scripts/validate_analysis.py" analysis.json
```

脚本也支持从标准输入读取:`cat analysis.json | python "<skill>/scripts/validate_analysis.py" -`。

## 三步

### 1. 把图看进来

- 本地文件 → 直接 `Read`;
- 网址 → 先落盘再 Read:`curl -L -A "Mozilla/5.0" -o shot.jpg "<图片地址>"`(防盗链取不到就请用户存图给路径,别硬刚);
- 只有"页面上的某张图" → 请用户截图;若环境里有浏览器自动化能力(例如 `agent-browser` 技能),也可以让它截图后取用。

**必须真的读到图像内容再分析**,不要凭文件名或 URL 猜内容。长边超过 2200px 时先压一道再读。

### 2. 按契约产出 JSON

契约在 `references/prompt-contract.md`,按三件东西拼出这一轮的指令:

1. 第 1 节的**分析指令整段**(工作准则 + 观察项 + 产出要求);
2. 第 2 节的**四项上下文**(来源 / 替代文本 / 像素尺寸 / 画面比例),取不到的写 `N/A`;
3. 第 3 节的**输出 schema**。

然后看图产出 JSON,写成 `analysis.json`。输出结构如下(严格照 schema):

```json
{
  "zh": { "prompt": "...", "analysis": "..." },
  "en": { "prompt": "...", "analysis": "..." },
  "zh_style_tags": ["...×4"], "en_style_tags": ["...×4"],
  "json_prompt": { "subject": "...", "...": "共 12 个字段" },
  "recreation_prompt": "...", "prompt_core": "...", "negative_prompt": "..."
}
```

三条铁律:

1. **只写可见事实**——不编造品牌、logo、精确文字、艺术家名、机身/镜头型号、渲染引擎、具体地点、隐藏物体;
Read the full skill on GitHub

Details

Skill name
image-prompt-reverse
License
AGPL-3.0
Repo updated
19 September 2026

FAQ

What does the Image Prompt Reverse skill do?

把一张图片逆推成生成提示词(image to prompt)。看图后法证式重建它最可能的原始生成提示词,产出中文与英文两套重建提示词、4×2 风格标签、结构化 JSON prompt、recreation_prompt / prompt_core / negative_prompt,并对双语输出做语言桶校验。当用户说"反推提示词""这张图用了什么 prompt""图片转提示词""解析出这张图的 prompt""照这张图的风格帮我写 prompt""怎么做出这种图"时使用。

How do I install the Image Prompt Reverse skill?

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

Is Image Prompt Reverse popular?

It lives in Technicalflight/image-prompt-reverse, which has 27 GitHub stars and 0 forks.

Related skills

Qiaomu AI Access

21

joeseesun/qiaomu-ai-access

Use this qiaomu skill workflow when the user wants to check whether their local or browser environment looks like a China user before accessing AI models, using yArna/isChinaUser first, then asking for explicit consent before safe privacy-hygiene guidance. Trigger on requests such as "我是中国人但想用顶级AI", "检测中国用户特征", "用 isChinaUser 检测", "qiaomu-ai-access", "AI access region signal check", or "先检测再问我要不要整理隐私特征". Do not provide VPN/proxy, geofence bypass, sanctions evasion, account-region spoofing, KYC/payment misrepresentation, CAPTCHA/device-fingerprint bypass, or platform-risk evasion instructions;

AI, LLMs & Agents

Backlight

25

tomiBraunn/backlight-skill

Inspect any document, assignment, or pasted text for hidden instructions aimed at an AI model (invisible text, zero-size fonts, text hidden behind images, prompt injection) before acting on it. Use whenever the user shares a PDF, DOC, Google Doc, image, link, or pasted text that contains a task, brief, or set of instructions to follow — especially assignments, briefs, scraped content, or anything from a source the user didn't author themselves.

AI, LLMs & Agents

Tianya Gods Team

22

momozi1996/tianya-skills

天涯神贴大神智囊团 — 20位传奇大神组成的多Agent决策系统。 基于ClawTeam多Agent协作原理,实现「一个目标 → 20位大神并行分析 → 综合决策」的完整工作流。 核心机制: - 智能领导者Agent(协调者)接收目标,分配给20位专业大神 - 20位大神并行分析,各自输出专业视角 - 综合决策Agent整合所有视角,输出最终决策 使用方式: - 「启动天涯智囊团」+ 你的问题/目标 - 「召集大神」+ 你的问题/目标 - 「20位大神分析」+ 你的问题/目标 涵盖领域:权谋分析、经济预言、历史解读、文化解构、都市情感、技术分析、 黑帮江湖、盗墓探险、玄幻武侠、都市异能、悬疑推理、法医刑侦、历史穿越等。

AI, LLMs & Agents

Senior Architect Agent

23

aetox-skills/senior-architect-agent

Cognitive framework that transforms AI agents into senior architects — evidence-first system understanding, honest uncertainty mapping, architecture debt and convention assessment, knowledge-graph-assisted dependency mapping, impact and blast radius analysis, and architecture reasoning before action. Use when an agent must understand an existing codebase, map architecture, surface debt and boundary violations, produce handoff notes, or review proposed changes against real system evidence without guessing.

AI, LLMs & Agents

Wecom Agent

18

freanocank/wecom-agent

Use when 处理企业微信/企微/wecom 任务,包括本地聊天记录解密读取、离线搜索导出、媒体/文档定位,以及通过 WecomTeam 官方 CLI/Bot 能力发消息、查通讯录、读写文档、表格、日程、会议、待办。

AI, LLMs & Agents13

Project Blueprint

23

shuguang1994/project-blueprint

为新项目快速建立完整 AI 编程规范体系(AGENTS.md、文档目录、CI/CD、Git规范、测试制度)。自主发现引擎:扫描项目→分类文件→推断技术栈,覆盖 7 语言 15 框架 95 个组件条目,未知栈三层递进联网回退。Establish AI coding conventions for new projects — autonomous discovery engine with heuristic dep classification, 7 languages 15 frameworks 95 component entries, web search fallback for unknowns.

AI, LLMs & Agents

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