Skip to content
@opensafely-actions

OpenSAFELY Actions

Reusable actions for the OpenSAFELY platform

OpenSAFELY actions

Welcome to the OpenSAFELY Actions GitHub organisation

OpenSAFELY is a secure analytics platform for electronic health records.

Within the platform, actions are logical units of analytic code. Some are scripted; a scripted action is written to solve a problem for one study. However, others are reusable; a reusable action is written to solve a problem for several studies.

This makes reusable actions ideal for tasks that must be completed by several studies, such as joining cohorts or producing deciles charts.

Here, you will find the reusable actions for the platform.

Browse reusable actions

Browse the available repositories to discover reusable actions.

Archived repositories contain deprecated actions - check the action's README before using it.

Each action has its own repository containing its code, documentation and version history.

You can also use GitHub's repository search to find an action by name.

Information about an action

Each action's GitHub repository provides information about the action.

Description

The repository's About section provides a short description, while the README contains more detailed information about the action and how to use it.

Contributors

Find contributors in the repository's Contributors section or under Insights > Contributors.

Topics

Topics are labels used to categorise repositories. You can find them in the repository's About section and click on a topic to discover other repositories with the same label.

Versions

Find available versions under Tags. Some actions also provide release notes under Releases. Use the version tag in your study's project.yaml (see Running reusable actions).

Pinned Loading

  1. cox-ipw cox-ipw Public

    cox-ipw

    R 3 2

  2. diabetes-algo diabetes-algo Public

    A diabetes type adjudication algorithm

    R

  3. kaplan-meier-function kaplan-meier-function Public

    kaplan-meier-function

    R 1

  4. matching matching Public

    Match cases to controls

    Python 9

Repositories

Showing 10 of 13 repositories
  • diabetes-algo Public

    A diabetes type adjudication algorithm

    opensafely-actions/diabetes-algo's past year of commit activity
    R 0 MIT 0 4 2 Updated Nov 20, 2026
  • .github Public
    opensafely-actions/.github's past year of commit activity
    0 0 0 0 Updated Nov 13, 2026
  • matching Public

    Match cases to controls

    opensafely-actions/matching's past year of commit activity
    Python 9 GPL-3.0 0 2 6 Updated Oct 28, 2026
  • cox-ipw Public

    cox-ipw

    opensafely-actions/cox-ipw's past year of commit activity
    R 3 MIT 2 0 0 Updated Oct 27, 2026
  • minimal-action Public

    An action to test actions

    opensafely-actions/minimal-action's past year of commit activity
    Python 0 0 0 0 Updated Sep 15, 2026
  • project-dag Public archive

    DEPRECATED: Create a visual representation of a project pipeline

    opensafely-actions/project-dag's past year of commit activity
    Python 0 MIT 0 0 0 Updated Sep 11, 2026
  • demographic-standardisation Public archive

    DEPRECATED: demographic-standardisation

    opensafely-actions/demographic-standardisation's past year of commit activity
    R 0 MIT 0 3 0 Updated Sep 11, 2026
  • deciles-charts Public archive

    DEPRECATED: Generate a line chart for each measure table in an input directory

    opensafely-actions/deciles-charts's past year of commit activity
    Python 0 0 5 0 Updated Sep 11, 2026
  • dataset-report Public archive

    DEPRECATED: Generate a report for each dataset in an input directory

    opensafely-actions/dataset-report's past year of commit activity
    Python 0 0 5 0 Updated Sep 11, 2026
  • safetab Public archive

    DEPRECATED: Output two-way tables of descriptive statistics

    opensafely-actions/safetab's past year of commit activity
    Python 0 0 3 0 Updated Sep 11, 2026