Token导航 LogoToken导航

Agent Skill · 研究检索

adobe-resize-photos-and-videos(adobe 调整照片和视频大小)

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

adobe-resize-photos-and-videos 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 42,645。

总安装 1,053周安装 43GitHub Stars 55下载 337核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:adobe-resize-photos-and-videos(adobe 调整照片和视频大小)
来源仓库:https://github.com/adobe/skills
仓库路径:skills/adobe-resize-photos-and-videos
安装命令:
npx skills add https://github.com/adobe/skills --skill adobe-resize-photos-and-videos
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/adobe/skills --skill adobe-resize-photos-and-videos

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于调整图像和视频的尺寸、比例或预设尺寸,适用于多种媒体格式转换。支持批量处理、裁切重设、预览输出,并可集成到 PSD/AI 文档渲染流程中。使用步骤包括上传资产、搜索文件、裁剪缩放、预览结果并上传至 Creative Cloud。

安装命令:npx skills add https://github.com/adobe/skills --skill adobe-resize-photos-and-videos。注意:涉及人物、品牌或商用素材时需核对版权授权,输出格式应符合平台要求。

来源仓库内路径:skills/adobe-resize-photos-and-videos

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/adobe/skills --skill adobe-resize-photos-and-v…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

adobe-resize-photos-and-videos 怎么安装?

在终端执行 npx skills add https://github.com/adobe/skills --skill adobe-resize-photos-and-videos。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

adobe-resize-photos-and-videos 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

adobe-resize-photos-and-videos 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

adobe-resize-photos-and-videos 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

adobe-resize-photos-and-videos 用的人多吗?

公开数据是累计安装 1,053 次,近一周安装 43 次,下载 337 次,GitHub 55 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

adobe-resize-photos-and-videos 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
adobe-resize-photos-and-videos

adobe 调整照片和视频大小 · 本页

1,05355需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Adobe Resize Photos and Videos

Resizes images or videos to user-specified dimensions, aspect ratio, or named size. For social media platform sets (Instagram, TikTok, etc.) → use the adobe-create-social-variations skill instead.


Tool Reference

StepToolNotes
Open file pickerasset_add_fileReturns presignedAssetUrl, assetId, and mediaType
Find asset in CCasset_searchRe-stage result via asset_add_file for image; use id directly for video
Render PSD/AIdocument_render_vectorConverts to JPEG before resize
Resize imageimage_crop_and_resizeOne call per dimension; reframe by default
Preview outputsasset_preview_fileAll outputs in a single call
Upload to CC (start)asset_initialize_file_uploadFirst call in block upload pipeline
Upload to CC (finish)asset_finalize_file_uploadSecond call; returns presigned CC URL for board
Create Firefly boardcreate_firefly_boardPass import_adobe_storage with finalize URL
Resize videovideo_resizeReturns statusId for polling
Poll video resizeresizeVideoPollDeferred tool — load before calling

Workflow

Step 0 — Initialize Adobe Tools

Call adobe_mandatory_init first. This returns file handling rules and tool routing guidance required for the rest of the workflow.

{ "skill_name": "adobe-resize-photos-and-videos", "skill_version": "1.0.1" }

Step 1 — Entitlement Check

Now that adobe_mandatory_init confirmed that the "Adobe for creativity" connector is live, check which tools are available through the "Adobe for creativity" connector by cross checking against the Tool Reference table above.


IMMEDIATE ACTION REQUIRED

Step 1: If parameters are missing or ambiguous → run the multi-step intake (Step 2 below). Step 2: If no file is uploaded, run Step 3 (asset_add_file({})). Step 3: Detect image vs. video and route to the correct workflow (Step 5 Image/Video).


Step 2 — Multi-Step Intake

Run this when the user hasn't provided complete parameters (type + dimensions + fit mode). Skip entirely if the user's message already contains all three.

Use AskUserQuestion to collect parameters step by step.

Step 2a — Type
AskUserQuestion([{
  question: "Photo or video?",
  type: "single_select",
  options: ["Photo", "Video"]
}])
Step 2b — Dimensions

If Photo (multi_select — user can pick one or more):

