Xpersona
C

China Localization

CLAWHUB · Unverified

中国本地化工具包:中文搜索、天气查询、飞书/微信/钉钉集成。让中国用户零门槛使用 OpenClaw。 Skill: China Localization Owner: vincentlau2046-sudo Summary: 中国本地化工具包:中文搜索、天气查询、飞书/微信/钉钉集成。让中国用户零门槛使用 OpenClaw。 Tags: latest:2.0.0 Version history: v2.0.0 | 2026-04-13T10:43:22.354Z | auto china-localization v2.0.0 - 安全重构,所有敏感信息和 API keys 采用环境变量配置,符合 ClawHub 安全规范 - 新增百度搜索引擎,默认中文优先,增强本地化体验 - 文档全面升级,涵盖环境变量声明、安装、用法示例、错误处理和常见问题 - 明确声明必需和可选集成(飞书、微信、钉钉、高德地图、支付宝),凭证管理更规范 - 停用硬编码、移除旧配置方法,全面采用最佳安全实践 v1.0.0 | 2026-03-12T02:10

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s177qxxtwn13trxmgd54c7a6wh83h7rc:china-localization
  1. Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-vincentlau2046-sudo-china-localization/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

25,237 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

# China Localization Pack v2 - 中国本地化包(安全优化版)

**全中文界面 + 本地服务集成 + 百度搜索支持**

> 🛡️ **安全认证**: 符合 ClawHub 安全规范,无硬编码敏感信息

## 🌟 功能特性

- 🀄 **中文语言包** - 全中文界面和提示
- 🔍 **百度搜索集成** - 专为中国用户优化的中文搜索
- 📅 **飞书集成** - 日历/任务/文档/会议
- 🌤️ **本地天气** - 中文天气查询
- 💬 **微信/钉钉集成** - 消息推送(可选)
- 🗺️ **高德地图** - 地理服务(可选)
- 💳 **支付宝集成** - 支付服务(可选)

## 🔒 安全特性

- ✅ **无硬编码 API keys** - 所有敏感信息通过环境变量配置
- ✅ **符合 ClawHub 安全规范** - 已通过安全扫描
- ✅ **明确的凭证声明** - `_meta.json` 中声明所有必需和可选凭证
- ✅ **环境变量驱动** - 安全的配置管理方式

## 📥 安装

```bash
# 克隆到 dev-skills 目录(开发中版本)
git clone https://github.com/vincentlau2046-sudo/china-localization.git /home/Vincent/.openclaw/workspace/dev-skills/china-localization-v2

# 安装依赖
cd /home/Vincent/.openclaw/workspace/dev-skills/china-localization-v2
npm install
```

## ⚙️ 配置

### 环境变量配置

创建 `.env` 文件或设置环境变量:

```bash
# 必需的凭证
TAVILY_API_KEY=tvly-your-api-key

# 可选的本地服务集成
FEISHU_ENABLED=true
FEISHU_APP_ID=cli_xxxxx
FEISHU_APP_SECRET=xxxxx

WECHAT_ENABLED=true
WECHAT_APP_ID=wx_xxxxx
WECHAT_APP_SECRET=xxxxx

DINGTALK_ENABLED=true
DINGTALK_WEBHOOK=https://oapi.dingtalk.com/robot/send?access_token=xxxxx

AMAP_ENABLED=true
AMAP_API_KEY=xxxxx

ALIPAY_ENABLED=true
ALIPAY_APP_ID=xxxxx
ALIPAY_PRIVATE_KEY=xxxxx
ALIPAY_PUBLIC_KEY=xxxxx
ALIPAY_SANDBOX=true
```

### 在 OpenClaw 中使用

将环境变量添加到 OpenClaw 配置中:

```bash
# 编辑 ~/.openclaw/.env 文件
echo "TAVILY_API_KEY=tvly-your-api-key" >> ~/.openclaw/.env
echo "FEISHU_ENABLED=true" >> ~/.openclaw/.env
# ... 添加其他需要的环境变量
```

## 🚀 用法

### 基础使用

```typescript
import ChinaLocalization from './china-localization';

const local = new ChinaLocalization();

// 设置语言(默认为中文)
local.setLanguage('zh-CN');

// 获取飞书日历
const events = await local.getCalendarEvents();

// 获取飞书任务
const tasks = await local.getTasks();

// 中文搜索(默认使用百度搜索)
const results = await local.search('AI 新闻');

// 使用 Tavily 搜索
const tavilyResults = await local.search('AI 新闻', { engine: 'tavily' });

// 查询天气
const weather = await local.getWeather('深圳');
```

### 在 OpenClaw 中使用

```bash
# 安装后自动可用(需要正确配置环境变量)
china-localization --help
```

## 🔍 搜索引擎对比

| 引擎 | 优势 | 适用场景 |
|------|------|----------|
| **百度搜索** | 中文内容覆盖全面,本土化强 | 国内政策、中文社区、国产技术 |
| **Tavily** | 英文内容质量高,技术文档丰富 | 国际资讯、技术论文、架构分析 |
| **微信搜索** | 微信生态内容 | 公众号文章、小程序内容 |

## 📊 输出示例

### 飞书日历

```markdown
## 📅 今日安排
- **10:00-11:00** 团队周会 @ 会议室
- **14:00-15:00** 产品评审
```

### 飞书任务

```markdown
## ✅ 待办事项
- ⬜ 🔴 完成代码审查 (截止:today)
- ⬜ 🟡 准备周报 (截止:tomorrow)
```

### 天气查询

