agent-harness-design
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
Operate GPU and remote compute across RunPod (Pods and Serverless), Massed Compute VMs, and owned or virtual remote servers through existing bridges, SSH sessions, MCP/API adapters, bounded polling, cost controls, and resumable lifecycle checks. Use when the user mentions
$ npx -y skills add AnastasiyaW/codex-claude-code-config --skill remote-compute-ops --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/remote-compute-opsContext preview
The summary Claude sees to decide when to auto-load this skill.
Operate GPU and remote compute across RunPod (Pods and Serverless), Massed Compute VMs, and owned or virtual remote servers through existing bridges, SSH sessions, MCP/API adapters, bounded polling, cost controls, and resumable lifecycle checks. Use when the user mentions
name: remote-compute-ops description: "Operate GPU and remote compute across RunPod (Pods and Serverless), Massed Compute VMs, and owned or virtual remote servers through existing bridges, SSH sessions, MCP/API adapters, bounded polling, cost controls, and resumable lifecycle checks. Use when the user mentions RunPod, Massed Compute, a remote GPU/server/VM, SSH bridge/tunnel/bastion/Tailscale, training or inference on rented compute, GPU inventory, billing, or asks to minimize API/SSH connections and avoid rate limits. Do not use for generic cloud architecture, local-only GPU work, or application code with no remote-resource operation."
Use this skill as the provider-neutral workflow for remote GPU and server work. The provider is an adapter, not the name of the skill: RunPod, Massed Compute, and an owned/virtual server must all follow the same evidence, transport, lifecycle, and handoff rules.
When auditing this skill or designing a plan offline, do not call a provider, SSH, or bridge at all; state that live mode/identity is unproven. The read-only lookup below applies only when the user explicitly asks to inspect live remote state.
Reuse the already-created bridge or live connection before opening a new one. The purpose is reliable, rate-limit-compliant operation and avoiding unnecessary authentication attempts; never disguise traffic, evade a provider limit, rotate identities, or bypass a ban.
a coordination hint, not proof that a tunnel is alive. Resolve the existing helper through `%USERPROFILE%\\.claude\\scripts\\conn_registry.py` on Windows or `$HOME/.claude/scripts/conn_registry.py` on POSIX when that file exists; if it is not discoverable, report “registry unavailable” instead of guessing a path.
route is required, allow at most one explicitly authorized health probe. Record the host alias/route, registry entry age, session owner, local PID/service or control-socket metadata when available, target identity, last probe result, and whether a probe was permitted; never record credentials.
read-only queries and reuse keep-alive connections; do not create a client or authenticate once per command.
network-free, but SSH/tunnel health is at most one attempt total per target and phase, with no SSH retry after a timeout or connection error. The API-read retry budget in [transport-safety.md](references/transport-safety.md) does not apply to that probe.
`ControlMaster`/`ControlPersist` only after the exact route has passed a health check. If multiplexing fails on the platform or bridge, do not retry it blindly: use one batched command over the known working bridge.
allowed only when the provider documents it, the connection budget allows it, and the calls cannot duplicate a mutation.
request rate. Honor `Retry-After`, use bounded exponential backoff with jitter, and record the retry budget. See [transport-safety.md](references/transport-safety.md).
Before a remote mutation, read the repository `AGENTS.md`, provider runbook, and the relevant reference. Establish:
provider API endpoint;
checkpoint path, and cost/burn boundary.
Do not infer a live state from a stale handoff, old dashboard, or a command that only proves that a process exists locally.
Use existing target metadata first. If the mode is unknown, make one read-only control-plane lookup and classify it before touching SSH:
stream. Do not try to SSH to a Serverless job.
exact bridge/host alias. Use SSH only when the target is an actual Pod and the route is already verified; never infer Pod identity from a generic job name.
MCP for account/instance state.
If the provider or mode remains ambiguous after that one lookup, stop and report the missing identity instead of opening a second kind of connection.
Prefer this order:
1. existing bridge/session health and the shared connection registry; 2. one batched remote probe for host, GPU, process, disk, and durable logs; 3. one provider client session for exact inventory, billing, target, or job state; 4. a second provider call only when the first result is incomplete or ambiguous.
For long jobs, prefer durable logs, checkpoints, job events, or a webhook over a tight status loop. If polling is the only supported observation path, use one job-specific timer with a minimum interval, a maximum deadline, a request budget, and terminal-state exit. Never poll every target independently from several agents.
Read [provider-matrix.md](references/provider-matrix.md
A practical configuration kit for Claude Code, Codex, and other coding agents. It contains architectural principles, enforcement hooks, skills, drop-in rules, starter templates, and dynamic-workflow commands.
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
Use when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue…
Практическая инженерия диффузионных моделей: архитектуры, обучение, инференс, оптимизация памяти. Использовать при любых задачах…
Expert prompt engineering for FLUX.2 [klein] image generation and editing model. Use this skill whenever the user wants to create…
Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets,…
Forensic image-to-prompt compiler for image generation models. Use this skill whenever the user wants to: convert/describe an…