managing-session-data

Manage acquisition session data across storage backends using MCP tooling.

2|1|Updated Jan 2, 2025
One-click install
npx skills add https://github.com/Sun-Lab-NBB/sl-experiment --skill managing-session-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: managing-session-data
Source: https://github.com/Sun-Lab-NBB/sl-experiment/tree/main/.claude/skills/data-management
Command: npx skills add https://github.com/Sun-Lab-NBB/sl-experiment --skill managing-session-data

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides agents through managing acquisition session data across VRPC/NAS/BioHPC backends using the MCP tooling. It standardizes preprocessing of sessions (single, by animal, by project, or all), enables safe migration of animals between projects with health checks, and enforces mandatory confirmations for irreversible deletions.

Core Features & Use Cases

  • Preprocessing: Preprocess one or many sessions across projects or animals, with workflow validation.
  • Migration: Transfer all sessions for an animal from one project to another, ensuring preprocessed data is present before migration.
  • Deletion with Safety: Delete a session only after explicit user confirmation, with propagation across storage backends and a safety prompt.

Quick Start

  1. Verify MCP servers are running using sl-get mcp for discovery and sl-manage mcp for operations.
  2. Discover sessions using Glob patterns like /root/{project}/**/session_data.yaml.
  3. Preprocess sessions with preprocess_session_tool for each discovered path.
  4. If needed, migrate an animal with migrate_animal_tool, or delete sessions with delete_session_tool after explicit confirmation.

Frequently Asked Questions about managing-session-data

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

FAQPage Schema
How do I migrate acquisition session data between VRPC, NAS, and BioHPC backends?

You can migrate acquisition session data across VRPC, NAS, and BioHPC backends using the migrate_animal_tool. It transfers all sessions for an animal to a new project after verifying preprocessed data is present.

What is the safest way to delete acquisition session data across multiple storage backends?

Deleting acquisition session data requires explicit user confirmation via a safety prompt. The delete_session_tool then propagates the irreversible deletion across all configured storage backends.

How do I preprocess multiple acquisition sessions by project or animal at once?

You can preprocess multiple acquisition sessions at once using the preprocess_session_tool. It standardizes preprocessing for single sessions, entire projects, or all sessions for a specific animal.

Do I need MCP servers running to manage and discover session data?

Yes, you need MCP servers running to manage session data. The sl-manage server handles operations while the sl-get server is used for discovery via Glob patterns targeting session_data.yaml files.

Why does session migration require health checks and preprocessed data?

Session migration requires health checks and preprocessed data to ensure data integrity across storage backends. This validation prevents transferring incomplete or corrupted acquisition sessions between projects.