AskUserQuestion([{
  question: "Dimensions — select all you need",
  type: "multi_select",
  options: [
    "1080 × 1080 — Instagram square",
    "1080 × 1350 — Instagram portrait",
    "1080 × 1920 — Stories / Reels",
    "1920 × 1080 — YouTube / landscape",
    "1280 × 720 — YouTube thumbnail",
    "1200 × 675 — X / Twitter post",
    "1200 × 630 — Facebook / OG image",
    "1080 × 566 — LinkedIn post",
    "2560 × 1440 — YouTube banner",
    "3840 × 2160 — 4K / UHD",
    "400 × 400 — Profile / avatar",
    "2480 × 3508 — A4 print (300 dpi)",
    "Custom — I'll type it"
  ]
}])

If user includes "Custom" → follow up: "Enter your custom dimensions (e.g. 1500×800):"

If user selects multiple presets → run image_crop_and_resize once per dimension, using the same source URI and parameters each time. Preview all outputs together at the end.

If Video (multi_select — user can pick one or more):

AskUserQuestion([{
  question: "Dimensions — select all you need",
  type: "multi_select",
  options: [
    "1080 × 1920 — Reels / TikTok / Stories",
    "1920 × 1080 — YouTube / landscape",
    "1080 × 1080 — Square post",
    "1280 × 720 — YouTube 720p",
    "3840 × 2160 — 4K / UHD",
    "854 × 480 — SD / 480p",
    "Custom — I'll type it"
  ]
}])

If user selects multiple video presets → submit a separate video_resize job per dimension, poll each to completion, preview all outputs together.

Step 2c — Fit mode

If Photo (single_select):

AskUserQuestion([{
  question: "Fit mode",
  type: "single_select",
  options: [
    "Reframe — crop to fill",
    "Pad — letterbox, no crop",
    "Extract — isolate subject"
  ]
}])

If Video (single_select):

AskUserQuestion([{
  question: "Fit mode",
  type: "single_select",
  options: [
    "Letterbox — preserve ratio",
    "Crop — fill, no bars",
    "Stretch — force exact (distort)"
  ]
}])
Step 2d — Smart focus (Photo only)
AskUserQuestion([{
  question: "Smart focus — where should the crop center?",
  type: "single_select",
  options: [
    "Subject",
    "Face / portrait",
    "Upper body",
    "Center (geometric)",
    "Named object — I'll describe it"
  ]
}])

If user selects "Named object" → follow up: "Describe the object (e.g. 'the red car', 'the logo'):"

Step 2e — Options (Photo only)
AskUserQuestion([{
  question: "Any additional options?",
  type: "multi_select",
  options: [
    "Batch — multiple images",
    "Output: JPEG",
    "Output: PNG"
  ]
}])
Step 2f — Source (Video only)
AskUserQuestion([{
  question: "Where is the video?",
  type: "single_select",
  options: [
    "Upload from device",
    "From Creative Cloud"
  ]
}])

Step 3 — Get the Source File

Critical — /mnt/user-data/uploads/ paths are NOT usable URLs. Even when the user has attached a file and it appears in context at a /mnt/user-data/uploads/ path, you cannot pass this path to any Adobe tool. Call asset_add_file() to stage the file — /mnt/user-data/uploads/ paths are not fetchable by Adobe tools.

WRONG  ❌  imageURI: "/mnt/user-data/uploads/photo.jpg"
WRONG  ❌  imageURI: "file:///mnt/user-data/uploads/photo.jpg"
CORRECT ✅  call asset_add_file() → use presignedAssetUrl from picker context

No file yet → open the picker immediately:

asset_add_file()

