weshop-openapi

weshop-openapi is a skill for Claude Code, Codex from weshopai/weshop-dsh-plugin. It costs 51 tokens per session (1,649 once invoked), scanned A, original, MIT.

Instructions for using WeShop’s image and video generation service, including editing, background changes, try-on, and related transformations.

In plain words
What is it for?
Generating or editing product images and videos, such as removing backgrounds, changing poses, replacing models, or expanding the canvas.
Why use it?
They define the required process, supported operations, and API-key safety rules before making a media request.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Generating or editing product images and videos, such as removing backgrounds, changing poses, replacing models, or expanding the canvas.

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

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 weshop-openapi

README.md
[![agentmods](https://agentmods.dev/badge/skills/weshopai/weshop-dsh-plugin/weshop-openapi.svg)](https://agentmods.dev/skills/weshopai/weshop-dsh-plugin/weshop-openapi)
Your own site
<a href="https://agentmods.dev/skills/weshopai/weshop-dsh-plugin/weshop-openapi"><img src="https://agentmods.dev/badge/skills/weshopai/weshop-dsh-plugin/weshop-openapi.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,649 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 pass 7 Sept 2026
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.00051 $0.01649
Opus 5 $0.00026 $0.00825
Sonnet 5 $0.00010 $0.00330
Haiku 4.5 $0.00005 $0.00165

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

Security

Grade A, and why

weshop-openapi 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 8d ago.

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/weshop-openapi/SKILL.md · 66 lines

How it starts

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

WeShop OpenAPI

Mandatory per-turn gate

For every new user turn that asks to generate, edit, transform, upscale, or animate content, this Skill must be invoked through the Skill tool before any WeShop generation call. Invoke it again even if it was already used earlier in the conversation, and again after context compaction, retry, or handoff. Reading this file or the package README with filesystem/Bash does not replace invoking the Skill.

Use the recipes in this Skill as the source of truth. Do not search the package source or the web for parameters already documented here.

WeShop generation runs server-side through the native Cordis tools (weshop_generate_run / weshop_get_run). The WESHOP_API_KEY lives in the Harness host process — never echo it, never put it in a tool argument or a canvas provenance record, and never send it anywhere other than https://openapi.weshop.ai/openapi/*. If the key is missing, stop before any API request and tell the user to open the WeShop canvas and click Configure API Key in its top bar, then retry; alternatively they may set WESHOP_API_KEY before starting Harness. Direct them to https://www.weshop.ai/apiKey only to obtain a key.

Workflow

  1. Read the canvas (weshop_canvas_get_state) and use the selected material item as the source. Use its asset.localPath when available, else its asset.url.
  2. Choose the agent and version from the table below; read that agent's parameter notes.
  3. Call weshop_generate_run with { agent, originalImage?, referenceImages?, taskName?, params, wait: true }. Use originalImage for agents documented with one legacy source image. Use referenceImages for agents documented with images; local paths are uploaded and copied to both input.images and params.images automatically. Result URLs come back in data.executions[*].result[*].image (image agents) or *.video / *.videoPoster (video agents).
  4. On success, publish each returned remote URL directly with weshop_canvas_publish_result (images) or weshop_canvas_publish_asset (video/audio). Do not download the generated file first. Include complete provenance (method, agent, version, executionId, prompt/taskName, sourceItemIds, returned URL, completion time). A local path is supported only when the generating tool genuinely returns a local-only file. Never overwrite or reclassify the source material item.
  5. If the run fails or times out, report the API error and offer to retry (the error envelope's retryable flag signals whether a retry is worthwhile).

Read the full file on GitHub · 66 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. 8d ago First seen · 66 lines · 51 tokens per session scan A c34861b42774

Subscribe to this mod's changes

weshop-openapi is a skill published in the GitHub repository weshopai/weshop-dsh-plugin (13 stars, last pushed 18d ago), licensed MIT. It adds 51 tokens to every session and 1,649 once invoked, about $0.0003 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.