Agent skill

R Empirical Finance

by aspi6246 in aspi6246/Claude-Code-Skills-for-Academics

Conventions for writing empirical finance R code with data.table, fixest, arrow, and ggplot2.

No licenceAuto-check passedData & Analytics

Install R Empirical Finance

skills CLI
$ npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill r-empirical-finance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aspi6246/Claude-Code-Skills-for-Academics r-empirical-finance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aspi6246/Claude-Code-Skills-for-Academics.git skills-src && mkdir -p .claude/skills && cp -r skills-src/r-empirical-finance .claude/skills/r-empirical-finance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
r-empirical-finance
GitHub stars
159
Token cost
~1.3k tokens
SKILL.md length
244 words
Files
2 (incl. references)
Skills in repo
15
Repo updated
First seen
Licence
None found

At a glance

Conventions for writing empirical finance R code with data.table, fixest, arrow, and ggplot2.

  • Debugging R scripts for panel data
  • SKILL.md covers Package stack, Data loading, Panel data conventions and Regressions with fixest, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Data pipelines — even if the user just says write some R code

What it does

R Empirical Finance is an agent skill from aspi6246/Claude-Code-Skills-for-Academics. Conventions for writing empirical finance R code with data.table, fixest, arrow, and ggplot2. Use this skill whenever writing, reviewing, refactoring, or debugging R scripts for panel data, event studies, DiD, IV/2SLS, regressions, or data pipelines — even if the user just says "write some R code" or "clean this data."

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/fixest-patterns.md`).

It sits in Data & Analytics, covering Data pipelines and ETL and Refactoring. The repository describes itself as: A collection of Skills for academics.

When your agent uses it

  • Debugging R scripts for panel data
  • Data pipelines — even if the user just says write some R code
  • Clean this data

Example prompts

  • “write some R code”
  • “clean this data.”
  • “Use the r-empirical-finance skill to convention for writing empirical finance R code with data.table, fixest, arrow, and ggplot2”
  • “/r-empirical-finance”

What it can do on your machine

Read from SKILL.md and the folder at commit 8a8f112. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are r).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

R Empirical Finance loads about 1.3k tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 244 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 244 words (~1,284 tokens).

“Always prefer these packages unless the user specifies otherwise:”

— opening of SKILL.md by aspi6246
name
r-empirical-finance

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in r-empirical-finance of aspi6246/Claude-Code-Skills-for-Academics.

  • SKILL.md
  • references/fixest-patterns.md

Open the folder on GitHubat commit 8a8f112

Compare with similar skills

R Empirical Finance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

R Empirical Finance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
R Empirical Finance this skillaspi6246/Claude-Code-Skills-for-Academics159—~1.3kAutomated safety check: PassNone
Refactoring Dbt ModelsAltimateAI/data-engineering-skills128—~1.2kAutomated safety check: PassMIT
Veomni DevelopByteDance-Seed/VeOmni2.2k—~1.5kAutomated safety check: PassApache-2.0
Monitor With HaolemeHaolemeApp/Haoleme157—~1.3kAutomated safety check: PassAGPL-3.0
Authoring Dagsastronomer/agents4511 repos~1.8kAutomated safety check: PassApache-2.0
Dagster Expertdagster-io/skills211—~2kAutomated safety check: PassApache-2.0

Similar skills

  • Refactoring Dbt Models

    AltimateAI/data-engineering-skills

    Safely refactors dbt models with downstream impact analysis.

    128 GitHub stars~1.2k tokensUpdated 3 days ago
    Data & AnalyticsAuto-check passed
  • Veomni Develop

    ByteDance-Seed/VeOmni

    VeOmni-specific checklist for feature development and refactoring.

    2.2k GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Monitor With Haoleme

    HaolemeApp/Haoleme

    Selectively monitor important long-running or resource-intensive commands with Haoleme by prefixing them with hao, so status, output, and completion notifications sync to the mobile app.

    157 GitHub stars~1.3k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Authoring Dags

    astronomer/agents

    Workflow and best practices for writing Apache Airflow DAGs.

    451 GitHub starsUsed in 1 repo~1.8k tokens
    Data & AnalyticsAuto-check passed
  • Dagster Expert

    dagster-io/skills

    Official

    Expert guidance for working with Dagster and the dg CLI. An agent skill from dagster-io/skills.

    211 GitHub stars~2k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • dbt Error Debugging

    AltimateAI/data-engineering-skills

    Walks through fixing dbt compilation, database and test errors: read the full error, check upstream models, apply a fix, then verify with dbt build and a data preview.

    128 GitHub stars~1.1k tokensUpdated 3 days ago
    Data & AnalyticsAuto-check passed

More from aspi6246/Claude-Code-Skills-for-Academics

All 15 skills in this repo
  • Beamer Check

    aspi6246/Claude-Code-Skills-for-Academics

    Audit and fix Beamer slide decks for compilation errors, layout problems, and visual issues.

    159 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Beamer Slides Teaching

    aspi6246/Claude-Code-Skills-for-Academics

    Generate LaTeX Beamer slide decks using my defined style and conventions.

    159 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Data Profiler

    aspi6246/Claude-Code-Skills-for-Academics

    Systematic dataset profiling protocol for empirical research.

    159 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed
  • Edmans Audit

    aspi6246/Claude-Code-Skills-for-Academics

    Audit a finance paper against Alex Edmans' "Learnings From 1,000 Rejections" (2025, Financial Management) three-part framework: Contribution, Execution, Exposition.

    159 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Top5 Framing

    aspi6246/Claude-Code-Skills-for-Academics

    Diagnose and raise the general-interest ceiling of an academic economics or finance paper so it reads like a top-5 (or top-3 finance) submission.

    159 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed
  • Canvas Lms API

    aspi6246/Claude-Code-Skills-for-Academics

    A skill your agent uses whenever working with the Canvas LMS REST API — including creating or updating modules, pages, and files for a course, building sync scripts, managing course structure…

    159 GitHub stars~3.7k tokensUpdated 1 mo ago
    Auto-check passed

Questions about R Empirical Finance

What does R Empirical Finance do?

Conventions for writing empirical finance R code with data.table, fixest, arrow, and ggplot2. R Empirical Finance is an agent skill from aspi6246/Claude-Code-Skills-for-Academics.table, fixest, arrow, and ggplot2.

When should I use R Empirical Finance?

R Empirical Finance fits situations like: debugging R scripts for panel data; data pipelines — even if the user just says write some R code; clean this data.

How do I install R Empirical Finance in Claude Code?

Run `npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill r-empirical-finance -a claude-code`. Or copy the skill folder (r-empirical-finance in aspi6246/Claude-Code-Skills-for-Academics) into .claude/skills/r-empirical-finance in your project. Claude Code loads it when a task matches its description.

How do I install R Empirical Finance in Codex?

Run `npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill r-empirical-finance -a codex`. Or copy the skill folder (r-empirical-finance in aspi6246/Claude-Code-Skills-for-Academics) into .agents/skills/r-empirical-finance in your project. Codex loads it when a task matches its description.

Can I use R Empirical Finance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill r-empirical-finance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/r-empirical-finance, .gemini/skills/r-empirical-finance, .github/skills/r-empirical-finance and .opencode/skills/r-empirical-finance in your project.

What does R Empirical Finance need to run?

SKILL.md names no scripts, command-line tools or credentials: R Empirical Finance is instructions for the agent only.

Does R Empirical Finance access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is R Empirical Finance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does R Empirical Finance use?

No licence was found for R Empirical Finance or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does R Empirical Finance use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 728 tokens, read only when the agent opens those files.

What are the alternatives to R Empirical Finance?

Skills that share tags, products or a category with R Empirical Finance: Refactoring Dbt Models (AltimateAI/data-engineering-skills, 128 stars), Veomni Develop (ByteDance-Seed/VeOmni, 2.2k stars), Monitor With Haoleme (HaolemeApp/Haoleme, 157 stars) and Authoring Dags (astronomer/agents, 451 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains R Empirical Finance?

aspi6246 (a GitHub user) maintains it in aspi6246/Claude-Code-Skills-for-Academics, which has 159 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on August 21, 2026.

Source: aspi6246/Claude-Code-Skills-for-Academics on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.