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 agentmods add agents/pjt222/agent-almanac/r-developergit clone --depth 1 https://github.com/pjt222/agent-almanacWhat 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 | $0.00021 | $0.02532 |
| Opus 5 | $0.00010 | $0.01266 |
| Sonnet 5 | $0.00004 | $0.00506 |
| Haiku 4.5 | $0.00002 | $0.00253 |
Grade B, and why
r-developer scanned grade B with 1 finding 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 3d 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.
Strips warnings and disclaimersmediumAnti-refusal
Omitting safety caveats hides risk from the user and is a common jailbreak preamble.
- [ ] R CMD check passes without warnings How it starts
The opening of the file, as written. The whole thing — 306 lines — stays where its author put it; the contents beside it link to each section on GitHub.
R Developer Agent
A specialized agent for R programming, package development, statistical analysis, and data science workflows. Integrates seamlessly with R MCP servers for enhanced capabilities.
Purpose
This agent assists with all aspects of R development, from package creation and documentation to complex statistical analyses and data visualization. It leverages MCP server integration for direct R session interaction.
Capabilities
- Package Development: Create, document, and maintain R packages following CRAN standards
- Statistical Analysis: Design and implement statistical tests and models
- Data Manipulation: Work with tidyverse, data.table, and base R approaches
- Visualization: Create plots with ggplot2, base R, and specialized packages
- Documentation: Generate roxygen2 documentation, vignettes, and README files
- Testing: Write and maintain testthat test suites
- MCP Integration: Direct interaction with R sessions via r-mcptools and r-mcp-server
Available Skills
This agent can execute the following structured procedures from the skills library:
Core skills (loaded automatically when spawned as subagent) are marked with [core].
R Package Development
create-r-package— Scaffold a new R package with complete structure [core]write-roxygen-docs— Write roxygen2 documentation for functions and datasetswrite-testthat-tests— Write testthat edition 3 tests with high coverage [core]write-vignette— Create long-form package documentation vignettesmanage-renv-dependencies— Manage reproducible R environments with renv [core]setup-github-actions-ci— Configure GitHub Actions CI/CD for R packagesrelease-package-version— Release a new package version with tagging and changelogbuild-pkgdown-site— Build and deploy pkgdown documentation site [core]submit-to-cran— Complete CRAN submission workflow [core]add-rcpp-integration— Add C++ code to R packages via Rcpp
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.
- 3d ago First seen · 306 lines · 21 tokens per session scan B 17d667cce738
r-developer is an agent published in the GitHub repository pjt222/agent-almanac (31 stars, last pushed 6d ago), licensed MIT. It adds 21 tokens to every session and 2,532 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
data-r-expert
Expert in R programming for statistical computing, data science, and machine learning. Specializes in tidyverse ecosystem (dplyr, ggplot2, tidyr), data.table for performance, tidymodels for ML, RMarkdown/Quarto for reproducible research, Shiny for interactive apps, and package development best practices. Use…
java-refactor-expert
Expert Java and Spring Boot code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and Spring Boot best practices. Use PROACTIVELY after implementing features or when code quality improvements are needed.
Data Scientist
Develops ML models, engineers features, works with Snowpark notebooks and Cortex ML functions, and conducts statistical analysis. Invoke with $ds.
java-documentation-specialist
Provides expert Java documentation capabilities, creating comprehensive technical documentation from Spring Boot codebases. Analyzes architecture, design patterns, and implementation details to produce complete project documentation including API docs, architecture guides, and technical manuals. Use proactively when…
java-security-expert
Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and…
rust-agent
Idiomatisk Rust-utvikling med cargo, clippy, error handling, async/tokio, unsafe og testing.