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 v8git 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/v8)<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/v8"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/v8/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/v8"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/v8.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.00025 | $0.01155 |
| Opus 5.5 | $0.00010 | $0.00462 |
| Sonnet 5.5 | $0.00005 | $0.00231 |
| Haiku 4.5 | $0.00003 | $0.00115 |
Grade A, and why
V8 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 1mo 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 — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
V8
Embedded JavaScript engine for R.
Basic Usage
library(V8)
# Create JavaScript context
ctx <- v8()
# Evaluate JavaScript
ctx$eval("var x = 1 + 1")
ctx$get("x") # Returns 2
# Run multiple statements
ctx$eval("
var a = 10;
var b = 20;
var sum = a + b;
")
ctx$get("sum")
Functions
# Define JavaScript function
ctx$eval("
function add(a, b) {
return a + b;
}
")
# Call from R
ctx$call("add", 5, 3)
# With arrays
ctx$eval("
function sum(arr) {
return arr.reduce((a, b) => a + b, 0);
}
")
ctx$call("sum", c(1, 2, 3, 4, 5))
Data Exchange
# R to JavaScript
ctx$assign("mydata", mtcars)
ctx$eval("console.log(mydata.length)")
# JavaScript to R
ctx$eval("var result = {a: 1, b: 2, c: [1,2,3]}")
ctx$get("result")
# JSON conversion
ctx$eval("var json = JSON.stringify({x: 1, y: 2})")
ctx$get("json")
Console Output
# Capture console.log
ctx$eval("console.log('Hello from JS')")
# Custom console
ctx$console(function(msg) {
message("JS: ", msg)
})
Load JavaScript Libraries
# Load from file
ctx$source("library.js")
# Load from URL
ctx$source("https://cdn.example.com/library.js")
# Load bundled libraries
ctx$source(system.file("js/underscore.js", package = "V8"))
NPM Packages
# Use browserified npm packages
# First, bundle with browserify:
# browserify -r lodash -o lodash-bundle.js
ctx$source("lodash-bundle.js")
ctx$eval("var _ = require('lodash')")
ctx$call("_.chunk", c(1,2,3,4,5,6), 2)
Error Handling
# JavaScript errors become R errors
tryCatch({
ctx$eval("throw new Error('Something went wrong')")
}, error = function(e) {
message("JS Error: ", e$message)
})
# Syntax errors
tryCatch({
ctx$eval("var x = ")
}, error = function(e) {
message("Syntax error")
})
Multiple Contexts
# Isolated contexts
ctx1 <- v8()
ctx2 <- v8()
ctx1$eval("var x = 1")
ctx2$eval("var x = 2")
ctx1$get("x") # 1
ctx2$get("x") # 2
# Reset context
ctx1$reset()
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.
- 1mo ago First seen · 220 lines · 25 tokens per session scan A 8b143b880ef9
V8 is a skill published in the GitHub repository LeoLin990405/r-analytics-skill (5 stars, last pushed 7mo ago), licensed MIT. It adds 25 tokens to every session and 1,155 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-09-03.
Other skills, from other repositories
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)…
algo-hash-tables-bloom
Implement Python hash tables (chaining, open addressing, rehashing) and Bloom filters for set membership. Use when building a hash table from scratch, resolving hash collisions, sizing a Bloom filter, or checking k-mer/key set membership under memory limits.
algo-red-black-trees
Implement a red-black self-balancing BST (insert, rotations, recoloring) for O(log n) search on sorted VCF variant positions. Use when building a balanced BST, verifying invariants, or comparing red-black vs AVL trees.
algo-suffix-trees
Build a suffix tree for O(m) pattern search, longest repeated substring, and longest common substring (LCS). Use when finding all motif occurrences in DNA/text, detecting tandem repeats, or comparing two sequences' shared region.
bio-applied-bio-data-formats
Parse/write FASTA, FASTQ, SAM/BAM, VCF, BED, GFF/GTF with pysam and pure Python; decode SAM FLAG/CIGAR; reconcile 0-based vs 1-based coordinates. Use for custom format parsers or off-by-one coordinate bugs.
python-advanced-sql
Write Python decorators/context managers/dataclasses and query gene/variant tables with sqlite3/pandas SQL (JOIN, GROUP BY, HAVING). Use for retry/caching/validation wrappers or SQL against Ensembl/UCSC-style schemas.