Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

tc-dictTC 字典

Agent Skill

tc-dict 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

16,038

周安装

675

GitHub Stars

公开资料未说明

下载量

5,616
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tc-dict(TC 字典)
来源仓库:https://github.com/kai-tw/tc-dict
安装命令:
openclaw skills install tc-dict
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tc-dict

简介

基于台湾教育部国语辞典简编本的繁体中文字义查询工具。

  • 支持单字释义、用法示例及文化背景说明,适用于语言学习与研究。
  • 输入汉字即可返回权威词典条目,辅助中文教学与古籍阅读。
  • 依赖外部 API 调用,需确认网络连通性与数据源稳定性。
  • tc-dict 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
openclaw-tc-dict-skill
description
Query Traditional Chinese dictionaries from Ministry of Education (MOE) Taiwan. Supports looking up word definitions from the "國語辭典簡編本" (Concised Mandarin Dictionary) with automatic version management and optional periodic updates. Use when you need to look up Chinese word meanings, check definitions, or ensure you have the latest dictionary data.

OpenClaw Traditional Chinese Dictionary Skill

Installation

This skill requires Python dependencies. Install them with uv:

# Install dependencies (recommended: use uv for faster installation)
uv pip install -r requirements.txt

# Alternative: use pip if uv is not available
pip install -r requirements.txt

Required packages:

  • pandas>=2.0.0 — Data processing
  • openpyxl>=3.1.0 — Excel file reading

Security

This skill implements the following security measures:

TLS Certificate Verification — All HTTPS connections to MOE servers use proper SSL/TLS certificate validation (no disabled verification)

Zip-Slip Protection — Dictionary downloads validate all zip file paths before extraction to prevent directory traversal attacks (path validation applied)

Safe File Handling — Extracted files are validated and stored in user-isolated directory (~/.openclaw/dictionaries/)

⚠️ Cron/Automatic Updates — If you enable automatic updates via cron, the skill will download dictionary files from MOE on your specified schedule. Consider the frequency and enable notifications to track changes.

Overview

This skill enables you to query Traditional Chinese dictionaries published by Taiwan's Ministry of Education. It provides:

  • Word lookup — Search for word definitions with automatic fuzzy matching
  • Dictionary management — Download, extract, and version-control dictionary data
  • Update automation — Automatic periodic checks (cron) + manual update requests
  • Extensible design — Currently supports "國語辭典簡編本" (Concised Dictionary), with room for other MOE dictionaries in the future

Core Capabilities

1. Query Words

Users can look up words using natural language like:

  • "請告訴我『蒼鷺』的意思" (Tell me the meaning of '蒼鷺')
  • "查『梅雨』" (Look up '梅雨')
  • "『破曉』是什麼意思?" (What does '破曉' mean?)

The skill returns the primary definition first. If the user asks for details, provide:

  • Full definition
  • Examples/usage
  • Related information from the dictionary

Implementation: See query_dictionary.py for the search logic.

2. Manage Dictionary Updates

Users can trigger updates in two ways:

Manual update:

  • "更新字典" (Update dictionary)
  • "重新下載國語辭典" (Re-download the dictionary)

Automatic update (cron):

  • Set up a cron job to check for updates monthly
  • Compare local version (stored in metadata.json) against MOE's latest version
  • Download and extract only if a newer version exists

Implementation: See download_dictionary.py for download/extraction logic and check_updates.py for version management.

Configuration

The skill respects a configuration file at ~/.openclaw/dictionaries/config.json:

{
  "storage_path": "~/.openclaw/dictionaries",
  "auto_update_interval_days": 30,
  "dictionaries": {
    "concised": {
      "enabled": true,
      "name": "國語辭典簡編本",
      "source": "https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/respub/dict_concised_download.html"
    }
  }
}

Users can customize storage_path to store dictionaries elsewhere. The default is ~/.openclaw/dictionaries/.

Usage Examples

Example 1: Simple word lookup

User: "請告訴我『藍寶石』的意思"
Response: 藍寶石:寶石名。紅玉髓的一種。(如需詳細資料,請告訴我)

Example 2: Request with details

User: "『藍寶石』是什麼意思?告訴我更多"
Response: 藍寶石:寶石名。紅玉髓的一種。
例句:...
相關詞語:...

Example 3: Manual update

User: "更新字典"
Response: 正在檢查最新版本...
當前版本:2025-12-29
最新版本:[Latest from MOE]
[如果有更新] 已更新字典至最新版本 (2025-12-29)
[如果無更新] 字典已是最新版本

Bundled Resources

scripts/

  • download_dictionary.py — Download zip from MOE, extract, parse xlsx, store locally
  • query_dictionary.py — Search dictionary data, return definitions and optional details
  • check_updates.py — Query MOE website for version info, compare with local metadata

See DICTIONARY_SOURCES.md for data source URLs and version tracking.

references/

  • DICTIONARY_SOURCES.md — All MOE dictionary sources, update URLs, version history
  • SCHEMA.md — xlsx structure documentation (columns, formats, data layout)

For setting up cron jobs to monitor updates, reference the scripts/check_updates.py documentation.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.13%
按下载量换算3,995

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills