pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack โ pandas + numpy + scipy +โฆ
Safely remove intermediate files from completed research sessions while preserving important data
Claude Code
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill cleaning-up-research-sessions --agent claude-code
Codex
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill cleaning-up-research-sessions -a codex -y
Cursor
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill cleaning-up-research-sessions -a cursor -y
Gemini CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill cleaning-up-research-sessions -a gemini-cli -y
GitHub Copilot
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill cleaning-up-research-sessions -a github-copilot -y
OpenCode
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill cleaning-up-research-sessions -a opencode -y
Windsurf
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill cleaning-up-research-sessions -a windsurf -y
name: Cleaning Up Research Sessions description: Safely remove intermediate files from completed research sessions while preserving important data when_to_use: After research session is complete and consolidated. When research folder has accumulated temporary files. Before archiving or sharing research session. version: 1.0.0
<!-- โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ ๆฌๆไปถไธบๅผๆบ Skill ๅๅงๆๆกฃ๏ผๆถๅฝไป ไพๅญฆไน ไธ็ ็ฉถๅ่ โ โ CoPaper.AI ๆถ้ๆด็ | https://copaper.ai โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ๆฅๆบไปๅบ: https://github.com/kthorn/research-superpower ้กน็ฎๅ็งฐ: research-superpower ๅผๆบๅ่ฎฎ: MIT License ๆถๅฝๆฅๆ: 2026-04-02
ๅฃฐๆ: ๆฌๆไปถ็ๆๅฝๅไฝ่ ๆๆใๆญคๅคๆถๅฝๆจๅจไธบ็คพไผ็งๅญฆๅฎ่ฏ็ ็ฉถ่ ๆไพ AI Agent Skills ็้ไธญๅ่ใๅฆๆไพตๆ๏ผ่ฏท่็ณปๅ ้คใ -->
Remove intermediate files created during research workflow while preserving all important data.
**Core principle:** Conservative cleanup with user confirmation. Never delete anything important.
Use this skill when:
**When NOT to use:**
**NEVER delete these (protected list):**
**Core outputs:**
**Methodology documentation:**
**Auxiliary documentation (if exists):**
**Project configuration:**
**Candidates for removal (with confirmation):**
**Intermediate search results:**
**Temporary files:**
**Log files:**
cd research-sessions/YYYY-MM-DD-description/
# List all files with sizes
find . -type f -exec ls -lh {} \; | awk '{print $5, $9}' | sort -rh**Identify files by category:**
**Show what will be deleted:**
๐งน Cleanup Analysis for: research-sessions/2025-10-11-btk-selectivity/ Files to KEEP (protected): โ SUMMARY.md (45 KB) โ relevant-papers.json (12 KB) โ papers-reviewed.json (28 KB) โ papers/ (14 PDFs, 32 MB) โ citations/citation-graph.json (5 KB) โ screening-criteria.json (2 KB) โ abstracts-cache.json (156 KB) Files that CAN be removed (intermediate): ๐๏ธ initial-search-results.json (8 KB) - Raw PubMed results ๐๏ธ .DS_Store (6 KB) - macOS metadata Total space to recover: 14 KB Proceed with cleanup? (y/n/review)
**Options:**
**Before deleting ANY file:**
1. **Verify it's not in protected list** 2. **Check file isn't referenced in SUMMARY.md** 3. **Confirm with user one more time**
**Example confirmation:**
About to delete: - initial-search-results.json (8 KB) This file contains raw PubMed search results. The data is preserved in papers-reviewed.json, so this is safe to delete. Confirm deletion? (y/n)
**Delete confirmed files:**
# Move to trash instead of rm (safer) # On macOS: mv initial-search-results.json ~/.Trash/ # On Linux: mv initial-search-results.json ~/.local/share/Trash/files/ # Or use rm if user confirms rm initial-search-results.json
**Report results:**
โ Cleanup complete! Removed: - initial-search-results.json (8 KB) - .DS_Store (6 KB) Space recovered: 14 KB Protected files preserved: - All 8 core files kept - All 14 PDFs kept - All methodology documentation kept
**After cleanup, verify critical files:**
# Check core files exist test -f SUMMARY.md && echo "โ SUMMARY.md" test -f relevant-papers.json && echo "โ relevant-papers.json" test -f papers-reviewed.json && echo "โ papers-reviewed.json" test -d papers && echo "โ papers/ directory" # Verify JSON files are valid jq empty relevant-papers.json && echo "โ relevant-papers.json valid JSON" jq empty papers-reviewed.json && echo "โ papers-reviewed.json valid JSON"
**Report to user:**
โ Integrity check passed - All core files present - All JSON files valid - All PDFs intact
**If abstracts-cache.json is very large (>100 MB):**
โ ๏ธ abstracts-cache.json is 256 MB This file enables re-screening if you update the rubric. Options: 1. Keep (recommended if you might refine rubric) 2. Compress (gzip to ~50 MB, can decompress later) 3. Delete (only if research is final and won't
## ๐ฅ ๅ่ ยท 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โฆ