← Back to Skills Marketplace
hikeryangsz-creator

China National Pension Calculation

by hikeryangsz-creator · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ⚠ suspicious
94
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install pension-calculation
Description
养老金计算器 - 支持Web界面填写和LLM对话交互。计算基本养老金、企业年金、个人养老金和养老储蓄。适用于中国养老金体系计算。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pension-calculation
  3. After installation, invoke the skill by name or use /pension-calculation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug pension-calculation
Version 1.3.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is China National Pension Calculation?

养老金计算器 - 支持Web界面填写和LLM对话交互。计算基本养老金、企业年金、个人养老金和养老储蓄。适用于中国养老金体系计算。 It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.

How do I install China National Pension Calculation?

Run "/install pension-calculation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is China National Pension Calculation free?

Yes, China National Pension Calculation is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does China National Pension Calculation support?

China National Pension Calculation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created China National Pension Calculation?

It is built and maintained by hikeryangsz-creator (@hikeryangsz-creator); the current version is v1.3.0.

💬 Comments