CNY Rate Calculator for Openclaw

An automated tool for fetching live CNY exchange rates and calculating business-specific tiered pricing models based on the Prairie Grasslands formula.

jaws17935
v1.0.0
Mar 7, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cny

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cny using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is CNY Rate Calculator?

This skill provides a streamlined way to monitor and calculate Chinese Yuan (CNY) exchange rates directly from the Bank of Taiwan. By leveraging Openclaw Skills, developers and business owners can automate the calculation of mid-market rates and apply specific discount tiers based on the Prairie Grasslands formula. It serves as a bridge between financial data sources and communication platforms, ensuring team members have access to the latest cost calculations in real-time.

The tool is designed for high compatibility, supporting a vast array of messaging platforms including Telegram, Discord, Slack, and even enterprise solutions like WhatsApp and Signal through integrated gateways. Its ability to auto-detect system configurations makes it a highly efficient addition to any Openclaw Skills collection.

CNY Rate Calculator Use Cases

  • Monitoring live CNY to TWD exchange rates for business procurement.
  • Automating price updates in team communication channels like Slack or Discord.
  • Calculating tiered discount costs for 10K and 50K thresholds during bulk currency operations.
  • Creating a scheduled reporting system for daily exchange rate fluctuations to track market trends.

How CNY Rate Calculator Works

  1. The skill initiates a request to the Bank of Taiwan's public exchange rate portal to fetch the latest buy and sell prices for CNY.
  2. It calculates the mid-market price by averaging the buy and sell rates.
  3. The Prairie Grasslands formula is applied to generate three specific tiers: Base cost (Mid + 0.05), 10K discount (Mid + 0.03), and 50K discount (Mid + 0.015).
  4. The skill checks for configuration via config.json, environment variables, or existing Openclaw Skills system settings.
  5. The formatted results are dispatched to the configured communication channel such as a Telegram Bot or a Webhook.

CNY Rate Calculator Setup

Configure your desired channel in config.json or ensure your environment variables (like TELEGRAM_BOT_TOKEN) are set. To use with Openclaw Skills auto-detection, ensure your system configuration is located in the standard ~/.openclaw/ directory.

Run the script using the following command:

python scripts/cny_rate.py

To view the interactive setup guide and see all available channel options, use:

python scripts/cny_rate.py --setup

CNY Rate Calculator Data Schema & Taxonomy

The skill organizes its calculation logic and transmission settings as follows:

Data Point Description Calculation Formula
Mid Price The average of Buy/Sell rates (Buy + Sell) / 2
Base Cost Standard business rate Mid + 0.05
10K Discount Tier 1 volume discount Mid + 0.03
50K Discount Tier 2 volume discount Mid + 0.015

Configuration is managed via config.json which tracks the channel.type and channel.target metadata to ensure accurate message delivery.

CNY Rate Calculator Advanced Features

  • Auto-detection of system-wide Openclaw Skills configuration files across Windows, macOS, and Linux.
  • Multi-channel support including Signal, WhatsApp, and iMessage via the specialized OpenClaw Gateway.
  • Flexible scheduling compatibility with Windows Task Scheduler and Linux Cron for automated business reporting.
  • Custom delta configuration support through the config.json file to adjust calculation offsets.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*