Detect type from returned mediaType:

  • image/* → IMAGE WORKFLOW
  • video/* → VIDEO WORKFLOW

Step 4 — Resolve Target Dimensions

User saysResolve to
1920×1080, 1920x1080width: 1920, height: 1080
4K3840 × 2160
HD, 1080p1920 × 1080
720p1280 × 720
480p854 × 480
A4 print2480 × 3508 (300 DPI portrait)
Letter print2550 × 3300 (300 DPI portrait)
16:9, 1:1, 4:5, 9:16ratio string → pass as output: "16:9"
squareoutput: "1:1"
Width only (800px wide)width: 800, use ratio string to maintain aspect

If no target was specified in the form AND none in the user's message → ask:

"What dimensions do you need? (e.g. 1920×1080, A4, 16:9)"

IMAGE WORKFLOW

Step 5 (Image) — Valid URI Sources

Only these work as imageURI:

  • presignedAssetUrl from asset_add_file() ✅
  • outputUrl from a prior tool call ✅
  • Public HTTPS URL provided by user ✅

Not usable as imageURI:

  • /mnt/user-data/uploads/ paths ❌
  • renditionURL from asset_search directly ❌
  • file:// URIs ❌
SourceResolution
Uploaded fileasset_add_file() → presignedAssetUrl
CC storage assetasset_search → re-stage via asset_add_file() → presignedAssetUrl
Prior tool outputUse outputUrl directly
PSD / AI filedocument_render_vector (JPEG, 300 DPI) → outputPresignedUrl

Step 6 (Image) — Fit Mode

IntentModeNotes
"resize to WxH" / defaultreframeLargest crop at target ratio, centered — no distortion
"no cropping", "letterbox", "fit inside"padFills empty space with white
"isolate subject", "tight crop"extractTight crop around detected region

Default: reframe. Change only when user is explicit.

⛔ fit: "extract" is incompatible with an explicit {width, height} — it stretches the image. Use a ratio string or omit output.

Step 7 (Image) — Call image_crop_and_resize

image_crop_and_resize({
  imageURI: presignedAssetUrl,
  options: {
    output: { width: 1920, height: 1080 },  // or "16:9"
    fit: "reframe",
    focus: "subject",  // or "face", "upper_body", { prompt: "the car" }, { x:0.5, y:0.5 }
    quality: 7
  },
  outputFileType: "jpeg"  // or "png" if transparency needed
})
// result.outputUrl → use for preview or chaining

Focus guide:

  • "subject" — default; full-body detection, landscapes, objects
  • "face" — portraits, headshots
  • "upper_body" — chest-up crops
  • {prompt: "the logo"} — named object from user's form input
  • {x: 0.5, y: 0.5} — geometric center (no clear subject)

Step 8 (Image) — Batch

If batch was selected in the form OR the user provided multiple files:

  1. Call asset_add_file() for each file to get individual presigned URLs
  2. Call image_crop_and_resize for each with the same parameters
  3. Collect all outputUrl values
  4. Call asset_preview_file with all outputs in a single call
Calls run sequentially in this environment. For >10 images, confirm with the user before starting.

Pagination across turns (batches >20): For large batches, the conversation context may fill before all images are processed, causing Claude to pause mid-batch. This is expected — not an error. When it happens:

  • State how many have been completed and how many remain (e.g. "20 / 24 done — say 'continue' for the rest")
  • Wait for the user to confirm before resuming
  • On resume, pick up from the next unprocessed image and continue to the end
  • Preview all outputs together only after the final image completes

Step 9 (Image) — Preview + Deliver + Firefly Board

asset_preview_file({
  assets: [
    { name: "photo_1920x1080.jpg", presignedAssetUrl: result.outputUrl },
    // all successful outputs
  ]
})
Save to CC + Create Firefly Board

After preview, upload each output to CC storage using the block upload pipeline (asset_initialize_file_upload → PUT chunk → asset_finalize_file_upload).

Then call the firefly board tool with the final output urls:

create_firefly_board({
  import_adobe_storage: [
    final_output_url_1,
    final_output_url_2,
    // ...
  ]
})
✅ Confirmed working (Stage): import_adobe_storage with presigned URLs from asset_finalize_file_upload successfully populates boards. ❌ Does not work: import_generic_assets with CC URNs (urn:aaid:sc:US:...) — USS indexing lag causes blank boards. If board creation fails or the URL is malformed, omit the board link (retrying does not help).

Post the completion summary after the board step:

✅ Done! [N] image(s) resized and ready.

📥 Download:
• resized_1920x1080.jpg → <cc_storage_url>
[list individually if N ≤ 3, or single folder link if N > 3]

🎨 View in Firefly Board → <board_url>   ← omit if board creation failed

VIDEO WORKFLOW

Step 5 (Video) — Get Asset ID

Video tools require assetId, not a URL.

SourceHow
Upload via asset_add_fileUse returned assetId
CC storageasset_search with filters.mediaType: "video/mp4" → use asset id

Step 6 (Video) — Common Targets

NameDimensions
4K / UHD3840 × 2160
1080p / HD1920 × 1080
720p1280 × 720
480p854 × 480
Vertical 9:161080 × 1920
Square 1:11080 × 1080

Step 7 (Video) — Call video_resize

⚠️ resizeVideoPoll is a deferred tool — load it first before attempting to poll. Direct calls without loading will fail with "not loaded" error.
video_resize({
  assetId: videoAssetId,
  width: targetW,
  height: targetH,
  mode: "letterbox"  // default; see mode table below
})
// Returns { jobStatus: "pending", statusId }

Mode — use exact API values (not user-facing labels):

User saysAPI valueBehavior
"fit", "preserve ratio", "letterbox""letterbox"Preserves ratio, adds black bars (default)
"fill", "crop to fill", "no bars""crop"Crops edges to fill target exactly
"stretch", "force exact""stretch"Distorts to exact target
ℹ️ Auto-reframe for video is not available in Claude yet, but new tools are being added all the time. If you need more control, try using Adobe Premiere.

Polling: load the deferred tool resizeVideoPoll before calling it — direct calls fail with "not loaded".

// Step 1: load the deferred tool resizeVideoPoll
// Step 2: poll until complete
resizeVideoPoll({ statusId })
// Repeat until jobStatus === "completed"
// Show progress % to user while waiting

Step 8 (Video) — Preview + Deliver + Firefly Board

If polling succeeds and returns outputUrl, upload to CC storage via the block upload pipeline (asset_initialize_file_upload → PUT → asset_finalize_file_upload) to get a presigned URL, then:

asset_preview_file({
  assets: [{ name: "resized_video.mp4", presignedAssetUrl: result.outputUrl }]
})

create_firefly_board({
  import_adobe_storage: [ presignedAssetUrl_from_finalize ]
})
✅ Pass import_adobe_storage with the finalize presigned URL. If board creation fails, omit the link.
✅ Done! Video resized to [WxH].

📥 Download → <cc_storage_url>

🎨 View in Firefly Board → <board_url>   ← omit if board creation failed

If polling is unavailable → skip preview, deliver the CC storage fallback message from Step 7.


Error Handling

ErrorAction
/mnt/user-data/uploads/ or file:// passed as URIStop. Call asset_add_file() first.
Image too large after resizeRe-run with quality: 5
Video assetId not foundRe-upload via asset_add_file
Source too small for targetWarn user upscaling won't add detail; proceed if confirmed
Invalid video_resize modeAPI only accepts "letterbox", "crop", or "stretch" — "fit" and "fill" will be rejected.
extract + {W,H} → stretchingSwitch to reframe
No dimensions givenRender form or ask explicitly before calling any tool
Unsupported formatAsk user to export as JPG/PNG (images) or MP4 (video)
resizeVideoPoll not loaded / unavailableKnown gap in current connector. Skip polling. Tell user to check CC Files for output.

Common Dimension Reference

Use CaseDimensions
Full HD / web hero1920 × 1080
4K3840 × 2160
Web thumbnail1280 × 720
Square1080 × 1080
A4 print (300 DPI)2480 × 3508
US Letter print (300 DPI)2550 × 3300
Blog featured image1200 × 630
Email header600 × 200
Avatar / profile400 × 400
Instagram portrait1080 × 1350
Stories / Vertical1080 × 1920

Assets

assets/intake-form.html — Interactive intake form for resize parameters. Render at the start of any resize workflow where parameters are missing or ambiguous. Covers photo (target size, fit mode, smart focus, batch, output format) and video (target size, fit mode, source).

平台分布

Codex

34.58%
按下载量换算117

Claude

30.97%
按下载量换算104

Cursor

16.21%
按下载量换算55

Gemini CLI

9%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills