← 返回 Skills 市场
sales-report-parser
作者
zhoutianwang
· GitHub ↗
· v1.0.1
· MIT-0
243
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install sales-report-parser
功能描述
Extract sales data from report images using OCR with cnocr, parse JSON via MiniMax API, and convert results to Excel spreadsheets.
安全使用建议
This skill appears to do what it says: run cnocr OCR locally then send OCR text and/or base64-encoded images to the MiniMax API to obtain structured JSON, and convert that JSON to Excel. Before installing/running: 1) Understand that image contents and extracted text will be transmitted to the MiniMax endpoint — do not upload sensitive or confidential reports unless you trust the service and its data-handling. 2) Run pip install -r requirements.txt in an isolated virtual environment to avoid dependency conflicts. 3) The script expects you to pass an API key on the command line; avoid putting keys in version-controlled files or shared shells. 4) Review minimax_langchain.py if you want to confirm logging/telemetry behavior; the hardcoded API_KEY is just a placeholder and not an active backdoor. If you need offline processing or stricter data controls, do not use the remote API steps and instead rely solely on local OCR output.
功能分析
Type: OpenClaw Skill
Name: sales-report-parser
Version: 1.0.1
The skill bundle is a legitimate utility designed for parsing sales report images using OCR and LLM-based data extraction. The code uses standard libraries such as cnocr for text recognition, pandas for Excel generation, and LangChain for interfacing with the MiniMax API. There is no evidence of data exfiltration, malicious execution, or harmful prompt injection; the scripts strictly follow the functional requirements described in SKILL.md.
能力评估
Purpose & Capability
Name/description (sales OCR → MiniMax JSON → Excel) match the included scripts. Required functionality (OCR via cnocr, LLM calls to MiniMax, JSON→Excel) is implemented and nothing in the code asks for unrelated capabilities or credentials.
Instruction Scope
SKILL.md instructs installing requirements and running the provided scripts; the runtime steps align with the code. Important note: images are base64-embedded and sent to the MiniMax API via the ChatOpenAI wrapper — both OCR text and image content will be transmitted to the remote service. The documentation does not prominently warn about uploading image contents to a third party.
Install Mechanism
There is no built-in install spec in the registry; SKILL.md recommends pip install -r requirements.txt. The requirements list standard packages (cnocr, langchain-openai, pandas, pillow, etc.). No arbitrary downloads from personal servers or URL shorteners are present in the code.
Credentials
The tool does not require hidden environment variables; API keys are supplied as CLI arguments (api_key). There is a hardcoded placeholder API_KEY = "自己的apk" in minimax_langchain.py (harmless placeholder). The only sensitive secret you must provide is the MiniMax API key — which is proportional to the stated purpose — but you should be aware that providing that key gives the script the ability to send your data to the remote API.
Persistence & Privilege
Skill is not always-enabled, does not request system-wide config paths, and does not modify other skills or system settings. It has no persistence privileges beyond running the scripts and writing output files (JSON/Excel) in the working directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sales-report-parser - 安装完成后,直接呼叫该 Skill 的名称或使用
/sales-report-parser触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added new script: scripts/minimax_langchain.py
- This script likely introduces MiniMax API integration using the LangChain framework.
v1.0.0
Initial release of sales-report-parser.
- Extracts data from sales report images using OCR (cnocr).
- Supports parsing OCR text to structured JSON via MiniMax API.
- Converts JSON data to Excel format.
- Includes batch extraction for processing multiple images at once.
- Command-line tools provided for each step with flexible parameters.
- Supports common sales report fields and provides usage examples.
元数据
常见问题
sales-report-parser 是什么?
Extract sales data from report images using OCR with cnocr, parse JSON via MiniMax API, and convert results to Excel spreadsheets. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 243 次。
如何安装 sales-report-parser?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sales-report-parser」即可一键安装,无需额外配置。
sales-report-parser 是免费的吗?
是的,sales-report-parser 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
sales-report-parser 支持哪些平台?
sales-report-parser 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 sales-report-parser?
由 zhoutianwang(@zhoutianwang)开发并维护,当前版本 v1.0.1。
推荐 Skills