adaptyv
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user…
Detect host inventory and effective CPU, memory, disk, scheduler, container, and accelerator limits when a user asks for resource-aware planning or before a clearly resource-sensitive local workload. Produces a redacted JSON snapshot and conservative planning helpers without
$ npx -y skills add K-Dense-AI/scientific-agent-skills --skill get-available-resources --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/get-available-resourcesContext preview
The summary Claude sees to decide when to auto-load this skill.
Detect host inventory and effective CPU, memory, disk, scheduler, container, and accelerator limits when a user asks for resource-aware planning or before a clearly resource-sensitive local workload. Produces a redacted JSON snapshot and conservative planning helpers without
name: get-available-resources description: Detect host inventory and effective CPU, memory, disk, scheduler, container, and accelerator limits when a user asks for resource-aware planning or before a clearly resource-sensitive local workload. Produces a redacted JSON snapshot and conservative planning helpers without stress tests or assuming visible host hardware is usable. license: MIT compatibility: Python 3.11+ on Linux, macOS, or Windows; standard library by default, optional psutil 7.2.2; accelerator and scheduler CLIs are optional read-only probes. metadata: version: "1.3" skill-author: K-Dense Inc.
Build a conservative picture of resources available to the **current process**. Keep host inventory, process affinity, cgroup/container limits, scheduler allocation, and accelerator runtime usability separate.
Follow these rules:
planning. Do not persist a fingerprint for every scientific task.
local filename.
resets, driver installation, or clock/power changes.
variables implemented by the detector.
PCI addresses, or raw visibility-variable values.
scheduler allocation or container.
The bundled detector uses only fixed executable/argument tuples, no shell, short timeouts, bounded stdout/stderr, and partial-failure warnings.
Run from this skill directory.
python scripts/detect_resources.py
The command emits only JSON to stdout. Redirect it only when ordinary shell permissions are acceptable.
python scripts/detect_resources.py --output resource-snapshot.json
Explicit output is restricted to one `.json` filename in the current directory, uses private permissions, rejects symlinks and path traversal, and refuses overwrite unless `--force` is supplied.
The standard-library detector works without installation. For broader cross-platform physical-core, affinity, available-memory, swap, and disk coverage:
uv pip install "psutil==7.2.2"
The import is lazy. Failure to import psutil becomes a warning, not a fatal error.
python scripts/detect_resources.py --skip-accelerators
Use this when accelerator discovery latency is undesirable. The detector still summarizes the presence and state of allowlisted visibility variables without returning their values.
Read these as different facts:
count.
interpretation when scope is clear.
A quota of 1.5 is CPU-time capacity, not 1.5 physical cores. Affinity and cpusets constrain placement; quota constrains bandwidth.
Keep these separate:
On Apple silicon, `memory.model` is `unified_cpu_gpu`. Do not add integrated GPU memory to RAM or describe it as separate VRAM.
Each device is a backend **candidate**:
Management-query visibility does not establish:
1. scheduler/container permission; 2. device-node access; 3. driver/runtime compatibility; 4. framework package compatibility; or 5. operator/data-type support.
Therefore `runtime_usable_devices` remains null and each device says `runtime_compatibility: not_tested`. Visibility/allocation counts are upper bounds, not guarantees.
`capacity_bytes`, filesystem `free_bytes`, user-available blocks, and a non-writing permission check are distinct. Filesystem or project quotas can still be stricter. The absolute working path is always redacted.
Slurm variables describe allocation scope, but enforcement depends on site configuration such as task affinity or cgroups. Prefer affinity and cgroup observations as enforcement evidence.
Container markers identify context; cgroup controls identify limits. A container with no finite cgroup value can still see host inventory, and a non-root cgroup is not automatically labeled a container.
See [`references/resource_semantics.md`](references/resource_semantics.md) for the detailed platform rules.
The planner consumes a validated snapshot and performs no work:
python scripts/plan_workload.py resource-snapshot.json \ --workload cpu \ --tasks 100 \ --memory-per-worker-mib 2048
Optional controls:
🔔 Claude Scientific Skills is now Scientific Agent Skills. Same skills, broader compatibility — now works with any AI agent that supports the open Agent Skills standard, not just Claude.
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user…
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection,…
Plan, execute, and document validation, verification, and transfer of analytical procedures under the governing framework - ICH Q2(R2) and Q14, USP…
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data…
Autonomously improve a real artifact (code, training recipe, agent harness, data pipeline, prompt) against an objective and an evaluator, using Hypothesis Tree…
Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk…