Xpersona
F

Fcalendar Skill

CLAWHUB · Unverified

Recognizes and resolves Chinese and English time expressions to exact dates and queries Chinese public holidays and weekends by date range.

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/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 s17ex9gjk19e5v4z5550xr5fds83g6e9:fcalendar-skill
  1. Install using `clawhub skill install s17ex9gjk19e5v4z5550xr5fds83g6e9:fcalendar-skill` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/youngfreefjs/fcalendar-skill before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-youngfreefjs-fcalendar-skill/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

71,130 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: fcalendar-skill
description: fcalendar-skill is a Chinese date/time expression recognition and holiday query tool. **Trigger this skill whenever users mention any time-related terms**, including but not limited to: 明天, 后天, 下周, 春节, 国庆节, Christmas, Monday, etc. It can identify and annotate time expressions in natural language text (Chinese and English), resolve them to exact calendar dates, and query Chinese public holidays and normal weekends within a specified time range. Use this skill when users ask about dates, time expressions, schedules, holidays, or when you need to resolve relative time references to concrete dates.
license: See LICENSE.txt
allowed-tools: "Read Exec"
compatibility: "Requires Python 3.7+. Supports Linux, macOS, and Windows systems."
---

# fcalendar

Use `fcalendar` to identify time expressions in text and query Chinese public holiday schedules.  
All commands output **single-line JSON** to `stdout`; errors go to `stderr`.

> [!IMPORTANT]
> **Always invoke fcalendar as `python3 -m fcalendar ...`** — this bypasses all PATH issues and works
> regardless of virtual environments, system Python, or installation prefix. Never rely on the bare
> `fcalendar` command being on PATH.

## Quick Start

1. **Check if already installed** (do this first — skip install if it succeeds):
   ```bash
   python3 -c "import fcalendar; print('fcalendar installed, version:', fcalendar.__version__)"
   ```
   If this prints a version number, skip to step 3.

2. **Install** (only if step 1 failed):
   
   > [!NOTE]
   > **Package Source**: The `fcalendar` package is available on PyPI at https://pypi.org/project/fcalendar/
   > 
   > **Source Code**: You can review the source code at https://github.com/youngfreefjs/fcalendar
   > 
   > **Security**: This package only performs local date/time parsing and does not access network resources or collect user data.
   
   ```bash
   python3 -m pip install fcalendar 
   ```
   
   For enhanced security, consider installing in a virtual environment:
   ```bash
   python3 -m venv venv
   source venv/bin/activate  # On Windows: venv\Scripts\activate
   python3 -m pip install fcalendar
   ```

3. **Verify**:
   ```bash
   python3 -m fcalendar --help
   ```
   Confirm help output is shown. If this fails but step 1 succeeded, the package is installed but
   may not support `-m` invocation — fall back to the full binary path:
   ```bash
   $(python3 -c "import sys, os; print(os.path.join(sys.prefix, 'bin', 'fcalendar'))") --help
   ```

4. **Get current date** when needed: `date +%Y-%m-%d`

> [!NOTE]
> **Invocation rule**: In all commands below, replace `fcalendar` with `python3 -m fcalendar`.
> Example: `fcalendar query "明天"` → `python3 -m fcalendar query "明天"`

## Core Capabilities

### 1. Time Expression Recognition — `query`

Identifies and annotates time expressions in natural language, resolving them to exact dates.

**Command:**
```
fcalendar query "<text>" [--today YYYY-MM-DD] [--lang zh|en]
```

*

_meta.json

{
  "ownerId": "kn7amecq2epv7c0vz9padf5er983grsj",
  "slug": "fcalendar-skill",
  "version": "0.1.2",
  "publishedAt": 1775123378693
}

references/holidays.md

# Chinese Holidays and Solar Terms Reference

This document provides detailed information about Chinese public holidays, traditional festivals, and the 24 solar terms supported by fcalendar-skill.

## Chinese Public Holidays (中国法定节假日)

These are official public holidays in China with mandated time off.

