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 pjt222/agent-almanac --skill create-r-packagegit clone --depth 1 https://github.com/pjt222/agent-almanacWrote 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/pjt222/agent-almanac/create-r-package)<a href="https://agentmods.dev/skills/pjt222/agent-almanac/create-r-package"><img src="https://agentmods.dev/badge/skills/pjt222/agent-almanac/create-r-package/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/pjt222/agent-almanac/create-r-package"><img src="https://agentmods.dev/badge/skills/pjt222/agent-almanac/create-r-package.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00094 | $0.01717 |
| Opus 5.5 | $0.00038 | $0.00687 |
| Sonnet 5.5 | $0.00019 | $0.00343 |
| Haiku 4.5 | $0.00009 | $0.00172 |
Grade A, and why
create-r-package 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 — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create R Package
Scaffold a fully configured R package with modern tooling and best practices.
When to Use
- Starting a new R package from scratch
- Converting loose R scripts into a package
- Setting up a package skeleton for collaborative development
Inputs
- Required: Package name (lowercase, no special characters except
.) - Required: One-line description of the package purpose
- Optional: License type (default: MIT)
- Optional: Author information (name, email, ORCID)
- Optional: Whether to initialize renv (default: yes)
Procedure
Step 1: Create Package Skeleton
usethis::create_package("packagename")
setwd("packagename")
Got: Directory created with DESCRIPTION, NAMESPACE, R/, and man/ subdirectories.
If fail: Ensure usethis is installed (install.packages("usethis")). Check that the directory does not already exist.
Step 2: Configure DESCRIPTION
Edit DESCRIPTION with accurate metadata:
Package: packagename
Title: What the Package Does (Title Case)
Version: 0.1.0
Authors@R:
person("First", "Last", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0000-0000-0000"))
Description: One paragraph describing what the package does. Must be more
than one sentence. Avoid starting with "This package".
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
URL: https://github.com/username/packagename
BugReports: https://github.com/username/packagename/issues
Got: Valid DESCRIPTION that passes R CMD check with no metadata warnings.
If fail: If R CMD check warns about DESCRIPTION fields, verify that Title is in Title Case, Description is more than one sentence, and Authors@R uses valid person() syntax.
Step 3: Set Up Infrastructure
usethis::use_mit_license()
usethis::use_readme_md()
usethis::use_news_md()
usethis::use_testthat(edition = 3)
usethis::use_git()
usethis::use_github_action("check-standard")
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 · 210 lines · 94 tokens per session scan A 9f980d4e2614
create-r-package is a skill published in the GitHub repository pjt222/agent-almanac (46 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 1,717 once invoked, about $0.0004 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.
create-r-package compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| create-r-packagepjt222/agent-almanac | Skill | 46 | yesterday | MIT | A | 94 | Claude Code |
| authoring-go-sdk-tasksastronomer/agents | Skill | 465 | yesterday | Apache-2.0 | A | 165 | Claude Code |
| authoring-dagsastronomer/agents | Skill | 465 | yesterday | Apache-2.0 | A | 93 | Claude Code |
| loom-pythoncosmix/loom | Skill | 66 | 2d ago | MIT | A | 14 | Claude Code, Codex |
| loom-golangcosmix/loom | Skill | 66 | 2d ago | MIT | A | 31 | Claude Code, Codex |
| loom-rustcosmix/loom | Skill | 66 | 2d ago | MIT | A | 15 | Claude Code, Codex |
| loom-csharpcosmix/loom | Skill | 66 | 2d ago | MIT | A | 16 | Claude Code, Codex |