CommunityProgramación y desarrollogithub.com

remote-compute

Use when planning, executing, monitoring or recovering remote training, fine-tuning, inference, benchmarks or computational jobs, especially on Kaggle or Google Colab. Establish data locality, authorized transfers, runtime shape, accelerator and RAM requirements, cost and execution bounds, checkpoints, artifact retrieval and verified release. H100 is prohibited. Read the full method.

¿Qué es remote-compute?

remote-compute is a Claude Code agent skill that use when planning, executing, monitoring or recovering remote training, fine-tuning, inference, benchmarks or computational jobs, especially on Kaggle or Google Colab. Establish data locality, authorized transfers, runtime shape, accelerator and RAM requirements, cost and execution bounds, checkpoints, artifact retrieval and verified release. H100 is prohibited. Read the full method.

Compatible con✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/febshhy/antigravity-engineering-kit/tree/HEAD/skills/remote-compute

Installed? Explore more Programación y desarrollo skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Remote Compute

What computation must finish, where are its inputs, and what resources may it consume? A remote runtime is a leased resource with external effects. A submitted job is not a completed job. A disconnected client is not a released runtime.

Objective → locality → scope/bounds → machine → stage → probe → run
                ↑                                        │       │
          data identity                          measure/revise   ├→ checkpoint
                                                                 └→ verify → retrieve → release

Use for remote training, fine-tuning, evaluation, batch inference, simulation and other bounded computation. Prefer existing approved infrastructure; Kaggle and Colab are supported targets, not mandatory providers. Local or CPU execution remains a valid choice. H100 is excluded from all remote jobs in this kit, including probes, automatic selection, substitutions, fallback and delegated jobs. Do not interpret upstream support as permission to use it.

Read the applicable references below in full before dependent work. Resolve paths from this SKILL.md directory. Reuse loaded context; restore missing applicable content after compaction or delegation. Missing required references block dependent work. Do not load unrelated references.

1. What may execute, and at what cost?

Before transferring data or allocating a runtime, establish the objective, source revision, input versions, expected output, correctness/quality criteria, account/provider, permitted destinations, allowed network and write effects, privacy, and the owner of execution and cleanup. Obtain actual authority for the relevant operations. A subscription, free quota, existing login, plan approval or ability to run a CLI does not itself authorize a job. Use an existing approved contract if it covers the work; do not ask again for already settled bounds.

Establish finite bounds before allocation: wall-clock allocation time (including setup, staging, waiting, evaluation, retrieval and teardown), job time, queue wait, training steps/epochs or inference sample/token count, context length/concurrency where relevant, device count and allowed models, host/device RAM, disk, transfer bytes, maximum attempts (including probes/retries/resumes), simultaneous runtimes, free quota, compute units and maximum incremental monetary spend in the relevant currency. Specify checkpoint cadence, stop triggers, and the deadline/reserve for saving and release. Use units explicitly. Bound remote side effects and external API calls too. Do not invent missing material bounds or imply a budget exists because the provider offers a free plan. Default to no new purchases, upgrades, paid fallback or top-ups. Existing prepaid units and free accelerator hours are scarce resources; their use needs an accepted limit even when incremental spend is zero.

Estimate the full job cost from current account-specific rates and representative throughput, including startup/compile, idle allocation, I/O, checkpointing, retries, storage and other service charges. Distinguish money, compute units, elapsed hours and device-hours; never assume a universal conversion or quota. Device-hours = sum of allocated devices × allocation duration; provider quota accounting may differ. Compare end-to-end cost per acceptable completed result, sample or token, not peak FLOPS or the hourly rate alone. Check quota/balance and rate before allocation and during execution when available. A cost estimate is not a spending cap. If cost or maximum exposure cannot be bounded, do not start; present the missing facts and safe alternatives. Reserve enough budget for checkpoint/retrieval and release. Use native server-side time limits and workload stop criteria; a local shell timeout is not a remote cancellation. Where a provider cannot enforce a requested hard cap, disclose the gap and obtain an acceptable bound or decline to allocate. Never evade provider quotas, idle limits, competition rules or account restrictions.

