datalad-configuration

Read and write DataLad/git configuration at dataset, local, or global scopes.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/bcmcpher/my-skills --skill datalad-configuration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datalad-configuration
Source: https://github.com/bcmcpher/my-skills/tree/main/plugins/datalad-cli/skills/datalad-configuration
Command: npx skills add https://github.com/bcmcpher/my-skills --skill datalad-configuration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a safe, dataset-aware wrapper around git config to read and write DataLad-related keys. It ensures changes apply to dataset, local clone, or global user scopes, avoiding manual global edits outside DataLad's rules.

Core Features & Use Cases

  • Read and write DataLad/git configuration at the dataset, local, or global scope.
  • Validate context and display the exact command before execution.
  • Support actions: get, set, and unset with guidance on committing dataset changes when using dataset scope.
  • Respect DataLad-specific keys (datalad.* and annex.*) and avoid direct git config for those.

Quick Start

Set a dataset-scoped key such as annex.backend to SHA256E.

Frequently Asked Questions about datalad-configuration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set DataLad configuration at the dataset scope instead of globally?

To set DataLad configuration at the dataset scope, this Skill applies get, set, or unset actions to dataset-scoped keys like annex.backend, ensuring changes target the dataset rather than the global user environment. It also advises committing dataset changes when using this scope.

What is the best way to manage git config keys for a DataLad dataset?

Managing git config keys for a DataLad dataset requires a dataset-aware wrapper that validates the DataLad context before execution. This Skill safely reads and writes DataLad-specific keys like datalad.* and annex.* while avoiding direct git config edits that bypass DataLad rules.

Can I change annex.backend for an individual clone without affecting the global Git configuration?

Yes, you can change annex.backend for an individual clone without affecting global Git configuration. This Skill explicitly supports clone-local scope selection, ensuring configuration changes remain isolated to the specific clone and do not alter user-level settings.

Does this Skill validate the DataLad context before modifying git config?

Yes, this Skill validates the DataLad context before modifying git config. It ensures actions follow get, set, or unset operations with explicit scope selection, and it prints the full command prior to running to maintain transparency during configuration changes.

Why should I avoid direct git config for datalad.* and annex.* keys?

You should avoid direct git config for datalad.* and annex.* keys because manual global edits can bypass DataLad rules. This Skill provides a safe wrapper that respects DataLad-specific keys and applies changes to the appropriate dataset, local, or global scope.

What scopes are available when setting DataLad configuration?

Available scopes for setting DataLad configuration include dataset-scoped, clone-local, and global user-level Git configuration. This Skill ensures explicit scope selection for actions like get, set, and unset to manage keys like annex.backend and user.name in the correct context.