### 1. 元旦 (New Year's Day)
- **Date**: January 1
- **Duration**: Typically 1-3 days
- **Description**: Celebrates the beginning of the Gregorian calendar year

### 2. 春节 (Spring Festival / Chinese New Year)
- **Date**: First day of the first lunar month (varies, usually late January to mid-February)
- **Duration**: Typically 7 days
- **Description**: The most important traditional Chinese festival, celebrating the lunar new year
- **Also known as**: 过年 (Guo Nian)

### 3. 清明节 (Qingming Festival / Tomb-Sweeping Day)
- **Date**: Around April 4-6 (based on solar calendar)
- **Duration**: Typically 3 days
- **Description**: A day to honor ancestors by visiting and cleaning their graves

### 4. 劳动节 (Labor Day / May Day)
- **Date**: May 1
- **Duration**: Typically 3-5 days
- **Description**: International Workers' Day, celebrating laborers and the working class

### 5. 端午节 (Dragon Boat Festival)
- **Date**: Fifth day of the fifth lunar month (varies, usually in June)
- **Duration**: Typically 3 days
- **Description**: Commemorates the ancient poet Qu Yuan, featuring dragon boat races and eating zongzi (rice dumplings)

### 6. 中秋节 (Mid-Autumn Festival / Moon Festival)
- **Date**: 15th day of the eighth lunar month (varies, usually in September)
- **Duration**: Typically 3 days
- **Description**: Celebrates the harvest and family reunion, featuring mooncakes and moon gazing

### 7. 国庆节 (National Day)
- **Date**: October 1
- **Duration**: Typically 7 days (Golden Week)
- **Description**: Celebrates the founding of the People's Republic of China in 1949

---

## Traditional Festivals (传统节日)

These are traditional Chinese festivals that may not be official public holidays but are culturally significant.

### 1. 元宵节 (Lantern Festival)
- **Date**: 15th day of the first lunar month
- **Description**: Marks the end of Spring Festival celebrations, featuring lantern displays and eating tangyuan (sweet rice balls)

### 2. 七夕 (Qixi Festival / Chinese Valentine's Day)
- **Date**: Seventh day of the seventh lunar month
- **Description**: Celebrates the annual meeting of the cowherd and weaver girl in Chinese mythology

### 3. 重阳节 (Double Ninth Festival)
- **Date**: Ninth day of the ninth lunar month
- **Description**: A day to honor the elderly, featuring hiking and eating chongyang cake

### 4. 除夕 (Chinese New Year's Eve)
- **Date**: Last day of the twelfth lunar month
- **Description**: The evening before Spring Festival, featuring family reunion dinners

---

## 24 Solar Terms (24节气)

The 24 solar terms are a traditional Chinese calendar system that divides the year into 24 periods based on the sun's position.

