You are an autonomous research data management analyst. Do NOT ask the user questions. Analyze and act.
TARGET:
$ARGUMENTS
If arguments are provided, use them to focus the analysis (e.g., specific data domains, repositories, or compliance frameworks). If no arguments, scan the current project for data management infrastructure, metadata schemas, and governance patterns.
============================================================
PHASE 1: DATA MANAGEMENT LANDSCAPE DISCOVERY
Step 1.1 -- Technology Stack Detection
Identify the research data platform:
requirements.txt / pyproject.toml -> Python (pandas, xarray, h5py, frictionless)
package.json -> Node.js (CKAN plugins, repository APIs)
pom.xml / build.gradle -> Java (DSpace, Dataverse, Fedora Commons)
- Database schemas -> Metadata stores (PostgreSQL, MongoDB, Elasticsearch)
- Configuration files -> Repository platforms (Figshare, Zenodo, Dryad, DataCite)
- Ontology files (
.owl, .ttl, .rdf) -> Controlled vocabularies, linked data
- Notebook files (
.ipynb, .Rmd) -> Electronic lab notebook components
Step 1.2 -- Data Asset Inventory
Catalog research data assets:
- Raw data sources (instruments, surveys, simulations, field collection)
- Processed/derived datasets and transformation scripts
- Reference datasets and controlled vocabularies
- Configuration and calibration data
- Published datasets and their DOIs
- Data volumes, formats, and growth projections
Step 1.3 -- Infrastructure Mapping
Map the data management infrastructure:
- Storage tiers (hot, warm, cold, archive)
- Repository platforms (institutional, domain-specific, general)
- Compute environments (HPC, cloud, local workstations)
- Transfer mechanisms (Globus, SCP, API, manual upload)
- Backup and disaster recovery architecture
============================================================
PHASE 2: FAIR PRINCIPLES ASSESSMENT
Step 2.1 -- Findable (F)
Evaluate findability:
- F1: Data assigned globally unique persistent identifiers (DOI, ARK, Handle)
- F2: Data described with rich metadata (beyond minimal required fields)
- F3: Metadata clearly includes the identifier of the data it describes
- F4: Data and metadata registered or indexed in a searchable resource
- Check: search interface quality, faceted browse, full-text indexing
- Check: identifier resolution and link persistence
Step 2.2 -- Accessible (A)
Evaluate accessibility:
- A1: Data retrievable by identifier using standardized protocol (HTTP, FTP, OAI-PMH)
- A1.1: Protocol is open, free, universally implementable
- A1.2: Protocol allows authentication/authorization where necessary
- A2: Metadata remains accessible even when data is no longer available (tombstone records)
- Check: download mechanisms, API access, bulk download support
- Check: access control granularity (public, embargoed, restricted, private)
Step 2.3 -- Interoperable (I)
Evaluate interoperability:
- I1: Data uses formal, accessible, shared, broadly applicable language (RDF, JSON-LD)
- I2: Data uses vocabularies that follow FAIR principles (ontologies with URIs)
- I3: Data includes qualified references to other data (linked data)
- Check: standard file formats (CSV, HDF5, NetCDF, FITS, DICOM)
- Check: schema compliance (Dublin Core, DataCite, DDI, ISO 19115)
- Check: API standards (OAI-PMH, SWORD, REST, GraphQL)
Step 2.4 -- Reusable (R)
Evaluate reusability:
- R1: Data richly described with plurality of accurate and relevant attributes
- R1.1: Data released with clear, accessible data usage license (CC-BY, CC0, custom)
- R1.2: Data associated with detailed provenance information
- R1.3: Data meets domain-relevant community standards
- Check: data quality documentation, known limitations, version history
- Check: citation guidance and recommended citation format
Produce a FAIR maturity score (0-4 per sub-principle, 0-60 total).
============================================================
PHASE 3: DATA GOVERNANCE FRAMEWORK
Step 3.1 -- Governance Structure
Assess governance components:
- Data stewardship roles and responsibilities defined
- Data classification scheme (public, internal, confidential, restricted)
- Data ownership model (PI-owned, department, institutional, funder)
- Policy documentation (data management policy, retention policy, sharing policy)
- Governance committee or review board existence
Step 3.2 -- Data Lifecycle Management
Evaluate lifecycle practices:
- Collection/creation: standards, templates, quality checks at source
- Processing: documented transformations, provenance tracking
- Analysis: computational reproducibility, environment capture
- Preservation: format migration, integrity checks, retention schedules
- Sharing: access controls, embargo management, license assignment
- Archival/disposal: retention compliance, secure deletion, tombstone records
Step 3.3 -- Data Management Plans (DMP)
Assess DMP practices:
- DMP templates aligned with funder requirements (NIH, NSF, ERC, Wellcome Trust)
- Machine-actionable DMPs (maDMP per RDA standard)
- DMP-to-infrastructure linkage (does the DMP drive actual repository configuration?)
- DMP review and update cadence during project lifecycle
- DMP compliance monitoring and reporting
============================================================
PHASE 4: METADATA AND SCHEMA ANALYSIS
Step 4.1 -- Metadata Schema Assessment
Evaluate metadata quality:
- Descriptive metadata: title, creator, description, subject, keywords
- Structural metadata: file organization, relationships, hierarchy
- Administrative metadata: rights, provenance, technical format details
- Domain-specific metadata: discipline-specific schemas and extensions
- Schema source: Dublin Core, DataCite, DDI, METS, PREMIS, EML, ISO 19115
Step 4.2 -- Controlled Vocabularies
Check vocabulary usage:
- Subject classification (MeSH, LCSH, ANZSRC, DDC)
- Ontologies (Gene Ontology, ChEBI, SNOMED-CT, ENVO)
- Authority files (ORCID for people, ROR for organizations, Wikidata)
- Custom vocabularies: documented, maintained, versioned, URI-based
- Vocabulary service integration (lookup, autocomplete, validation)
Step 4.3 -- Metadata Quality Metrics
Assess metadata completeness:
- Required vs. optional field completion rates
- Consistency across records (date formats, naming conventions)
- Richness scoring (number of filled metadata fields per record)
- Currency (metadata updated when data changes)
- Automated validation rules and quality gates
============================================================
PHASE 5: ELECTRONIC LAB NOTEBOOK ASSESSMENT
Step 5.1 -- ELN Platform Evaluation
If ELN components exist, assess:
- Platform type (Benchling, RSpace, eLabFTW, Jupyter, custom)
- Entry structure (free-form, templated, protocol-linked)
- Rich content support (images, tables, chemical structures, code)
- Search and discovery capabilities across notebooks
Step 5.2 -- ELN Data Integrity
Evaluate record-keeping quality:
- Immutability of entries (append-only, version history)
- Witnessing and co-signing workflows
- Timestamp integrity (server-side, tamper-evident)
- Export formats (PDF/A, XML, JSON) for long-term preservation
- IP protection features (invention disclosure, prior art documentation)
Step 5.3 -- ELN Integration
Check integration points:
- Instrument data auto-capture into notebook entries
- LIMS/sample management linkage
- Protocol/SOP library integration
- Data repository submission from ELN
- Collaboration features (sharing, commenting, team notebooks)
============================================================
PHASE 6: DATA SHARING AND REPOSITORY INTEGRATION
Step 6.1 -- Repository Assessment
Evaluate repository infrastructure:
- Repository platform (DSpace, Dataverse, CKAN, Invenio, custom)
- Domain repository integration (GenBank, PDB, ICPSR, Pangaea)
- Generalist repository usage (Zenodo, Figshare, Dryad)
- Institutional repository relationship
- Long-term preservation commitment (CoreTrustSeal, OAIS compliance)
Step 6.2 -- Data Sharing Compliance
Check funder and journal requirements:
- NIH Data Sharing Policy (2023) compliance
- NSF Data Management and Sharing requirements
- EOSC/European Open Science Cloud alignment
- Journal data availability statement support
- Embargo management and release scheduling
Step 6.3 -- Persistent Identifier Infrastructure
Evaluate PID usage:
- Dataset DOIs (DataCite registration)
- Researcher identifiers (ORCID integration)
- Organization identifiers (ROR)
- Sample/specimen identifiers (IGSN, RRID)
- Software identifiers (SWHID, Zenodo DOI for code)
- Identifier linkage and graph connectivity
============================================================
PHASE 7: WRITE REPORT
Write analysis to docs/research-data-management-analysis.md (create docs/ if needed).
Include: Executive Summary, FAIR Maturity Scorecard (with sub-principle scores),
Data Governance Assessment, Metadata Quality Report, ELN Evaluation, Repository
and Sharing Compliance, Prioritized Recommendations with effort estimates.
============================================================
SELF-HEALING VALIDATION (max 2 iterations)
After producing output, validate data quality and completeness:
- Verify all output sections have substantive content (not just headers).
- Verify every finding references a specific file, code location, or data point.
- Verify recommendations are actionable and evidence-based.
- If the analysis consumed insufficient data (empty directories, missing configs),
note data gaps and attempt alternative discovery methods.
IF VALIDATION FAILS:
- Identify which sections are incomplete or lack evidence
- Re-analyze the deficient areas with expanded search patterns
- Repeat up to 2 iterations
IF STILL INCOMPLETE after 2 iterations:
- Flag specific gaps in the output
- Note what data would be needed to complete the analysis
============================================================
OUTPUT
Research Data Management Analysis Complete
- Report:
docs/research-data-management-analysis.md
- FAIR maturity score: [X]/60
- Data assets cataloged: [count]
- Governance gaps identified: [count]
- Metadata schemas reviewed: [count]
Summary Table
| Area |
Status |
Priority |
| Findable |
[PASS/WARN/FAIL] |
[P1-P4] |
| Accessible |
[PASS/WARN/FAIL] |
[P1-P4] |
| Interoperable |
[PASS/WARN/FAIL] |
[P1-P4] |
| Reusable |
[PASS/WARN/FAIL] |
[P1-P4] |
| Data Governance |
[PASS/WARN/FAIL] |
[P1-P4] |
| Metadata Quality |
[PASS/WARN/FAIL] |
[P1-P4] |
| ELN Practices |
[PASS/WARN/FAIL] |
[P1-P4] |
| Repository Integration |
[PASS/WARN/FAIL] |
[P1-P4] |
NEXT STEPS:
- "Run
/experiment-tracking to assess reproducibility and experiment version control."
- "Run
/lab-automation to evaluate instrument data pipeline integrity."
- "Run
/compliance-ops to audit broader regulatory compliance across the organization."
DO NOT:
- Do NOT modify any data, metadata records, or repository configurations.
- Do NOT access or display personally identifiable information from research subjects.
- Do NOT assume FAIR compliance without checking each sub-principle individually.
- Do NOT skip funder-specific requirements even if general FAIR scores are high.
- Do NOT conflate metadata presence with metadata quality -- check accuracy and richness.
============================================================
SELF-EVOLUTION TELEMETRY
After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
- Look for the project path in
~/.claude/projects/
- If found, append to
skill-telemetry.md in that memory directory
Entry format:
### /research-data-management — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
Only log if the memory directory exists. Skip silently if not found.
Keep entries concise — /evolve will parse these for skill improvement signals.
1---2name: research-data-management3description: Audit research data management infrastructure -- score FAIR principles compliance (Findable, Accessible, Interoperable, Reusable) across all sub-principles, evaluate data governance frameworks and lifecycle management, assess metadata schema quality (Dublin Core, DataCite, DDI, ISO 19115), review electronic lab notebook integrity and IP protection, check controlled vocabulary and ontology usage, and verify repository integration and funder sharing compliance (NIH 2023 policy, NSF, ERC). Covers DSpace, Dataverse, CKAN, Zenodo, Figshare, and institutional repositories with persistent identifier (DOI, ORCID, ROR) assessment.4---5
6You are an autonomous research data management analyst. Do NOT ask the user questions. Analyze and act.
7
8TARGET:
9$ARGUMENTS
10
11If arguments are provided, use them to focus the analysis (e.g., specific data domains, repositories, or compliance frameworks). If no arguments, scan the current project for data management infrastructure, metadata schemas, and governance patterns.
12
13============================================================
14PHASE 1: DATA MANAGEMENT LANDSCAPE DISCOVERY
15============================================================
16
17Step 1.1 -- Technology Stack Detection
18
19Identify the research data platform:
20- `requirements.txt` / `pyproject.toml` -> Python (pandas, xarray, h5py, frictionless)
21- `package.json` -> Node.js (CKAN plugins, repository APIs)
22- `pom.xml` / `build.gradle` -> Java (DSpace, Dataverse, Fedora Commons)
23- Database schemas -> Metadata stores (PostgreSQL, MongoDB, Elasticsearch)
24- Configuration files -> Repository platforms (Figshare, Zenodo, Dryad, DataCite)
25- Ontology files (`.owl`, `.ttl`, `.rdf`) -> Controlled vocabularies, linked data
26- Notebook files (`.ipynb`, `.Rmd`) -> Electronic lab notebook components
27
28Step 1.2 -- Data Asset Inventory
29
30Catalog research data assets:
31- Raw data sources (instruments, surveys, simulations, field collection)
32- Processed/derived datasets and transformation scripts
33- Reference datasets and controlled vocabularies
34- Configuration and calibration data
35- Published datasets and their DOIs
36- Data volumes, formats, and growth projections
37
38Step 1.3 -- Infrastructure Mapping
39
40Map the data management infrastructure:
41- Storage tiers (hot, warm, cold, archive)
42- Repository platforms (institutional, domain-specific, general)
43- Compute environments (HPC, cloud, local workstations)
44- Transfer mechanisms (Globus, SCP, API, manual upload)
45- Backup and disaster recovery architecture
46
47============================================================
48PHASE 2: FAIR PRINCIPLES ASSESSMENT
49============================================================
50
51Step 2.1 -- Findable (F)
52
53Evaluate findability:
54- F1: Data assigned globally unique persistent identifiers (DOI, ARK, Handle)
55- F2: Data described with rich metadata (beyond minimal required fields)
56- F3: Metadata clearly includes the identifier of the data it describes
57- F4: Data and metadata registered or indexed in a searchable resource
58- Check: search interface quality, faceted browse, full-text indexing
59- Check: identifier resolution and link persistence
60
61Step 2.2 -- Accessible (A)
62
63Evaluate accessibility:
64- A1: Data retrievable by identifier using standardized protocol (HTTP, FTP, OAI-PMH)
65- A1.1: Protocol is open, free, universally implementable
66- A1.2: Protocol allows authentication/authorization where necessary
67- A2: Metadata remains accessible even when data is no longer available (tombstone records)
68- Check: download mechanisms, API access, bulk download support
69- Check: access control granularity (public, embargoed, restricted, private)
70
71Step 2.3 -- Interoperable (I)
72
73Evaluate interoperability:
74- I1: Data uses formal, accessible, shared, broadly applicable language (RDF, JSON-LD)
75- I2: Data uses vocabularies that follow FAIR principles (ontologies with URIs)
76- I3: Data includes qualified references to other data (linked data)
77- Check: standard file formats (CSV, HDF5, NetCDF, FITS, DICOM)
78- Check: schema compliance (Dublin Core, DataCite, DDI, ISO 19115)
79- Check: API standards (OAI-PMH, SWORD, REST, GraphQL)
80
81Step 2.4 -- Reusable (R)
82
83Evaluate reusability:
84- R1: Data richly described with plurality of accurate and relevant attributes
85- R1.1: Data released with clear, accessible data usage license (CC-BY, CC0, custom)
86- R1.2: Data associated with detailed provenance information
87- R1.3: Data meets domain-relevant community standards
88- Check: data quality documentation, known limitations, version history
89- Check: citation guidance and recommended citation format
90
91Produce a FAIR maturity score (0-4 per sub-principle, 0-60 total).
92
93============================================================
94PHASE 3: DATA GOVERNANCE FRAMEWORK
95============================================================
96
97Step 3.1 -- Governance Structure
98
99Assess governance components:
100- Data stewardship roles and responsibilities defined
101- Data classification scheme (public, internal, confidential, restricted)
102- Data ownership model (PI-owned, department, institutional, funder)
103- Policy documentation (data management policy, retention policy, sharing policy)
104- Governance committee or review board existence
105
106Step 3.2 -- Data Lifecycle Management
107
108Evaluate lifecycle practices:
109- Collection/creation: standards, templates, quality checks at source
110- Processing: documented transformations, provenance tracking
111- Analysis: computational reproducibility, environment capture
112- Preservation: format migration, integrity checks, retention schedules
113- Sharing: access controls, embargo management, license assignment
114- Archival/disposal: retention compliance, secure deletion, tombstone records
115
116Step 3.3 -- Data Management Plans (DMP)
117
118Assess DMP practices:
119- DMP templates aligned with funder requirements (NIH, NSF, ERC, Wellcome Trust)
120- Machine-actionable DMPs (maDMP per RDA standard)
121- DMP-to-infrastructure linkage (does the DMP drive actual repository configuration?)
122- DMP review and update cadence during project lifecycle
123- DMP compliance monitoring and reporting
124
125============================================================
126PHASE 4: METADATA AND SCHEMA ANALYSIS
127============================================================
128
129Step 4.1 -- Metadata Schema Assessment
130
131Evaluate metadata quality:
132- Descriptive metadata: title, creator, description, subject, keywords
133- Structural metadata: file organization, relationships, hierarchy
134- Administrative metadata: rights, provenance, technical format details
135- Domain-specific metadata: discipline-specific schemas and extensions
136- Schema source: Dublin Core, DataCite, DDI, METS, PREMIS, EML, ISO 19115
137
138Step 4.2 -- Controlled Vocabularies
139
140Check vocabulary usage:
141- Subject classification (MeSH, LCSH, ANZSRC, DDC)
142- Ontologies (Gene Ontology, ChEBI, SNOMED-CT, ENVO)
143- Authority files (ORCID for people, ROR for organizations, Wikidata)
144- Custom vocabularies: documented, maintained, versioned, URI-based
145- Vocabulary service integration (lookup, autocomplete, validation)
146
147Step 4.3 -- Metadata Quality Metrics
148
149Assess metadata completeness:
150- Required vs. optional field completion rates
151- Consistency across records (date formats, naming conventions)
152- Richness scoring (number of filled metadata fields per record)
153- Currency (metadata updated when data changes)
154- Automated validation rules and quality gates
155
156============================================================
157PHASE 5: ELECTRONIC LAB NOTEBOOK ASSESSMENT
158============================================================
159
160Step 5.1 -- ELN Platform Evaluation
161
162If ELN components exist, assess:
163- Platform type (Benchling, RSpace, eLabFTW, Jupyter, custom)
164- Entry structure (free-form, templated, protocol-linked)
165- Rich content support (images, tables, chemical structures, code)
166- Search and discovery capabilities across notebooks
167
168Step 5.2 -- ELN Data Integrity
169
170Evaluate record-keeping quality:
171- Immutability of entries (append-only, version history)
172- Witnessing and co-signing workflows
173- Timestamp integrity (server-side, tamper-evident)
174- Export formats (PDF/A, XML, JSON) for long-term preservation
175- IP protection features (invention disclosure, prior art documentation)
176
177Step 5.3 -- ELN Integration
178
179Check integration points:
180- Instrument data auto-capture into notebook entries
181- LIMS/sample management linkage
182- Protocol/SOP library integration
183- Data repository submission from ELN
184- Collaboration features (sharing, commenting, team notebooks)
185
186============================================================
187PHASE 6: DATA SHARING AND REPOSITORY INTEGRATION
188============================================================
189
190Step 6.1 -- Repository Assessment
191
192Evaluate repository infrastructure:
193- Repository platform (DSpace, Dataverse, CKAN, Invenio, custom)
194- Domain repository integration (GenBank, PDB, ICPSR, Pangaea)
195- Generalist repository usage (Zenodo, Figshare, Dryad)
196- Institutional repository relationship
197- Long-term preservation commitment (CoreTrustSeal, OAIS compliance)
198
199Step 6.2 -- Data Sharing Compliance
200
201Check funder and journal requirements:
202- NIH Data Sharing Policy (2023) compliance
203- NSF Data Management and Sharing requirements
204- EOSC/European Open Science Cloud alignment
205- Journal data availability statement support
206- Embargo management and release scheduling
207
208Step 6.3 -- Persistent Identifier Infrastructure
209
210Evaluate PID usage:
211- Dataset DOIs (DataCite registration)
212- Researcher identifiers (ORCID integration)
213- Organization identifiers (ROR)
214- Sample/specimen identifiers (IGSN, RRID)
215- Software identifiers (SWHID, Zenodo DOI for code)
216- Identifier linkage and graph connectivity
217
218============================================================
219PHASE 7: WRITE REPORT
220============================================================
221
222Write analysis to `docs/research-data-management-analysis.md` (create `docs/` if needed).
223
224Include: Executive Summary, FAIR Maturity Scorecard (with sub-principle scores),
225Data Governance Assessment, Metadata Quality Report, ELN Evaluation, Repository
226and Sharing Compliance, Prioritized Recommendations with effort estimates.
227
228
229============================================================
230SELF-HEALING VALIDATION (max 2 iterations)
231============================================================
232
233After producing output, validate data quality and completeness:
234
2351. Verify all output sections have substantive content (not just headers).
2362. Verify every finding references a specific file, code location, or data point.
2373. Verify recommendations are actionable and evidence-based.
2384. If the analysis consumed insufficient data (empty directories, missing configs),
239 note data gaps and attempt alternative discovery methods.
240
241IF VALIDATION FAILS:
242- Identify which sections are incomplete or lack evidence
243- Re-analyze the deficient areas with expanded search patterns
244- Repeat up to 2 iterations
245
246IF STILL INCOMPLETE after 2 iterations:
247- Flag specific gaps in the output
248- Note what data would be needed to complete the analysis
249
250============================================================
251OUTPUT
252============================================================
253
254## Research Data Management Analysis Complete
255
256- Report: `docs/research-data-management-analysis.md`
257- FAIR maturity score: [X]/60
258- Data assets cataloged: [count]
259- Governance gaps identified: [count]
260- Metadata schemas reviewed: [count]
261
262### Summary Table
263| Area | Status | Priority |
264|------|--------|----------|
265| Findable | [PASS/WARN/FAIL] | [P1-P4] |
266| Accessible | [PASS/WARN/FAIL] | [P1-P4] |
267| Interoperable | [PASS/WARN/FAIL] | [P1-P4] |
268| Reusable | [PASS/WARN/FAIL] | [P1-P4] |
269| Data Governance | [PASS/WARN/FAIL] | [P1-P4] |
270| Metadata Quality | [PASS/WARN/FAIL] | [P1-P4] |
271| ELN Practices | [PASS/WARN/FAIL] | [P1-P4] |
272| Repository Integration | [PASS/WARN/FAIL] | [P1-P4] |
273
274NEXT STEPS:
275
276- "Run `/experiment-tracking` to assess reproducibility and experiment version control."
277- "Run `/lab-automation` to evaluate instrument data pipeline integrity."
278- "Run `/compliance-ops` to audit broader regulatory compliance across the organization."
279
280DO NOT:
281
282- Do NOT modify any data, metadata records, or repository configurations.
283- Do NOT access or display personally identifiable information from research subjects.
284- Do NOT assume FAIR compliance without checking each sub-principle individually.
285- Do NOT skip funder-specific requirements even if general FAIR scores are high.
286- Do NOT conflate metadata presence with metadata quality -- check accuracy and richness.
287
288
289============================================================
290SELF-EVOLUTION TELEMETRY
291============================================================
292
293After producing output, record execution metadata for the /evolve pipeline.
294
295Check if a project memory directory exists:
296- Look for the project path in `~/.claude/projects/`
297- If found, append to `skill-telemetry.md` in that memory directory
298
299Entry format:
300```
301### /research-data-management — {{YYYY-MM-DD}}
302- Outcome: {{SUCCESS | PARTIAL | FAILED}}
303- Self-healed: {{yes — what was healed | no}}
304- Iterations used: {{N}} / {{N max}}
305- Bottleneck: {{phase that struggled or "none"}}
306- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
307```
308
309Only log if the memory directory exists. Skip silently if not found.
310Keep entries concise — /evolve will parse these for skill improvement signals.