2. Where is every byte?

Identify the actual current location, owner, access rights, visibility, size, version/checksum and lifetime of each relevant object: code, dataset, split, model/tokenizer, dependencies, configuration, cache, checkpoints, evaluation logs, predictions and final artifacts. Use a small location/transfer ledger in the task context or existing job record; no mandatory separate file or schema. For each transfer name source → destination, object/version, expected bytes, purpose, mechanism, access, storage/egress cost, integrity check and retention. Record actual locations and IDs after movement. Never assume local paths, mounted Drive, network access or cached files exist in the remote environment.

local source + config → remote execution workspace (temporary)
durable input/version → read-only mount or bounded staging → compute
compute → temporary output → verified durable checkpoint/result → authorized consumer

Prefer computation near existing data. Reuse authorized provider-native mounts, versioned datasets/model stores and compatible caches; avoid downloading to local just to upload elsewhere. Stage only needed files/splits/shards. Plan compressed/expanded size, scratch space, bandwidth, transfer time, partial transfers and safe retry. Validate sizes, hashes or authoritative version IDs and schemas; verify a restored checkpoint, not just a file listing. Batch small file transfers when useful; never copy secrets or the entire repository by default. Keep data read-only unless an accepted effect requires writes. Private datasets, models, credentials and competition inputs must not cross an unauthorized account, provider, region or visibility boundary. Check licenses, consent, competition rules and egress restrictions before transfer. Use approved secret facilities; do not embed tokens in notebooks, metadata, logs, commands exposed to others or artifacts. No public publication or competition submission without specific authority.

Distinguish runtime-local scratch from durable objects. A temporary file, cache, unsaved notebook or interrupted checkpoint is not durable. Plan storage independently of runtime lifetime. Identify what may be retained remotely, retrieved locally or deleted; never delete shared/user data as routine cleanup. For substantial outputs, keep an authorized durable copy and retrieve the required subset rather than transferring everything. Report exact locations and remaining remote storage obligations.

3. Which machine fits the work?

Inspect the current provider/account entitlement, available model/count/topology, standard or high host RAM, CPU cores, disk capacity/throughput, network, runtime limits, software compatibility, precision and actual rates. Do not infer access from a catalog, CLI enum, plan name or a previous session. Do not use H100 even when listed, available or free. Select an explicit permitted accelerator; reject generic GPU auto-selection or automatic replacement if it could allocate H100. If a provider cannot exclude it, use CPU or a different approved configuration; stop if an unexpected allocation appears, perform no workload on it, release it promptly and account for any cost. No silent fallback to a more expensive or different configuration. An existing session is not automatically suitable or owned by this job.

For machine selection, capacity diagnosis, or any accelerator/high-RAM allocation, read hardware selection before choosing or allocating. Keep CPU as an option; distinguish host RAM, device memory and disk. High RAM does not increase VRAM/HBM. Never allocate an accelerator merely for preparation. Use a representative bounded pilot only when needed; choose the least costly compatible machine meeting the accepted criteria.

4. How is the provider operated?

Prefer official native tooling already available, its installed help and official documentation/skills. No custom scheduler, persistent service, unofficial browser automation, credential scraper or additional extension is required. Check installed versions; use human login/consent when required. Do not install tools, grant OAuth scopes, mount storage or start a session without authority. Inspect command semantics before executing, especially commands that combine upload, provisioning and execution. Validate current runtime, policy and account settings immediately before any costly action. No H100, including defaults and fallback.

For any Kaggle job, read Kaggle operations before provider-specific planning, transfer, submission, monitoring or cleanup. For any Colab job, read Colab operations at the same boundary. If moving between them, read both. For other approved providers, apply the same core rules and inspect their native controls. No automatic or paid fallback, no H100, and no allocation without verified cancellation/finite bounds.

5. What is running, and can it recover?

One accountable coordinator owns remote allocations, aggregate budgets, submissions, monitoring and release. Delegation carries the explicit resource/data/permission bounds, including H100 prohibition; no child starts additional jobs or transfers outside them. Check effective permissions and provider account. Identify each owned job/session by provider, account, version/ID and actual configuration. Avoid unbounded concurrency; retain the project's one-at-a-time E2E rule where relevant. A GPU workload is not inherently an E2E test.

