media-tools

media-tools is a skill for Codex from MJorgin/dsh-media-skills. It costs 77 tokens per session (464 once invoked), scanned A, original, MIT.

A guide and script for generating images, illustrations, avatars, backgrounds, and banners through configured image-generation services. It uses available API keys from environment or local secret files.

In plain words
What is it for?
Generating an image from a text prompt, choosing an output path and size, and using SenseNova first or SiliconFlow Kolors as a fallback.
Why use it?
It provides a documented way to create bitmap image files when image-generation credentials are available.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Codex.

Good fit Generating an image from a text prompt, choosing an output path and size, and using SenseNova first or SiliconFlow Kolors as a fallback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mjorgin/dsh-media-skills/media-tools
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 MJorgin/dsh-media-skills --skill media-tools
Clone the repo
git clone --depth 1 https://github.com/MJorgin/dsh-media-skills

Made for: 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 media-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/mjorgin/dsh-media-skills/media-tools/github.svg)](https://agentmods.dev/skills/mjorgin/dsh-media-skills/media-tools)
Your own site
<a href="https://agentmods.dev/skills/mjorgin/dsh-media-skills/media-tools"><img src="https://agentmods.dev/badge/skills/mjorgin/dsh-media-skills/media-tools/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 media-tools

Your own site · 80×15
<a href="https://agentmods.dev/skills/mjorgin/dsh-media-skills/media-tools"><img src="https://agentmods.dev/badge/skills/mjorgin/dsh-media-skills/media-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 high

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 →

  • high Privilege Escalation · line 3
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00077 $0.00464
Opus 5 $0.00039 $0.00232
Sonnet 5 $0.00015 $0.00093
Haiku 4.5 $0.00008 $0.00046

Measured 12d ago against content hash b283db689f08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

media-tools scanned grade A with 0 findings 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate.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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/media-tools/SKILL.md · 31 lines

What it actually says

Media Tools(免费生图)

免费生图,优先使用 SenseNova U1 Fast,其次使用 SiliconFlow Kolors。Key 永不写进本 skill。

生成图片

python3 scripts/generate.py "<提示词>" <输出路径.png> [尺寸=1024x1024]
  • 如果配置了 SENSENOVA_API_KEY,自动使用 SenseNova U1 Fast(支持 11 档 2K 尺寸,脚本会自动把常见尺寸映射到最近比例)。
  • 如果没配 SenseNova、但有 SILICONFLOW_API_KEY,则使用 SiliconFlow Kolors。
  • 两个 key 都没配时会提示缺少 Key。

Key

  • SENSENOVA_API_KEY(商汤日日新,优先)。获取:注册/登录 platform.sensenova.cn → 管理中心 → API-Key 管理 → 创建 API-Key。
  • SILICONFLOW_API_KEY(SiliconFlow,备用)。获取:注册/登录 siliconflow.cn → 「API 密钥」→ 新建并复制(Kolors 免费)。
  • 优先读环境变量;否则依次读 ~/.dsh/secrets/media-tools.env~/.codex/secrets/media-tools.env(每行 KEY=value,权限 600)。
  • 永远不要把 key 提交到仓库、写进 skill 或粘贴到公开文件。

隐私

  • 生成素材只写到请求的输出路径,绝不自动同步到公开目录。
  • 未经许可,不要在生成结果里复现敏感参考图或个人信息。
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 31 lines · 77 tokens per session scan A b283db689f08

Subscribe to this mod's changes

media-tools is a skill published in the GitHub repository MJorgin/dsh-media-skills (19 stars, last pushed 11d ago), licensed MIT. It adds 77 tokens to every session and 464 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dsh-community-plugins

A guide to finding, checking, installing, updating, and removing community extensions for DeepSeek Harness (dsh), an AI coding-agent framework. It covers plugins distributed through GitHub topics, npm packages, directories, bundles, tarballs, and a graphical interface.

HubaKing/dsh-community-plugins · 202 tokens

dsh-plugin-schemes

A set of rules for choosing the right kind of DeepSeek Harness extension before building it. It explains the differences between bundles, local patches, agent presets, skills, and temporary runtime plugins.

JasperGuWP/dsh-plugin-schemes · 128 tokens

dsh-web-skin-developer

Build a new skin for the dsh-web skin collection (DSH Web GUI) and publish it into the Skin Center — the first-level settings section — scaffold with scripts/dsh-skin-new, author the v2 skin.json manifest plus skin.css token remap (pure asset directory, no package.json, no build step), validate with scripts/dsh-skin…

zhu1090093659/dsh-web · 120 tokens

manage-taskboard

Manage work in the native DeepSeek Harness Taskboard with exact task ids and optimistic versions. Use when an Agent must inspect project work, claim an eligible todo, record progress or blockers, verify an implementation, submit it for human review, or release its own claim; also use when a human asks how to accept…

shengsheng90/DSH-taskboard · 88 tokens

figma-code-connect

Creates and maintains Figma Code Connect template files that map Figma components to code snippets. Use when the user mentions Code Connect, Figma component mapping, design-to-code translation, or asks to create/update .figma.ts or .figma.js files.

Devin-AXIS/iPolloWork · 57 tokens

yao-ocr

OCR text recognition expert. ALWAYS invoke this skill when you need to extract text from images or PDFs — including invoices, receipts, ID cards, bank cards, business licenses, tables, handwritten documents, or any visual text content.

YaoApp/yao · 50 tokens