pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack โ pandas + numpy + scipy +โฆ
Guide for creating and auditing DAAF skills (SKILL.md). Covers frontmatter, metadata vocabulary, progressive disclosure, decision trees, reference files. Use when creating, reviewing, or debugging skill loading. For agent files, use agent-authoring.
Claude Code
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill skill-authoring --agent claude-code
Codex
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill skill-authoring -a codex -y
Cursor
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill skill-authoring -a cursor -y
Gemini CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill skill-authoring -a gemini-cli -y
GitHub Copilot
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill skill-authoring -a github-copilot -y
OpenCode
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill skill-authoring -a opencode -y
Windsurf
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill skill-authoring -a windsurf -y
name: skill-authoring description: >- Guide for creating and auditing DAAF skills (SKILL.md). Covers frontmatter, metadata vocabulary, progressive disclosure, decision trees, reference files. Use when creating, reviewing, or debugging skill loading. For agent files, use agent-authoring. metadata: audience: any-agent domain: skill-development
Guide for creating and auditing DAAF agent skills. Covers SKILL.md format, frontmatter requirements and validation rules, controlled vocabulary for metadata, progressive disclosure patterns, decision trees, reference files, and bundled resource organization. Use when creating a new skill, reviewing or auditing skill structure and frontmatter, or debugging skill loading and triggering issues. For creating agent definition files (.claude/agents/*.md), use agent-authoring instead.
Quick reference for creating well-structured Skills. Use decision trees below to find guidance, then load detailed references as needed.
A Skill is a reusable instruction set that extends agent capabilities:
| File | Purpose | When to Read | |------|---------|--------------| | `quickstart.md` | Minimal skill, directory setup | Creating first skill | | `frontmatter.md` | YAML spec, validation rules, description writing | Writing frontmatter | | `structure.md` | Body patterns, section templates, content patterns | Organizing content | | `progressive-disclosure.md` | Three-level loading, splitting | Managing token budget | | `references-resources.md` | scripts/, references/, assets/ | Adding bundled resources | | `testing-iteration.md` | Test prompts, iteration workflow, multi-model testing | Validating and improving skills | | `gotchas.md` | Anti-patterns, validation errors, diagnostics | Debugging or reviewing |
1. **Creating a skill?** Start with `quickstart.md` then `frontmatter.md` 2. **Structuring content?** Read `structure.md` then `progressive-disclosure.md` 3. **Adding resources?** See `references-resources.md` 4. **Testing and improving?** See `testing-iteration.md` 5. **Having issues?** Check `gotchas.md` first
Creating a new skill? โโ Where to put it โ ./references/quickstart.md โโ Minimal example โ ./references/quickstart.md โโ Write frontmatter โ ./references/frontmatter.md โโ Name validation โ ./references/frontmatter.md โโ Description best practices โ ./references/frontmatter.md
Structuring SKILL.md body? โโ Workflow-based (sequential steps) โ ./references/structure.md โโ Task-based (tool collection) โ ./references/structure.md โโ Reference-based (standards/specs) โ ./references/structure.md โโ Capabilities-based (features) โ ./references/structure.md โโ Decision tree format โ ./references/structure.md โโ Table conventions โ ./references/structure.md
Content too large? โโ Understand three-level loading โ ./references/progressive-disclosure.md โโ When to split into references โ ./references/progressive-disclosure.md โโ Domain-specific organization โ ./references/progressive-disclosure.md โโ Framework/variant splitting โ ./references/progressive-disclosure.md โโ Token budget guidelines โ ./references/progressive-disclosure.md
Adding bundled resources? โโ Executable scripts โ ./references/references-resources.md โโ Documentation files โ ./references/references-resources.md โโ Template assets โ ./references/references-resources.md โโ When to use each type โ ./references/references-resources.md โโ Directory structure โ ./references/references-resources.md
Testing or iterating? โโ Create test prompts โ ./references/testing-iteration.md โโ Test triggering accuracy โ ./references/testing-iteration.md โโ Iterate based on feedback โ ./references/testing-iteration.md โโ Test across models โ ./references/testing-iteration.md โโ Observe navigation patterns โ ./references/testing-iteration.md
Debugging a skill? โโ Skill not loading โ ./references/gotchas.md โโ Skill undertriggering โ ./references/gotchas.md โโ Skill overtriggering โ ./references/gotchas.md โโ Validation errors โ ./references/gotchas.md โโ Name format issues โ ./references/frontmatter.md โโ Description too long โ ./references/frontmatter.md โโ Common anti-patterns โ ./references/gotchas.md
--- name: my-skill-name description: What this skill does. When to use it (specific triggers). metadata: audience: target-users domain: skill-domain --- # My Skill Name Brief intro sentence. ## Section 1 Content here.
.claude/skills/<name>/ โโโ SKILL.md # Required โโโ scripts/ # Optional: executable code โโโ references/ # Optional: documentation โโโ assets/ # Optional: templates, images
| Field | Required | Constraints | |-------|----------|-------------| | `name` | Yes | Lowercase alphanumeric + hyphens, 1-64 chars, no leading/trailing/consecutive hyphens | | `description` | Yes | 1-1024 chars, no angle brackets (`<` `>`), include what + when | | `metadata` | No | Key-value pairs (strings) |
^[a-z0-9]+(-[a-z0-9]+)*$
| Component | Limit | Notes | |-----------|-------|-------| | Name | 64 chars | Lowercase hyphen-case | | Description (frontma
## ๐ฅ ๅ่ ยท StatsPAI โ Stata ไธ R ็ Python ๅนณๆฟ๏ผไธบ AI Agent ่็ ๐ Stata / R ๅนณๆฟ๏ผreghdfeใcsdidใrdrobustใsynthใfixestใdid ็ญๅธธ็จๅฝไปคๅจ Python ไธญไธ็ซๅผๆฟไปฃ๏ผไธไธช import statspai as sp ๆๅฎ DID / RD / IV / SCM / DML / matching ๐ค ้ขๅ Agent ่ฎพ่ฎก๏ผ็ปๆๅ็ปๆๅฏน่ฑก + ๅ ็ฝฎ MCP Server๏ผClaude / Codex
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack โ pandas + numpy + scipy +โฆ
Use when the user asks to run a full empirical / causal analysis in Python โ by default in the style of an applied economicsโฆ
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack โ pandas + numpy + scipy +โฆ
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem โ native Stata + reghdfe + ivreg2 + csdid +โฆ
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem โ dplyr + tidyr + haven +โฆ
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-readyโฆ
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also coversโฆ
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, fillingโฆ