Before expensive work, verify staged data, source revision, environment, allowed device shape, available memory/disk, output path, evaluation split, effect permissions and stop mechanism. Use small representative conformance/smoke/property checks under existing test policy. No new unit tests. Keep training and evaluation separate; avoid leakage from fitting preprocessing on evaluation data. Use inference/evaluation mode and disable gradients where the framework and task warrant; verify quality when changing precision, quantization or batch semantics. Define deterministic inputs/seeds where practical; acknowledge hardware/runtime nondeterminism. Use existing accepted model/metric criteria; do not move thresholds to claim success.

Monitor queue and run state, elapsed allocation time, remaining balance/bounds, samples/steps completed, throughput, errors, host/device memory, utilization, disk, checkpoint status, loss and evaluation metrics as relevant. Limit log size and polling frequency; avoid exposing sensitive data. On low utilization inspect loader, storage, CPU, synchronization and compilation before upgrading. Detect stalled or diverging work, non-finite values, unexpected writes, approaching limits or changed hardware. Stop on contract conflict, no progress beyond accepted threshold, unsafe effects, deadline or exhausted budget. Preserve enough time to save/release. If the monitoring client disconnects, reconcile actual provider state before any resubmission. An agent timeout does not prove a job ended.

Checkpoint at meaningful bounded intervals when interruption would lose costly work. Include model, optimizer/scheduler, scaler, step/epoch, relevant RNG and data cursor/split, config, code/data identity and framework versions as applicable. Use safe atomic/versioned writes and validate restoration. Keep bounded retention; never overwrite the only known-good checkpoint. For batch inference, use stable input IDs and durable shard completion markers; reconcile coverage, duplicates and failures before retrying incomplete work. Avoid untrusted executable serialization. Resume only from compatible verified state and within remaining aggregate budget. Investigate failures with Troubleshoot; no blind retry, full rerun, larger hardware or dependency reinstall. Do not keep paid resources idle during human decisions; checkpoint and release when safe, then seek new authority if necessary.

6. What came back, and what has stopped?

Verify provider terminal state and run identity. Retrieve required artifacts from the correct run/version or confirm authorized durable location. Check completeness, integrity, readability, metrics and accepted correctness/quality criteria; distinguish partial results, stale outputs and failed/not-run checks. Record code, input, environment, hardware, precision, parameters and checkpoint identity sufficient for replay; record actual cost/units/quota consumed or explicit unknown, elapsed allocation, attempts, transfer bytes and relevant resource peaks. Never label an estimated bill as an actual charge. No automatic publication, production deployment or competition submission.

Release only job-owned resources, even on failure/cancellation. Use native stop/unassign/delete-runtime actions as appropriate; confirm provider state and that allocation is no longer active. Verify queued jobs and detached descendants too. If cancellation or verification fails, explicitly report the outstanding ID, possible ongoing charges, last known state, remaining provider-enforced bound and human action needed. Do not claim cleanup succeeded from a local exit code. Do not erase durable outputs, shared datasets or unrelated sessions. Preserve needed results and record remaining storage/retention costs. No session is left active by default; a deliberate handoff requires explicit owner, deadline and budget.

Provider options and tool semantics reviewed 2026-11-29; account availability, actual limits, prices and runtime behavior must be checked at execution. These references are not package dependencies. The local kit's H100 exclusion and authorization/budget rules take precedence over upstream examples.

Locate the data. Bound the cost. Select the machine. Preserve progress. Verify the result. Release the resources.

Waiting and monitoring

Apply the constitution’s Wait economically policy. Use native completion or runner-side waiting first; otherwise pace model-mediated checks at 5, 10 and 15 minutes on unchanged state (15–30 minutes for long CI/compute after startup validation). Never delay required safety or resource checks. Collect only new evidence, and stop on the agreed deadline or repeated ineffective waits. Verify completion, cancellation and resource release separately.

Skills relacionados