Agent skill · Audited from source
Grouped Statistics
skill · OpenSenseNova/SenseNova-SkillsMIT licenceAudited 7 Oct 2026 · source 657860e4d389
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 657860e4d389 and found no filesystem, network or shell access and no hard-coded secrets. What it does: 对多 Sheet 的 Excel 文件进行行数统计、数据合并与前向填充。
Cite
Cite this page
ModelsAtlas. “Grouped Statistics (OpenSenseNova/SenseNova-Skills)”. Retrieved 7 Oct 2026. https://modelsatlas.com/skills/opensensenova/grouped-statistics
Trust audit
Audit 0.4.1 · source read 7 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 657860e4d389 · 7 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherOpenSenseNova GitHub organizationOwner of the repository this skill is read from
- Source folderOpenSenseNova/SenseNova-Skills/skills/sn-da-excel-workflow/capability/excel-data-statistics/grouped-statisticsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict657860e4d389A new audit runs when the source changes
- Repository statusNot archivedLast push 19 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 对多 Sheet 的 Excel 文件进行行数统计、数据合并与前向填充。
---
name: grouped-statistics
description: "对多 Sheet 的 Excel 文件进行行数统计、数据合并与前向填充。"
---
## Skill Steps
> **Note**: This sub-skill covers one step of the Excel analysis workflow. For the full pipeline (file reading, row counting, large-file optimization, export), see the parent workflow SKILL.md.
Step1 提取关键维度与指标信息,处理合并单元格缺失值,并进行多表交叉分析与排序。
```python
import pandas as pd
# 设定目标列名
group_col = '行业名称'
target_val_1 = '企业单位数'
target_val_2 = '工业总产值'
# 读取第一个 Sheet 并清洗
df1 = pd.read_excel(file_path, sheet_name=sheet_names[0], header=None)
# 假设数据从第 21 行开始,提取维度列与数值列
data_1 = df1.iloc[21:63, [0, 2]].copy()
data_1.columns = [group_col, target_val_1]
# 处理合并单元格:前向填充维度列
data_1[group_col] = data_1[group_col].ffill()
data_1[target_val_1] = pd.to_numeric(data_1[target_val_1], errors='coerce')
# 读取第二个 Sheet 并提取补充指标
df2 = pd.read_excel(file_path, sheet_name=sheet_names[1], header=None)
data_2 = df2.iloc[5:47, [0, 1]].copy()
data_2.columns = ['temp_dim', target_val_2]
data_2[target_val_2] = pd.to_numeric(data_2[target_val_2], errors='coerce')
# 交叉分析:基于索引或维度列合并
merged_df = pd.merge(data_1, data_2.reset_index(), left_index=True, right_index=True, how='inner')
merged_df = merged_df[[group_col, target_val_1, target_val_2]].dropna(subset=[target_val_1])
# 筛选 Top N 结果
top5_df = merged_df.nlargest(5, target_val_1).reset_index(drop=True)
top5_df.index = top5_df.index + 1
print(top5_df)
```
Step2 对筛选出的关键数据进行格式化标注(如标红、边框、对齐),生成美化后的 Excel 文件。
```python
from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment, Border, Side
output_path = 'analysis_report.xlsx'
wb = Workbook()
ws = wb.active
ws.title = 'Top_Analysis'
# 定义样式
header_fill = PatternFill(start_color='4472C4', end_color='4472C4', fill_type='solid')
header_font = Font(bold=True, color='FFFFFF', size=12)
red_font = Font(color='FF0000', bold=True)
thin_border = Border(left=Side(style='thin'), right=Side(style='thin'),
top=Side(style='thin'), bottom=Side(style='thin'))
center_align = Alignment(horizontal='center', vertical='center')
# 写入表头
headers = ['排名'] + list(top5_df.columns)
for col, header in enumerate(headers, 1):
cell = ws.cell(row=1, column=col, value=header)
cell.font = header_font
cell.fill = header_fill
cell.alignment = center_align
cell.border = thin_border
# 写入数据并应用条件格式
for idx, row in top5_df.iterrows():
row_num = idx + 1 # 考虑表头
# 排名列
ws.cell(row=row_num, column=1, value=idx).border = thin_border
# 维度列
ws.cell(row=row_num, column=2, value=row[group_col]).border = thin_border
# 数值列 1
cell_v1 = ws.cell(row=row_num, column=3, value=row[target_val_1])
cell_v1.border = thin_border
cell_v1.number_format = '#,##0'
# 数值列 2(执行标红标注)
cell_v2 = ws.cell(row=row_num, column=4, value=row[target_val_2])
cell_v2.font = red_font
cell_v2.border = thin_border
cell_v2.number_format = '#,##0.00'
# 调整列宽
ws.column_dimensions['B'].width = 35
ws.column_dimensions['C'].width = 15
ws.column_dimensions['D'].width = 18
wb.save(output_path)
```
Step3 输出最终结果并生成下载链接。
```python
# 确认文件生成并提供下载
import os
if os.path.exists(output_path):
print(f"分析完成。结果文件已生成,下载链接:{output_path}")
else:
print("文件生成失败,请检查路径权限。")
```Excerpt, first 3,212 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 657860e
git clone https://github.com/OpenSenseNova/SenseNova-Skills git -C SenseNova-Skills checkout 657860e4d389
The author documents no install command, so this uses the repository directly. Our verdict covers commit 657860e4d389 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
657860e4d389
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/opensensenova/grouped-statistics/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All data & analysis skills →OpenSenseNova/SenseNova-Skills
读取多工作表Excel文件,自动处理合并单元格与数据清洗,进行交叉分组统计并生成带总计行的结果表,最后绘制支持中英文字体的美化柱状图,适用于多维度数据汇总与可视化分析。
OpenSenseNova/SenseNova-Skills
对多Sheet Excel文件进行基础统计与,支持按条件筛选计算均值,以及从指定行区间提取数据去重求和,并生成结果文件与下载链接。
OpenSenseNova/SenseNova-Skills
当Excel文件总行数超过1万行时,通过转换为Parquet格式提升读取性能,提取目标指标并计算最大值,最后将结果输出为Excel并对特定行进行高亮标注。
OpenSenseNova/SenseNova-Skills
对Excel数据进行自定义分类统计、交叉分析与可视化,并基于多维度指标(如文本长度、术语密度、正则匹配等)进行综合评分与分级,适用于多类别数据分布统计及文本内容难度/质量评估场景。
OpenSenseNova/SenseNova-Skills
提取指定类别列并统计各类别数量与占比,生成高分辨率的柱状图、饼图等组合可视化报告,适用于分类数据的分布情况分析。
OpenSenseNova/SenseNova-Skills
从结构化数据中提取分类分布执行清洗与统计,生成多维度交叉分析、高分辨率对比图表及包含下载链接的完整分析报告,适用于大文件处理与嵌入式可视化场景。
Add this badge to your README
[](https://modelsatlas.com/skills/opensensenova/grouped-statistics/)
<a href="https://modelsatlas.com/skills/opensensenova/grouped-statistics/"><img src="https://modelsatlas.com/skills/opensensenova/grouped-statistics/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Grouped Statistics
What does the Grouped Statistics skill do?
Is Grouped Statistics safe to install?
What can Grouped Statistics access on my machine?
How current is this page?
Sources
- github.com/OpenSenseNova/SenseNova-Skills/tree/main/skills/sn-da — the audited source at commit 657860e4d389 and every finding aboveObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Grouped Statistics skill do?
- Is Grouped Statistics safe to install?
- What can Grouped Statistics access on my machine?