dynamic-percentage-and-large-file-analysis
根据文件行数动态切换大文件处理策略(Parquet转换),通过逐行扫描或列匹配提取关键指标并计算占比、均值等统计量,最终输出结构化Excel报告及可视化图表。
Install / Use
npx skills add OpenSenseNova/SenseNova-Skills --skill percentage-calculationInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of dynamic-percentage-and-large-file-analysis
dynamic-percentage-and-large-file-analysis scores 85/100 on our quality scale, 1915th of 2,780 Automation skills we index.
Its SKILL.md is 2.9 KB long, split into 6 sections with 3 code examples: a solid amount of guidance for an agent.
With 5,691 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so dynamic-percentage-and-large-file-analysis is actively maintained.
- Our last check on 2026-11-04 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-27. Automated pattern scan on 2026-09-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
dynamic-percentage-and-large-file-analysis compared with similar skills
All 4 of these similar skills score higher than dynamic-percentage-and-large-file-analysis; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| dynamic-percentage-and-large-file-analysis (this skill)by OpenSenseNova | 85 | 5.7k | 59d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 112.3k | 8d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 81.9k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.8k | today | CLAUDE.md |
| Claude-Code-Game-Studiosby Donchitos | 100 | 39.7k | 7d ago | CLAUDE.md |
Frequently asked questions
- How do I install dynamic-percentage-and-large-file-analysis?
- Run
npx skills add OpenSenseNova/SenseNova-Skills --skill dynamic-percentage-and-large-file-analysis. The install tabs above show the steps for each supported agent. - Which AI agents does dynamic-percentage-and-large-file-analysis work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is dynamic-percentage-and-large-file-analysis safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is dynamic-percentage-and-large-file-analysis still maintained?
- The repository was last updated about 2 months ago, so dynamic-percentage-and-large-file-analysis is actively maintained.
Skill content
View source on GitHubname: dynamic-percentage-and-large-file-analysis description: "根据文件行数动态切换大文件处理策略(Parquet转换),通过逐行扫描或列匹配提取关键指标并计算占比、均值等统计量,最终输出结构化Excel报告及可视化图表。"
Skill Steps
This sub-skill covers one capability of the Excel workflow. For reading/counting/Parquet optimization, see the parent workflow SKILL.md.
Step1 在数据中动态定位关键字段,通过逐行扫描匹配关键词提取数值,并进行条件筛选与占比计算。
key_values = {}
target_col = None
value_col = 'target_value_col'
# 动态查找目标分类列
for col in df_analysis.columns:
if 'keyword1' in col.lower() or 'keyword2' in col.lower():
target_col = col
break
# 通用字段查找逻辑:逐行扫描匹配关键词并提取首个正数
for idx, row in df_analysis.iterrows():
row_str = str(row.values)
if '指标A' in row_str and '指标A' not in key_values:
for val in row.values:
if isinstance(val, (int, float)) and val > 0:
key_values['指标A'] = val
break
if '指标B' in row_str and '指标B' not in key_values:
for val in row.values:
if isinstance(val, (int, float)) and val > 0:
key_values['指标B'] = val
break
# 条件筛选与统计
if target_col and '特定类别' in df_analysis[target_col].unique():
df_filtered = df_analysis[df_analysis[target_col] == '特定类别']
if value_col in df_filtered.columns:
df_filtered[value_col] = pd.to_numeric(df_filtered[value_col], errors='coerce')
avg_val = df_filtered[value_col].mean()
print(f"特定类别平均值 = {avg_val:.2f}")
# 计算占比
if '指标A' in key_values and '指标B' in key_values:
percentage = (key_values['指标A'] / key_values['指标B']) * 100
print(f"指标A占指标B的百分比: {percentage:.2f}%")
Step2 将计算结果保存为结构化表格文件(.xlsx),并在输出中提供可追溯的下载链接。
output_path = "output_analysis_result.xlsx"
os.makedirs(os.path.dirname(output_path), exist_ok=True)
result_data = {
'项目': ['指标A', '指标B', '占比'],
'数值': [key_values.get('指标A', 0), key_values.get('指标B', 0), f"{percentage:.2f}%" if 'percentage' in locals() else "N/A"]
}
df_result = pd.DataFrame(result_data)
with pd.ExcelWriter(output_path, engine='openpyxl') as writer:
df_result.to_excel(writer, sheet_name='汇总结果', index=False)
print(f"结果已保存到: {output_path}")
print(f"下载链接: [点击下载结果表格]({output_path})")
Step3 配置中文字体并生成高分辨率的可视化图表(如饼图),展示占比分析结果。
import matplotlib.pyplot as plt
import matplotlib
# 配置中英文字体,防止图表中文乱码
matplotlib.rcParams['font.sans-serif'] = ['SimHei', 'DejaVu Sans', 'WenQuanYi Zen Hei']
matplotlib.rcParams['axes.unicode_minus'] = False
if 'percentage' in locals():
# 图表美化与高分辨率设置
plt.figure(figsize=(8, 6), dpi=120)
labels = ['指标A', '其他']
sizes = [percentage, 100 - percentage]
colors = ['#ff9999', '#66b3ff']
plt.pie(sizes, labels=labels, colors=colors, autopct='%1.1f%%', startangle=90)
plt.title('核心指标占比分析')
plt.axis('equal')
chart_path = "percentage_chart.png"
plt.savefig(chart_path, bbox_inches='tight')
print(f"图表已保存至: {chart_path}")
print(f"图表下载链接: [点击下载可视化图表]({chart_path})")
Related Skills
Agent-Reach
112.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
81.9k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
79.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Claude-Code-Game-Studios
39.7kTurn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
