Skip to content
lab-roster logo

Lab Roster Generator

lab-roster

Generate comprehensive lab member rosters in both markdown and CSV formats. Analyzes member profiles, git history, and alumni information to create detailed rosters with role transitions, team assignments, and career tracking. Use when user mentions roster, team list, lab members, or updating mem...

mattnigh/skills_collection0installs24stars

SKILL.md

Full skill instructions

Lab Roster Generator

This skill generates comprehensive rosters of all lab members with detailed tracking of roles, dates, team assignments, and career progressions.

When to Use This Skill

Use this skill when the user requests:

  • "Generate the lab roster"
  • "Update the team list"
  • "Create a CSV of all lab members"
  • "Track who's been in the lab"
  • "Show me the roster with role transitions"
  • Any mention of roster, member list, or team tracking

Two Generation Modes

Mode 1: Quick Generation (Python Script)

Fast automated generation using git history analysis.

When to use: Quick updates, routine refreshes Output: lab_roster.csv

Mode 2: Comprehensive Generation (Subagent Workflow)

Careful information gathering using subagents for each member.

When to use: First-time generation, complex updates, verification needed Output: ROSTER.md + lab_roster.csv

Instructions

Step 1: Determine Mode

Ask the user which mode they prefer, or choose based on context:

  • If ROSTER.md doesn't exist or is outdated → Mode 2
  • If just need CSV update → Mode 1
  • If user wants verification → Mode 2

Step 2a: Quick Generation (Mode 1)

  1. Run the roster generation script:

    python3 .claude/​skills/​lab-roster/​scripts/​generate_roster_csv.py
    
  2. Validate output:

    • Check row count matches expected members
    • Verify currently active members
    • Show summary statistics
  3. Present results to user with summary

Step 2b: Comprehensive Generation (Mode 2)

  1. Check if ROSTER.md exists

    • If exists, read it to understand current state
    • If not, create it with field descriptions and instructions
  2. Get list of all members

    ls _members/​*.md | grep -v "friends"
    
  3. Launch subagents to gather information

    • Process members in batches of 4-5
    • Each subagent should:
      • Read member file: _members/[name].md
      • Check git history: git log --follow --format="%aI|%s" -- _members/[name].md
      • Check for role transitions in git: git show <commit>:_members/[name].md
      • Check alumni list in team/​index.md
      • Infer team from bio keywords (see reference.md)
      • Extract co-advisor from bio text
      • Extract previous and next positions
  4. Update ROSTER.md

    • Add entries in the format from templates/​roster-entry.md
    • One entry per role (create multiple entries for role transitions)
    • Only fill "Previous" field in first entry
    • Only fill "Next" field in last entry
  5. Generate CSV from ROSTER.md

    python3 .claude/​skills/​lab-roster/​scripts/​roster_md_to_csv.py
    
  6. Validate and present

    • Show summary statistics
    • Highlight any missing data
    • Ask user to review

Field Descriptions

  • name: Full name of the lab member
  • role: Short code (pi, postdoc, staff, phd, ms, ra, programmer, undergrad, highschool)
  • start_date: When they started (YYYY-MM format)
  • end_date: When they ended (YYYY-MM format, empty if still active)
  • previous_position: Position before joining lab (only in first entry)
  • next_position: Where they went after (only in last entry)
  • team: Primary team (software_engineering, phenoinformatics, virtual_biology)
  • co_advisor: Other PIs they work with

Team Inference Rules

Use these keyword mappings to infer team from bio text:

software_engineering:

  • Keywords: SLEAP, DREEM, cloud, infrastructure, plant, root, AWS, full-stack, data pipeline, software engineer, programmer, bioinformatics analyst, computer vision algorithm, pose estimation

phenoinformatics:

  • Keywords: phenotyp, behavior, ALS, Alzheimer, disease model, mice, mouse, longitudinal, space, neurodegenerative, multi-animal, tracking pipeline

virtual_biology (highest priority):

  • Keywords: VNL, virtual lab, virtual animal, embodied, neuromechanical simulation

Note: Check virtual_biology keywords first, then software_engineering, then phenoinformatics.

Co-Advisor Extraction

Look for these patterns in bio text:

  • "co-advised by [Name]"
  • "co-supervised by [Name]"
  • "jointly with [Name]"
  • "joint with [Name]"

Remove markdown links and extract just the name.

Previous/​Next Position Extraction

Previous positions - look for:

  • "Prior to joining..."
  • "previously worked at/​as..."
  • "received [degree] from..."
  • Education background

Next positions - look in team/​index.md alumni section:

  • Format: **Next:** [position]

Validation Checklist

