academic-paper-review
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering,
Claude Code
$ npx -y skills add bytedance/deer-flow --skill data-analysis --agent claude-code
Codex
$ npx skills add bytedance/deer-flow --skill data-analysis -a codex -y
Cursor
$ npx skills add bytedance/deer-flow --skill data-analysis -a cursor -y
Gemini CLI
$ npx skills add bytedance/deer-flow --skill data-analysis -a gemini-cli -y
GitHub Copilot
$ npx skills add bytedance/deer-flow --skill data-analysis -a github-copilot -y
OpenCode
$ npx skills add bytedance/deer-flow --skill data-analysis -a opencode -y
Windsurf
$ npx skills add bytedance/deer-flow --skill data-analysis -a windsurf -y
name: data-analysis description: Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering, joins, and exporting results to CSV/JSON/Markdown.
This skill analyzes user-uploaded Excel/CSV files using DuckDB — an in-process analytical SQL engine. It supports schema inspection, SQL-based querying, statistical summaries, and result export, all through a single Python script.
Prepare the Python environment before running analyses. Install the required packages explicitly using the same interpreter that will run the script:
python -m pip install duckdb openpyxl
If either package is missing, the script exits with a setup instruction; it does not invoke an installer or modify the environment. DuckDB's spatial extension is initialized only for `.xlsx` input. CSV and legacy `.xls` analysis do not install or load it, so they can run offline with an empty extension cache.
Legacy Excel 97–2003 (`.xls`) workbooks additionally require:
python -m pip install pandas xlrd
These optional packages are loaded only for `.xls` input. A missing package produces an explicit setup instruction. Legacy workbooks are read sheet by sheet with pandas' xlrd engine, preserving cell values (including literal `NA` strings and leading zeros in text identifiers) and treating empty cells as nulls. Columns with incompatible cell types, such as a date and a number, are stored as text with nulls preserved. Compatible numeric types still produce numeric columns. Completely empty sheets are skipped. The `.xlsx` reader continues to use openpyxl and DuckDB's spatial extension. A legacy workbook that cannot be opened is reported and skipped so remaining inputs can still be analyzed. The command fails if no input produces a table.
When a user uploads data files and requests analysis, identify:
First, inspect the uploaded file to understand its schema:
python /mnt/skills/public/data-analysis/scripts/analyze.py \ --files /mnt/user-data/uploads/data.xlsx \ --action inspect
This returns:
Based on the schema, construct SQL queries to answer the user's questions.
python /mnt/skills/public/data-analysis/scripts/analyze.py \ --files /mnt/user-data/uploads/data.xlsx \ --action query \ --sql "SELECT category, COUNT(*) as count, AVG(amount) as avg_amount FROM Sheet1 GROUP BY category ORDER BY count DESC"
python /mnt/skills/public/data-analysis/scripts/analyze.py \ --files /mnt/user-data/uploads/data.xlsx \ --action summary \ --table Sheet1
This returns for each numeric column: count, mean, std, min, 25%, 50%, 75%, max, null_count. For string columns: count, unique, top value, frequency, null_count.
python /mnt/skills/public/data-analysis/scripts/analyze.py \ --files /mnt/user-data/uploads/data.xlsx \ --action query \ --sql "SELECT * FROM Sheet1 WHERE amount > 1000" \ --output-file /mnt/user-data/outputs/filtered-results.csv
Supported output formats (auto-detected from extension):
Relative output paths are resolved from the current working directory. A bare filename such as `report.csv` writes there directly; missing parent directories in paths such as `reports/report.csv` are created automatically. An existing file at the target path is overwritten without warning.
JSON result column names must be unique. Use explicit SQL aliases for repeated names, for example `SELECT a.id AS left_id, b.id AS right_id FROM ...`. Duplicate names cause an error and leave any existing output file untouched. The error lists the repeated names so you can alias them directly. The CLI prints a short `Error: ...` message to stderr and exits nonzero for this rejection.
JSON exports also reject non-finite numbers (`NaN`, `Infinity`, and `-Infinity`), including values inside lists or structs, before opening the output file. Filter or replace them in SQL, for example `CASE WHEN isfinite(ratio) THEN ratio ELSE NULL END AS ratio`. Finite numbers, nulls, and text such as `'NaN'` remain valid.
| Parameter | Required | Description | |-----------|----------|-------------| | `--files` | Yes | Space-separated paths to Excel/CSV files | | `--action` | Yes | One of: `inspect`, `query`, `summary` | | `--sql` | For `query` | SQL query to execute | | `--table` | For `summary` | Table/sheet name to summarize | | `--output-file` | No | Path to export results (CSV/JSON/MD) |
> [!NOTE] > Do NOT read the Python file, just call it with the parameters.
An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of tasks that could take minutes to hours.
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Generate a personalized SOUL.md through a warm, adaptive onboarding conversation. Trigger when the user wants to create, set up,…
This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26…
Interact with DeerFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to…
Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or…
Use this skill when the user requests to generate, create, or write professional research reports including but not limited to…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…