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.
npx skills add LeoLin990405/r-analytics-skill --skill r-data-formatsgit clone --depth 1 https://github.com/LeoLin990405/r-analytics-skillWrote 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.
[](https://agentmods.dev/skills/leolin990405/r-analytics-skill/r-data-formats)<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/r-data-formats"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/r-data-formats/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.
<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/r-data-formats"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/r-data-formats.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.00915 |
| Opus 5.5 | $0.00021 | $0.00366 |
| Sonnet 5.5 | $0.00010 | $0.00183 |
| Haiku 4.5 | $0.00005 | $0.00092 |
Grade A, and why
r-data-formats 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
R Data Formats
Reading and writing various data formats.
CSV/TSV
# readr (tidyverse)
library(readr)
df <- read_csv("data.csv")
df <- read_tsv("data.tsv")
df <- read_delim("data.txt", delim = "|")
write_csv(df, "output.csv")
# vroom (faster for large files)
library(vroom)
df <- vroom("data.csv")
df <- vroom(c("file1.csv", "file2.csv")) # Multiple files
# Base R
df <- read.csv("data.csv", stringsAsFactors = FALSE)
write.csv(df, "output.csv", row.names = FALSE)
# data.table (fastest)
library(data.table)
dt <- fread("data.csv")
fwrite(dt, "output.csv")
Excel
# Read
library(readxl)
df <- read_excel("data.xlsx")
df <- read_excel("data.xlsx", sheet = "Sheet2")
df <- read_excel("data.xlsx", range = "A1:D100")
excel_sheets("data.xlsx") # List sheets
# Write
library(writexl)
write_xlsx(df, "output.xlsx")
write_xlsx(list(sheet1 = df1, sheet2 = df2), "output.xlsx")
# openxlsx (more features)
library(openxlsx)
wb <- createWorkbook()
addWorksheet(wb, "Data")
writeData(wb, "Data", df)
saveWorkbook(wb, "output.xlsx")
JSON
library(jsonlite)
# Read
df <- fromJSON("data.json")
data <- fromJSON('{"name": "test", "value": 123}')
# Write
json <- toJSON(df, pretty = TRUE)
write_json(df, "output.json")
# API responses
resp <- httr::GET("https://api.example.com/data")
data <- fromJSON(httr::content(resp, "text"))
Arrow/Parquet
library(arrow)
# Parquet (columnar, compressed)
df <- read_parquet("data.parquet")
write_parquet(df, "output.parquet")
# Feather (fast binary)
df <- read_feather("data.feather")
write_feather(df, "output.feather")
# Arrow datasets (large/partitioned)
ds <- open_dataset("data_dir/", format = "parquet")
ds %>% filter(x > 10) %>% collect()
Fast Serialization
# fst (fastest for data frames)
library(fst)
write_fst(df, "data.fst", compress = 100)
df <- read_fst("data.fst")
df <- read_fst("data.fst", columns = c("a", "b"))
# qs (general R objects)
library(qs)
qsave(obj, "data.qs")
obj <- qread("data.qs")
# RDS (base R)
saveRDS(obj, "data.rds")
obj <- readRDS("data.rds")
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 147 lines · 52 tokens per session scan A 094908f177f8
r-data-formats is a skill published in the GitHub repository LeoLin990405/r-analytics-skill (6 stars, last pushed 28d ago), licensed MIT. It adds 52 tokens to every session and 915 once invoked, about $0.0002 per session on Opus 5.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.
r-data-formats compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| r-data-formatsLeoLin990405/r-analytics-skill | Skill | 6 | 28d ago | MIT | A | 52 | Claude Code, Codex |
| ppt-speech-writerAI272/speaker | Skill | 485 | 5mo ago | none | A | 113 | Claude Code, Codex |
| iflytek-ocr-invoiceiflytek/iFly-Skills | Skill | 217 | yesterday | Apache-2.0 | A | 77 | Claude Code, Codex |
| iflytek-pdf-image-ocriflytek/iFly-Skills | Skill | 217 | yesterday | Apache-2.0 | A | 81 | Claude Code, Codex |
| audit-reporting-qualityyogsoth-ai/de-anthropocentric-research-engine | Skill | 542 | 1mo ago | Apache-2.0 | A | 28 | Claude Code, Codex |
| youtube-fetcherJimmySadek/youtube-fetcher-to-markdown | Skill | 546 | 1mo ago | MIT | A | 74 | Codex |
| antinet-doc-parseanbeime/skill | Skill | 10k | yesterday | none | A | 79 | Claude Code, Codex |