cloud-harness-mcp: Skill for Claude Code

.agents/skills/cloudharness/SKILL.md

cloudharness is a skill for Claude Code, Codex from bestagentkits/cloud-harness-mcp. It costs 86 tokens per session (2,019 once invoked), scanned A, original, MIT.

A guide for using Cloud Harness, a service that opens temporary remote coding workspaces from approved repositories. It covers inspecting and editing files, running limited commands, Git, and workspace cleanup.

In plain words
What is it for?
Use it to open, inspect, edit, test, recover, or close a remote coding workspace; manage Git and worktrees; run repository tasks; and handle retained files or project automation.
Why use it?
It explains how to work in an isolated remote environment while keeping access, secrets, commands, and workspace lifetime under defined limits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is bestagentkits/cloud-harness-mcp's own configuration. It tells Claude Code and Codex how to work on cloud-harness-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cloud-harness-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bestagentkits/cloud-harness-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bestagentkits/cloud-harness-mcp/main/.agents/skills/cloudharness/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bestagentkits/cloud-harness-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloudharness

README.md
[![agentmods](https://agentmods.dev/badge/skills/bestagentkits/cloud-harness-mcp/cloudharness.svg)](https://agentmods.dev/skills/bestagentkits/cloud-harness-mcp/cloudharness)
Your own site
<a href="https://agentmods.dev/skills/bestagentkits/cloud-harness-mcp/cloudharness"><img src="https://agentmods.dev/badge/skills/bestagentkits/cloud-harness-mcp/cloudharness.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,019 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.02019
Opus 5 $0.00043 $0.01009
Sonnet 5 $0.00017 $0.00404
Haiku 4.5 $0.00009 $0.00202

Measured 3d ago against content hash 0bb1ceb041eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

cloudharness scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/cloudharness/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cloud Harness MCP

Use Cloud Harness as a private, single-owner remote coding harness. It clones an approved repository into a TTL-limited executor and exposes bounded MCP tools. This skill guides effective and safe tool use; it does not grant credentials, host access, Docker authority, deployment authority, or permission to weaken network isolation.

Read the relevant reference

Need Read
Install the skill, connect a client, or understand trust boundaries Installation and security
Choose a tool and locate its detailed contract Tool reference index
Open, recover, inspect, or close a workspace; interpret results/errors Workspace lifecycle and results
List, read, write, patch, move, delete, grep, or search symbols Files and search
Run a command, interactive shell, coding session, or dependency task Execution and tasks
Inspect or change Git state, transfer origin refs, or use worktrees Git and worktrees
Read/run repository skills, hooks, knowledge (memories & journals), or deployments Repository automation
Snapshot, list, read, restore, or delete retained artifacts Retained artifacts

Read a reference before using an unfamiliar, destructive, networked, or recovery-sensitive operation. The references are bundled with this skill and do not require a source checkout.

Effective workflow

  1. Preflight and authorization. Confirm the target repository. Use a credential-free HTTPS repository URL. Keep networkProfile at network-none unless the owner explicitly authorizes public dependency egress via dependency-access. Workspaces automatically inherit active Global Secrets for your signed-in identity. When project-specific environment credentials are also required, provide environmentId with confirmEnvironmentInjection: true (environment secrets override global secrets on key name collision). To mount agent skills or toolkits (such as mattpocock/skills, obra/superpowers, or custom Git repos), pass toolkits: [{ kind: 'preset', id: '...' }] during workspace_open.
  2. Open and set active context. Call workspace_open with a fresh idempotency key. Preserve the returned opaque workspaceId exactly. Call workspace_set_active to establish default workspace context.
  3. Inspect capabilities early. Run workspace_capabilities before planning write actions (e.g. git_push, github_action for issues/PRs). This prevents wasting execution effort on operations unauthorized by current GitHub App grants.
  4. Inspect code with native tools. Prefer files_list, files_read, grep_search, symbols_search, and symbols_references over shell commands for code navigation. Use byte-offset limits and cursors for large files.
  5. Edit with high-precision mutations.
    • Prefer files_apply_patch for single-location changes with expectedSha256.
    • Use files_write_batch for creating or updating multiple files atomically with automatic parent directory creation.
    • On CONFLICT, re-read the target file hash and rebuild the edit.
  6. Execute deliberately and safely.
    • Use exec_run for synchronous, bounded single commands.
    • Use tasks_run with dependsOn for background builds, tests, or multi-step task graphs. Monitor progress via tasks_status or operation_wait.
    • Task records and output survive a runner restart (tasks_list / tasks_status); an interrupted task ends as RUNNER_RESTARTED. Interactive shell_* / sessions_* handles do not survive restart.
    • Use interactive shell_* or sessions_* only when terminal state is required.
    • For privileged: true commands in Cloudflare Access mode, expect PRIVILEGE_APPROVAL_REQUIRED and wait for the operator to approve the grant in the dashboard, then pass approvalGrantToken.
    • Injected secrets are available to container processes automatically; never attempt to print, echo, or exfiltrate secret values.
  7. Git workflow and finalization.
    • Inspect status and diff using git_status and git_diff.
    • Use workspace_finalize for streamlined transactional staging, preflight diff checks, committing, and pushing to origin in a single step.
    • Pass an idempotencyKey on git_commit, git_push, and workspace_finalize. On UNKNOWN_REMOTE_STATE, retry the identical request with the same key to reconcile; treat alreadyFinalized: true as success and never re-push. git_commit expectedHeadOid is a HEAD compare-and-set returning STALE_HEAD on mismatch; git_push expectedRemoteOid (force-with-lease) returns CONFLICT with current/expected remote OIDs when the remote ref has moved.
    • Use github_action for brokered issue and pull request operations.
  8. Manage lifecycle and lease. If work approaches the idle timeout, call workspace_lease_renew. If disconnected or recovering unpushed work, call workspace_recover(mode: "resume" | "status" | "patch" | "export").
  9. Clean up resources. Close opened shells and sessions, cancel unfinished tasks, and always call workspace_close upon task completion, even on failure.

Read the full file on GitHub · 141 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed 0bb1ceb041eb
  2. 8d ago First seen · 141 lines · 86 tokens per session scan A e7435a129d0c

Subscribe to this mod's changes

cloudharness is a skill published in the GitHub repository bestagentkits/cloud-harness-mcp (8 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 2,019 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

task-final-report

Apply the final report and PR publication procedure for a Hyper-Waterfall task. Write the final report (report.md), mark the daily task board complete, create the final commit, push the remote publish/task{N} branch, and create an Open PR to {BASEBRANCH}. Invoke only immediately before PR publication after all stages…

postmelee/hyper-waterfall · 74 tokens

pr-merge-cleanup

Apply cleanup after confirming a PR merge. Close the GitHub Issue, delete the remote publish/task{N} branch, clean up the local local/task{N} branch and separate worktree, and return to {BASEBRANCH}. Invoke only after the PR is actually merged.

postmelee/hyper-waterfall · 61 tokens

task-stage-report

Apply the stage completion procedure for a Hyper-Waterfall task. Write the stage report (stage{N}.md), commit stage source and report together, and run stage verification commands. Invoke after a stage completes and before entering the next stage.

postmelee/hyper-waterfall · 55 tokens

task-start

Apply the Hyper-Waterfall task start procedure. Confirm the GitHub Issue, update {BASEBRANCH}, create local/task{N}, add a daily task board row, and create the task plan template. Use before starting new code or documentation changes.

postmelee/hyper-waterfall · 53 tokens

release

Release a new version of the mumei repository. Invoke when the user gives an explicit release instruction ("release it", "/release", "patch release", "ship 0.2.0"). Takes no argument or "patch" / "minor" / "major" for a SemVer bump, or a direct version such as "0.2.0". Wraps any uncommitted changes into a single…

iroha924/mumei · 144 tokens

storozh

Advisory semantic guard over a changeset manifest before it lands in shared state. Use after a multi-repo session produces a changeset-manifest (mirabilis C1) and before the co-sign push gate — classify each unit's routing against the darwin routing-policy (C3) and NLI-check each unit against the shield corpus (claims…

AlexShchuka/neuro-matrix · 104 tokens