workflows:work
Execute research implementation plans efficiently while maintaining estimation quality and finishing features
Install / Use
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill workflows-workInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of workflows:work
workflows:work scores 85/100 on our quality scale, 1075th of 1,657 Automation skills we index.
Its SKILL.md is 15 KB long, well organised into 20 sections and no code examples: a thorough specification that gives an agent plenty to work with.
With 4,360 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 3 days ago, so workflows:work is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
workflows:work compared with similar skills
All 4 of these similar skills score higher than workflows:work; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| workflows:work (this skill)by brycewang-stanford | 85 | 4.4k | 3d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 85.6k | 11d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 73.3k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 83.9k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 4d ago | SKILL.md |
Frequently asked questions
- How do I install workflows:work?
- Run
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill "workflows:work". The install tabs above show the steps for each supported agent. - Which AI agents does workflows:work work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is workflows:work safe to use?
- It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is workflows:work still maintained?
- The repository was last updated 3 days ago, so workflows:work is actively maintained.
Skill content
View source on GitHubname: workflows:work description: Execute research implementation plans efficiently while maintaining estimation quality and finishing features argument-hint: "<plan file, estimation specification, or task description>" allowed-tools: Read, Glob, Edit, Write, Bash
Work Plan Execution Command
Pipeline mode: This command operates fully autonomously. All decisions are made automatically.
Execute a research implementation plan systematically. The focus is on shipping complete, reproducible research code by understanding requirements quickly, following existing patterns, and maintaining estimation quality throughout.
Input Document
<input_document> #$ARGUMENTS </input_document>
If no input document is provided: Look for the most recent plan in docs/plans/ and use it. If no plans exist, state "No plan found. Run /workflows:plan first." and stop.
Execution Workflow
Phase 1: Quick Start
-
Read Plan
- Read the work document completely
- Review any references, brainstorm origins, or linked code paths
- Identify the estimation method, identification strategy, and key deliverables
- Note any open questions from planning — resolve by picking the conservative default and documenting the choice
- Proceed immediately — do not wait for approval
-
Setup Environment
First, detect the project environment:
# Detect estimation language if [ -f "requirements.txt" ] || [ -f "setup.py" ] || [ -f "pyproject.toml" ]; then echo "LANG=python" elif [ -f "DESCRIPTION" ] || [ -f "renv.lock" ] || [ -f ".Rprofile" ]; then echo "LANG=R" elif [ -f "Project.toml" ]; then echo "LANG=julia" elif ls *.do >/dev/null 2>&1; then echo "LANG=stata" fi # Detect pipeline tools ls Makefile Snakefile dvc.yaml 2>/dev/nullThen check the current branch:
current_branch=$(git branch --show-current) default_branch=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@') if [ -z "$default_branch" ]; then default_branch=$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo "main" || echo "master") fiIf already on a feature branch (not the default branch):
- Continue working on it. Proceed to step 3.
If on the default branch:
Option A: Create a new branch (default)
git pull origin $default_branch git checkout -b <branch-name-from-plan>Use a meaningful name derived from the plan (e.g.,
feat/callaway-santanna-did,fix/blp-convergence).Option B: Use a worktree (for parallel estimation runs) See
references/worktree-patterns.mdif the plan involves parallel workstreams or the user has multiple active branches.Automatically choose Option A unless the plan explicitly mentions parallel workstreams.
-
Activate Research Environment
Read
compound-science.local.mdfor environment configuration. Then activate:Python:
# Activate virtual environment if [ -d ".venv" ]; then source .venv/bin/activate elif [ -d "venv" ]; then source venv/bin/activate elif command -v conda &>/dev/null; then conda activate $(basename $PWD) fi # Verify key packages python -c "import numpy, scipy, pandas; print('Core packages OK')"R:
# Check renv status Rscript -e "if (file.exists('renv.lock')) renv::status()"Verify data paths:
# Check that referenced data files exist ls data/ 2>/dev/null | head -5 -
Create Task List
- Use TodoWrite to break plan into actionable tasks
- Include dependencies between tasks
- Prioritize based on the plan's phase structure
- Include estimation-specific quality check tasks:
- Convergence verification after each estimation step
- Standard error computation and diagnostic tests
- Robustness checks specified in the plan
- Keep tasks specific and completable
Phase 2: Execute
-
Task Execution Loop
For each task in priority order:
while (tasks remain): - Mark task as in_progress in TodoWrite - Read any referenced files from the plan - Look for similar patterns in codebase - Implement following existing conventions - Write tests for new functionality - Run Estimation Quality Check (see below) - Run tests after changes - Mark task as completed in TodoWrite - Mark off the corresponding checkbox in the plan file ([ ] → [x]) - Evaluate for incremental commit (see below)Estimation Quality Check — Before marking an estimation task done:
| Check | What to verify | |-------|---------------| | Convergence | Did the optimizer converge? Check exit flag, gradient norm, iteration count. Multiple starting values yield consistent results? | | Sensible estimates | Are parameter signs correct? Magnitudes economically reasonable? No values at boundary constraints? | | Standard errors | Computed with appropriate method (robust, clustered, bootstrap)? Positive definite Hessian? No suspiciously small or large SEs? | | Diagnostics | First-stage F > 10 (if IV)? Overidentification test (if overidentified)? Hausman or specification tests where relevant? | | Numerical stability | Log-likelihood (not likelihood) used? Condition number of key matrices acceptable? No NaN/Inf in outputs? | | Reproducibility | Random seeds set? Results identical across runs? Dependencies pinned? |
When to skip: Pure data cleaning, documentation updates, or pipeline configuration changes that don't involve estimation. If the task is purely additive (new utility function, data loading), the check takes 10 seconds and the answer is "no estimation, skip."
When this matters most: Any change that touches estimation routines, moment conditions, likelihood functions, or simulation code.
IMPORTANT: Always update the original plan document by checking off completed items. Use the Edit tool to change
- [ ]to- [x]for each task you finish. -
Incremental Commits
After completing each task, evaluate whether to create an incremental commit:
| Commit when... | Don't commit when... | |----------------|---------------------| | Estimation step complete with verified convergence | Partial estimation code that won't run | | Data pipeline stage verified | Incomplete data transformation | | Tests pass + meaningful progress | Tests failing | | About to switch contexts (data work → estimation) | Purely scaffolding with no behavior | | Robustness check complete | Would need a "WIP" commit message |
Heuristic: "Can I write a commit message that describes a complete, verifiable change? If yes, commit."
Commit workflow:
# 1. Verify tests pass (use project's test command) # Examples: pytest, Rscript tests/run_tests.R, etc. # 2. Stage only files related to this logical unit git add <files related to this logical unit> # 3. Commit with conventional message git commit -m "feat(estimation): description of this unit"Note: Incremental commits use clean conventional messages. The final Phase 4 commit/PR includes full attribution.
-
Follow Existing Patterns
- The plan should reference similar code — read those files first
- Match naming conventions exactly (variable names, function signatures, file organization)
- Reuse existing estimation utilities where possible
- Follow project coding standards (see CLAUDE.md)
- When in doubt, grep for similar implementations
-
Test Continuously
- Run relevant tests after each significant change
- Don't wait until the end to test
- Fix failures immediately
- Add new tests for new functionality
- For estimation code: verify convergence AND test with known-parameter DGP if feasible
-
Track Progress
- Keep TodoWrite updated as you complete tasks
- Note any convergence issues or unexpected results
- Create new tasks if scope expands (e.g., new robustness check needed)
- Log estimation results at milestones (point estimates, standard errors, diagnostics)
Phase 3: Quality Check
-
Run Core Quality Checks
Always run before submitting:
# Run full test suite # Python: pytest # R: Rscript tests/run_tests.R or testthat::test_dir("tests") # Run linting (per CLAUDE.md) # Python: ruff check . or flake8 # R: lintr::lint_dir() -
Estimation-Specific Validation
For any work involving estimation:
- [ ] Estimation converges with sensible parameters (check all specifications)
- [ ] Standard errors computed correctly (appropriate clustering/robustness)
- [ ] Diagnostic tests run and results documented
- [ ] Multiple starting values checked (if nonlinear estimation)
- [ ] Results reproducible with fixed random seed
- [ ] No numerical warnings (NaN, overflow, singular matrices)
-
Consider Reviewer Agents (Optional)
Use for complex or risky changes. Read agents from
compound-science.local.mdfrontmatter (review_agents). If no settings file, create one following the template inworkflows-review/references/project-config.md.Run configured agents in parallel with Task tool. Address critical issues before proceeding.
Default agents for estimation work:
econometric-reviewer— identification and inference reviewnumerical-auditor— numerical stability and convergenceidentification-critic— identification argument completeness
-
Final Validation
- All TodoWrite tasks marked completed
- All tests pass
- Linting passes
- Estimation converges with sensible results
- Standard errors and diagnostics computed
- Code follows existing patterns
- Random seeds set and documented
- No console errors or warnings
Phase 4: Ship It
-
Create Commit
git add <relevant files> git status # Review what's being committed git diff --staged # Check the changes git commit -m "$(cat <<'EOF' feat(estimation): description of what and why Brief explanation if needed. Co-Authored-By: Claude <noreply@anthropic.com> EOF )" -
Create Pull Request
git push -u origin <branch-name> gh pr create --title "feat(estimation): [Description]" --body "$(cat <<'EOF' ## Summary - What was implemented - Methodological approach and key decisions - Estimation results summary (if applicable) ## Estimation Quality - Convergence: [status] - Diagnostics: [first-stage F, overid test, specification tests] - Robustness: [alternative specifications checked] ## Testing - Tests added/modified - Estimation verified with [approach] ## Reproducibility - Random seeds: [set/documented] - Pipeline: [runs end-to-end / specific steps] - Dependencies: [pinned in requirements.txt/renv.lock] ## Research Impact - Identification: [any changes to assumptions] - Estimation: [computational cost, convergence] - Robustness: [new checks added/updated] - Replication: [package changes] EOF )" -
Update Plan Status
If the input document has YAML frontmatter with a
statusfield, update it:status: active → status: completed -
Summary
- Display what was completed
- Link to PR
- Summarize estimation results if applicable
- Note any follow-up work needed (additional robustness checks, referee suggestions)
Phase 5: Handoff
Pipeline mode (when invoked from /lfg or /slfg):
- Skip the interactive menu
- Auto-invoke
/workflows:reviewon the files that were changed
Standalone mode (when invoked directly by the user):
- After the Phase 4 summary, present options:
- Proceed to review (Recommended) — Immediately run
/workflows:reviewin this s
- Proceed to review (Recommended) — Immediately run
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
85.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
73.3k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Scrapling
83.9k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
