Skip to content
Back to skills

Common

ASecurity

Cross-product infrastructure skills that enable persistence, identity correlation, and database operations across all HealthSim products.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added February 8, 2026
databasessqldatabase

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add mark64oswald/healthsim-workspace --skill common --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Common?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Common
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mark64oswald-common/badge)](https://www.skillsdirectory.com/skills/mark64oswald-common)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Common Skills - Master Reference

Cross-product infrastructure skills that enable persistence, identity correlation, and database operations across all HealthSim products.

## Quick Start

```
# Save your current work
Save this cohort as "demo-patients"

# Load previous work
Load the cohort named "demo-patients"

# Find related entities
Find the member record for patient MRN-12345

# Query the database
Show me all cohorts created in the last week
```

## Core Capabilities

### State Management
Persist generated data across sessions with cohort save/load operations. Supports auto-persist for token-efficient batch generation.

**Triggers**: save, load, persist, resume, snapshot, restore
**Details**: [state-management.md](state-management.md)

### Identity Correlation
Link entities across products using SSN as the universal correlator. Track the same person as patient, member, rx member, and trial subject.

**Triggers**: find member, link patient, correlate, same person, cross-reference
**Details**: [identity-correlation.md](identity-correlation.md)

### DuckDB Operations
Direct database access for advanced queries, schema exploration, and reference data access.

**Triggers**: query, SQL, schema, database, show tables
**Details**: [duckdb-skill.md](duckdb-skill.md)

## Cross-Product Architecture

Common skills enable data flow between products:

```
┌─────────────┐    ┌─────────────┐    ┌─────────────┐
│  PatientSim │    │  MemberSim  │    │ RxMemberSim │
│   (MRN)     │    │   (MBI)     │    │  (RxID)     │
└──────┬──────┘    └──────┬──────┘    └──────┬──────┘
       │                  │                  │
       └────────┬─────────┴─────────┬────────┘
                │                   │
         ┌──────▼───────┐   ┌───────▼──────┐
         │  Identity    │   │    State     │
         │ Correlation  │   │  Management  │
         │   (SSN)      │   │  (Cohorts)   │
         └──────────────┘   └──────────────┘
                │                   │
                └─────────┬─────────┘
                          │
                   ┌──────▼──────┐
                   │   DuckDB    │
                   │  Database   │
                   └─────────────┘
```

## Database Schema

Common skills work with these core tables:

| Table | Purpose | Key Columns |
|-------|---------|-------------|
| cohorts | Saved cohort metadata | cohort_id, name, created_at |
| persons | Core person identity | person_id, ssn, demographics |
| patients | PatientSim entities | patient_id, mrn, person_id |
| members | MemberSim entities | member_id, mbi, person_id |
| rx_members | RxMemberSim entities | rx_member_id, rx_id, person_id |

## Related Skills

- [Generation Skills](../generation/SKILL.md) - Profile and journey building
- [PopulationSim](../populationsim/SKILL.md) - Reference data and population targeting
- [NetworkSim](../networksim/SKILL.md) - Provider network modeling

---

*Part of HealthSim Workspace Infrastructure*

Files in this skill

  • README.md1.8 KB
  • SKILL.md3.4 KB
  • duckdb-skill.md10.4 KB
  • identity-correlation.md7.3 KB
  • state-management.md10.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…