← 返回 Skills 市场
hikeryangsz-creator

China National Pension Calculation

作者 hikeryangsz-creator · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ⚠ suspicious
94
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install pension-calculation
功能描述
养老金计算器 - 支持Web界面填写和LLM对话交互。计算基本养老金、企业年金、个人养老金和养老储蓄。适用于中国养老金体系计算。
安全使用建议
This package appears coherent and local-only, but take the usual precautions before running third-party Node code: 1) Review the repository locally (you already have the files) and inspect any remaining truncated files for network calls or obfuscated code; 2) Run npm install in an isolated environment (container/VM) to avoid unexpected transitive dependency issues; 3) The skill starts local servers (default ports 8082 and 8084) and writes data to data/user-data.json — do not expose these ports to the public internet and avoid entering sensitive identifiers unless you are comfortable storing them locally; 4) If you need stricter assurance, calculate expected outputs from sample inputs or run the server offline and monitor outgoing network activity. If you want, I can scan the remaining truncated files for network endpoints or suspicious patterns before you install.
功能分析
Type: OpenClaw Skill Name: pension-calculation Version: 1.3.0 The skill bundle provides a pension calculator with a web interface and MCP integration, but it contains significant security vulnerabilities. Specifically, 'mcp-server.js' and 'start-web-server.js' implement a static file server that is vulnerable to directory traversal because it joins the base directory with unsanitized URL paths. Additionally, the 'update_parameter' tool in 'mcp-server.js' is susceptible to prototype pollution when processing nested object keys. While these appear to be unintentional flaws rather than malicious intent, they represent high-risk behaviors that could be exploited to access sensitive local files or manipulate the execution environment.
能力评估
Purpose & Capability
Name/description match the included code: web UI, MCP server, calculation engine, and local data storage. No unexpected credentials, external services, or unrelated binaries are requested.
Instruction Scope
SKILL.md instructs the agent to start a local web UI, accept user-filled data, then read data/user-data.json to produce reports. The code reads/writes only files under the skill directory and serves static UI on localhost; it does not ask for or access unrelated system paths or secrets.
Install Mechanism
No formal install spec in registry metadata (instruction-only), but a package.json and package-lock.json are included. The README instructs running npm install and node mcp-server.js; dependencies come from the public npm registry (@modelcontextprotocol/sdk and its transitive deps). This is expected but means npm will fetch packages from the public registry.
Credentials
The skill requires no environment variables, credentials, or system config paths. All I/O is scoped to a local data/ directory owned by the skill; requested resources are proportional to the stated functionality.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. It runs a local Node process and writes its own data files (data/user-data.json, status.json), which is expected for this type of skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pension-calculation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pension-calculation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
Version 1.3.0 - Added a dedicated CHANGELOG.md file to the project. [1.3.0] - 2025-04-11 新增 服务器数据自动加载 - 页面启动时优先从服务器加载数据 自动检测服务器数据 支持多设备数据同步 服务器无数据时自动回退到本地存储 修复 版本号更新问题 - 保存数据时自动更新版本号 保存时自动设置 version 为当前代码版本 自动更新 lastModified 时间戳 确保数据版本与代码版本一致 改进 数据加载优先级 - 优化数据加载顺序 优先从服务器加载(支持多设备同步) 其次从 localStorage 加载(本地缓存) 最后使用默认数据(首次使用) 技术细节 数据模型版本:1.2.0 → 1.3.0 MCP Server 版本:1.2.0 → 1.3.0 Package 版本:1.2.0 → 1.3.0
v1.0.0
Revisions 1. Improved Retirement Age Selection Added gender selection: 👨 Male: statutory retirement age starting at 60 👩 Female: statutory retirement age starting at 55 Added retirement age selection methods: Slider selection: range of 50–70 years, with precise selection available Quick buttons: 55, 60, 63, 65, 70 (dynamically displayed based on gender) Real-time display: currently selected retirement age 2. Optimized Numeric Input Controls Style improvements: Thicker border (2px) and focus effect Blue shadow on focus Bold numeric font for better readability Interaction improvements: Removed default browser up/down arrows Added styled numeric control buttons (+/-) Reserved space for buttons on the right side of input fields
元数据
Slug pension-calculation
版本 1.3.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

China National Pension Calculation 是什么?

养老金计算器 - 支持Web界面填写和LLM对话交互。计算基本养老金、企业年金、个人养老金和养老储蓄。适用于中国养老金体系计算。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。

如何安装 China National Pension Calculation?

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

China National Pension Calculation 是免费的吗?

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

China National Pension Calculation 支持哪些平台?

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

谁开发了 China National Pension Calculation?

由 hikeryangsz-creator(@hikeryangsz-creator)开发并维护,当前版本 v1.3.0。

💬 留言讨论