Standardized Python & Stata coding practices for empirical research projects

Custom licenceAuto-check passedResearch & Science

Install Coding Guidelines

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill coding-guidelines -a claude-code

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

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills coding-guidelines --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/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/30-zirui-song-claude-skills/coding-guidelines .claude/skills/coding-guidelines && 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
coding-guidelines
GitHub stars
4.5k
Token cost
~5.6k tokens
SKILL.md length
715 words
Files
1
Skills in repo
369
Repo updated
First seen
Licence
Custom licence

At a glance

Standardized Python & Stata coding practices for empirical research projects

  • Works in 12 steps: Script Template → Path Management (CRITICAL) → Data Loading & Saving → …
  • Tasks that involve Econometrics and empirical research
  • SKILL.md covers Table of Contents, Project Structure, Python Guidelines and Stata Guidelines, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Coding Guidelines is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Standardized Python & Stata coding practices for empirical research projects

Its SKILL.md is about 5.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Econometrics and empirical research. It works with Python. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • Tasks that involve Econometrics and empirical research

Example prompts

  • “/coding-guidelines”

Requirements

  • Python 3

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Script Template
  2. Path Management (CRITICAL)
  3. Data Loading & Saving
  4. Progress Reporting
  5. Function Documentation
  6. Data Validation
  7. Merging Pattern
  8. Visualization Standards
  9. Variable Naming Conventions
  10. Script Template
  11. Global Path Setup (CRITICAL)
  12. Regression Structure

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. 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 stata and python).

    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

Coding Guidelines loads about 5.6k tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 715 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~5.6k

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 715 words (~5,595 tokens).

“Version: 1.0 Last Updated: January 2026 Purpose: Standardized coding practices for empirical research projects”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
coding-guidelines

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/30-zirui-song-claude-skills/coding-guidelines of brycewang-stanford/Auto-Empirical-Research-Skills.

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Coding Guidelines 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.

Coding Guidelines compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Coding Guidelines this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~5.6kAutomated safety check: PassCustom licence
Stata C Pluginsdylantmoore/stata-skill2911 repos~5.8kAutomated safety check: PassCustom licence
Capture Environmentpedrohcgs/claude-code-my-workflow1.6k—~2.8kAutomated safety check: NotesMIT
Fin Data Acquisitioncsmar432/finai-research109—~2kAutomated safety check: PassMIT
Empirical Research MethodsCitrus-bit/Anaxa120—~1.9kAutomated safety check: PassCC-BY-SA-4.0
Diagnosepedrohcgs/claude-code-my-workflow1.6k—~4.2kAutomated safety check: PassMIT

Similar skills

  • Stata C Plugins

    dylantmoore/stata-skill

    Develop high-performance C/C++ plugins for Stata using the stplugin.h SDK.

    291 GitHub starsUsed in 1 repo~5.8k tokens
    Research & ScienceAuto-check passed
  • Capture Environment

    pedrohcgs/claude-code-my-workflow

    Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt /…

    1.6k GitHub stars~2.8k tokensUpdated 9 days ago
    Research & ScienceAuto-check: notes
  • Fin Data Acquisition

    csmar432/finai-research

    根据REFINEDDESIGN.md中的变量定义,自动获取所需数据并生成可执行的回归分析脚本(Python/Stata)。

    109 GitHub stars~2k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • A skill your agent uses for empirical social-science research, applied economics, public policy, education, finance, management, sociology, psychology, epidemiology, or public-health data studies.

    120 GitHub stars~1.9k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Diagnose

    pedrohcgs/claude-code-my-workflow

    Root-cause a failing or wrong empirical result with a disciplined reproduce → minimise → hypothesise → instrument → fix loop, instead of guessing-and-poking.

    1.6k GitHub stars~4.2k tokensUpdated 9 days ago
    Research & ScienceAuto-check passed
  • Differential Audit

    pedrohcgs/claude-code-my-workflow

    Compare two implementations of the same thing — a port (R↔Python↔Stata), a reimplementation, a replication package, a refactor, or a new version against the old — so that agreement means something.

    1.6k GitHub stars~1.6k tokensUpdated 9 days ago
    Research & ScienceAuto-check: notes

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 369 skills in this repo
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 2 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 2 days ago
    Auto-check passed
  • Latex Thesis Zh

    brycewang-stanford/Auto-Empirical-Research-Skills

    Chinese LaTeX thesis assistant for existing .tex degree thesis projects (XeLaTeX/LuaLaTeX/latexmk).

    4.5k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Obsidian Project Memory

    brycewang-stanford/Auto-Empirical-Research-Skills

    This skill should be used when the user asks to maintain an Obsidian knowledge base for a research project, import an existing research repository into Obsidian, keep project memory or daily notes…

    4.5k GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Coding Guidelines

What does Coding Guidelines do?

Standardized Python & Stata coding practices for empirical research projects. Coding Guidelines is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

When should I use Coding Guidelines?

Coding Guidelines fits situations like: tasks that involve Econometrics and empirical research.

How do I install Coding Guidelines in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill coding-guidelines -a claude-code`. Or copy the skill folder (skills/30-zirui-song-claude-skills/coding-guidelines in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/coding-guidelines in your project. Claude Code loads it when a task matches its description.

How do I install Coding Guidelines in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill coding-guidelines -a codex`. Or copy the skill folder (skills/30-zirui-song-claude-skills/coding-guidelines in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/coding-guidelines in your project. Codex loads it when a task matches its description.

Can I use Coding Guidelines 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 brycewang-stanford/Auto-Empirical-Research-Skills --skill coding-guidelines -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/coding-guidelines, .gemini/skills/coding-guidelines, .github/skills/coding-guidelines and .opencode/skills/coding-guidelines in your project.

What does Coding Guidelines need to run?

SKILL.md names no scripts, command-line tools or credentials: Coding Guidelines is instructions for the agent only. Our summary lists: Python 3.

Does Coding Guidelines 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 Coding Guidelines 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 Coding Guidelines use?

Coding Guidelines has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Coding Guidelines use?

About 5.6k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Coding Guidelines?

Skills that share tags, products or a category with Coding Guidelines: Stata C Plugins (dylantmoore/stata-skill, 291 stars), Capture Environment (pedrohcgs/claude-code-my-workflow, 1.6k stars), Fin Data Acquisition (csmar432/finai-research, 109 stars) and Empirical Research Methods (Citrus-bit/Anaxa, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Coding Guidelines?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,517 GitHub stars. The repository holds 369 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.