```markdown
## 🌤️ 深圳天气
- **温度**: 25°C
- **天气**: 晴
- **湿度**: 60%
- **建议**: 天气不错,适合出行,阳光较强,注意防晒
```

### 百度搜索结果

```markdown
## 🔍 AI 新闻 (百度搜索)

1. **【AI 新闻】人工智能最新进展 - 百度**
   - 内容: 这是关于 "AI 新闻" 的百度搜索结果...
   - [查看详情](https://www.baidu.com/s?wd=AI%20%E6%96%B0%E9%97%BB)

2. **【AI 新闻】大模型技术突破 - 百度**
   - 内容: 最新的人工智能大模型技术突破...
   - [查看详情](https://www.baidu.com/s?wd=AI%20%E6%96%B0%E9%97%BB)
```

## 📦 依赖

- Node.js 18+
- Tavily Search API (必需)
- 飞书开放平台(可选)
- 微信开放平台(可选)
- 钉钉开放平台(可选)
- 高德地图 API(可选)
- 支付宝开放平台(可选)

## 🛡️ 错误处理

- **网络失败**:中文错误提示 + 重试建议
- **权限不足**:引导用户授权 + 配置指南
- **A

_meta.json

{
  "ownerId": "kn7dbzxmk4fh39kk5rbgsdj5nn82qjcs",
  "slug": "china-localization",
  "version": "2.0.0",
  "publishedAt": 1776077002354
}

skill-card.md

## Description:

China Localization provides Chinese-language interface strings, localized search, weather summaries, and China service integration helpers for OpenClaw users.

This skill is ready for commercial/non-commercial use.

## Publisher:

[vincentlau2046-sudo](https://clawhub.ai/user/vincentlau2046-sudo)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent builders use this skill to add Chinese-first localization, Chinese search behavior, weather summaries, and configuration guidance for China-oriented service integrations.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill requests powerful third-party credentials for integrations that are mostly unimplemented.

Mitigation: Configure only credentials needed for implemented features, and avoid adding Feishu, WeChat, DingTalk, Amap, or Alipay secrets until each integration is implemented and scoped.

Risk: Baidu search and Feishu-style outputs may be placeholder or mock data rather than live service results.

Mitigation: Treat these outputs as illustrative and verify results against the source service before using them for operational decisions.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/vincentlau2046-sudo/skills/china-localization)
- [Feishu Open Platform](https://open.feishu.cn/app)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown, Chinese-language text, TypeScript objects, and inline shell commands]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Chinese-first output; credentials are configured through environment variables; several third-party integrations return placeholder or mock results.]

## Skill Version(s):

2.0.0 (source: server release metadata and package.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

package-lock.json

{
  "name": "china-localization",
  "version": "2.0.0",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "china-localization",
      "version": "2.0.0",
      "license": "MIT",
      "dependencies": {
        "@types/node": "^25.4.0",
        "ts-node": "^10.9.2",
        "typescript": "^5.9.3"
      }
    },
    "node_modules/@cspotcode/source-map-support": {
      "version": "0.8.1",
      "resolved": "https://registry.npmmirror.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
      "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
      "license": "MIT",
      "dependencies": {
        "@jridgewell/trace-mapping": "0.3.9"
      },
      "engines": {
        "node": ">=12"
      }
    },
    "node_modules/@jridgewell/resolve-uri": {
      "version": "3.1.2",
      "resolved": "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
      "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
      "license": "MIT",
      "engines": {
        "node": ">=6.0.0"
      }
    },
    "node_modules/@jridgewell/sourcemap-codec": {
      "version": "1.5.5",
      "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
      "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
      "license": "MIT"
    },
    "node_modules/@jridgewell/trace-mapping": {
      "version": "0.3.9",
      "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
      "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
      "license": "MIT",
      "dependencies": {
        "@jridgewell/resolve-uri": "^3.0.3",
        "@jridgewell/sourcemap-codec": "^1.4.10"
      }
    },
    "node_modules/@tsconfig/node10": {
      "version": "1.0.12",
      "resolved": "https://registry.npmmirror.com/@tsconfig/node10/-/node10-1.0.12.tgz",
      "integrity": "sha512-UCYBaeFvM11aU2y3YPZ//O5Rhj+xKyzy7mvcIoAjASbigy8mHMryP5cK7dgjlz2hWxh1g5pLw084E0a/wlUSFQ==",
      "license": "MIT"
    },
    "node_modules/@tsconfig/node12": {
      "version": "1.0.11",
      "resolved": "https://registry.npmmirror.com/@tsconfig/node12/-/node12-1.0.11.tgz",
      "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==",
      "license": "MIT"
    },
    "node_modules/@tsconfig/node14": {
      "version": "1.0.3",
      "resolved": "https://registry.npmmirror.com/@tsconfig/node14/-/node14-1.0.3.tgz",
      "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==",
      "license": "MIT"
    },
    "node_modules/@tsconfig/node16": {
      "version": "1.0.4",
      "resolved": "https://registry.npmmirror.com/@tsco

package.json

{
  "name": "china-localization",
  "version": "2.0.0",
  "description": "全中文界面 + 本地服务集成,让中国用户零门槛使用 OpenClaw",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": ["china", "localization", "chinese", "baidu", "feishu", "wechat"],
  "author": "VincentLau2046",
  "license": "MIT",
  "type": "commonjs",
  "dependencies": {
    "@types/node": "^25.4.0",
    "ts-node": "^10.9.2",
    "typescript": "^5.9.3"
  }
}

Sponsored

Ads related to China Localization and adjacent AI workflows.