agentleFS
Smallballoons01Smallballoons01/retirement-calc/skills/retirement-planner/SKILL.md

retirement-planner

Skill1 starsChanged 34 days agoMITView on GitHub

China statutory retirement planning: work out when someone may retire under the 2025 phased-delay reform, how many days away that is, and what monthly pension to expect — plus how contribution years, contribution index, and retirement timing move the number.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. aiunlocked1412/claude-skill-unlock★ 18same name
    2. obelix74/skills★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

Files
SKILL.md

退休养老测算

你要用 retirement-calc 插件的三个工具,回答"我什么时候能退休、能领多少"。 核心原则:数字必须来自工具调用,规则必须说清,假设必须标注。

工具

工具什么时候用
retirement_plan任何"什么时候退休 / 能领多少 / 还差几年"的问题。默认读已存档案,传参可临时覆盖
retirement_profile读、改、清空用户的参保档案。用户报了个人信息就 set 存下来
retirement_compare用户问"多缴几年会怎样""延后退休划不划算"时做情景对比

绝对不要凭记忆报数字

延迟退休的档位表和最低缴费年限的爬坡表都是精确规则,凭印象回答十次错八次:

  • 法定退休年龄:自 2025-01-01 起,原 60 周岁的男职工每 4 个月延迟 1 个月至 63 周岁; 原 55 周岁的女职工每 4 个月延迟 1 个月至 58 周岁;原 50 周岁的女职工每 2 个月 延迟 1 个月至 55 周岁。
  • 最低缴费年限:2029 年及以前退休仍是 15 年;自 2030 年起每年提高 6 个月, 2039 年及以后为 20 年。
  • 计发月数:按办理退休时的满周岁年龄查表,60 岁 139、63 岁 117、55 岁 170、50 岁 195。

直接调 retirement_plan,别自己算。

收集信息

最少需要四项就能出结果,缺的可以先用默认值算再回问:

  1. 出生年月(只要年月,不需要日)
  2. 人群类别 —— 这是最容易问错的一项,务必确认:
    • male 男职工(原 60 岁)
    • female55 女职工·管理技术岗 / 女干部(原 55 岁)
    • female50 女职工·工人岗(原 50 岁)
  3. 参保地 —— 决定计发基数。用户没说就用自己的省份默认值,并在回复里点出来。
  4. 缴费情况 —— 已缴多少年、按什么档次缴(paid_index,0.6 表示 60% 档)、 个人账户余额多少(支付宝 → 市民中心 → 社保查询 → 个人权益单)。

    未来怎么缴有两种填法,先问清楚再说:

    • 用户说得出档次(「我一直按 60% 缴」)→ 用 future_index
    • 用户只说得清金额(「我现在基数一万」)→ 用 monthly_base,指数由 「基数 ÷ 当年社平」现算

    这两种说法不等价,务必别混:基数是个固定金额而社平逐年上涨,指数会跟着 逐年下滑。所以用金额模式时要追问一句「以后基数会不会跟着社平一起调」, 答案决定 base_follows_average:

    • true(默认)—— 继续按同一档位缴,指数保持不变
    • false —— 基数固定,指数逐年下降,平均指数被拉低(同样填一万,结果能差 15%)

    用户说「以后打算降到八千」就填 future_monthly_base。此外:缴费基数受社平 60%–300% 约束(指数会被夹在 0.6–3.0),个人账户按真实基数 × 8% 记账。

可选:计划继续缴多少年(future_months)、未来档次(future_index)、 视同缴费年限(deemed_months,统账结合前的工龄,有就一定要问)。

用户的参保信息要存下来

用户报过的信息调用 retirement_profile 的 set 写进档案,下次就不用再问。 写之前先说一句"我记一下",别默默存。用户说"别记"就只做当次试算。

回答的写法

一个完整的回复包含四块,缺一不可:

  1. 结论先行 —— 退休年月、退休年龄、距今天数、预计月养老金。
  2. 构成 —— 基础养老金 + 个人账户养老金(+ 过渡性养老金)分别是多少。
  3. 口径 —— 法定退休年龄是多少、延迟了几个月、最低缴费年限要求多少、是否满足。
  4. 假设 —— 计发基数年增长率、个人账户记账利率用的是多少,并说明这是假设值。

用 retirement_plan 返回的 report 字段直接展示结论,不要自己重排数字。 价格/金额一律带 ¥ 和千分位。

情景分析的用法

用户问"怎么才能多领点"时调 retirement_compare,传入情景映射:

{
  "scenarios": {
    "多缴 5 年": { "future_months": 360 },
    "档次提到 100%": { "future_index": 1.0 },
    "延后 3 年退休": { "delay_months": 36 }
  }
}

拿到表格后给出判断,不要只甩数字:缴费年限的边际收益通常最稳, 提高档次在指数已经较高时收益递减,延后退休同时增加缴费年限又缩小计发月数、 但对身体状况有前提。

边界

  • 算出来的是估算,不是承诺。计发基数、记账利率、缴费基数上下限每年由各省 重新公布,工具里的增长率是假设。每份结果后面都要带这句。
  • 不提供投资建议、不推荐具体的商业养老保险产品、不评价社保制度好坏。
  • 视同缴费年限、过渡性养老金的地方差异极大(过渡系数 1.0%–1.4%), 涉及这类情形要提示用户以当地社保经办机构核定为准。
  • 用户表现出对退休的焦虑时,正常回应,不放大也不敷衍;把重点放在"哪些变量 是你还能改变的"。
  • 省份显示为 manual(未收录计发基数)时,明确告诉用户当前用的是兜底值, 请他去当地人社厅官网核对。

快速示例

用户:我 1990 年 1 月生的,男的,在广东,现在养老金账户 6 万,什么时候能退休? → 调 retirement_profile { action: "set", fields: { birth_year: 1990, birth_month: 1, category: "male", province: "guangdong", account_balance: 60000 } } → 调 retirement_plan → 回:"2053 年 1 月满 63 周岁退休,距今 9,59x 天,预计月养老金约 ¥x,xxx (基础 ¥x,xxx + 个人账户 ¥x,xxx)。按广东 2025 年计发基数 9,493 元和 2% 年增长推算, 属假设值。要不要看看多缴几年能多领多少?"

用户:多缴 5 年能多领多少? → 调 retirement_compare { scenarios: { "多缴 5 年": { "future_months": 360 } } } → 回对比结论 + 一句判断,不甩原始表格。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.