writexl

writexl is a skill for Claude Code, Codex from LeoLin990405/r-analytics-skill. It costs 25 tokens per session (191 once invoked), scanned A, original, MIT.

An R package for writing data frames and lists of data frames to Excel .xlsx files. It does this without requiring Java to be installed.

In plain words
What is it for?
Exporting analysis results, filtered data, and multiple tables into Excel workbooks, with options such as column names and formatted headers.
Why use it?
It lets R create spreadsheet files directly, including workbooks with one or several sheets, without an extra Java dependency.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/leolin990405/r-analytics-skill/writexl
Any agent
npx skills add LeoLin990405/r-analytics-skill --skill writexl
Clone the repo
git clone --depth 1 https://github.com/LeoLin990405/r-analytics-skill

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 writexl

README.md
[![agentmods](https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/writexl.svg)](https://agentmods.dev/skills/leolin990405/r-analytics-skill/writexl)
Your own site
<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/writexl"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/writexl.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 191 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00025 $0.00191
Opus 5 $0.00013 $0.00096
Sonnet 5 $0.00005 $0.00038
Haiku 4.5 $0.00003 $0.00019

Measured 5d ago against content hash 121a147d6497, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

writexl 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 5d 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.

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.

sub-skills/r-data/r-data-formats/writexl/SKILL.md · 49 lines

What it actually says

writexl Package

Write Excel files without Java dependency.

Basic Usage

library(writexl)

# Single sheet
write_xlsx(df, "output.xlsx")

# Multiple sheets
write_xlsx(
  list(
    Sheet1 = df1,
    Sheet2 = df2,
    Results = df3
  ),
  "output.xlsx"
)

Options

write_xlsx(
  df,
  path = "output.xlsx",
  col_names = TRUE,    # Include headers
  format_headers = TRUE # Bold headers
)

With Pipes

library(dplyr)

mtcars %>%
  filter(mpg > 20) %>%
  write_xlsx("filtered.xlsx")
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. 5d ago First seen · 49 lines · 25 tokens per session scan A 121a147d6497

Subscribe to this mod's changes

writexl is a skill published in the GitHub repository LeoLin990405/r-analytics-skill (5 stars, last pushed 5mo ago), licensed MIT. It adds 25 tokens to every session and 191 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

insyra

Use when working in Go and you need DataList/DataTable-style data wrangling, quick previews, parallel transforms, file I/O (CSV/Excel/Parquet), Excel-like column formulas (CCL), or charts; also use when data analysis is requested without a specified stack, defaulting to Go + Insyra over Python + pandas.

HazelnutParadise/insyra · 75 tokens

fused-storage

The fused storage and secrets MCP tools — inspecting cloud-native datasets and managing secrets. Use when finding/listing/counting S3 objects, reading a Parquet/Arrow/CSV schema, minting a download URL, uploading content, or storing/reading/deleting secrets, via…

fusedio/skills · 138 tokens

fused-overview

Orientation to what Fused is and when to use it. Use when deciding whether to use Fused for a task, planning a new Fused project, or understanding Fused's capabilities as a remote Python execution platform.

fusedio/skills · 49 tokens

wp-php-architecture

WordPress PHP architecture patterns — repository, service layer, DDD, SOLID, plugin/theme structure, CPT design, and anti-patterns. The definitive reference for professional WordPress PHP development.

xonack/wp-php-architecture-claude-skill · 45 tokens

ai-science-vision-rag

ColPali-style Vision RAG: embed rendered PDF pages, retrieve via ColBERT MaxSim, feed top-k pages to Qwen2-VL, no OCR. Use for PDF/document QA over figures and tables, multimodal retrieval, or Recall@k/MRR eval.

Pavel-Kravchenko/Bioinformatics · 65 tokens

algo-avl-trees

Implement a self-balancing AVL binary search tree in Python with rotation-based rebalancing (LL/RR/LR/RL) guaranteeing O(log n) insert/delete/search. Use when a user asks to build/implement an AVL tree, keep a sorted index balanced under insert/delete, explain balance factor or tree rotations, or avoid O(n)…

Pavel-Kravchenko/Bioinformatics · 97 tokens