Spreadsheets Cog - Built by the Agent That Builds CellCog
CellCog is built by its own Coding Agent. That same agent builds your spreadsheets.
Full Python access, complex data manipulation, formulas, pivot tables, and financial models — powered by the engineering brain that develops an entire AI platform daily. Not a template filler. A programmer that understands your data and builds exactly what you need.
How to Use
For your first CellCog task in a session, read the cellcog skill for the full SDK reference — file handling, chat modes, timeouts, and more.
OpenClaw (fire-and-forget):
CODEBLOCK0
All agents except OpenClaw (blocks until done):
from cellcog import CellCogClient
client = CellCogClient(agent_provider="openclaw|cursor|claude-code|codex|...")
result = client.create_chat(
prompt="[your task prompt]",
task_label="my-task",
chat_mode="agent",
)
print(result["message"])
What Spreadsheets You Can Create
Financial Models
Professional financial analysis and projections:
- - Startup Financial Model: "Create a 3-year financial model for a SaaS startup including revenue projections, expenses, and cash flow"
- DCF Model: "Build a discounted cash flow model for valuing a company"
- Investment Analysis: "Create a real estate investment analysis spreadsheet with ROI calculations"
- Revenue Model: "Build a revenue forecasting model with multiple scenarios (base, optimistic, pessimistic)"
- Unit Economics: "Create a unit economics spreadsheet showing CAC, LTV, payback period"
Budget Templates
Personal and business budgets:
- - Personal Budget: "Create a monthly personal budget tracker with income, fixed expenses, variable expenses, and savings goals"
- Household Budget: "Build a family budget spreadsheet with categories for housing, food, transportation, etc."
- Project Budget: "Create a project budget template with phases, resources, and variance tracking"
- Marketing Budget: "Build a marketing budget spreadsheet with channels, planned vs actual, and ROI tracking"
- Event Budget: "Create a wedding budget spreadsheet with vendor categories and payment tracking"
Data Trackers
Organized tracking for any data:
- - Fitness Tracker: "Create a workout log spreadsheet with exercises, sets, reps, weights, and progress charts"
- Habit Tracker: "Build a daily habit tracking spreadsheet with monthly overview"
- Inventory Tracker: "Create an inventory management spreadsheet with stock levels, reorder points, and valuation"
- Sales Tracker: "Build a sales pipeline tracker with stages, probabilities, and forecasting"
- Time Tracker: "Create a timesheet template with projects, hours, and billing calculations"
Business Tools
Operational spreadsheets:
- - Invoice Template: "Create a professional invoice template with automatic calculations"
- Employee Directory: "Build an employee directory spreadsheet with contact info, departments, and start dates"
- Vendor Comparison: "Create a vendor comparison spreadsheet for evaluating suppliers"
- OKR Tracker: "Build an OKR tracking spreadsheet for quarterly goals"
- Meeting Agenda: "Create a meeting agenda template with action items tracking"
Analysis Templates
Data analysis and calculations:
- - Break-Even Analysis: "Create a break-even analysis spreadsheet with charts"
- Scenario Analysis: "Build a scenario planning spreadsheet with what-if analysis"
- Pricing Calculator: "Create a pricing model spreadsheet with cost-plus and value-based options"
- Loan Calculator: "Build a loan amortization schedule with payment breakdown"
- Commission Calculator: "Create a sales commission calculator with tiered rates"
Spreadsheet Features
CellCog spreadsheets can include:
| Feature | Description |
|---|
| Formulas | SUM, AVERAGE, IF, VLOOKUP, and complex calculations |
| Formatting |
Headers, colors, borders, number formats, conditional formatting |
|
Charts | Bar, line, pie charts embedded in sheets |
|
Multiple Sheets | Organized workbooks with linked sheets |
|
Data Validation | Dropdowns, input restrictions |
|
Named Ranges | For cleaner formulas |
|
Print Layout | Ready for printing/PDF |
Output Formats
| Format | Best For |
|---|
| XLSX | Editable in Excel, Google Sheets, Numbers |
| Interactive HTML |
Web-based calculators and tools |
Chat Mode for Spreadsheets
| Scenario | Recommended Mode |
|---|
| Budget templates, trackers, data tables, basic calculations | INLINECODE0 |
| Complex financial models with multi-scenario analysis, intricate formulas |
"agent team" |
Default to "agent" for most spreadsheet requests. CellCog's agent mode handles formulas, formatting, charts, and data organization efficiently.
Reserve "agent team" for complex financial modeling requiring deep accuracy validation—like DCF models, multi-scenario projections, or interconnected workbooks where formula correctness is critical.
Example Spreadsheet Prompts
SaaS financial model:
"Create a 3-year SaaS financial model with:
Assumptions Sheet:
- - Starting MRR: $10,000
- Monthly growth rate: 15%
- Churn rate: 3%
- Average revenue per customer: $99
- CAC: $500
- Gross margin: 80%
Monthly P&L: Revenue, COGS, Gross Profit, Operating Expenses (broken down), Net Income
Key Metrics: MRR, ARR, Customers, Churn, LTV, CAC, LTV:CAC ratio
Charts: MRR growth, customer growth, profitability timeline
Include scenario toggles for growth rate (10%, 15%, 20%)."
Personal budget:
"Create a monthly personal budget spreadsheet:
Income Section: Salary, side income, other
Fixed Expenses: Rent, utilities, insurance, subscriptions, loan payments
Variable Expenses: Groceries, dining out, transportation, entertainment, shopping, health
Savings: Emergency fund, retirement, vacation fund
Include:
- - Monthly summary with % of income per category
- Year-at-a-glance sheet with monthly totals
- Pie chart showing expense breakdown
- Conditional formatting (red if over budget)
Assume $5,000/month income."
Sales tracker:
"Build a sales pipeline tracker spreadsheet with:
Columns: Company, Contact, Deal Value, Stage (dropdown: Lead, Qualified, Proposal, Negotiation, Closed Won, Closed Lost), Probability, Expected Close Date, Notes, Last Contact
Calculations: Weighted pipeline value, deals by stage, win rate
Dashboard Sheet: Pipeline by stage (funnel chart), monthly forecast, top 10 deals, activity metrics
Include sample data for 20 deals."
Break-even analysis:
"Create a break-even analysis spreadsheet:
Inputs:
- - Fixed costs (rent, salaries, etc.)
- Variable cost per unit
- Selling price per unit
Calculations:
- - Break-even units
- Break-even revenue
- Margin of safety
Sensitivity table: Show break-even at different price points
Chart: Cost-volume-profit graph showing break-even point
Default values: Fixed costs $50,000/month, variable cost $15/unit, price $25/unit."
Tips for Better Spreadsheets
- 1. Specify the structure: List the sheets, columns, and calculations you need.
- 2. Provide assumptions: For financial models, give starting numbers and growth rates.
- 3. Mention formulas needed: "Include VLOOKUP for...", "Calculate running totals", "Show variance vs plan."
- 4. Request sample data: "Include realistic sample data for testing" helps see it in action.
- 5. Describe formatting: "Conditional formatting for negative values", "Currency format", "Freeze header row."
- 6. Chart preferences: "Include a line chart showing trend", "Pie chart for breakdown."
If CellCog is not installed
Run /cellcog-setup (or /cellcog:cellcog-setup depending on your tool) to install and authenticate.
OpenClaw users: Run clawhub install cellcog instead.
Manual setup: pip install -U cellcog and set CELLCOG_API_KEY. See the cellcog skill for SDK reference.
Spreadsheets Cog - 由构建CellCog的智能体构建
CellCog由其自身的编码智能体构建。同一个智能体构建你的电子表格。
完全Python访问权限、复杂数据操作、公式、数据透视表和财务模型——由每天开发整个AI平台的工程大脑驱动。不是模板填充器。是一个理解你的数据并精确构建你所需内容的程序员。
使用方法
在会话中执行第一个CellCog任务时,请阅读cellcog技能以获取完整的SDK参考——文件处理、聊天模式、超时等。
OpenClaw(即发即弃模式):
python
result = client.create_chat(
prompt=[你的任务提示],
notifysessionkey=agent:main:main,
task_label=我的任务,
chat_mode=agent,
)
除OpenClaw外的所有智能体(阻塞直到完成):
python
from cellcog import CellCogClient
client = CellCogClient(agent_provider=openclaw|cursor|claude-code|codex|...)
result = client.create_chat(
prompt=[你的任务提示],
task_label=我的任务,
chat_mode=agent,
)
print(result[message])
你可以创建哪些电子表格
财务模型
专业的财务分析和预测:
- - 创业公司财务模型:为SaaS创业公司创建一个3年财务模型,包括收入预测、费用和现金流
- DCF模型:构建一个用于公司估值的贴现现金流模型
- 投资分析:创建一个包含ROI计算的房地产投资分析电子表格
- 收入模型:构建一个包含多种情景(基准、乐观、悲观)的收入预测模型
- 单位经济学:创建一个显示CAC、LTV、回收期的单位经济学电子表格
预算模板
个人和商业预算:
- - 个人预算:创建一个月度个人预算追踪器,包含收入、固定支出、可变支出和储蓄目标
- 家庭预算:构建一个家庭预算电子表格,包含住房、食品、交通等类别
- 项目预算:创建一个包含阶段、资源和差异跟踪的项目预算模板
- 营销预算:构建一个包含渠道、计划与实际对比以及ROI跟踪的营销预算电子表格
- 活动预算:创建一个包含供应商类别和付款跟踪的婚礼预算电子表格
数据追踪器
任何数据的组织化追踪:
- - 健身追踪器:创建一个包含锻炼项目、组数、次数、重量和进度图表的锻炼日志电子表格
- 习惯追踪器:构建一个包含月度概览的每日习惯追踪电子表格
- 库存追踪器:创建一个包含库存水平、再订购点和估值的库存管理电子表格
- 销售追踪器:构建一个包含阶段、概率和预测的销售管道追踪器
- 时间追踪器:创建一个包含项目、工时和计费计算的时间表模板
商业工具
运营电子表格:
- - 发票模板:创建一个带有自动计算的专业发票模板
- 员工目录:构建一个包含联系信息、部门和入职日期的员工目录电子表格
- 供应商比较:创建一个用于评估供应商的供应商比较电子表格
- OKR追踪器:构建一个用于季度目标的OKR追踪电子表格
- 会议议程:创建一个包含行动项跟踪的会议议程模板
分析模板
数据分析和计算:
- - 盈亏平衡分析:创建一个包含图表的盈亏平衡分析电子表格
- 情景分析:构建一个包含假设分析的情景规划电子表格
- 定价计算器:创建一个包含成本加成和基于价值选项的定价模型电子表格
- 贷款计算器:构建一个包含还款明细的贷款摊销计划表
- 佣金计算器:创建一个包含阶梯费率的销售佣金计算器
电子表格功能
CellCog电子表格可以包含:
| 功能 | 描述 |
|---|
| 公式 | SUM、AVERAGE、IF、VLOOKUP和复杂计算 |
| 格式化 |
标题、颜色、边框、数字格式、条件格式 |
|
图表 | 嵌入工作表中的柱状图、折线图、饼图 |
|
多工作表 | 包含链接工作表的组织化工作簿 |
|
数据验证 | 下拉菜单、输入限制 |
|
命名区域 | 用于更清晰的公式 |
|
打印布局 | 可直接打印/导出PDF |
输出格式
| 格式 | 最适合用于 |
|---|
| XLSX | 在Excel、Google Sheets、Numbers中编辑 |
| 交互式HTML |
基于网页的计算器和工具 |
电子表格的聊天模式
| 场景 | 推荐模式 |
|---|
| 预算模板、追踪器、数据表、基本计算 | agent |
| 包含多情景分析、复杂公式的复杂财务模型 |
agent team |
大多数电子表格请求默认使用agent。CellCog的智能体模式能高效处理公式、格式化、图表和数据组织。
将agent team保留用于需要深度准确性验证的复杂财务建模——如DCF模型、多情景预测或公式正确性至关重要的互联工作簿。
电子表格提示示例
SaaS财务模型:
创建一个3年SaaS财务模型,包含:
假设工作表:
- - 起始MRR:10,000美元
- 月增长率:15%
- 流失率:3%
- 每客户平均收入:99美元
- CAC:500美元
- 毛利率:80%
月度损益表: 收入、COGS、毛利润、运营费用(细分)、净利润
关键指标: MRR、ARR、客户数、流失率、LTV、CAC、LTV:CAC比率
图表: MRR增长、客户增长、盈利时间线
包含增长率(10%、15%、20%)的情景切换。
个人预算:
创建一个月度个人预算电子表格:
收入部分: 工资、副业收入、其他
固定支出: 房租、水电费、保险、订阅、贷款还款
可变支出: 食品杂货、外出就餐、交通、娱乐、购物、健康
储蓄: 应急基金、退休金、度假基金
包含:
- - 月度汇总,显示每类支出占收入的百分比
- 年度概览工作表,显示月度总计
- 显示支出明细的饼图
- 条件格式(超预算时显示红色)
假设月收入为5,000美元。
销售追踪器:
构建一个销售管道追踪电子表格,包含:
列: 公司、联系人、交易价值、阶段(下拉菜单:潜在客户、合格、提案、谈判、已赢单、已输单)、概率、预计成交日期、备注、最后联系时间
计算: 加权管道价值、按阶段划分的交易、赢单率
仪表盘工作表: 按阶段划分的管道(漏斗图)、月度预测、前10大交易、活动指标
包含20笔交易的示例数据。
盈亏平衡分析:
创建一个盈亏平衡分析电子表格:
输入:
- - 固定成本(租金、工资等)
- 每单位可变成本
- 每单位售价
计算:
敏感性表格: 显示不同价格点的盈亏平衡
图表: 显示盈亏平衡点的成本-数量-利润图
默认值:固定成本50,000美元/月,可变成本15美元/单位,价格25美元/单位。
创建更好电子表格的技巧
- 1. 指定结构:列出你需要的工作表、列和计算。
- 2. 提供假设:对于财务模型,给出起始数字和增长率。
- 3. 提及所需公式:包含VLOOKUP用于...,计算累计总额,显示与计划的差异。
- 4. 请求示例数据:包含用于测试的真实示例数据有助于查看实际效果。
- 5. 描述格式:负值的条件格式,货币格式,冻结标题行。
- 6. 图表偏好:包含显示趋势的折线图,用于明细的饼图。
如果CellCog未安装
运行/cellcog-setup(或根据你的工具运行/cellcog:cellcog-setup)进行安装和认证。
OpenClaw用户: 改为运行clawhub install cellcog。
手动安装: pip install -U cellcog并设置CELLCOGAPIKEY。请参阅cellcog技能获取SDK参考。