Token导航 LogoToken导航TokenDH.com
AI 工具敏感数据github未标认证来源可访问clear审计通过

photo-color照片颜色

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

372

周安装

16

GitHub Stars

公开资料未说明

下载量

131
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:photo-color(照片颜色)
来源仓库:https://github.com/ppx123-web/claude-config
仓库路径:skills/photo-color
安装命令:
npx skills add https://github.com/ppx123-web/claude-config --skill photo-color
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/ppx123-web/claude-config --skill photo-color

简介

用于辅助图像生成、图片编辑、视觉素材处理和图像模型工作流。

  • 适合让 Agent 根据文本生成图片、处理背景或整理视觉提示词。
  • 使用时需要确认输入图片、版权来源、输出格式和模型限制。
  • 涉及人物、品牌或公开展示素材时,应核对授权、真实性和内容合规边界。
  • photo-color 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Photo Color

When to Use

Use this skill when the user asks to:

  • Adjust brightness (e.g., "make it brighter", "darken the photo")
  • Change contrast (e.g., "increase contrast", "make it more dramatic")
  • Modify saturation (e.g., "make colors more vibrant", "desaturate")
  • Apply a specific style (e.g., "cinematic look", "natural enhancement")
  • Fix photo issues (e.g., "fix washed out colors", "add warmth")

Instructions

This skill uses GPT-5 text API to interpret natural language and calculate color adjustments. Always:

  1. Validate input - Ensure photo exists and is JPG/PNG format
  2. Analyze photo - Calculate current brightness, contrast, saturation scores
  3. Call GPT-5 - Get enhancement suggestions based on user's prompt and photo analysis
  4. Select best match - Choose suggestion that best matches prompt keywords (vivid/natural/dramatic)
  5. Apply enhancements - Adjust colors and save to new file (never overwrite original)
  6. Report results - Show multipliers applied and GPT-5's reasoning

Usage

from photo_color import main

result = main(
    photo_path="photo.jpg",
    prompt="Make the colors more vibrant and warm"
)
# Returns: "photo-enhanced.jpg"

Command Line

python photo_color.py <photo_path> "<prompt>" [output_path]

Examples

Vivid colors:

Make the colors much more vibrant and vivid
Increase saturation by 50%
Make colors pop

Natural enhancement:

Apply a subtle natural enhancement
Keep it looking natural and soft

Cinematic/dramatic:

Create a dramatic cinematic look with high contrast
Make it bold and intense

Fix issues:

Fix the washed out appearance
Increase saturation to make colors more realistic
Add warmth to the photo

Specific adjustments:

Brighten and increase contrast
Make it darker and more moody

Output

  • Returns path to enhanced photo
  • Never overwrites original
  • Format: {original_name}-enhanced.{ext}
  • Multipliers in safe range (0.5-2.0)
  • Displays style name and GPT-5's reasoning

Enhancement Styles

GPT-5 suggests these style categories:

  • Vivid: High saturation (1.3-1.5), increased brightness and contrast
  • Natural: Subtle adjustments (1.05-1.2), minimal changes
  • Dramatic: High contrast (1.5-1.8), bold adjustments
  • Custom: Tailored to specific prompt requirements

Error Handling

  • Falls back to safe defaults (×1.2 saturation, ×1.1 brightness, ×1.1 contrast) if GPT-5 unavailable
  • Validates multipliers (0.5-2.0 range)
  • Clear error messages for missing files or invalid formats

Requirements

  • OPENROUTER_API_KEY environment variable must be set
  • Photo must be JPG or PNG format
  • Photo under 50MB recommended

Technical Implementation

See references/implementation.md for:

  • GPT-5 text API integration
  • Photo analysis algorithms
  • Color enhancement styles
  • Prompt matching strategy

Examples

See examples/common-use-cases.md for:

  • Vivid color enhancement
  • Natural subtle adjustment
  • Dramatic cinematic look
  • Fix washed out photos
  • Add warmth
  • Before/after comparisons

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.5%
按下载量换算36

Antigravity

23.83%
按下载量换算31

Gemini CLI

17.11%
按下载量换算22

windsurf

14.03%
按下载量换算18

trae

8.06%
按下载量换算11

OpenCode

3.34%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills