← 返回
数据分析 中文

Spreadsheet

Read, write, and analyze tabular data with schema memory, format preservation, and multi-platform support.
读写与分析表格数据,支持Schema记忆、格式保留和多平台。
ivangdavila
数据分析 clawhub v1.0.0 1 版本 99259.3 Key: 无需
★ 2
Stars
📥 3,846
下载
💾 113
安装
1
版本
#latest

概述

When to Use

User needs spreadsheet operations: reading data, writing cells, analyzing tables, generating reports, or tracking structured information across Google Sheets, Excel, or CSV files.

Architecture

Memory lives in ~/spreadsheet/. See memory-template.md for setup.

~/spreadsheet/
  memory.md           # Preferences, recent sheets, format rules
  projects/           # Per-project schemas and configs
    {name}.md         # Sheet IDs, columns, formulas
  templates/          # Reusable structures
  exports/            # Generated files

Quick Reference

TopicFile
-------------
Memory setupmemory-template.md
Google Sheets APIgoogle-sheets.md
Excel operationsexcel.md
CSV handlingcsv.md

Scope

This skill ONLY:

  • Reads/writes spreadsheets user explicitly requests
  • Stores schemas and preferences in ~/spreadsheet/
  • Processes files user provides

This skill NEVER:

  • Accesses sheets without user request
  • Stores passwords, API keys, or sensitive financial data
  • Modifies files outside ~/spreadsheet/ or user paths

Data Storage

All data stored in ~/spreadsheet/. Create on first use:

mkdir -p ~/spreadsheet/{projects,templates,exports}

Self-Modification

This skill NEVER modifies its own SKILL.md.

All user data stored in ~/spreadsheet/ only.

Core Rules

1. Schema First

On first access to any sheet:

  1. Document columns (name, type, sample)
  2. Save to projects/{name}.md
  3. Reference schema in future ops

2. Format Preservation

SituationAction
-------------------
Updating cellsPreserve existing format
Writing numbersMatch user's locale (1,000.00 vs 1.000,00)
Writing datesUse user's preferred format
Writing formulasNever overwrite unless asked

3. Large Data Strategy

Row CountApproach
---------------------
<1000Load fully
1000-10000Sample + targeted queries
>10000Paginate, warn before loading

4. Integration Priority

  1. Google Sheets - if API configured
  2. Excel (.xlsx) - local files, use openpyxl
  3. CSV - universal fallback

5. Memory Updates

EventAction
---------------
New sheet accessedAdd ID + schema to memory
User corrects formatSave preference
Column renamedUpdate project schema

Common Traps

  • Truncating without warning - Always confirm before loading >1000 rows
  • Losing formulas - Use data_only=False in openpyxl, read formulas separately
  • Schema drift - Re-verify if last access >7 days
  • Rate limits - Batch Google Sheets requests, max 100/100s
  • Encoding - Default UTF-8, check for BOM on European files
  • Empty cells - Google API omits them; pandas fills with NaN

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 20:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 269 📥 56,890
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,693
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,162