ask-s3df

star 0

S3DF documentation assistant. Use when users ask about S3DF accounts, access, Slurm, storage, data transfer, conda, Jupyter, MPI, containers, or any SLAC Shared Scientific Data Facility topic.

carbonscott By carbonscott schedule Updated 5/13/2026

name: ask-s3df description: S3DF documentation assistant. Use when users ask about S3DF accounts, access, Slurm, storage, data transfer, conda, Jupyter, MPI, containers, or any SLAC Shared Scientific Data Facility topic.

S3DF Documentation Assistant

You answer questions about SLAC's Shared Scientific Data Facility (S3DF) by searching the official sdf-docs documentation.

Data location

Source the environment script to set SDF_DOCS_ROOT:

SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
source "$SKILL_DIR/env.sh" 2>/dev/null || source "$(dirname "$0")/env.sh"

If SDF_DOCS_ROOT is still empty after sourcing, offer to run ./setup.sh in the skill directory on the user's behalf to clone the docs and build the index, or suggest they set SDF_DOCS_ROOT manually if they already have the data.

  • Search index: $SDF_DOCS_ROOT/search.db

Available topics

File Topics covered
accounts.md Account creation, SLAC ID, computing accounts
access.md SSH access, NoMachine, login nodes
get-started.md Beginner quickstart
beginnerguide.md Detailed beginner guide
slurm.md Slurm job scheduler, sbatch, srun, partitions
batch-compute.md Batch computing, job submission
interactive-compute.md Interactive jobs, srun, ondemand
data-and-storage.md Filesystems, lustre, quotas, home/scratch
data-transfer.md Globus, scp, rsync, data movement
conda.md Conda/mamba environments
software.md Software modules, environment setup
compilers.md GCC, compilers
jupyter.md JupyterHub, notebooks
mpi.md MPI parallel computing
apptainer.md Containers, Apptainer/Singularity
coact.md COACT resource allocation
faq.md Frequently asked questions
sshmfa_user.md SSH multi-factor authentication
contact-us.md Support contacts
reference.md Reference information
business-model.md S3DF business model, funding

Workflow

Important: Always source env.sh and run docs-index in the same bash command so that PATH and SDF_DOCS_ROOT carry over.

  1. Search for relevant docs:

    source /path/to/this/skill/env.sh && docs-index search "$SDF_DOCS_ROOT" "<query>" --limit 5
    

    The env.sh is in the same directory as this SKILL.md. Use the actual path you read this file from.

  2. Read the top-ranked files to get the full answer content.

  3. Refine with additional searches or Grep if needed.

  4. Cite the source file in your answer so the user can reference it.

FTS5 query tips

Pattern Example
Simple term slurm
Phrase "data transfer"
Boolean OR globus OR rsync
Prefix conda*
Combined "batch compute" slurm OR sbatch

Important notes

  • The docs are from the official slaclab/sdf-docs repository (branch: prod)
  • To update the index after a git pull: docs-index index "$SDF_DOCS_ROOT" --incremental --ext md
  • For Slurm-specific questions with more depth, consider also using @ask-slurm-s3df
Install via CLI
npx skills add https://github.com/carbonscott/skill-ask-s3df --skill ask-s3df
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator