data-export

data-export is a skill for Claude Code, Codex from nongjun/feishu-cursor-claw. It costs 46 tokens per session (448 once invoked), scanned A, original, MIT.

A backend service for exporting data in Excel, CSV, or JSON while tracking each export as a background task.

In plain words
What is it for?
Use it to export reports by employee, customer, or group, track progress, cancel jobs, and download completed files.
Why use it?
Large exports can run without blocking the request, while progress, cancellation, deletion, and downloads are handled separately.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nongjun/feishu-cursor-claw/data-export
Any agent
npx skills add nongjun/feishu-cursor-claw --skill data-export
Clone the repo
git clone --depth 1 https://github.com/nongjun/feishu-cursor-claw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for data-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/data-export.svg)](https://agentmods.dev/skills/nongjun/feishu-cursor-claw/data-export)
Your own site
<a href="https://agentmods.dev/skills/nongjun/feishu-cursor-claw/data-export"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/data-export.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 448 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00046 $0.00448
Opus 5 $0.00023 $0.00224
Sonnet 5 $0.00009 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 4d ago against content hash 55f3ab76613e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

data-export scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

参考代码/njcursor/skills/data-export/SKILL.md · 49 lines

What it actually says

数据导出

核心能力

功能 说明
异步导出 后台线程处理,不阻塞请求
多格式 Excel (.xlsx) / CSV / JSON
多维度 按员工 / 客户 / 群导出
进度追踪 progress 字段实时更新
任务管理 列表、取消、删除
Excel 美化 表头样式、自适应列宽、边框

关键函数

函数 用途
run_export_in_background() 启动后台导出线程
process_export_task() 处理导出任务主逻辑
_export_to_excel() 导出 Excel
_export_to_csv() 导出 CSV
_export_to_json() 导出 JSON
get_export_list() 获取任务列表(分页)
cancel_export_task() 取消进行中的任务
delete_export_task() 删除任务及文件

SOP:新增导出类型

  1. 在 export_service.py 中新增导出处理逻辑
  2. 创建 ExportTask 记录(task_id, export_type, format, status=pending)
  3. 调用 run_export_in_background(task_id) 启动后台处理
  4. 前端轮询任务状态或用 WebSocket 推送完成通知
  5. 完成后通过 /download/{task_id} 下载文件

重点关注

  • 依赖 openpyxl 库处理 Excel
  • 大数据量导出需分批查询,避免内存溢出
  • 导出文件存放在容器内,需挂载卷持久化

参考文件

  • 会话存档/后端服务/app/services/export_service.py
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 49 lines · 46 tokens per session scan A 55f3ab76613e

Subscribe to this mod's changes

data-export is a skill published in the GitHub repository nongjun/feishu-cursor-claw (14 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 448 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

weekly-crm-report

Cleans a weekly CRM export and produces a regional sales summary. Activates when the user asks to clean a CRM export, deduplicate sales rows, calculate regional totals, or generate a weekly sales report from a CSV.

FrancyJGLisboa/agent-skill-creator · 49 tokens

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file; create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Also trigger for…

mateaix/mateclaw · 93 tokens

officecli

Use the optional iOfficeAI/OfficeCLI engine for advanced inspection, validation, copy-on-write editing, template merge, or visual rendering of existing .docx, .xlsx, and .pptx files. Prefer MateClaw's built-in renderDocx/renderXlsx/renderPptx tools for simple new documents. Use this skill when preserving an existing…

mateaix/mateclaw · 123 tokens

liteparse

Parse documents into LLM-ready content entirely on the local machine — PDF / DOCX / XLSX / PPTX / images → Markdown, structured JSON (with bounding boxes), or page screenshots, via the lit CLI. No cloud, no LLM, works offline. Use whenever the user attaches or points to a document that must be read before reasoning…

Prismer-AI/PrismerCloud · 90 tokens

office-artifacts

Generate real DOCX, PPTX, XLSX, PDF, CSV files using python-docx / python-pptx / openpyxl / reportlab by writing them into the dispatch artifacts dir, then explicitly deliver each one with cloud deliver . Use whenever the user asks for documents, slides, spreadsheets, reports, or PDFs.

Prismer-AI/PrismerCloud · 75 tokens

openlark-api-validation

OpenLark API 覆盖率验证技能。用于验证各 crate 的 API 实现数量与覆盖率,基于 tools/validateapis.py 脚本和 apilistexport.csv 对比实际代码实现。触发关键词:API 验证、API 覆盖率、验证 API 数量、检查 API 实现、API 统计.

foxzool/openlark · 81 tokens