enrich-excel

enrich-excel is a skill for Claude Code, Codex from tinyfish-io/tinyfish-cookbook. It costs 92 tokens per session (1,859 once invoked), scanned A, original, MIT.

A workflow for researching missing information and entering the results into an open Microsoft Excel workbook. AppleScript is the macOS automation language used to control Excel.

In plain words
What is it for?
Use it to look up data for spreadsheet rows and fill the missing cells in the currently open Excel workbook.
Why use it?
It removes the need to copy research results into spreadsheet cells manually. It first checks that the required research tool, login, and workbook are available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to look up data for spreadsheet rows and fill the missing cells in the currently open Excel workbook.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tinyfish-io/tinyfish-cookbook/enrich-excel
About the project

TinyFish Cookbook is a collection of example applications, recipes, and automations built with TinyFish, a web service that lets AI agents search the live web, read pages, and perform browser-based tasks. Developers use it to learn how to build web agents and connect them with workflows such as research, monitoring, and data collection. The catalogue entries provide agent skills and integrations for working with these examples and TinyFish endpoints.

tinyfish-io/tinyfish-cookbook · 2,155 stars · on GitHub · tinyfish.ai

Install

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.

Any agent
npx skills add tinyfish-io/tinyfish-cookbook --skill enrich-excel
Clone the repo
git clone --depth 1 https://github.com/tinyfish-io/tinyfish-cookbook

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for enrich-excel

README.md
[![agentmods](https://agentmods.dev/badge/skills/tinyfish-io/tinyfish-cookbook/enrich-excel/github.svg)](https://agentmods.dev/skills/tinyfish-io/tinyfish-cookbook/enrich-excel)
Your own site
<a href="https://agentmods.dev/skills/tinyfish-io/tinyfish-cookbook/enrich-excel"><img src="https://agentmods.dev/badge/skills/tinyfish-io/tinyfish-cookbook/enrich-excel/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for enrich-excel

Your own site · 80×15
<a href="https://agentmods.dev/skills/tinyfish-io/tinyfish-cookbook/enrich-excel"><img src="https://agentmods.dev/badge/skills/tinyfish-io/tinyfish-cookbook/enrich-excel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,859 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.01859
Opus 5 $0.00046 $0.00929
Sonnet 5 $0.00018 $0.00372
Haiku 4.5 $0.00009 $0.00186

Measured 9d ago against content hash 452ed7027022, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

enrich-excel scanned grade A with 1 finding 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 9d ago.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(["osascript", "-e",
skills/enrich-excel/SKILL.md · 187 lines

How it starts

The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Enrich Excel with TinyFish

Research missing data with TinyFish and write it directly into a live Excel workbook on macOS — cell by cell, in real time, via AppleScript. No file saves or reloads needed.

Pre-flight Check (REQUIRED)

Run ALL three checks before doing anything else:

# 1. TinyFish CLI installed?
which tinyfish && tinyfish --version || echo "TINYFISH_CLI_NOT_INSTALLED"

# 2. Authenticated?
tinyfish auth status

# 3. Excel running with a workbook?
osascript -e 'tell application "Microsoft Excel" to get name of active workbook'

If any check fails, stop and tell the user what to fix. Do NOT proceed.


Step 1 — Read the active workbook

Write a temporary AppleScript file and execute it. Do NOT use inline heredoc with osascript — it breaks in many shell environments. Always write to a temp file first.

cat > /tmp/tf_read_excel.scpt << 'APPLESCRIPT'
tell application "Microsoft Excel"
    set ws to active sheet of active workbook
    set output to ""
    repeat with r from 1 to 50
        set rv to ""
        set hasValue to false
        repeat with c from 1 to 15
            set cv to (value of cell r of column c of ws) as text
            if cv is not "missing value" and cv is not "" then
                set hasValue to true
                set rv to rv & c & ":" & cv & "|"
            else
                set rv to rv & c & ":|"
            end if
        end repeat
        if hasValue then set output to output & r & ">" & rv & linefeed
    end repeat
    return output
end tell
APPLESCRIPT
osascript /tmp/tf_read_excel.scpt

Parse the output format: row_number>col_num:value|col_num:value|...

If the sheet has more than 50 rows or 15 columns, increase the limits and re-run.


Step 2 — Identify what needs enrichment

From the parsed output:

  1. Find the header row — the first row where multiple cells have non-empty values. These are your column labels.
  2. Map columns — associate each column number with its header text (e.g., column 2 = "Company", column 3 = "Revenue").
  3. Find data rows — rows after the header with at least one non-empty cell.
  4. Find empty cells — in each data row, identify which columns are blank. These are what we need to fill.
  5. Respect user instructions — if the user specified which columns to fill or what to research, narrow the scope accordingly.

Read the full file on GitHub · 187 lines

Changes

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.

  1. 9d ago First seen · 187 lines · 92 tokens per session scan A 452ed7027022

Subscribe to this mod's changes

enrich-excel is a skill published in the GitHub repository tinyfish-io/tinyfish-cookbook (2,155 stars, last pushed 8d ago), licensed MIT. It adds 92 tokens to every session and 1,859 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ppt-generation

Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

bytedance/deer-flow · 44 tokens

data-analysis

Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering, joins, and exporting results to…

bytedance/deer-flow · 69 tokens

nano-pdf

Edits PDF files using natural-language instructions via the nano-pdf CLI. Supports modifying text, changing titles, fixing typos, and updating content on specific pages. Use when the user wants to edit a PDF, modify PDF content, update PDF text, fix a typo in a PDF, change a PDF title, or rewrite part of a PDF page.

elizaOS/eliza · 75 tokens

pdf-processing

Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

Tencent/WeKnora · 36 tokens

document-converter

Convert documents bidirectionally via the pi-doc-engine facade: ingest PDF/DOCX/PPTX/XLSX to provenance-stamped Markdown (with OCR), and produce templated DOCX/PDF from Markdown with diagrams, TOC and round-trip merge. Use on "convert this PDF to markdown", "ingest these docs into kb", "make a DOCX from markdown with…

BlackBeltTechnology/pi-agent-dashboard · 97 tokens

docx

Instructions for safely reading, creating, and editing Microsoft Word documents and templates, including tables, images, comments, and tracked changes.

nexus-research-lab/nexus · 103 tokens