wechat-send-image

wechat-send-image is a skill for Claude Code from cookjohn/teammcp. It costs 31 tokens per session (413 once invoked), scanned B, original, MIT.

A procedure for sending an image or screenshot to a WeChat conversation, including finding a recent screenshot when no file path is given.

In plain words
What is it for?
Use it to validate supported image files and send them to WeChat, then report whether the upload succeeded.
Why use it?
It removes the manual steps of locating, checking, and uploading an image through the local WeChat service.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the fakechat plugin — 9 skills shipped together

Good fit Use it to validate supported image files and send them to WeChat…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cookjohn/teammcp/wechat-send-image
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 cookjohn/teammcp --skill wechat-send-image
Clone the repo
git clone --depth 1 https://github.com/cookjohn/teammcp

Made for: Claude Code.

Or install fakechat, the plugin that ships this one along with the rest of its 9 skills.

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 wechat-send-image

README.md
[![agentmods](https://agentmods.dev/badge/skills/cookjohn/teammcp/wechat-send-image.svg)](https://agentmods.dev/skills/cookjohn/teammcp/wechat-send-image)
Your own site
<a href="https://agentmods.dev/skills/cookjohn/teammcp/wechat-send-image"><img src="https://agentmods.dev/badge/skills/cookjohn/teammcp/wechat-send-image.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 413 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.
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.00031 $0.00413
Opus 5 $0.00015 $0.00206
Sonnet 5 $0.00006 $0.00083
Haiku 4.5 $0.00003 $0.00041

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

Security

Grade B, and why

wechat-send-image 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 7d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

fetch('http://localhost:3100/api/wechat/send-file', { method: 'POST',
plugin-dist/templates/skills/wechat-send-image/SKILL.md · 57 lines

What it actually says

Send Image to WeChat

Send an image file to WeChat. The image will be displayed inline in the WeChat conversation.

Arguments

$ARGUMENTS contains the image file path. If not provided, look for recent screenshots or ask the user.

Steps

1. Resolve Image Path

If $ARGUMENTS is provided, use it directly. Otherwise:

  • Check for recent screenshots on the Desktop: ls -t ~/Desktop/ScreenShot_* | head -5
  • Ask the user which image to send

2. Validate Image

Use the Bash tool to run: ls -la "$ARGUMENTS"

Supported formats: jpg, jpeg, png, gif, bmp, webp

3. Send Image

Use the Bash tool to run:
node -e "
fetch('http://localhost:3100/api/wechat/send-file', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer $TEAMMCP_KEY' },
  body: JSON.stringify({ file_path: '$ARGUMENTS' })
}).then(r=>r.json()).then(d => {
  if (d.ok) console.log('Image sent:', d.fileName, '(' + d.size + ' bytes)');
  else console.error('Failed:', d.error);
});
"

4. Report Result

Confirm the image was sent successfully.

Technical Details

  • Images are encrypted with AES-128-ECB before upload
  • Uploaded to WeChat CDN (novac2c.cdn.weixin.qq.com)
  • Sent as image_item with encrypt_type: 1 and mid_size (ciphertext size)
  • WeChat displays the image inline in the conversation
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. 7d ago First seen · 57 lines · 31 tokens per session scan B e6b2efd32f0a

Subscribe to this mod's changes

wechat-send-image is a skill published in the GitHub repository cookjohn/teammcp (53 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 413 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (sends data to an external url). 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens