← 返回 Skills 市场
hosuke

Clawlendar

作者 Huang Geyang · GitHub ↗ · v0.3.1 · MIT-0
cross-platform ✓ 安全检测通过
282
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install clawlendar
功能描述
Timestamp-first perpetual calendar interop for AI agents. Use when agents need cross-calendar conversion (Gregorian/Julian/ISO/ROC/Buddhist/Japanese era/sexa...
使用说明 (SKILL.md)

Clawlendar

Overview

Provide a single, agent-friendly bridge layer so different tools can ask calendar questions in a common schema and receive normalized JSON. Treat this skill as the date interoperability baseline for multi-agent ecosystems.

Workflow

  1. Call capabilities first to discover supported calendars, optional providers, and locale support.
  2. For calendar conversion, parse source payload in declared calendar and bridge through Gregorian.
  3. For instant-based workflows, use timeline (timestamp-first) instead of direct date conversion.
  4. Use calendar_month when UI needs true month boundaries in non-Gregorian systems.
  5. Use day_profile for one-call details (sexagenary, solar_term_24, chinese_lunar, optional astro, optional metaphysics).
  6. Always pass locale (en, zh-CN, zh-TW) when user-facing text is required.

Quick Start (MCP Server)

Install and run as an MCP server for Claude Desktop / Claude Code:

python3 -m pip install -U "clawlendar[all]"
clawlendar

One-line registration in Claude Code:

python3 -m pip install -U "clawlendar[all]" && claude mcp add clawlendar -- clawlendar

Or run directly from source:

pip install -e .
python -m clawlendar.server

CLI Usage

List supported calendars and optional backends:

pip install -e .
python3 scripts/calendar_bridge.py capabilities

Convert one date into multiple targets:

python3 scripts/calendar_bridge.py convert \
  --source gregorian \
  --targets julian,iso_week,minguo,buddhist,japanese_era,sexagenary,solar_term_24 \
  --date-json '{"year": 2026, "month": 3, "day": 9}'

Normalize one instant with timestamp-first model (external time wheel):

python3 scripts/calendar_bridge.py timeline \
  --input-json '{"timestamp": 1773014400}' \
  --timezone 'Asia/Taipei' \
  --date-basis local \
  --targets minguo,japanese_era,sexagenary,solar_term_24

Generate an astro snapshot for zodiac wheel rendering:

python3 scripts/calendar_bridge.py astro \
  --input-json '{"timestamp": 1773014400}' \
  --timezone 'Asia/Taipei'

Get true month boundaries for non-Gregorian month mode:

python3 scripts/calendar_bridge.py calendar-month \
  --source minguo \
  --month-json '{"year":115,"month":3}'

Get unified daily profile payload:

python3 scripts/calendar_bridge.py day-profile \
  --input-json '{"timestamp": 1773014400}' \
  --timezone 'Asia/Taipei' \
  --locale 'zh-TW'

Include full metaphysics block (Bazi/Huangli + Western almanac):

python3 scripts/calendar_bridge.py day-profile \
  --input-json '{"timestamp": 1773014400}' \
  --timezone 'Asia/Taipei' \
  --locale 'zh-CN'

HTTP API

Run HTTP API for multi-claw integration:

pip install -e ".[api]"
./scripts/run_api.sh

Run with Docker:

docker build -t clawlendar:mvp .
docker run --rm -p 8000:8000 clawlendar:mvp

Contract

Use the JSON contract in references/integration-contract.md for tool-to-tool integration. Keep payload keys calendar-specific and avoid ambiguous fields.

Tool Mapping

  • MCP tools: capabilities, convert, timeline, astro_snapshot, calendar_month, day_profile
  • CLI commands: capabilities, convert, timeline, astro, calendar-month, day-profile
  • FastAPI endpoints: GET /capabilities, POST /convert, POST /timeline, POST /astro, POST /calendar-month, POST /day-profile

References

  • Use references/integration-contract.md for request/response schema and compatibility guidance.
  • Use references/calendar-landscape.md for East/West major calendar systems and rollout priorities.
  • Use references/time-wheel-model.md for timestamp-first design and instant/date projection rules.
  • Use references/mvp-release-notes.md as GitHub release draft baseline.

Notes

  • Treat Gregorian as the canonical bridge format.
  • Return warnings instead of hard-failing for optional providers that are not installed.
  • Mark approximate outputs explicitly (for example, sexagenary year boundaries and fixed-date solar-term approximation).
  • Treat timeline as the default bridge for multi-agent scheduling and event processing.
  • chinese_lunar conversion payload is numeric; Chinese textual month/day labels are exposed via day_profile.metaphysics.eastern.lunar_date when lunar_python is available.
安全使用建议
This skill appears coherent for a calendar interoperability tool. Before installing or running the package it references: 1) verify the correct project/repo name and source (the SKILL.md references a GitHub repo name that slightly differs from the skill slug); 2) if you will pip install "clawlendar[all]", confirm the PyPI package or GitHub release is the intended project and, when possible, review the package contents or Dockerfile for unexpected network or filesystem actions; 3) avoid running installs in privileged or production environments without review; and 4) if you plan to enable agent-autonomous use of this skill, remember the agent could run its documented CLI/API commands — treat the package like any third-party code and review its source if you require high assurance.
功能分析
Type: OpenClaw Skill Name: clawlendar Version: 0.3.1 The clawlendar skill is a comprehensive calendar interoperability utility designed for AI agents to convert between various systems (Gregorian, Lunar, Islamic, etc.) and normalize timelines. The SKILL.md and _meta.json files describe legitimate functionality for MCP servers, CLI tools, and HTTP APIs, with no evidence of malicious intent, data exfiltration, or prompt-injection attacks.
能力评估
Purpose & Capability
Name/description align with the documented functionality (cross-calendar conversions, timeline, day profiles). The declared runtime requirements (python3, pip) are reasonable for a Python calendar package. Minor inconsistency: the homepage/project name in the SKILL.md ('Clawlender' on GitHub) differs slightly from the skill name/slug ('Clawlendar'), which is worth verifying but does not indicate malicious intent.
Instruction Scope
SKILL.md confines instructions to installing/running the calendar package, using its CLI, or running an HTTP API/Docker container. It does not instruct reading unrelated files, exporting credentials, or contacting unexpected external endpoints. The docs do instruct the user/agent to pip install packages and run commands — expected for an instruction-only Python tool.
Install Mechanism
The registry contains no automated install spec (lower baseline risk), but the documentation instructs pip install and optionally docker build/run. Installing via pip or docker will fetch and execute third-party code; this is normal for Python tools but the user should verify the package source (PyPI package or GitHub) and inspect release contents before installing in sensitive environments.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. That is proportional to the stated calendar conversion purpose.
Persistence & Privilege
always is false and the skill is user-invocable only. It does not request permanent inclusion or modification of other skills' configurations. Autonomous invocation by the agent is allowed by default (not a red flag here).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawlendar
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawlendar 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.1
clawlendar 0.3.1 - Version bump from 0.3.0 to 0.3.1. - No other changes detected.
v0.3.0
- Added timestamp-first perpetual calendar interop, supporting multi-calendar conversion and normalized timeline processing. - Introduced unified JSON schema for Gregorian, Julian, ISO, ROC, Buddhist, Japanese era, sexagenary, solar terms, and optional lunar, Islamic, Hebrew, and Persian calendars. - Added support for true month boundaries, day-level profiles with Bazi/Huangli/Western almanac fields, and locale-aware outputs. - Provided CLI, HTTP API, and MCP server modes, plus Docker integration for deployment. - Included clear contract references and workflow guidance for agent-based tool interoperability. - Improved handling of approximate outputs and optional provider warnings.
元数据
Slug clawlendar
版本 0.3.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Clawlendar 是什么?

Timestamp-first perpetual calendar interop for AI agents. Use when agents need cross-calendar conversion (Gregorian/Julian/ISO/ROC/Buddhist/Japanese era/sexa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 282 次。

如何安装 Clawlendar?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawlendar」即可一键安装,无需额外配置。

Clawlendar 是免费的吗?

是的,Clawlendar 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Clawlendar 支持哪些平台?

Clawlendar 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clawlendar?

由 Huang Geyang(@hosuke)开发并维护,当前版本 v0.3.1。

💬 留言讨论