Manages files on Bohrium personal and project-share disks: list, stat, upload, download, mkdir, copy, move, delete. Handles recursive transfers and multipart resume.
Ships in bohrium-skills. 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.
Read when SKILL.md points to them.
| Goal | Route |
|---|---|
| Send/receive one disk object | Resolve space/project/path → transfer → stat/receipt verification |
| Copy or download a directory tree | List the narrow prefix → explicit recursive operation → inspect per-file outcomes |
| Recover an upload | Preserve local file and remote target → inspect uncertain outcome → resume compatible session |
bohr file upload ./input.dat share/experiment/input.dat --project-id <project_id> -o json
bohr file stat share/experiment/input.dat --project-id <project_id> -o json
bohr file download share/experiment/input.dat --project-id <project_id> --dest ./retrieved-input.dat -o json
data.remote_path, space, project_id and size. Carry the returned full remote_path and project scope into stat/download; a basename alone loses the storage route. Check remote metadata against the intended object and expected size.data.dest_path/size. Complete with the verified remote target and actual local destination; for critical content, compare bytes/checksum locally when that verification is available. Size equality alone is not content integrity.downloaded, skipped and failed; files is not the count newly transferred. Report partial delivery and failed paths rather than treating a populated directory as complete.UPLOAD_NOT_CONFIRMED, inspect the same remote object and the returned recovery hint before another write. Apply the multipart resume rules below for compatible interrupted uploads. A failed download preserves the previous complete destination; retrying is a read plus an authorized local-file write.Use canonical path prefixes:
personal/<path> addresses the current user's personal disk and requires
--project-id 0 (the default).share/<path> addresses a project share disk and requires a positive
--project-id for the owning project.Resolve a target before changing it:
bohr file list personal/ --limit 50 -o json
bohr file stat personal/results/run.log -o json
bohr file list share/project-data --project-id <project_id> -o json
list reads one page. For a complete listing, keep the same path, project and limit, and pass data.pagination.next_token to --next-token while has_more=true:
bohr file list personal/ --limit 50 --next-token "<next_token>" -o json
Stop when has_more=false or the requested item bound is met. Missing/repeated cursors with has_more=true mean incomplete coverage, not a reason to repeat the first page.
Canonical write and transfer commands are:
bohr file upload ./input.dat personal/jobs/input.dat -o json
bohr file upload ./large.tar personal/jobs/large.tar --upload-concurrency 8 -o json
bohr file upload ./large.tar personal/jobs/large.tar --upload-concurrency 8 --resume -o json
bohr file download personal/jobs/output.dat --dest ./output.dat
bohr file download personal/jobs/results/ --recursive --dest ./results
bohr file mkdir share/new-run --project-id <project_id> -o json
bohr file copy personal/a personal/b -o json
bohr file move share/old share/new --project-id <project_id> -o json
Confirm the exact local source/destination and remote path before uploads or
downloads. Copy and move affect a single object unless --recursive is
explicitly selected for a prefix.
Uploads at or above 50 MiB use 25 MiB multipart chunks. Set a bounded global
request limit with --upload-concurrency (1–16, default 5). After an
interruption, keep the same local file and remote path and add --resume; the
CLI reuses completed chunks. Progress goes to stderr, so machine stdout remains
one result envelope. The File append contract keeps one object's chunks ordered,
so its observed peak is 1 even when the configured upper bound is higher.
Smaller binary uploads restart from byte zero.
Delete is destructive. List/stat the exact target and use recursive deletion only for an intentionally selected prefix:
bohr file delete share/obsolete --project-id <project_id> --recursive --yes -o json
All current File commands are free, but writes, local overwrites, moves, and
deletion still require user intent. The disk space comes only from the
personal/ or share/ path prefix.
The current CLI does not expose decompression or server-side filename/content
search. Read references/commands.md for every
canonical command, flag, upload result field, recovery warning, path invariant,
and confirmation boundary.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/bohrium-databaseQuery Bohrium scientific databases with `bohr database`: browse polymer records, search crystal structures, or inspect and query private tabular databases by db_ak and table_ak. Use for Bohrium database, 私有数据库, polymer library, crystal structure search, table schema, or filtered row queries./bohrium-datasetCreate, list, inspect, version, download, resume, or delete Bohrium datasets with `bohr dataset`. Use for 数据集, dataset uploads, dataset IDs/version IDs, project-owned data, dataset sharing/permissions, resumable transfers, or archives. Use `bohr file` for personal/share disk objects that are not dataset versions./bohrium-imageDiscover, inspect, pull, push, build, commit, monitor, or delete Bohrium images with `bohr image`. Use for container images, 镜像管理, public/private image lookup, Docker pulls and pushes, Dockerfile builds, sandbox snapshots, build logs, image IDs, and image lifecycle states./bohrium-skills:bohrium-filefrom bohrium-skills
npx claudepluginhub dptech-corp/bohrium-skills --plugin bohrium-skillsOther plugins' skills for the same job