Agent skill

Data Management Plan

by pedrohcgs in pedrohcgs/claude-code-my-workflow

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.

MITAuto-check passedResearch & Science

Install Data Management Plan

skills CLI
$ npx skills add pedrohcgs/claude-code-my-workflow --skill data-management-plan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pedrohcgs/claude-code-my-workflow data-management-plan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/data-management-plan .claude/skills/data-management-plan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
data-management-plan
GitHub stars
1.7k
Token cost
~2.7k tokens
SKILL.md length
1,166 words
Files
1
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 6 steps: Detect funder + data sensitivity → Scaffold sections from the funder profile → Fold in disclosure-avoidance + IRB… → …
  • User says data management plan
  • SKILL.md covers When to use, When NOT to use, Inputs and Workflow, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Data Management Plan is an agent skill from pedrohcgs/claude-code-my-workflow. 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…

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Grant writing, Messaging and chat bots and Econometrics and empirical research. The repository describes itself as: A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. Multi-agent review, quality gates, adversarial QA, and replication protocols. The licence is MIT.

When your agent uses it

  • User says data management plan
  • NIH data sharing plan
  • Write the data plan for my grant
  • A grant proposal needs a data-management section

Example prompts

  • “data management plan”
  • “NIH data sharing plan”
  • “write the data plan for my grant”
  • “/data-management-plan”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Write, Agent, Task

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Detect funder + data sensitivity
  2. Scaffold sections from the funder profile
  3. Fold in disclosure-avoidance + IRB constraints (only if sensitive = true)
  4. Fold in the computational-environment + replication-package plan
  5. Post-flight (skip with --no-verify)
  6. Output

What it can do on your machine

Read from SKILL.md and the folder at commit ae72617. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Write
    • Agent
    • Task

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Data Management Plan loads about 2.7k tokens when it runs. Until then it costs about 153 tokens; SKILL.md has 1,166 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~153
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pedrohcgs/claude-code-my-workflow at commit ae72617, republished under its MIT licence (© pedrohcgs). 1,166 words, ~2,701 tokens.

Download SKILL.mdSave it as .claude/skills/data-management-plan/SKILL.md (or your agent's skills folder).
name
data-management-plan
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).
allowed-tools
Read, Grep, Glob, Write, Agent, Task
argument-hint
[--funder nsf|nih|erc|horizon] [--input <spec-or-proposal>] [--no-verify]
disable-model-invocation
true
effort
medium

/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 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:

    FunderPlan nameRequired sections (abridged)
    NSFData Management Plan (2 pp max)data types · standards · access/sharing · re-use/redistribution · archiving
    NIHDMS Plan (2023 policy)data type · tools/software · standards · preservation/access/timelines · access/distribution + reuse · oversight
    ERCDMP (Horizon Europe Annex)FAIR per dataset · data summary · making data FAIR · resource allocation · security · ethics
    Horizon EuropeDMP (DMP template)same FAIR-first structure as ERC; open by default, "as open as possible, as closed as necessary"
  2. Classify the data on three axes (drives Phases 2–3):

    • Public (open survey, scraped public records, simulated) — minimal restrictions.
    • Restricted (admin/tax/Census, proprietary, licensed under DUA) — access procedures dominate.
    • Human-subjects (PII, biospecimen-linked, survey with identifiers) — IRB + disclosure avoidance dominate.

    If the data is restricted or human-subjects, set sensitive = true and run Phase 2. If it is purely public, Phase 2 is a short paragraph.

Phase 1 — Scaffold sections from the funder profile

Generate the six house sections, mapped onto the funder's required headings:

  1. Data description & types — what data, source, volume, formats produced. Be specific: panel/admin microdata, RCT outcomes, event-study event files, replication intermediate .rds/.dta/.parquet.
  2. Formats & metadata standards — open/non-proprietary formats where possible (.csv/.parquet over .dta; codebooks; DDI / Dublin Core / domain schema). Name the standard, don't say "appropriate metadata".
  3. Storage & backup — during the project: encrypted institutional storage, 3-2-1 backup, version control for code (not raw restricted data in git).
  4. Access & sharing — who can access, when, under what terms. For restricted data this is the restricted-data access procedure (see Phase 2).
  5. Preservation & archiving — a named repository with a persistent identifier (see Phase 3).
  6. Roles & responsibilities — PI as data steward, data manager, institutional support, succession plan.

For any required field the input does not supply, write [CLARIFY: <specific question>] rather than fabricating — same convention as /preregister.

Phase 2 — Fold in disclosure-avoidance + IRB constraints (only if sensitive = true)

Pull the relevant rules from .claude/rules/confidential-data.md and weave them into the access & sharing and preservation sections:

  • Restricted data → describe the access path, not the data. State the data provider, the DUA/restricted-use agreement, and how a replicator obtains access (e.g., FSRDC application, openICPSR restricted-access tier, provider application). The data itself is not deposited; the path to it is.
  • Human-subjects → IRB + minimization. Reference the IRB protocol number (or [CLARIFY:]), the consent terms governing sharing, and the de-identification plan. Shared outputs are de-identified per the consent.
  • Disclosure avoidance for any released microdata or tables. Name the technique: suppression of small cells (n < threshold), rounding, top-coding, noise infusion, or aggregation. For tabular output, state the minimum cell-count rule. Defer the actual pre-release scan to /disclosure-check, and say so in the plan ("released outputs pass /disclosure-check before deposit").
Show full SKILL.md (473 more words)Show less
Phase 3 — Fold in the computational-environment + replication-package plan

The DMP should commit to reproducibility, not just data deposit:

  • Environment capture. State that the computational environment will be captured (R sessionInfo() / renv.lock, Stata version + .do ado dependencies, Python requirements.txt / container). Point to /capture-environment as the mechanism. AEA Data Editor / DCAS standards expect this.
  • Replication package. Commit to depositing a replication package (code + non-restricted data + a master run script + README) in a trusted repository. Point to /replication-package as the builder.
  • Repository choice — match the data class:
    • Economics / social science → openICPSR (AEA's home; DCAS-compliant) or Harvard Dataverse.
    • Restricted data → openICPSR restricted-access tier or the provider's enclave (FSRDC); deposit code + metadata, not the microdata.
    • Domain repos → field-specific (e.g., ICPSR proper, GenBank, Zenodo for code) where the funder or community expects them.
  • State the persistent identifier (DOI) and the timeline (e.g., "at publication" or "within 12 months of project end" — NIH expects no later than publication or award end).
Phase 4 — Post-flight (skip with --no-verify)

If the draft cites a funder policy or standard by name/number (e.g., "per NIH NOT-OD-21-013", "DCAS v1"), invoke /verify-claims via the Agent tool to confirm the policy citation resolves. Forked claim-verifier never sees the draft. Surface any FAIL/PARTIAL.

Phase 5 — Output

Write the draft to quality_reports/dmp/YYYY-MM-DD_<funder>_<slug>.md and a funder checklist alongside it.

✓ DMP draft saved: quality_reports/dmp/<file>.md
  Funder: <nsf|nih|erc|horizon>   Data class: <public|restricted|human-subjects>
  Sections: <count> total — <complete> complete, <clarify> with [CLARIFY:] placeholders
  Disclosure/IRB folded in: <yes (Phase 2) | n/a — public data>
  Repository: <openICPSR | Dataverse | domain repo>   PID: <DOI planned | [CLARIFY:]>
  Policy citations verified: <PASS>/<PARTIAL>/<FAIL>  (or "none to verify")
  Next: resolve [CLARIFY:] items, then paste into <DMPTool | NIH ASSIST | Horizon portal>

The funder checklist is a table: each required section → present? → complete / [CLARIFY:], so the user sees at a glance whether the plan will pass the funder's compliance check.

Exit behavior

  • All required sections present, zero [CLARIFY:] → "DMP READY", checklist all green.
  • Any required section unresolved → "INCOMPLETE — N MUST items unresolved", listed in the checklist. The draft is still written (so the user can fill it in), but not marked ready.
  • This skill does not block anything — it produces a document. The gate is the funder's, not ours.

Cross-references

  • .claude/rules/confidential-data.md — restricted-data / IRB / disclosure-avoidance rules folded in at Phase 2.
  • .claude/skills/disclosure-check/SKILL.md — pre-release disclosure scan the plan commits released outputs to.
  • .claude/skills/capture-environment/SKILL.md — the environment-capture mechanism Phase 3 references.
  • .claude/skills/replication-package/SKILL.md — the replication-package builder Phase 3 commits to.
  • .claude/skills/grant-proposal/SKILL.md — follows this skill (via an Agent that reads this SKILL.md) for the proposal's data-management section.
  • .claude/skills/preregister/SKILL.md — sibling document-generator; shares the MUST/[CLARIFY:] + post-flight conventions.
  • .claude/rules/replication-protocol.md — the reproducibility contract the deposited package must satisfy.

What this skill does NOT do

  • Submit the plan. It writes a Markdown draft; the user pastes it into DMPTool / NIH ASSIST / the Horizon portal.
  • Run the disclosure scan or build the package. It commits the project to /disclosure-check, /capture-environment, and /replication-package, and references them — it does not execute them.
  • Write the IRB protocol. It references the protocol number and consent terms; the protocol is authored separately.
  • Choose a repository for you when the funder mandates one. If NIH names a domain repository for your data type, that mandate wins over the defaults in Phase 3 — the skill flags it as [CLARIFY:] rather than guessing.

© pedrohcgs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/data-management-plan of pedrohcgs/claude-code-my-workflow.

Open the folder on GitHubat commit ae72617

Compare with similar skills

Data Management Plan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Data Management Plan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Data Management Plan this skillpedrohcgs/claude-code-my-workflow1.7k—~2.7kAutomated safety check: PassMIT
Scientific Venue Templatesdavila7/claude-code-templates33k9 repos~5.1kAutomated safety check: NotesMIT
Academic HumanizerAIScientists-Dev/academic-humanizer1.9k1 repos~4.2kAutomated safety check: PassMIT
NSFC Literature Review WriterHuiyuLi-2000/Chinese-Grant-Writer-Skills4391 repos~1.4kAutomated safety check: NotesMIT
NSFC Grant Rationale Writerhuangwb8/ChineseResearchLaTeX2.9k—~945Automated safety check: PassMIT
Statadylantmoore/stata-skill2911 repos~4.2kAutomated safety check: PassCustom licence

Similar skills

  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    33k GitHub starsUsed in 9 repos~5.1k tokens
    Research & ScienceAuto-check: notes
  • Academic Humanizer

    AIScientists-Dev/academic-humanizer

    Improve the clarity and voice of AI-assisted academic writing (papers, theses, rebuttals) and funding proposals (NSF Project Summary/Description, NIH Specific Aims): preserve scholarly conventions…

    1.9k GitHub starsUsed in 1 repo~4.2k tokens
    Research & ScienceAuto-check passed
  • NSFC Literature Review Writer

    HuiyuLi-2000/Chinese-Grant-Writer-Skills

    Writes the research-status literature review and critique section of an NSFC grant proposal, backed by a bundled multi-source literature search.

    439 GitHub starsUsed in 1 repo~1.4k tokens
    Research & ScienceAuto-check: notes
  • NSFC Grant Rationale Writer

    huangwb8/ChineseResearchLaTeX

    Writes, restructures, reviews and polishes the rationale section of NSFC research grant applications in LaTeX, with backups and a diff before every write.

    2.9k GitHub stars~945 tokensUpdated 6 days ago
    Research & ScienceAuto-check passed
  • Stata

    dylantmoore/stata-skill

    Comprehensive Stata reference for writing correct .do files, data management, econometrics, causal inference, graphics, Mata programming, and 20 community packages (reghdfe, estout, did, rdrobust…

    291 GitHub starsUsed in 1 repo~4.2k tokens
    Research & ScienceAuto-check passed
  • NSFC Abstract Writer

    huangwb8/ChineseResearchLaTeX

    Writes Chinese and English abstracts for NSFC grant applications, with a recommended title and five alternatives, within set character limits.

    2.9k GitHub starsUsed in 1 repo~1.3k tokens
    Research & ScienceAuto-check passed

More from pedrohcgs/claude-code-my-workflow

All 59 skills in this repo
  • Devils Advocate

    pedrohcgs/claude-code-my-workflow

    Adversarial 5-7 question challenge to a deck's pedagogical choices — ordering, prerequisites, cognitive load, motivation.

    1.7k GitHub starsUsed in 2 repos~641 tokens
    Auto-check passed
  • Vaccinate

    pedrohcgs/claude-code-my-workflow

    Qualify a check before it is allowed to clear anything — prove it can detect the failure it is meant to catch.

    1.7k GitHub stars~2.1k tokensUpdated 12 days ago
    Auto-check: notes
  • Compile Latex

    pedrohcgs/claude-code-my-workflow

    Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex).

    1.7k GitHub starsUsed in 1 repo~492 tokens
    Auto-check: notes
  • Context Status

    pedrohcgs/claude-code-my-workflow

    Show current context status and session health. An agent skill from pedrohcgs/claude-code-my-workflow.

    1.7k GitHub starsUsed in 1 repo~613 tokens
    Auto-check: notes
  • Capture Environment

    pedrohcgs/claude-code-my-workflow

    Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt /…

    1.7k GitHub stars~2.8k tokensUpdated 12 days ago
    Auto-check: notes
  • Checkpoint

    pedrohcgs/claude-code-my-workflow

    Save a structured state snapshot before stopping or handing off.

    1.7k GitHub stars~2.8k tokensUpdated 12 days ago
    Auto-check: notes

Questions about Data Management Plan

What does Data Management Plan do?

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. Data Management Plan is an agent skill from pedrohcgs/claude-code-my-workflow. 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.

When should I use Data Management Plan?

Data Management Plan fits situations like: user says data management plan; NIH data sharing plan; write the data plan for my grant; A grant proposal needs a data-management section.

How do I install Data Management Plan in Claude Code?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill data-management-plan -a claude-code`. Or copy the skill folder (.claude/skills/data-management-plan in pedrohcgs/claude-code-my-workflow) into .claude/skills/data-management-plan in your project. Claude Code loads it when a task matches its description.

How do I install Data Management Plan in Codex?

Run `npx skills add pedrohcgs/claude-code-my-workflow --skill data-management-plan -a codex`. Or copy the skill folder (.claude/skills/data-management-plan in pedrohcgs/claude-code-my-workflow) into .agents/skills/data-management-plan in your project. Codex loads it when a task matches its description.

Can I use Data Management Plan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pedrohcgs/claude-code-my-workflow --skill data-management-plan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/data-management-plan, .gemini/skills/data-management-plan, .github/skills/data-management-plan and .opencode/skills/data-management-plan in your project.

What does Data Management Plan need to run?

SKILL.md names no scripts, command-line tools or credentials: Data Management Plan is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Grep, Glob, Write, Agent, Task.

Does Data Management Plan access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Data Management Plan safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Data Management Plan use?

Data Management Plan is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Data Management Plan use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Data Management Plan?

Skills that share tags, products or a category with Data Management Plan: Scientific Venue Templates (davila7/claude-code-templates, 33k stars), Academic Humanizer (AIScientists-Dev/academic-humanizer, 1.9k stars), NSFC Literature Review Writer (HuiyuLi-2000/Chinese-Grant-Writer-Skills, 439 stars) and NSFC Grant Rationale Writer (huangwb8/ChineseResearchLaTeX, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Data Management Plan?

pedrohcgs (a GitHub user) maintains it in pedrohcgs/claude-code-my-workflow, which has 1,655 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on September 27, 2026.

Source: pedrohcgs/claude-code-my-workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.