Datalad status

From nipreps/skills-comm · View interactive version

Datalad status is an AI agent skill from the GitHub repository nipreps/skills-comm. Auto-invoke inside a DataLad dataset (.datalad/ present) when the user asks what has changed, what is modified, what files are untracked, or what the current dataset state is. Trigger on "what changed", "check state", "show modified", "what's untracked", "dataset status", or /datalad-status. Read-on

How to use this skill

Skill file

Skill: datalad-status

Inspect the current state of a DataLad dataset — what files are modified, untracked,

added, or deleted — without making any changes.

Steps

  1. Verify DataLad context — check for .datalad/ in the current directory or any

parent:

```bash

ls .datalad/ 2>/dev/null || git rev-parse --show-toplevel

```

  1. Run datalad status — optionally scoped to paths from $ARGUMENTS:

```bash

datalad status [paths...]

```

Present the full output to the user. Additional flags to mention if relevant:

for each annexed file; useful for understanding data availability

with many untracked directories that would otherwise clutter the output)

  1. Interpret the status symbols — explain each symbol present in the output:

| Symbol | Meaning |

|--------|---------|

| modified | Content changed since last save |

| untracked | File exists on disk but is not recorded in the dataset |

| deleted | File was tracked but is now missing from disk |

| added | New file staged but not yet saved |

| clean | No changes — working tree matches the last commit |

For annexed files, also explain:

  1. Suggest next actions — based on what was found:

Constraints

without interpretation.

DataLad status correctly handles annexed files that git would misreport.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.