wxjava-troubleshooter

A troubleshooting guide for WxJava, a Java library used to connect applications to WeChat services. It organizes problems involving setup, access tokens, signatures, payment certificates, callbacks, data conversion, network requests, and multiple accounts.

In plain words
What is it for?
Use it to investigate WxJava errors from logs, exceptions, request responses, or configuration problems. It helps check dependencies, initialization, request fields, encoding, certificate chains, payment amounts, timestamps, and protection against repeated callback requests.
Why use it?
It narrows a failure to one testable possible cause and avoids unsafe fixes such as disabling security checks. It also requires sensitive values such as tokens, private keys, certificates, and personal data to be hidden.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/binarywang/wxjava/wxjava-troubleshooter
Any agent
npx skills add binarywang/WxJava --skill wxjava-troubleshooter
Clone the repo
git clone --depth 1 https://github.com/binarywang/WxJava

Made for: Claude Code, Codex.

Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 335 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00065 $0.00335
Opus 5 $0.00032 $0.00168
Sonnet 5 $0.00013 $0.00067
Haiku 4.5 $0.00006 $0.00034

Measured yesterday against content hash 75e35b6eb79d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

wxjava-troubleshooter 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 yesterday.

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/wxjava-troubleshooter/SKILL.md · 15 lines

What it actually says

WxJava 故障排查

  1. 收集最小复现:产品模块、SDK 版本、JDK、框架、依赖树、异常堆栈、请求 ID 与脱敏后的配置形状。
  2. 将故障归类为依赖/初始化、token 与存储、请求契约、HTTP/代理、回调验签、支付证书或并发与生命周期。
  3. 依据 诊断清单,按最低成本、最可验证的顺序排查。
  4. 每次只提出一个可验证根因,给出最小修复、预期现象和回归验证动作。
  5. 签名、支付、回调和加密场景须核对编码、字段排序、金额精度、时间戳、证书链和重放保护。

要求遮蔽 secret、token、私钥、证书、签名原文和个人数据。不要建议关闭 TLS 校验或验签;区分已证实结论与待验证假设。遇到历史同类问题时,给出对应 Issue 或 Wiki 链接,但必须检查当前版本的实现后再套用修复。

Files

What ships with it

2 files 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. yesterday First seen · 15 lines · 65 tokens per session scan A 75e35b6eb79d

Subscribe to this mod's changes

wxjava-troubleshooter is a skill published in the GitHub repository binarywang/WxJava (33,051 stars, last pushed 2d ago), licensed Apache-2.0. It adds 65 tokens to every session and 335 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.