weilink

weilink is a skill for Claude Code from Oaklight/weilink. It costs 46 tokens per session (777 once invoked), scanned A, original, MIT.

A skill for managing WeChat conversations through WeiLink, including messages, media, and bot sessions. WeChat is a messaging platform, and a bot session is its connected account context.

In plain words
What is it for?
Use it to poll or search message history, send text or files, download media, log in or out, and manage sessions.
Why use it?
It provides defined actions for checking conversations and communicating with contacts from Claude Code.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the weilink plugin — 1 skill, 1 hook, 1 MCP server shipped together

Good fit Use it to poll or search message history, send text or files, download media, log in or out, and manage sessions.

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

Made for: Claude Code.

Or install weilink, the plugin that ships this one along with the rest of its 1 skill, 1 hook, 1 MCP server.

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 weilink

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oaklight/weilink/weilink"><img src="https://agentmods.dev/badge/skills/oaklight/weilink/weilink.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 777 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.
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.00046 $0.00777
Opus 5.5 $0.00018 $0.00311
Sonnet 5.5 $0.00009 $0.00155
Haiku 4.5 $0.00005 $0.00078

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

Security

Grade A, and why

weilink 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 3mo 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.

src/weilink/integrations/claude_code/skills/weilink/SKILL.md · 74 lines

How it starts

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

Arguments: $ARGUMENTS

Available MCP Tools

Messaging

  • recv — Poll for new messages (timeout configurable, default 5s)
  • send — Send text, image, file, video, or voice to a WeChat user
  • download — Download media from a received message by message_id
  • history — Query past messages with filters (user, type, direction, time range, text search)

Session Management

  • sessions — List all bot sessions and connection status
  • login — Start QR code login for a new or existing session
  • logout — Disconnect a session
  • rename_session — Rename a bot session
  • set_default — Set the default session

Quick Workflows

Check new messages

New messages are automatically injected into context when the user submits a prompt. For explicit polling, use recv or history with a since filter.

Reply to someone

  1. Get the user ID from a received message (from_user field, format: [email protected])
  2. Use send with to=<user_id> and text=<reply>

Search message history

Use history with filters:

  • user_id — filter by contact
  • text_contains — full-text search
  • since / until — time range (ISO 8601 or unix ms)
  • direction — "received" or "sent"
  • msg_type — TEXT, IMAGE, VOICE, FILE, VIDEO

Send media

Use send with the appropriate path parameter:

  • image_path — send an image
  • file_path + file_name — send a file
  • video_path — send a video
  • voice_path — send a voice message

Download received media

Use download with the message_id from a received message. Files are saved to ~/.weilink/downloads/ by default (override with save_dir).

Important Notes

  • Message quota: Each context_token allows 10 outbound messages. After that, wait for the user to send a new inbound message.
  • Text limit: Messages must be <= 16 KiB UTF-8. Split longer content.
  • Session: When multiple sessions exist, send auto-routes to the session holding a valid context_token for the target user.
  • Login: Run login to scan a QR code. One WeChat account can only bind to one bot at a time.

Read the full file on GitHub · 74 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. 3mo ago First seen · 74 lines · 46 tokens per session scan A 4ace7c55ed4a

Subscribe to this mod's changes

weilink is a skill published in the GitHub repository Oaklight/weilink (19 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 777 once invoked, about $0.0002 per session on Opus 5.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

weilink compared with skills from other repositories

weilink next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
weilinkOaklight/weilinkSkill191mo agoMITA46Claude Code
jupyter-notebooksasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A49Claude Code, Codex
python-envasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A89Claude Code
notebooklmteng-lin/notebooklm-pySkill20kyesterdayMITA79Claude Code, Codex
azure-identity-pymicrosoft/skillsSkill3.3ktodayMITA60Claude Code
m365-agents-pymicrosoft/skillsSkill3.3ktodayMITA83Claude Code
azure-eventhub-pymicrosoft/skillsSkill3.3ktodayMITA57Claude Code