agent-infini
Use the InfiniSynapse CLI (`agent_infini`) for multi-turn AI data-analysis tasks, database/RAG context, and task workspace files.…
Submit recoverable SSH-direct research Runs with live progress cards and model-free monitoring, including Slurm, PBS, LSF, and Grid Engine batch jobs from a cluster login node.
Claude Code
$ npx -y skills add xuzhougeng/wisp-science --skill remote-compute-ssh --agent claude-code
Codex
$ npx skills add xuzhougeng/wisp-science --skill remote-compute-ssh -a codex -y
Cursor
$ npx skills add xuzhougeng/wisp-science --skill remote-compute-ssh -a cursor -y
Gemini CLI
$ npx skills add xuzhougeng/wisp-science --skill remote-compute-ssh -a gemini-cli -y
GitHub Copilot
$ npx skills add xuzhougeng/wisp-science --skill remote-compute-ssh -a github-copilot -y
OpenCode
$ npx skills add xuzhougeng/wisp-science --skill remote-compute-ssh -a opencode -y
Windsurf
$ npx skills add xuzhougeng/wisp-science --skill remote-compute-ssh -a windsurf -y
name: remote-compute-ssh description: Submit recoverable SSH-direct research Runs with live progress cards and model-free monitoring, including Slurm, PBS, LSF, and Grid Engine batch jobs from a cluster login node. license: Apache-2.0
Use this skill after choosing an `ssh:<alias>` execution context. Wisp owns the job lifecycle locally: `run_in_context` creates the Run record, stages explicit inputs with persisted byte progress, and starts a detached supervisor on the server. The Runs panel and SQLite record remain authoritative if the conversation ends or Wisp restarts.
When the context reports a `scheduler` or the server is a cluster login node, submit heavy work through the scheduler wrapper described in [Cluster scheduler jobs](#cluster-scheduler-jobs), not directly on the login node.
1. Use short `run_in_context` calls for read-only discovery such as `nvidia-smi -L`, `which python3`, or `module avail`. Free-form shell SSH is disabled. Use the interpreter path reported by the context probe; do not assume a `python` alias exists when the probe found `python3`. 2. Put the real command in one `run_in_context` call. Include environment activation in the command so the Run is reproducible. 3. To watch the Run or wait for later work, call `monitor_run` with the returned Run id. Wisp inserts a live card in the conversation, suspends the tool without additional model calls, and resumes the same agent turn with the terminal result. If the result has `wait_interrupted: true`, the remote process is still running: answer the user from the snapshot, then call `monitor_run` again with the same id. If it has `wait_backgrounded: true`, the user moved the Run to the background from its card: do not call `monitor_run` or `get_run` for it again, and carry on with the conversation; Wisp posts a message here when the Run ends. Do not resubmit. Use `cancel_run` only when the user asked to stop. For fire-and-forget work, report the Run id and end the turn instead. 4. Use `get_run` only for one explicit status snapshot; never call it repeatedly to wait. Use `cancel_run` when the user asks to stop.
Never monitor a Run with `Start-Sleep`, `sleep`, `ssh ... ps`, `kill -0`, a shell polling loop, `nohup`, background `&`, or hand-written PID files. Those duplicate the control plane and can strand the agent turn. A transient SSH error is stored as `last_poll_error`; do not resubmit, because Wisp retries the same idempotent remote handle.
{
"context_id": "ssh:gpu-box",
"title": "Motif enrichment across 2,000 backgrounds",
"command": "source ~/miniforge3/etc/profile.d/conda.sh && conda activate genomics && python motif_enrichment_analysis.py",
"timeout_secs": 14400,
"input_paths": ["scripts/motif_enrichment_analysis.py"]
}Then, when live monitoring is needed:
{ "run_id": "<id returned by run_in_context>" }Pass that object to `monitor_run`. The call may remain suspended for hours; it does not consume model tokens while the Run Manager watches the job. If `wait_interrupted` is true, respond from the snapshot and call `monitor_run` again with the same id; do not resubmit.
`input_paths` are project-relative local files. Wisp validates them, copies them into an isolated `inputs/` directory, and flattens them to their basenames. The command starts in that directory, so the example above can use the staged script by basename. Upload progress, throughput, and ETA appear in the Run card. For a large dataset already on the server, reference its absolute remote path in `command`; do not copy it back to the laptop just to send it out again.
A remote command or application exiting non-zero is normal exploration after a successful login. Read stderr, correct the command from the probed capabilities, and continue. Stop only when SSH rejects authentication or host trust; do not repeat a rejected login with guessed credentials or SSH options.
The control directory is `~/.wisp-science/runs/<run-id>` and the command starts in its `inputs/` subdirectory. stdout and stderr are tailed into the Run record. The SSH supervisor requires `setsid`, GNU-compatible `timeout`, `bash`, and `/proc`; a missing prerequisite fails the Run instead of running without a wall-time limit. Wisp maps the supervisor timeout marker to `timed_out`.
Declare `output_specs` with workdir-relative globs for the final products. After the Run succeeds, Wisp collects the matches on the server, checksums them, pulls them back through a persisted transfer Run, places them under the project's configured results directory, and registers each as an ArtifactVersion. The Run records `harvested_at` once registration completes; `harvest_run({"run_id":"..."})` retries a failed or interrupted harvest.
Selection is the database boundary: only spec-matched outputs are transferred and recorded. Point globs at final products (for example `Trinity.fasta`), never at intermediate trees. A non-bundle glob may match at most 500 files. For a many-file output that must be kept, set `bundle: true` so the matches (or a whole directory) arrive as one tar.gz archive registered as a single artifact:
{
"output_specs": [
{ "glob": "results/*.tsv", "kind": "table", "residency": "auto" },
{ "glob": "assembly_out", "kind": "archive", "residency": "local", "bundle": true }
]
}Files over the size caps (or `residency: "remote"`) are moved out of the run workdir into the project's persistent remote data area, registered as `ssh://` references with checksum and size, and ledgered so they stay visible in `list_remote_files`. Workspace cleanup never orphans them. Delete a ledgered persist file with `remove_remote_files` only after the user confirms they no longer need it — that marks the artifact's source discarded. Explicit `ssh://…` URIs in `output_specs` still register a remote reference without any download.
The open-source, local-first AI research workbench. WISP — Workspace for Intelligent Scientific Practice Search the literature, run Python and R, query ~80 scientific databases, and keep the trail — figures, runs, decisions, and drafts — in one project.
Use the InfiniSynapse CLI (`agent_infini`) for multi-turn AI data-analysis tasks, database/RAG context, and task workspace files.…
Organize multi-step scientific analyses into reproducible, self-contained modules. Use for workflows such as QC→PCA→DEG→GSEA that…
Use this skill to drive Wisp Browser Runtime sessions (shared daily Chrome or workspace Chrome) — open pages, read them, click,…
Set up and validate a reproducible Python or R environment on a Wisp execution context. Use for a selected local, WSL, or direct…
Use Cua Driver through MCP to inspect and operate the user's native desktop apps on Windows, macOS, or Linux. Trigger when a task…
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…