Before presenting results:

  • All active members included
  • Role transitions properly split into multiple entries
  • Start dates seem reasonable
  • Teams assigned for most members
  • No duplicate entries
  • CSV has same data as ROSTER.md (if both exist)
  • Summary statistics make sense

Output Format

Always show:

✓ Generated roster with [N] entries
✓ Saved to: lab_roster.csv

Summary:
  Total entries: [N]
  Unique members: [N]
  Currently active: [N]
  Alumni entries: [N]
  Team distribution:
    - software_engineering: [N]
    - phenoinformatics: [N]
    - virtual_biology: [N]

Error Handling

If script fails:

  1. Check Python version (needs Python 3.6+)
  2. Verify git is available
  3. Check that _members/ directory exists
  4. Look for malformed member files

If subagents miss information:

  1. Review their search patterns
  2. Check if member files follow expected format
  3. Manually verify edge cases

Notes

  • Exclude members with role "friends"
  • Multiple role entries for same person are normal (e.g., undergrad → MS → PhD)
  • Start dates are best guesses from git history
  • Some fields may be empty - that's okay
  • ROSTER.md is human-editable - CSV regenerates from it

See Also

More skills from mattnigh

spring-framework-patterns logo
mattnigh/skills_collection

spring-framework-patterns

Comprehensive Spring Framework and Spring Boot best practices including dependency injection patterns, bean lifecycle and scopes, REST API development, Spring Data JPA, service layer design, Spring Security, testing strategies, caching, AOP, async processing, error handling, and common anti-patte...

24 0
View

TypeScript厳格モードによる型安全性設計を専門とするスキル。 📖 参照書籍: - 『Effective TypeScript』(Dan Vanderkam): 型設計 📚 リソース参照: - `resources/Level1_basics.md`: レベル1の基礎ガイド - `resources/Level2_intermediate.md`: レベル2の実務ガイド - `resources/Level3_advanced.md`: レベル3の応用ガイド - `resources/Level4_expert.md`: レベル4の専門ガイド - `resources/di...

24 0
View
deploying-cloud-k8s logo
mattnigh/skills_collection

deploying-cloud-k8s

Deploys applications to cloud Kubernetes (AKS/GKE/DOKS) with CI/CD pipelines. Use when deploying to production, setting up GitHub Actions, troubleshooting deployments. Covers build-time vs runtime vars, architecture matching, and battle-tested debugging.

24 0
View
moai-alfred-agent-guide logo
mattnigh/skills_collection

moai-alfred-agent-guide

19-agent team structure, decision trees for agent selection, Haiku vs Sonnet model selection, and agent collaboration principles. Use when deciding which sub-agent to invoke, understanding team responsibilities, or learning multi-agent orchestration.

24 0
View
mermaid-diagram-generator logo
mattnigh/skills_collection

mermaid-diagram-generator

Converts architecture descriptions, module specs, or workflow docs into Mermaid diagrams. Use when visualizing brick module relationships, workflows (DDD, investigation), or system architecture. Supports: flowcharts, sequence diagrams, class diagrams, state machines, entity relationship diagrams,...

24 0
View
pre-flight-check logo
mattnigh/skills_collection

pre-flight-check

INVOKE FIRST before any code work. Validates git workflow (branch, issue, worklog) and checks approach. Use at START of every task and END before completing. Prevents skipped steps.

24 0
View
browser-dev-tools logo
mattnigh/skills_collection

browser-dev-tools

This skill should be used when working with browser-rendered artifacts (i.e. Bun, React/React Native) to proactively validate that development work on localhost is being built appropriately and to support debugging browser-rendered content. Use this skill after making frontend changes to verify t...

24 0
View
lead-dev logo
mattnigh/skills_collection

lead-dev

Lead Développeur - Coordination technique opérationnelle, code review, mentoring et livraison. Pair de web-dev-process au niveau OPÉRATIONS.

24 0
View
worker-monitor logo
mattnigh/skills_collection

worker-monitor

Monitor Docker workers, RQ queue health, and auto-scale workers (max 4). Use when: checking job progress, monitoring queue depth, scaling workers up/down, diagnosing slow processing, or waiting for jobs to complete. Referenced by data-quality skill during reprocessing.

24 0
View
quality-advisor logo
mattnigh/skills_collection

quality-advisor

Proactive quality guidance system that monitors artifact creation and provides real-time feedback on documentation quality

24 0
View
bump-version logo
mattnigh/skills_collection

bump-version

This skill should be used when the user wants to bump the version number in the workspace. It updates versions across all pyproject.toml files (root, tde, and tda packages) and the CHANGELOG.md to keep them synchronized.

24 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View