Skip to content
OpenSmartRoute
Skillv1.0.0

calc-spreadsheets

Use when creating, opening, or editing LibreOffice Calc ODS spreadsheets, or XLSX workbooks only when Excel compatibility is explicitly required.

by slikiths(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from slikiths/PRIME (plugins/_office/skills/calc-spreadsheets/SKILL.md). Install upstream with npx skills add slikiths/PRIME --skill calc-spreadsheets. Copyright stays with the author.

Calc Spreadsheets

Use ODS when the user asks for a spreadsheet, workbook, editable table, budget, formulas, or Calc file. Use XLSX only when the user asks for Excel/XLSX compatibility, provides an existing .xlsx, or needs embedded spreadsheet charts supported by the tool.

The document UI and Desktop are user-owned. Creating or editing an ODS or XLSX must save the workbook, but must not open a document modal or Desktop surface automatically. Use Desktop/Calc only for explicit GUI requests, visual chart/layout polish, or final visual confirmation. Do not write faux UI action labels such as "Open document" or "Download file", and do not add a note saying the canvas was not opened automatically unless the user explicitly asks about UI behavior.

Workflow

Create a workbook:

{
  "tool_name": "office_artifact",
  "tool_args": {
    "action": "create",
    "kind": "spreadsheet",
    "title": "Budget",
    "format": "ods",
    "content": "Item,Amount\nPlatform,1000"
  }
}

For a blank workbook request, create a simple workbook with the requested title and format: "ods"; do not call status first unless the user asked for availability.

Edit cells:

{
  "tool_name": "office_artifact",
  "tool_args": {
    "action": "edit",
    "file_id": "abc123",
    "operation": "set_cells",
    "cells": {
      "Sheet1!A1": "Item",
      "Sheet1!B1": "Amount"
    }
  }
}

Practical rules:

  • content may be CSV, TSV, or a Markdown table; the tool writes real spreadsheet cells.
  • Use rows for whole-table replacement, append_rows for adding records, and set_cells for precise edits.
  • Use create_chart with a chart object for embedded charts when working in XLSX compatibility format; otherwise use Calc/Desktop or code execution for chart workflows that ODS direct editing does not yet cover.
  • Do not open Calc/Desktop automatically. The user can choose Open in Desktop when they want the visible spreadsheet.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/slikiths-prime-calc-spreadsheets/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

slikiths-prime-calc-spreadsheets.ocm.jsonjson
{
  "ocm": "1",
  "id": "slikiths-prime-calc-spreadsheets",
  "kind": "skill",
  "name": "calc-spreadsheets",
  "description": "Use when creating, opening, or editing LibreOffice Calc ODS spreadsheets, or XLSX workbooks only when Excel compatibility is explicitly required.",
  "publisher": "slikiths",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "calc",
      "ods",
      "opendocument",
      "excel",
      "xlsx",
      "spreadsheet",
      "workbook",
      "tables",
      "charts"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Use when creating, opening, or editing LibreOffice Calc ODS spreadsheets, or XLSX workbooks only when Excel compatibility is explicitly required."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/slikiths/PRIME",
      "path": "plugins/_office/skills/calc-spreadsheets/SKILL.md",
      "ref": "e813e28e89bc9c0793037c60609e207c8f27f764",
      "url": "https://github.com/slikiths/PRIME/blob/e813e28e89bc9c0793037c60609e207c8f27f764/plugins/_office/skills/calc-spreadsheets/SKILL.md",
      "key": "slikiths/PRIME/plugins/_office/skills/calc-spreadsheets/SKILL.md"
    }
  },
  "instructions": "# Calc Spreadsheets\n\nUse ODS when the user asks for a spreadsheet, workbook, editable table, budget, formulas, or Calc file. Use XLSX only when the user asks for Excel/XLSX compatibility, provides an existing `.xlsx`, or needs embedded spreadsheet charts supported by the tool.\n\nThe document UI and Desktop are user-owned. Creating or editing an ODS or XLSX must save the workbook, but must not open a document modal or Desktop surface automatically. Use Desktop/Calc only for explicit GUI requests, visual chart/layout polish, or final visual confirmation. Do not write faux UI action labels such as",
  "cost": {
    "context_tokens": 489
  }
}

Fetch it by URL: GET /api/v1/registry/slikiths-prime-calc-spreadsheets/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.