domestic-integration

domestic-integration is a skill for Claude Code from ChanningLua/prax-agent. It costs 23 tokens per session (428 once invoked), scanned A, original, MIT.

A reference for integrating Chinese services, including WeChat Pay, Alipay, Alibaba Cloud, Tencent Cloud, Huawei Cloud, messaging platforms, and SMS providers.

In plain words
What is it for?
Use it when adding Chinese payments, cloud storage or databases, cloud functions, WeChat or workplace messages, chat bots, or SMS delivery.
Why use it?
It gives developers one place for service choices and implementation rules such as environment-based keys, official SDKs, retries, error handling, and safe logs.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

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/channinglua/prax-agent/domestic-integration
Any agent
npx skills add ChanningLua/prax-agent --skill domestic-integration
Clone the repo
git clone --depth 1 https://github.com/ChanningLua/prax-agent

Made for: Claude Code.

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 domestic-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/channinglua/prax-agent/domestic-integration.svg)](https://agentmods.dev/skills/channinglua/prax-agent/domestic-integration)
Your own site
<a href="https://agentmods.dev/skills/channinglua/prax-agent/domestic-integration"><img src="https://agentmods.dev/badge/skills/channinglua/prax-agent/domestic-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 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.1 $0.00023 $0.00428
Opus 5 $0.00012 $0.00214
Sonnet 5 $0.00005 $0.00086
Haiku 4.5 $0.00002 $0.00043

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

Security

Grade A, and why

domestic-integration 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 6d 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/prax/skills/domestic-integration/SKILL.md · 55 lines

What it actually says

国内生态集成技能

支持的服务

支付

  • 微信支付(WeChat Pay):JSAPI、Native、H5、小程序支付
  • 支付宝(Alipay):网页支付、手机网站支付、APP 支付

云服务

  • 阿里云(Alibaba Cloud):OSS、RDS、ECS、函数计算
  • 腾讯云(Tencent Cloud):COS、云数据库、云函数
  • 华为云(Huawei Cloud):OBS、GaussDB

消息推送

  • 微信公众号消息
  • 企业微信(WeCom)机器人
  • 钉钉(DingTalk)机器人

短信

  • 阿里云短信服务
  • 腾讯云短信

集成规范

  1. API 密钥通过环境变量注入,不硬编码
  2. 使用官方 SDK 而非直接调用 HTTP API
  3. 实现重试机制和错误处理
  4. 记录关键操作日志(脱敏处理)

示例:企业微信机器人

import httpx

async def send_wecom_message(webhook_url: str, content: str) -> bool:
    """发送企业微信机器人消息。"""
    payload = {
        "msgtype": "text",
        "text": {"content": content}
    }
    async with httpx.AsyncClient() as client:
        resp = await client.post(webhook_url, json=payload)
        return resp.json().get("errcode") == 0
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. 6d ago First seen · 55 lines · 23 tokens per session scan A bf2f48d461ff

Subscribe to this mod's changes

domestic-integration is a skill published in the GitHub repository ChanningLua/prax-agent (272 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 428 once invoked, about $0.0001 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.