# Data Management Plan

Draft a funder-compliant Data Management Plan (NSF DMP, NIH DMS Policy 2023, ERC...

- Repository: https://github.com/pedrohcgs/claude-code-my-workflow (1676 stars)
- Category: Writing
- License: MIT
- Last updated: 2026-09-27
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add pedrohcgs/claude-code-my-workflow --skill data-management-plan -g -a claude-code -y`
Codex: `npx skills add pedrohcgs/claude-code-my-workflow --skill data-management-plan -g -a codex -y`
Cursor: `npx skills add pedrohcgs/claude-code-my-workflow --skill data-management-plan -g -a cursor -y`
Gemini CLI: `npx skills add pedrohcgs/claude-code-my-workflow --skill data-management-plan -g -a gemini-cli -y`

## Description

Draft a funder-compliant Data Management Plan (NSF DMP, NIH DMS Policy 2023, ERC, Horizon Europe) by composing the confidential-data and environment-capture primitives. Sections cover data description, formats/metadata, storage/backup, access/sharing, preservation/archiving, and roles. Use when user says "data management plan", "DMP", "DMSP", "NIH data sharing plan", "write the data plan for my grant", or when a grant proposal needs a data-management section. NOT a submission tool, produces a draft the user pastes into the funder portal (DMPTool, NIH ASSIST, Horizon Europe portal).

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# `/data-management-plan`, Funder-Compliant DMP Generator

Produce a Data Management Plan ready to paste into a funder portal. This skill writes the prose and structure; it does **not** submit anywhere. It is a **composition** skill, it folds the disclosure-avoidance / IRB rules from [`.claude/rules/confidential-data.md`](../../rules/confidential-data.md) and the environment + replication-package plan from `/capture-environment` and `/replication-package` into a single funder-shaped document.

## When to use

- **Writing a grant proposal.** Every NSF, NIH, ERC, and Horizon Europe proposal needs a DMP (NSF), DMS Plan (NIH 2023 policy), or Data Management Plan (ERC/Horizon). `/grant-proposal` follows this skill for that section, through an Agent that reads this SKILL.md (the skill is user-invoked only, so it is followed, not invoked).
- **Before data collection on a funded project.** The plan is a commitment you make at award time and report against at renewal.
- **When restricted or human-subjects data is involved.** The access/sharing and preservation sections change materially, see Phase 2.

## When NOT to use

- For a clinical-trial data-sharing statement governed by ICMJE / ClinicalTrials.gov, use the trial sponsor's template.
- As a substitute for IRB protocol text, the DMP *references* IRB constraints; it is not the protocol itself.

## Inputs

- `$0` `--funder nsf|nih|erc|horizon`, target funder profile. If omitted, Phase 0 detects it from `--input` or asks once.
- `--input <path>`, a research spec (`/interview-me` output under `quality_reports/specs/`), a grant draft, or a `passport`-adjacent description. The skill extracts data types, sample, and identification strategy from it.
- `--no-verify`, skip the Phase 4 citation/standard post-flight (inherited from `/preregister`).

## Workflow

### Phase 0, Detect funder + data sensitivity

1. Resolve the funder (`--funder`, else infer from `--input`, else ask once). Load its section schema:

The rest: https://github.com/pedrohcgs/claude-code-my-workflow/blob/HEAD/.claude/skills/data-management-plan/SKILL.md