### Spring (春季)
1. **立春** (Lichun / Beginning of Sprin

references/time-expressions.md

# Time Expression Types Reference

This document provides detailed information about all time expression types supported by fcalendar-skill.

## 1. Relative Day Expressions (相对日期表达)

**Description**: Expressions that refer to days relative to today.

**Supported Forms**:
- 明天 (tomorrow)
- 后天 (day after tomorrow)
- 大后天 (two days after tomorrow)
- 大大后天 (three days after tomorrow)
- And further stacking patterns

**Examples**:
- "明天下午三点开会" → resolves to tomorrow's date
- "后天去旅游" → resolves to the day after tomorrow
- "大后天有活动" → resolves to two days after tomorrow

---

## 2. Relative Week Expressions (相对周表达)

**Description**: Expressions that refer to specific weekdays in current or future weeks.

**Supported Forms**:
- 本周一, 本周二, ..., 本周日 (this Monday, this Tuesday, ..., this Sunday)
- 下周一, 下周二, ..., 下周日 (next Monday, next Tuesday, ..., next Sunday)
- 下下周一, 下下周二, ..., 下下周日 (the week after next Monday, ...)

**Examples**:
- "本周五开会" → resolves to this Friday's date
- "下周一提交报告" → resolves to next Monday's date
- "下下周三有培训" → resolves to the Wednesday of the week after next

---

## 3. Weekend Expressions (周末表达)

**Description**: Expressions referring to weekends.

**Supported Forms**:
- 本周末 (this weekend)
- 下周末 (next weekend)
- 下下周末 (the weekend after next)

**Examples**:
- "本周末去爬山" → resolves to this Saturday and Sunday
- "下周末有聚会" → resolves to next weekend's dates

---

## 4. Chinese Public Holidays (中国法定节假日)

**Description**: Official Chinese public holidays.

**Supported Forms**:
- 春节 (Spring Festival / Chinese New Year)
- 国庆节 (National Day)
- 清明节 (Qingming Festival / Tomb-Sweeping Day)
- 劳动节 (Labor Day)
- 端午节 (Dragon Boat Festival)
- 中秋节 (Mid-Autumn Festival)
- 元旦 (New Year's Day)

**Examples**:
- "春节回家" → resolves to Spring Festival date
- "国庆节去旅游" → resolves to National Day date
- "清明节扫墓" → resolves to Qingming Festival date

---

## 5. Lunar Traditional Festivals (农历传统节日)

**Description**: Traditional Chinese festivals based on the lunar calendar.

**Supported Forms**:
- 元宵节 (Lantern Festival)
- 七夕 (Qixi Festival / Chinese Valentine's Day)
- 重阳节 (Double Ninth Festival)
- 除夕 (Chinese New Year's Eve)

**Examples**:
- "元宵节看灯会" → resolves to Lantern Festival date
- "七夕送礼物" → resolves to Qixi Festival date
- "除夕吃年夜饭" → resolves to Chinese New Year's Eve date

---

## 6. Lunar Date Expressions (农历日期)

**Description**: Specific dates in the lunar calendar.

**Supported Forms**:
- 正月十五 (15th day of the first lunar month)
- 腊月二十三 (23rd day of the twelfth lunar month)
- 农历八月十五 (15th day of the eighth lunar month)
- 阴历三月初三 (3rd day of the third lunar month)

**Examples**:
- "正月十五闹元宵" → resolves to the 15th day of the first lunar month
- "农历八月十五赏月" → resolves to Mid-Autumn Festival date

---

## 7. Western Festivals (西方节日)

**Description**: Western holidays and celebrations.

**Supported Forms**:
- 圣诞节 (Christmas)
- 万圣节 (Halloween)
- 情人节 (Valentine's Day)
- 复活节 (Easter)
- 感恩节 (Thanksgiving)

**Examples**:
- "圣诞节交换礼物" → resolves to December 25
- "万圣节装扮" → re

skill-card.md

## Description:

Fcalendar Skill recognizes Chinese and English time expressions, resolves them to exact calendar dates, and queries Chinese public holidays and normal weekends for a specified date range.

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

## Publisher:

[youngfreefjs](https://clawhub.ai/user/youngfreefjs)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent builders use this skill to answer date, schedule, and holiday questions by invoking fcalendar and presenting resolved dates or holiday ranges. It is most relevant for Chinese and English time expressions and Chinese public holiday lookup.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can trigger broad shell-based package checks and unpinned PyPI installation for common time mentions.

Mitigation: Review before installing, prefer a pinned and reviewed fcalendar version in a virtual environment, and avoid auto-triggering the skill for casual date or weekday mentions.

## Reference(s):

- [Fcalendar package on PyPI](https://pypi.org/project/fcalendar/)
- [Fcalendar source repository](https://github.com/youngfreefjs/fcalendar)
- [Chinese Holidays and Solar Terms Reference](references/holidays.md)
- [Time Expression Types Reference](references/time-expressions.md)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown responses derived from single-line JSON CLI output]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [The skill directs agents to preserve fcalendar CLI result semantics and avoid paraphrasing resolved dates or holiday results.]

## Skill Version(s):

0.1.2 (source: server release metadata)

## 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.

Sponsored

Ads related to Fcalendar Skill and adjacent AI workflows.