openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > retire_age

根据用户的职位信息、性别、出生年月计算该用户的退休时间

综合技能

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 119 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:acfff/retire-age

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill is internally consistent: it runs a bundled Python script to compute retirement age, requests no secrets, and its only unusual dependency is the 'uv' runner which is used in the SKILL.md examples.

目的

Name/description match the included Python script and example usage. The only minor oddity is that the skill requires the 'uv' binary to run the script (SKILL.md uses 'uv run'), whereas the payload is a simple Python script that could be executed with python3 directly. This is somewhat unnecessary but not malicious.

说明范围

SKILL.md instructs running the local script with command-line arguments. The script only reads the provided arguments, validates them, computes results, and prints JSON. It does not read other files, environment variables, or make network calls.

安装机制

Install spec is a Homebrew formula for 'uv' which is a standard package manager. No downloads from arbitrary URLs or archive extraction are present. The install is proportional to the stated requirement (the runner binary).

证书

The skill declares no required environment variables, no credentials, and no config paths. The code does not access environment secrets. Credential access appears proportionate (none required).

持久

Skill is not always-enabled, does not request elevated or persistent privileges, and does not modify other skills or system-wide configurations. Autonomous invocation is allowed by default but is normal for skills.

综合结论

This skill runs a local Python script included in the package to compute retirement dates and does not request credentials or perform network activity. Before installing, note that SKILL.md expects a 'uv' runner (installed via Homebrew); if you prefer not to install that package you can run the script directly with python3 (e.g., python3 scripts/calculate_age.py --birth-year ...). If you will install the 'uv' brew formula, confirm the formula'…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「retire_age」。简介:根据用户的职位信息、性别、出生年月计算该用户的退休时间。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/acfff/retire-age/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: retirement_age
description: 根据用户的职位信息、性别、出生年月计算该用户的退休时间
metadata:
  {
    "openclaw":
      {
        "emoji": "🎂",
        "requires": { "bins": ["uv"] },
        "install":
          [
            {
              "id": "brew",
              "kind": "brew",
              "formula": "uv",
              "bins": ["uv"],
              "label": "Install uv (brew)",
            },
          ],
      }
  }
---

# Retirement Age Calculator

根据中国渐进式延迟退休政策,计算用户的退休时间和退休年龄。

## 使用示例

```bash
uv run {baseDir}/scripts/calculate_age.py 
  --birth-year 1970 
  --birth-month 5 
  --role "男性"
```

## 参数说明

| 参数 | 说明 |
|------|------|
| `--birth-year` | 出生年份(如 1970) |
| `--birth-month` | 出生月份(1-12) |
| `--role` | 职位类型:`男性`、`女职工`、`女干部` |

## 退休政策说明

根据 2024 年 9 月发布的渐进式延迟退休政策:

- **男性**:从 60 岁逐步延迟到 63 岁(1965-1976 年出生为过渡期)
- **女职工**:从 50 岁逐步延迟到 55 岁(1975-1984 年出生为过渡期)
- **女干部**:从 55 岁逐步延迟到 58 岁(1970-1981 年出生为过渡期)

## 输出示例

```json
{
  "retirement_time": "2031年10月",
  "retirement_age": "61岁5个月"
}
```