Octop is a self-hosted, multi-user AI assistant that runs multiple specialized agents and connects them to chat interfaces, tools, and external services. It is for individuals, families, and teams who want a locally operated assistant with shared experts and persistent capabilities. Catalogue add-ons extend its agent and assistant workflows.
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.
npx skills add TencentCloud/Octop --skill xlsxgit clone --depth 1 https://github.com/TencentCloud/OctopWrote 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.
[](https://agentmods.dev/skills/tencentcloud/octop/xlsx)<a href="https://agentmods.dev/skills/tencentcloud/octop/xlsx"><img src="https://agentmods.dev/badge/skills/tencentcloud/octop/xlsx.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00232 | $0.03472 |
| Opus 5 | $0.00116 | $0.01736 |
| Sonnet 5 | $0.00046 | $0.00694 |
| Haiku 4.5 | $0.00023 | $0.00347 |
Grade A, and why
xlsx 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 yesterday.
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.
This is a copy
100% identical to xlsx — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 315 lines — stays where its author put it; the contents beside it link to each section on GitHub.
重要说明: 所有
scripts/路径均相对于此技能目录。 运行方式:cd {this_skill_dir} && python scripts/...或使用execute_shell_command的cwd参数。
输出要求
所有 Excel 文件
专业字体
- 除非用户另有指示,所有交付物应使用统一的专业字体(如 Arial、Times New Roman)
零公式错误
- 每个 Excel 模型必须以零公式错误交付(#REF!、#DIV/0!、#VALUE!、#N/A、#NAME?)
保留现有模板(更新模板时)
- 修改文件时需仔细研究并完全匹配现有的格式、样式和约定
- 切勿对已有既定模式的文件强加标准化格式
- 现有模板约定始终优先于本指南
财务模型
颜色编码标准
除非用户或现有模板另有规定
行业标准颜色约定
- 蓝色文本 (RGB: 0,0,255):硬编码输入,以及用户会为不同情景更改的数字
- 黑色文本 (RGB: 0,0,0):所有公式和计算
- 绿色文本 (RGB: 0,128,0):从同一工作簿中其他工作表拉取的链接
- 红色文本 (RGB: 255,0,0):指向其他文件的外部链接
- 黄色背景 (RGB: 255,255,0):需要关注的关键假设或需要更新的单元格
数字格式标准
必需的格式规则
- 年份:格式化为文本字符串(例如 "2024" 而非 "2,024")
- 货币:使用 $#,##0 格式;始终在表头中注明单位("Revenue ($mm)")
- 零值:使用数字格式将所有零值显示为 "-",包括百分比(例如 "$#,##0;($#,##0);-")
- 百分比:默认使用 0.0% 格式(一位小数)
- 倍数:估值倍数使用 0.0x 格式(EV/EBITDA、P/E)
- 负数:使用括号 (123) 而非负号 -123
公式构建规则
假设放置
- 将所有假设(增长率、利润率、倍数等)放在单独的假设单元格中
- 在公式中使用单元格引用而非硬编码值
- 示例:使用 =B5*(1+$B$6) 而非 =B5*1.05
公式错误预防
- 验证所有单元格引用是否正确
- 检查范围中的偏移错误
- 确保所有预测期间的公式一致
- 使用边界情况测试(零值、负数)
- 验证没有非预期的循环引用
硬编码值的文档要求
- 在注释中或旁边的单元格中(如果在表格末尾)添加说明。格式:"Source: [系统/文档], [日期], [具体引用], [URL(如适用)]"
- 示例:
- "Source: Company 10-K, FY2024, Page 45, Revenue Note, [SEC EDGAR URL]"
- "Source: Company 10-Q, Q2 2025, Exhibit 99.1, [SEC EDGAR URL]"
- "Source: Bloomberg Terminal, 8/15/2025, AAPL US Equity"
- "Source: FactSet, 8/20/2025, Consensus Estimates Screen"
XLSX 创建、编辑和分析
概述
用户可能要求您创建、编辑或分析 .xlsx 文件的内容。您有不同的工具和工作流可用于不同的任务。
前置条件
- openpyxl:Excel 文件创建和编辑
- pandas:数据分析和批量操作
- LibreOffice (
soffice):通过scripts/recalc.py进行公式重新计算 git是可选的,但可以改善验证工作流中的红线差异输出。- 在 Windows 上,依赖项必须已安装并在
PATH中可用;如果缺失,报告依赖问题并停止(不要反复重试)。
重要要求
公式重新计算需要 LibreOffice:使用 scripts/recalc.py 重新计算公式值。该脚本在首次运行时自动配置 LibreOffice,并处理 Unix 套接字受限的沙箱环境(通过 scripts/office/soffice.py)。
读取和分析数据
使用 pandas 进行数据分析
对于数据分析、可视化和基本操作,使用 pandas 提供的强大数据操作功能:
import pandas as pd
# 读取 Excel
df = pd.read_excel('file.xlsx') # Default: first sheet
all_sheets = pd.read_excel('file.xlsx', sheet_name=None) # All sheets as dict
# 分析数据
df.head() # Preview data
df.info() # Column info
df.describe() # Statistics
# 写入 Excel
df.to_excel('output.xlsx', index=False)
What ships with it
53 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- LICENSE.txt 1.4 KB
- scripts/office/helpers/__init__.py 0 B runs code
- scripts/office/helpers/merge_runs.py 5.4 KB runs code
- scripts/office/helpers/simplify_redlines.py 5.6 KB runs code
- scripts/office/pack.py 4.8 KB runs code
- scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd 1.9 KB
- scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd 2.5 KB
- scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd 2.8 KB
- scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd 1.3 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd 73 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd 6.8 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd 50 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd 624 B
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd 148 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd 1.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd 8.7 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd 14 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd 82 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd 1.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd 7.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd 6.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd 1.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd 880 B
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd 2.5 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd 3.4 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd 7.3 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd 23 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd 1.3 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd 237 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd 26 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd 25 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd 535 B
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd 5.6 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd 3.9 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd 167 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd 4.5 KB
- scripts/office/schemas/mce/mc.xsd 3.1 KB
- scripts/office/schemas/microsoft/wml-2010.xsd 26 KB
- scripts/office/schemas/microsoft/wml-2012.xsd 3.7 KB
- scripts/office/schemas/microsoft/wml-2018.xsd 901 B
- scripts/office/schemas/microsoft/wml-cex-2018.xsd 1.7 KB
- scripts/office/schemas/microsoft/wml-cid-2016.xsd 1002 B
- scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd 600 B
- scripts/office/schemas/microsoft/wml-symex-2015.xsd 745 B
- scripts/office/soffice.py 6.5 KB runs code
- scripts/office/unpack.py 3.9 KB runs code
- scripts/office/validate.py 3.6 KB runs code
- scripts/office/validators/__init__.py 336 B runs code
- scripts/office/validators/base.py 31 KB runs code
- scripts/office/validators/docx.py 15 KB runs code
- scripts/office/validators/pptx.py 9.3 KB runs code
- scripts/office/validators/redlining.py 8.6 KB runs code
- scripts/recalc.py 6.2 KB runs code
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.
- yesterday Changed · +8 lines c5f6e991f3d3
- 8d ago First seen · 307 lines · 232 tokens per session scan A 4b3778ce5b2a
xlsx is a skill published in the GitHub repository TencentCloud/Octop (1,501 stars, last pushed today), licensed MIT. It adds 232 tokens to every session and 3,472 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to xlsx, differing in 8 lines, and is treated as a copy.
Other skills, from other repositories
google-sheets
Google Sheets via gws: read/write cells, append rows, structured batch edits.
data-analysis
Analyze Excel/CSV files with DuckDB SQL via bash.
attendance-signin-sheet
A spreadsheet generator for printable attendance or meeting sign-in sheets. It turns a list of names into rows with columns such as signatures, dates, departments, or employee IDs.
document-processor
Guidance for processing documents, extracting content, and transforming structured information. Use when the user asks to process, parse, extract, or transform document content such as PDFs, Word files, or spreadsheets.
xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When GLM needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing…
xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…