byted-tos-image-process

byted-tos-image-process is a skill for Claude Code, Codex from bytedance/agentkit-samples. It costs 143 tokens per session (1,980 once invoked), scanned B, original, Apache-2.0.

An image-processing tool for pictures stored in Volcengine TOS, a cloud object-storage service. It can inspect image details and apply transformations such as resizing, format conversion, watermarks, and AI-based image understanding.

In plain words
What is it for?
Use it to inspect image metadata, resize or convert TOS images, add visible or blind watermarks, draw on images, and save transformed copies.
Why use it?
It avoids downloading images locally or building separate scripts for common changes to images in TOS. It also provides a way to save processed results back to TOS.

Skill for Claude CodeCodex ✓ vendor

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to inspect image metadata, resize or convert TOS images, add visible or blind watermarks, draw on images, and save transformed copies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bytedance/agentkit-samples/byted-tos-image-process
About the project

bytedance/agentkit-samples is a collection of examples and tutorials for Volcengine AgentKit, an AI-agent development platform for building, deploying, and operating agent applications. Developers use the samples to learn agent creation, multi-agent collaboration, memory, retrieval, MCP integrations, media generation, customer service, and other workflows. The catalogue skills provide agent workflows based on these examples.

bytedance/agentkit-samples · 496 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bytedance/agentkit-samples --skill byted-tos-image-process
Clone the repo
git clone --depth 1 https://github.com/bytedance/agentkit-samples

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for byted-tos-image-process

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-tos-image-process/github.svg)](https://agentmods.dev/skills/bytedance/agentkit-samples/byted-tos-image-process)
Your own site
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-tos-image-process"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-tos-image-process/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for byted-tos-image-process

Your own site · 80×15
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-tos-image-process"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-tos-image-process.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,980 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 121
    Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
    Fix: Restrict tool access to only the tools required for the skill's stated purpose. Use an explicit allowlist rather than granting blanket access.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00143 $0.01980
Opus 5.5 $0.00057 $0.00792
Sonnet 5.5 $0.00029 $0.00396
Haiku 4.5 $0.00014 $0.00198

Measured 2mo ago against content hash 82bf669515e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

byted-tos-image-process scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/image_blindwatermark.py, scripts/image_draw.py, scripts/image_format.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

All scripts support `--key` to override `TOS_OBJECT_KEY`, `--output` for local save, and `--saveas-bucket`/`--saveas-object` for TOS-to-TOS persistence. `TOS_SAVEAS_BUCKET` and `TOS_SAVEAS_OBJECT_PREFIX` are used as defa
skills/byted-tos-image-process/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Volcengine TOS Image Process

Inspect and transform images stored in Volcengine TOS — metadata, format conversion, resize, watermark, blind watermark, and AI-powered image understanding.

Setup (once per environment)

Install dependencies on first use:

cd {baseDir}
pip install -r {baseDir}/requirements.txt

Then run scripts with Python 3.7+:

python3 {baseDir}/scripts/<script>.py <args>

If you see a ModuleNotFoundError for tos, reinstall dependencies.

Environment Variables

This skill relies on the TOS identity declared in the metadata block. Common runtime variables are:

Environment Variable Required Description
TOS_ACCESS_KEY Yes TOS access key ID
TOS_SECRET_KEY Yes TOS secret access key
TOS_ENDPOINT Yes TOS endpoint URL
TOS_REGION Yes TOS region
TOS_BUCKET Yes Source bucket that stores the image
TOS_OBJECT_KEY No Source object key of the image. Can be overridden with --key
TOS_SECURITY_TOKEN No STS session token when using temporary credentials
TOS_SAVEAS_BUCKET No Default target bucket for saving processed results
TOS_SAVEAS_OBJECT_PREFIX No Default key prefix for saving processed results

Quick start (common tasks)

# Read image metadata
python3 {baseDir}/scripts/image_info.py --key photo.jpg

# Convert to WebP
python3 {baseDir}/scripts/image_format.py --key photo.jpg --f webp --output converted.webp

# Resize to width 500
python3 {baseDir}/scripts/image_resize.py --key photo.jpg --width 500 --output resized.jpg

# Draw points and connecting lines
python3 {baseDir}/scripts/image_draw.py --key photo.jpg \
  --points 50x50-200x120-320x220 --line --color FF0000 --output draw.jpg

# Zoom by resize + crop
python3 {baseDir}/scripts/image_zoom.py --key photo.jpg \
  --resize-w 1200 --crop-w 500 --crop-h 400 --gravity center --output zoom.jpg

# Add visible text watermark
python3 {baseDir}/scripts/image_watermark.py --key photo.jpg \
  --text "My Brand" --font fangzhengshusong --color FF0000 --size 72 \
  --gravity center --output watermarked.jpg

# Embed blind watermark (requires ≥512×512 image and account permission)
python3 {baseDir}/scripts/image_blindwatermark.py --key photo.jpg \
  --kv text=HelloBlind --output blind.jpg

# Run a custom process string
python3 {baseDir}/scripts/image_process.py --key photo.jpg \
  --process "image/resize,w_300,h_300,m_fill" --output filled.jpg

# Preview the resolved request without calling TOS
python3 {baseDir}/scripts/image_resize.py --key photo.jpg \
  --width 500 --dry-run --json

# AI-powered understanding for a TOS image object (requires whitelist)
python3 {baseDir}/scripts/image_understanding.py --key photo.jpg \
  --prompt "Describe this image in detail"
python3 {baseDir}/scripts/image_understanding.py --key document.png \
  --prompt "识别图片中的所有文字内容"

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 147 lines · 143 tokens per session scan B 82bf669515e1

Subscribe to this mod's changes

byted-tos-image-process is a skill published in the GitHub repository bytedance/agentkit-samples (496 stars, last pushed 5d ago), licensed Apache-2.0. It adds 143 tokens to every session and 1,980 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

byted-tos-image-process compared with skills from other repositories

byted-tos-image-process next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
byted-tos-image-processbytedance/agentkit-samplesSkill4965d agoApache-2.0B143Claude Code, Codex
skill-news-intelligenceZJU-REAL/EaselSkill5.0kyesterdayApache-2.0A104Claude Code, Codex
ai-musicZJU-REAL/EaselSkill5.0kyesterdayApache-2.0A161Claude Code, Codex
ensembl-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A45Claude Code, Codex
sidewinder-rattlesnakePurpleAILAB/DecepticonSkill6.9k10d agoApache-2.0A48Claude Code
x-scorecardx-cmd/x-cmdSkill4.8k6d agoApache-2.0A57Claude Code, Codex
10-batchai-driven-dev/frameworkSkill589todayMITA47Claude Code