Historical Data Compare Claw

v1.0.0

历史数据比对虾 — 专注于环比、同比、趋势等数据差异分析。激活场景:当用户提供两期或多期历史数据(Excel/CSV/数据库导出等),要求进行同比分析、环比分析、趋势对比、差异排查、变动归因、KPI变动说明、或"和上个月比怎么样"、"今年比去年如何"等数据对比类问题时触发。也适用于多维度数据切片对比(按区域、品类...

0· 111·0 current·0 all-time
byRicky@tujinsama
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (historical data compare) matches the included SKILL.md and the included script (scripts/compare.py). The script implements parsing, aggregation, MoM/YoY calculations and report formatting that are exactly what the skill advertises; no unrelated binaries, env vars, or services are requested.
Instruction Scope
Runtime instructions are narrowly scoped to accepting user-supplied data files, validating columns, running the included Python script, performing comparisons, and producing reports. The SKILL.md does not instruct reading unrelated system files, environment secrets, or sending data to external endpoints.
Install Mechanism
No install spec (instruction-only) — lowest risk. There is a bundled Python script that depends on pandas (and for .xlsx may need openpyxl/xlrd), but the skill does not declare or install these dependencies. Users should ensure required Python packages are available in the execution environment.
Credentials
The skill requests no environment variables, credentials, or config paths. Its behavior is limited to processing files supplied by the user and writing output to the chosen path, which is proportionate to its stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent or elevated privileges. It does not modify other skills or system-wide settings. The script may write an output file if --output is provided, which is normal for a report generator.
Assessment
This skill appears coherent and local-only, but a few practical checks are recommended before installing/using it: 1) Run the script in a controlled environment (e.g., a project virtualenv or container) and install dependencies (pandas, and openpyxl/xlrd if you need .xlsx support). 2) Verify that input files you pass are the files you intend to analyze (the script will read whatever file path you provide). 3) If you need to run this in a production/automated agent, review the script to ensure its output formatting and period-parsing logic match your data conventions (shift_period uses simple string parsing and may not cover all date/period formats). 4) If you require network isolation or stricter auditing, run it in an environment without network access — the code makes no network calls by itself. If you want extra assurance, run a code review or static analysis locally.

Like a lobster shell, security has layers — review code before you run it.

latestvk974y4chja8q8wg33rezdf761n83mkv4

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments