Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/LeoLin990405/r-analytics-skillnpx agentmods add skills/leolin990405/r-analytics-skill/boxWrote 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/box)<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/box"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/box/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/box"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/box.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.00020 | $0.00994 |
| Opus 5.5 | $0.00008 | $0.00398 |
| Sonnet 5.5 | $0.00004 | $0.00199 |
| Haiku 4.5 | $0.00002 | $0.00099 |
Grade A, and why
box 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 — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
box
Modern module system for R.
Basic Module
# modules/data_utils.R
#' @export
load_data <- function(path) {
read.csv(path)
}
#' @export
clean_data <- function(df) {
na.omit(df)
}
# Private function (not exported)
helper <- function(x) {
x * 2
}
Using Modules
# Import entire module
box::use(./modules/data_utils)
data_utils$load_data("data.csv")
# Import specific functions
box::use(./modules/data_utils[load_data, clean_data])
load_data("data.csv")
# Import with alias
box::use(./modules/data_utils[load = load_data])
load("data.csv")
# Import all exports
box::use(./modules/data_utils[...])
Package Imports
# Import from packages
box::use(dplyr[filter, select, mutate])
box::use(ggplot2[ggplot, aes, geom_point])
# Import entire package
box::use(dplyr)
dplyr$filter(df, x > 0)
# Import with alias
box::use(dt = data.table)
dt$fread("data.csv")
Module Structure
# project/
# ├── main.R
# └── modules/
# ├── data/
# │ ├── __init__.R
# │ ├── load.R
# │ └── clean.R
# └── analysis/
# ├── __init__.R
# └── models.R
# modules/data/__init__.R
#' @export
box::use(./load[...])
#' @export
box::use(./clean[...])
# main.R
box::use(./modules/data)
data$load_csv("file.csv")
Reexporting
# modules/utils.R
# Reexport from another module
#' @export
box::use(./helpers[helper_func])
# Reexport from package
#' @export
box::use(dplyr[filter, select])
Documentation
# modules/math.R
#' Add two numbers
#'
#' @param x First number
#' @param y Second number
#' @return Sum of x and y
#' @export
add <- function(x, y) {
x + y
}
# Access documentation
box::use(./modules/math)
box::help(math$add)
Module Options
# Set module search path
options(box.path = c("~/R/modules", "./modules"))
# Reload module (during development)
box::reload(data_utils)
# Unload module
box::unload(data_utils)
S3 Methods
# modules/print_methods.R
#' @export
print.my_class <- function(x, ...) {
cat("My class object:\n")
print(unclass(x))
}
# Register S3 method
box::register_S3_method("print", "my_class", print.my_class)
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 · 200 lines · 20 tokens per session scan A 5a9bdc93dc44
box is a skill published in the GitHub repository LeoLin990405/r-analytics-skill (6 stars, last pushed 28d ago), licensed MIT. It adds 20 tokens to every session and 994 once invoked, about $0.0001 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.
box compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| boxLeoLin990405/r-analytics-skill | Skill | 6 | 28d ago | MIT | A | 20 | Claude Code, Codex |
| data-science-statistical-analysisj4flmao/agent-skills | Skill | 47 | 16d ago | MIT | A | 84 | Claude Code, Codex |
| tidy-rstatzhero/tidy-r-skill | Skill | 29 | 16d ago | MIT | A | 102 | Claude Code |
| data-science-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 54 | Claude Code |
| r-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 53 | Claude Code |
| ask-zillizzilliztech/zilliz-plugin | Skill | 3 | 6d ago | Apache-2.0 | A | 57 | Claude Code |
| aclzilliztech/zilliz-plugin | Skill | 3 | 6d ago | Apache-2.0 | A | 50 | Claude Code |