switch-dataset

Switch the active dataset and record the change in history.

21|11|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/ai-analyst-lab/ai-analyst-plugin --skill switch-dataset
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: switch-dataset
Source: https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/skills/switch-dataset
Command: npx skills add https://github.com/ai-analyst-lab/ai-analyst-plugin --skill switch-dataset

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Switch the active dataset to a specified dataset.

Core Features & Use Cases

  • Validate dataset existence by consulting data_sources.yaml and performing a case-insensitive match.
  • Verify that a corresponding data brain manifest exists at <workspace>/knowledge/datasets/{name}/manifest.yaml and update the active dataset pointer.
  • Maintain a switch_history in <workspace>/knowledge/active.yaml and present a confirmation summary after switching.

Quick Start

Switch the active dataset to the named dataset you want to use.

Frequently Asked Questions about switch-dataset

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

FAQPage Schema
How do I switch the active dataset in my analytics workspace?

You can switch the active dataset by specifying the target name, which validates availability in data_sources.yaml, checks the workspace manifest, updates active.yaml, and returns a confirmation summary.

What happens when I change the dataset under analysis?

Changing the dataset under analysis triggers a case-insensitive validation against data_sources.yaml, verifies the manifest at knowledge/datasets/{name}/manifest.yaml, records the switch in history, and outputs a confirmation summary.

Does dataset switching validate if a data source exists before activating it?

Yes, dataset switching validates existence by performing a case-insensitive match against data_sources.yaml and verifying that a corresponding data brain manifest exists before updating the active dataset pointer.

How is dataset switch history tracked and recorded?

Dataset switch history is tracked by maintaining a switch_history log directly within the knowledge/active.yaml file every time the active dataset pointer is updated to a new validated target.

What do I need to switch datasets without errors?

To switch datasets without errors, you need the target dataset listed in data_sources.yaml and a valid manifest file located at knowledge/datasets/{name}/manifest.yaml within your workspace.