usethis

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

An R project helper for setting up packages, documentation, data, tests, Git, GitHub, and project configuration.

In plain words
What is it for?
Use it to create projects and packages, add licenses and documentation, configure tests and coverage, prepare data, and set up GitHub Actions and Pages.
Why use it?
It avoids repeating setup tasks and reduces mistakes when starting or maintaining an R package or project.

Skill for Claude CodeCodex

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

Good fit Use it to create projects and packages, add licenses and documentation, configure…

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/usethis.svg)](https://agentmods.dev/skills/leolin990405/r-analytics-skill/usethis)
Your own site
<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/usethis"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/usethis.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 390 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.00027 $0.00390
Opus 5 $0.00014 $0.00195
Sonnet 5 $0.00005 $0.00078
Haiku 4.5 $0.00003 $0.00039

Measured 3d ago against content hash d07ccd6c9927, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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

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-dev/r-dev-package/usethis/SKILL.md · 103 lines

What it actually says

usethis Package

Workflow automation for R packages and projects.

Create Package

library(usethis)

# New package
create_package("mypackage")

# New project
create_project("myproject")

Package Setup

# License
use_mit_license()
use_gpl3_license()
use_cc0_license()

# Documentation
use_roxygen_md()
use_package_doc()
use_news_md()
use_readme_rmd()

# Dependencies
use_package("dplyr")
use_package("ggplot2", type = "Suggests")
use_pipe()  # Add %>%
use_tibble()

Testing

use_testthat()
use_test("myfunction")
use_coverage()

Git & GitHub

use_git()
use_github()
use_github_action_check_standard()
use_github_action("pkgdown")
use_github_pages()

Data

# Internal data
use_data_raw("dataset")
use_data(mydata, internal = TRUE)

# External data
use_data(mydata)

Vignettes

use_vignette("introduction")
use_article("advanced-usage")

CI/CD

use_github_action_check_standard()
use_github_action_check_release()
use_github_action("test-coverage")
use_github_action("pkgdown")

Other

# Add file
use_r("myfunction")
use_test("myfunction")

# Badges
use_cran_badge()
use_lifecycle_badge("experimental")
use_coverage_badge()

# Imports
use_import_from("dplyr", "filter")
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. 3d ago First seen · 103 lines · 27 tokens per session scan A d07ccd6c9927

Subscribe to this mod's changes

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

aws-ci-cd-release-engineer

Review AWS CI/CD and release safety across CodePipeline, CodeBuild, CodeDeploy, GitHub Actions, GitLab, artifact provenance, deployment gates, approvals, tests, progressive delivery, rollback, change correlation, and incident-prevention recommendations. Use when AWS releases or pipelines can affect production…

VincentChuWaiChow/vanguard-frontier-agentic · 69 tokens

aws-deployment-hotfix-operator

Patch AWS deployment hotfix config, release parameters, manifest mistakes, environment drift, rollback blockers, and rollout blockers in-repo. Use for rapid non-destructive deployment corrections; do not use for live deploy/apply/destroy actions.

VincentChuWaiChow/vanguard-frontier-agentic · 55 tokens

aws-pipeline-fix-operator

Repair AWS pipeline configuration, buildspecs, workflow files, deployment steps, artifact wiring, release guardrails, and CodeDeploy integration in-repo. Use for non-destructive CI/CD corrections; do not trigger live pipeline runs or mutate cloud state.

VincentChuWaiChow/vanguard-frontier-agentic · 58 tokens

cloudflare-workers-ci-cd

Complete CI/CD guide for Cloudflare Workers using GitHub Actions and GitLab CI. Use for automated testing, deployment pipelines, preview environments, secrets management, or encountering deployment failures, workflow errors, environment configuration issues.

secondsky/claude-skills · 50 tokens

databricks-developer-platform

Use this skill to review a Declarative Automation Bundle configuration, authentication setup, and deployment flow against production readiness criteria: bundle structure, deployment modes, run-as identity boundaries, variable resolution timing, OAuth and environment-variable authentication, Terraform versus direct…

VincentChuWaiChow/vanguard-frontier-agentic · 92 tokens

databricks-lakeflow-pipeline-engineering

Use this skill to design Lakeflow Spark Declarative Pipelines: medallion layering, Lakeflow Jobs orchestration and task dependencies, Delta table layout (liquid clustering, deletion vectors, Predictive Optimization), Auto Loader ingestion, schema evolution and rescueddata, materialized views versus streaming tables…

VincentChuWaiChow/vanguard-frontier-agentic · 102 tokens