Cn Excel Formula

v1.2.0

Excel公式助手。自然语言描述需求,自动生成Excel公式。支持VLOOKUP、条件统计、日期计算、文本处理等200+常用公式。附带公式解释和示例数据。

0· 166·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for freedompixels/cn-excel-formula.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Cn Excel Formula" (freedompixels/cn-excel-formula) from ClawHub.
Skill page: https://clawhub.ai/freedompixels/cn-excel-formula
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install cn-excel-formula

ClawHub CLI

Package manager switcher

npx clawhub@latest install cn-excel-formula
Security Scan
Capability signals
Requires sensitive credentials
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Excel formula assistant) matches the included functionality: a local Python script with a formula template library, CLI usage examples, and optional AI-assisted generation. There are no unrelated environment variables, binaries, or services requested.
Instruction Scope
SKILL.md instructs installing openpyxl and running the included script to generate/explain/list/diagnose formulas. The instructions reference only the script and optional OPENAI_API_KEY for AI enhancement; they do not request unrelated system files, credentials, or external endpoints beyond OpenAI when explicitly enabled.
Install Mechanism
There is no heavy install spec in the registry. SKILL.md suggests 'pip install openpyxl', which is appropriate for a Python Excel helper and proportional to the tool's functionality. No downloads from untrusted URLs or archive extraction are present.
Credentials
No required environment variables or credentials are declared. SKILL.md documents an optional OPENAI_API_KEY to enable AI-based formula generation; the script reads this env var only if AI mode is used. That optional credential is proportionate to the stated AI enhancement feature.
Persistence & Privilege
The skill is not always-enabled (always:false), is user-invocable, and does not request elevated or persistent privileges. It does not modify other skills or system-wide agent settings based on the provided files and instructions.
Assessment
This skill appears coherent and limited to generating and explaining Excel formulas. Consider these practical precautions before installing: 1) If you supply OPENAI_API_KEY, prompts and input will be sent to OpenAI — avoid sending sensitive spreadsheet contents. 2) Review the included scripts/excel_formula.py locally (it's small and readable) before running. 3) Installing openpyxl via pip is normal; run installs in a virtualenv if you want to isolate dependencies. 4) If you need higher assurance, run the CLI in a sandbox or inspect the full file to confirm there are no hidden network calls beyond the optional OpenAI usage.

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

Runtime requirements

📊 Clawdis
latestvk97b23dbwxr56exgns0z99z61x85m3sa
166downloads
0stars
2versions
Updated 8h ago
v1.2.0
MIT-0

Excel公式助手

功能

  • 自然语言描述 → 自动生成Excel公式
  • 公式中文解释(每个参数都有说明)
  • 200+常用公式模板库
  • 常见错误排查
  • 公式优化建议

使用方法

生成公式

# 自然语言描述
python scripts/excel_formula.py generate "查找A列中与D2匹配的B列值"
# 输出:=VLOOKUP(D2, A:B, 2, FALSE)

# 带条件的求和
python scripts/excel_formula.py generate "求A列大于100且B列为'完成'的C列之和"
# 输出:=SUMIFS(C:C, A:A, ">100", B:B, "完成")

解释公式

python scripts/excel_formula.py explain "=VLOOKUP(D2,A:B,2,FALSE)"
# 输出中文解释

常用公式库

# 列出某类别公式
python scripts/excel_formula.py list --category lookup
python scripts/excel_formula.py list --category date
python scripts/excel_formula.py list --category text

错误排查

python scripts/excel_formula.py diagnose "=VLOOKUP(D2,A:B,2,FALSE)" --error "#N/A"
# 输出可能原因和修复方法

支持的公式类别

类别常用公式
查找引用VLOOKUP, HLOOKUP, INDEX+MATCH, XLOOKUP, INDIRECT
条件统计SUMIFS, COUNTIFS, AVERAGEIFS, MAXIFS, MINIFS
日期时间DATE, DATEDIF, EDATE, EOMONTH, NETWORKDAYS
文本处理LEFT, RIGHT, MID, FIND, SUBSTITUTE, CONCATENATE
逻辑判断IF, IFS, SWITCH, AND, OR, IFERROR
数学计算ROUND, ROUNDUP, ROUNDDOWN, MOD, INT, ABS
数据清洗TRIM, CLEAN, UPPER, LOWER, PROPER, TEXT
数组公式UNIQUE, FILTER, SORT, SEQUENCE, TRANSPOSE

典型场景

  1. 数据查找:根据姓名查工资、根据编号查详情
  2. 条件汇总:按部门/月份/状态分类统计
  3. 日期计算:工龄、合同到期、项目倒计时
  4. 文本提取:从身份证提取生日、提取邮箱域名
  5. 错误处理:#N/A、#VALUE!、#REF! 排查修复

Comments

Loading comments...