r-parallel-local

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

An R skill for running work at the same time across multiple CPU cores on one computer.

In plain words
What is it for?
Use it with parallel, future, or furrr to create workers, run parallel loops or maps, and combine their results.
Why use it?
It shortens total runtime for tasks that can be split into independent pieces.

Skill for Claude CodeCodex

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

Good fit Use it with parallel, future, or furrr to create workers, run parallel loops or maps, and combine their results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leolin990405/r-analytics-skill/r-parallel-local
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 LeoLin990405/r-analytics-skill --skill r-parallel-local
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 r-parallel-local

README.md
[![agentmods](https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/r-parallel-local/github.svg)](https://agentmods.dev/skills/leolin990405/r-analytics-skill/r-parallel-local)
Your own site
<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/r-parallel-local"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/r-parallel-local/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 r-parallel-local

Your own site · 80×15
<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/r-parallel-local"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/r-parallel-local.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 611 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00023 $0.00611
Opus 5 $0.00012 $0.00305
Sonnet 5 $0.00005 $0.00122
Haiku 4.5 $0.00002 $0.00061

Measured 7d ago against content hash 068d8a6b9e30, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

r-parallel-local 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 7d 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-parallel/r-parallel-local/SKILL.md · 119 lines

What it actually says

R Local Parallel Computing

Multi-core processing.

parallel

library(parallel)

# Detect cores
detectCores()
detectCores(logical = FALSE)

# mclapply (Unix)
results <- mclapply(1:100, function(x) x^2, mc.cores = 4)

# parLapply (all platforms)
cl <- makeCluster(4)
clusterExport(cl, c("data", "my_function"))
clusterEvalQ(cl, library(dplyr))
results <- parLapply(cl, 1:100, function(x) x^2)
stopCluster(cl)

# parSapply
cl <- makeCluster(4)
results <- parSapply(cl, 1:100, function(x) x^2)
stopCluster(cl)

# Load balancing
results <- parLapplyLB(cl, tasks, process_task)

future

library(future)

# Plan
plan(sequential)       # Default
plan(multisession)     # Background R sessions
plan(multicore)        # Forked (Unix)
plan(cluster, workers = 4)

# Future
f <- future({ slow_computation() })
result <- value(f)

# Multiple futures
f1 <- future({ task1() })
f2 <- future({ task2() })
results <- values(list(f1, f2))

# Resolved?
resolved(f)

# Nested
plan(list(
  tweak(multisession, workers = 2),
  tweak(multisession, workers = 4)
))

furrr

library(furrr)

plan(multisession, workers = 4)

# Parallel map
results <- future_map(1:100, ~ .x^2)
results <- future_map_dbl(1:100, ~ .x^2)
results <- future_map_dfr(files, read_csv)

# With progress
results <- future_map(1:100, ~ .x^2, .progress = TRUE)

# Options
results <- future_map(
  data_list,
  process_data,
  .options = furrr_options(seed = TRUE)
)

foreach

library(foreach)
library(doParallel)

# Setup
cl <- makeCluster(4)
registerDoParallel(cl)

# Parallel loop
results <- foreach(i = 1:100, .combine = c) %dopar% {
  i^2
}

# With packages
results <- foreach(i = 1:100, .packages = "dplyr") %dopar% {
  # code using dplyr
}

# Nested
results <- foreach(i = 1:10) %:%
  foreach(j = 1:10) %dopar% {
    i * j
  }

stopCluster(cl)
Files

What ships with it

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

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. 7d ago First seen · 119 lines · 23 tokens per session scan A 068d8a6b9e30

Subscribe to this mod's changes

r-parallel-local is a skill published in the GitHub repository LeoLin990405/r-analytics-skill (5 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 611 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-09-03.

Related

Other skills, from other repositories

agentic-delegation

Delegate exploration sweeps to Haiku subagents and bulk writing to Sonnet subagents while the orchestrator keeps architecture, security-sensitive edits, and commits; use at the start of any multi-step task in this repo to minimize token spend by delegating to cheaper models.

VincentChuWaiChow/vanguard-frontier-agentic · 60 tokens

aws-non-destructive-task-automation-advisor

Design AWS non-destructive task automation using EventBridge, Step Functions, Lambda, Systems Manager Automation, SNS, SQS, approvals, notifications, reporting, and evidence gathering. Use only for read-only or coordination-safe automation; do not use for destructive remediation or mutation-heavy runbooks.

VincentChuWaiChow/vanguard-frontier-agentic · 68 tokens

telegram

The only Telegram skill your AI agent needs. Read messages, parse channels, download and transcribe voice notes — all via Telethon user API. One session file, zero bots. Use when user says 'read telegram', 'check saved messages', 'fetch from telegram', 'parse channel', 'transcribe voice', 'telegram search', 'check my…

awrshift/skill-telegram · 143 tokens

fused-integrations

Reference for using Fused's built-in integration connections inside UDFs. Covers data sources (Snowflake, BigQuery, GCS, S3, Airtable, Notion, Google Drive), compute/inference providers (Modal, Hugging Face, Baseten, Daytona, ComfyOrg, Slack), and LLM providers (Anthropic, OpenAI) — the fused.api connect helpers…

fusedio/skills · 126 tokens

canvas-comments

Use when a Fused canvas.toml contains (or needs) a [[comments]] block — e.g. the user asks to check/fix/resolve canvas comments, review feedback pins on a canvas, or leave comments on a canvas for someone else. Covers reading, writing, and resolving comments via the fused CLI pull/push workflow.

fusedio/skills · 71 tokens

close-cycle-advisor

Multi-jurisdiction financial close cycle reference framework covering month-end, quarter-end, and year-end close. Provides regulatory filing deadlines by jurisdiction (SEC, EU TD, UK DTR, TSE/FSA, CSRC, SEBI, ASX, HKEX), record-to-report process steps, reconciliation standards, intercompany elimination requirements…

VincentChuWaiChow/vanguard-frontier-agentic · 154 tokens