wechat-codex-agent-bridge

wechat-codex-agent-bridge is a skill for Codex from kaixindelele/wechat_agent_bridge_skills. It costs 82 tokens per session (762 once invoked), scanned A, original, MIT.

A bridge that lets you control the local OpenAI Codex command-line tool through WeChat. It can pass text, images, files, voice, and video to Codex, continue conversations, and handle commands for models, sandbox settings, stopping work, and sending files.

In plain words
What is it for?
Use it to run Codex remotely through WeChat, send project files or images, continue coding sessions, change the model or sandbox, stop tasks, and return files.
Why use it?
It lets developers start and manage Codex coding tasks from a phone or other WeChat client instead of staying at the computer. Conversation IDs preserve context between messages.

Skill for Codex

Written for Codex: runs codex exec. Also seen: mentions Codex; built for openclaw.

Good fit Use it to run Codex remotely through WeChat, send project files or images, continue coding sessions, change the model or sandbox, stop tasks, and return files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kaixindelele/wechat_agent_bridge_skills/wechat-codex_agent_bridge-skill
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 kaixindelele/wechat_agent_bridge_skills --skill wechat-codex_agent_bridge-skill
Clone the repo
git clone --depth 1 https://github.com/kaixindelele/wechat_agent_bridge_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 wechat-codex-agent-bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/kaixindelele/wechat_agent_bridge_skills/wechat-codex_agent_bridge-skill/github.svg)](https://agentmods.dev/skills/kaixindelele/wechat_agent_bridge_skills/wechat-codex_agent_bridge-skill)
Your own site
<a href="https://agentmods.dev/skills/kaixindelele/wechat_agent_bridge_skills/wechat-codex_agent_bridge-skill"><img src="https://agentmods.dev/badge/skills/kaixindelele/wechat_agent_bridge_skills/wechat-codex_agent_bridge-skill/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 wechat-codex-agent-bridge

Your own site · 80×15
<a href="https://agentmods.dev/skills/kaixindelele/wechat_agent_bridge_skills/wechat-codex_agent_bridge-skill"><img src="https://agentmods.dev/badge/skills/kaixindelele/wechat_agent_bridge_skills/wechat-codex_agent_bridge-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 762 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.00082 $0.00762
Opus 5 $0.00041 $0.00381
Sonnet 5 $0.00016 $0.00152
Haiku 4.5 $0.00008 $0.00076

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

Security

Grade A, and why

wechat-codex-agent-bridge 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 10d ago.

The scan reads SKILL.md. This mod also ships 10 executable files (templates/src/bridge.ts, templates/src/config.ts, templates/src/hot.ts, …), 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.

wechat-codex_agent_bridge-skill/SKILL.md · 78 lines

What it actually says

微信 ↔ Codex CLI 桥接

用微信连接本机运行的 codex CLI。桥接服务基于 codex exec --json,支持:

  • 文字消息转发给 Codex
  • 图片作为 --image 输入传给 Codex
  • 文件、语音、视频落盘后把本地路径交给 Codex
  • 使用 thread_id 自动续接上下文
  • 微信端控制 /model/sandbox/stop/clear/send

如果需要修改和微信桥接相关的底层协议,可以参考 wechat_agent_bridge_skills/openclaw-weixin 原版 SDK。

目录说明

路径 作用
templates/ 可独立运行的 Node 桥接服务
templates/src/ilink.ts 微信 ilink(ClawBot)HTTP API:收发消息、媒体加解密
templates/src/bridge.ts 主循环:getupdates + codex exec --json
templates/bridge.config.example.json 配置模板,复制为 bridge.config.json

前置条件

  • Node.js >= 18
  • 已安装并登录 codex CLI(先执行 codex login
  • 微信侧已完成 ClawBot / ilink 机器人绑定

安装与启动

cd wechat-codex_agent_bridge-skill/templates
cp bridge.config.example.json bridge.config.json
# 编辑 bridge.config.json:至少设置 cwd 为项目根目录
npm install
npm run setup
npm start

微信端指令

  • /help - 查看帮助
  • /status - 查看当前 bridge 状态
  • /clear - 清除会话、终止任务、清空队列和追问
  • /stop - 终止当前任务
  • /stopall - 终止当前任务并清空队列和追问
  • /send <路径> - 发送服务器上的文件到微信
  • /model - 查看当前模型
  • /model <名称> - 设置下一轮执行使用的模型
  • /model clear - 恢复 Codex 默认模型
  • /sandbox - 查看当前 sandbox
  • /sandbox read-only|workspace-write|danger-full-access - 切换 sandbox

重要限制

Codex 版桥接使用的是非交互式 codex exec。因此:

  • 支持稳定的消息桥接、会话续接、图片输入和文件回传
  • 不支持像 Cursor 版那样对每一次工具调用做微信侧逐条审批
  • 需要通过 /sandbox 控制整体执行范围,而不是在工具执行中途弹微信确认

发送文件给微信

如果希望 Codex 把本机文件主动发回微信,在回复中输出:

[SEND_FILE:/绝对路径/文件.ext]

桥接层会自动识别并上传该文件。

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. 10d ago First seen · 78 lines · 82 tokens per session scan A 55eb57fabe66

Subscribe to this mod's changes

wechat-codex-agent-bridge is a skill published in the GitHub repository kaixindelele/wechat_agent_bridge_skills (20 stars, last pushed 4mo ago), licensed MIT. It adds 82 tokens to every session and 762 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

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

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

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens