/yale-research:globus-transferfrom yale-research
Copies, stages, restores, or verifies files between Globus collections (NAS, Bouchet, Wasabi, Yale Google Drive). Handles preflight checks, CLI transfers, task status, and destination verification.
Ships in yale-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Copy an exact, approved file selection between collections and establish what arrived. The owning project or domain skill defines the intended file universe and where durable custody evidence belongs. This skill creates no wrapper, timer, ledger, or receipt file by default. Loading it approves no write.
Identify the source and destination collection IDs, exact paths, selected files or directory, expected relative-path mapping, and whether the operation is an archive, stage, or restore. Do not infer paths by swapping cluster or NAS root prefixes. A directory copy can nest differently from a file copy; review its final destination layout. Globus follows a selected source symlink but silently skips links inside a recursive tree; inspect links and explicitly select any linked content the intended universe requires.
Use the saved CLI session for read-only globus ls, globus stat, and task
checks within the selected scope. On Bouchet, load the pinned Globus module in
the same Bash invocation as each direct command. If Yale reauthentication,
MFA, or collection consent is required, the researcher completes it in their terminal;
never request a code or token in chat. An unchanged write approval survives an
authentication refresh.
Discover the collection by its current name using globus endpoint search, then verify its
identity, authorized access and exact path with scoped read-only listings. For Bouchet, use the
current HA collection rather than assuming an older collection is still supported. Confirm NAS
share/project mapping and the researcher's Mac collection instead of choosing another person's
guest collection. Do not derive a destination by replacing a source cluster's filesystem prefix.
The public lab roots in hpc are configurable defaults, not proof of collection access.
Use a controller with an existing authorized CLI session; transfers run between collections and do not require installing the CLI on every cluster. Load the host's compatible Globus CLI in the same invocation as each command. If a Mac route is disconnected, the researcher opens their existing Globus Connect Personal application. Missing consent, MFA or a disconnected collection is a user-action boundary, not permission to copy tokens or bypass authentication.
For scratch-first production, hpc carries dated storage/purge guidance and quota checks. The
owning project chooses validated batches and reusable intermediates to retain. Persistent Palmer
storage is not itself an independent backup; exact final directories still need write approval.
See YCRC Globus guidance.
Yale exposes Google Workspace storage through mapped Globus collections:
Yale Google Drive (the researcher's personal Drive).Yale Google Shared Drives (lab and project Shared Drives).Discover and verify their actual public collection IDs by name with endpoint search; no account's collection inventory or unverified fixed ID is distributed here.
Use the Shared Drives collection for a lab project stored in a Shared Drive.
Globus addresses it by path, not Google Drive file or folder ID; discover the
path with read-only globus ls, beginning at the collection root. On the
current CLI, confirm the collection names and IDs when needed with
globus endpoint search 'Yale Google Drive' --limit 100 -F json; do not guess
an ID or path.
These are high-assurance mapped collections. Test access with globus ls, not
the legacy activated field in endpoint-search output: endpoint activation has
been removed, and activated: false does not establish that a collection is
unavailable. If access reports missing consent or a session policy, the researcher runs
the exact globus session consent ... or globus session update ... command
printed by the CLI and completes the browser/MFA flow. Consent granted to the
Globus web app does not necessarily grant it to the CLI. Never request or copy
the resulting code or token in chat.
Use this Globus route when a connected Google Drive uploader cannot accept a large file. The usual exact-write approval, collision preflight, encryption, checksum verification, complete destination comparison, and no-delete rules still apply.
Inventory the entire selected source universe using its existing manifest or a fresh scoped listing. Check the selected destination paths immediately before submission. The default is absent destinations and no overwrite; a collision refuses the whole selection. Account for unrelated existing destination files without deleting them. Include any parent directories the transfer will create in the reviewed destination scope.
Show the literal direct CLI action and obtain the researcher's explicit approval of its
exact source, destination, selection, and overwrite behavior before each
remote write. One approval may cover several planned actions only when each
is individually exact and its execution condition is stated. Reuse that
approval only for unchanged actions; an intake request, login, read, or a new
destination is not approval. Standalone globus mkdir, globus rename, and
metadata/access writes need the same exact approval.
Issue a direct globus transfer ... command, never a write hidden in a
wrapper, interpreter, another host, or API. Use --encrypt-data and
--verify-checksum; if required verification is unavailable, stop before
transfer. Never use Globus delete/purge or destination-deletion options,
including --delete-destination-extra; never move or rename to evade that ban.
Do not use --skip-source-errors or an exclusion that silently shrinks the
approved universe.
For an absent destination, use --sync-level exists after the collision
preflight. Treat any file skipped because it appeared meanwhile as a collision
and incomplete result, not success. A failed task may leave partial files;
inspect them before a retry. A checksum-level restart or replacement can write
existing files and needs exact approval of that scope and overwrite behavior.
Do not use size or mtime sync to restart a failed transfer.
Use a literal reviewed batch selection only when one directory transfer does
not express the intended scope. For file batch entries, put --no-recursive
on applicable lines, not at the top-level --batch command. Do not preserve
timestamps when the lab Synology NAS is the destination: that path has rejected
timestamp writes after transferring file content.
A returned task ID means submitted, not archived. Use globus task wait and
globus task show for terminal status and options,
globus task show --successful-transfers for transferred paths,
globus task show --skipped-errors for error-skipped paths, and
globus task event-list --filter-errors for faults. These views do not prove
the complete selected universe or enumerate files skipped because they already
existed. Recheck the destination against every intended mapped path and
size; that complete comparison remains authoritative. Compare the source
universe again if it could have changed during the transfer. Do not delete
destination extras or call an additive copy an exact mirror.
Checksum verification covers files actually transferred. An existing file
skipped by exists has not been content-verified by that option. For a custody
claim, demonstrate checksum equivalence of any pre-existing skipped files
separately, or report the affected files unverified. A pending/failed task,
missing or changed intended file, unresolved fault, unavailable destination
check, or ambiguous outcome is not complete custody. Re-inventory before any
retry. The owning workflow decides whether the verified selection constitutes
a complete archive; transport integrity is not scientific suitability or
permission to remove a working copy.
Report the exact source/destination, selection, task ID and terminal state, options, file/byte coverage, faults/skips, and any uncertainty. Routine stages and restores do not automatically add a permanent case file. When the copy supports an irreplaceable archive or later removal decision, promptly retain the exact request and full mapped destination comparison in the owning workflow's existing record. If a YCGA or other owner workflow prescribes its own run record and execution evidence, preserve that requirement; this transport package does not implement specialized intake or removal authority. Detailed Globus per-file task history is retained for 30 days, so do not defer capturing required evidence.
Official references: CLI transfer options, task status and history, and high-assurance sessions.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub musserlab/lab-claude-skills --plugin yale-research3 skills in this plugin
/hpcUse for Yale YCRC HPC work on Bouchet, McCleary or Misha: first-time setup or adding a cluster; coding agents on compute nodes; Positron/VS Code access; Slurm jobs, allocations, partitions and resource sizing; storage, quotas, cleanup, archival and purge policy; modules, conda, renv and Snakemake; scoped SSH or Globus transfers; and YCGA sequencing data retrieval. Includes persistent allocation guidance. Do not use for unrelated local computing.
/lux-collectionsQuery Yale Lux (the Linked Art / CIDOC-CRM federated catalog covering the Yale Peabody Museum, Art Gallery, YCBA, and Library) through the `lux` MCP server (Casey Dunn's luxmcp / luxy wrapper). Use when searching Lux; counting or listing Peabody or Yale specimens/objects; building Lux `search` filters (memberOf, classification, encounteredDate, encounteredAt, text, hasDigitalImage, isOnline); resolving type specimens, taxa, collectors, localities, dates, images, or coordinates from Lux records; interpreting Linked Art object/Place JSON; or assembling evidence about Peabody collections. Also use before trusting any Lux count or filter combination — it documents silent landmines. Do NOT load for querying EMu / Darwin Core / GBIF directly (Lux is a lossy downstream layer — this skill says when to fall back to those), or for unrelated MCP servers.