Agent Skill: cloudharness
The cloudharness skill teaches AI coding agents how to autonomously navigate workspaces, execute tests, manage worktrees, and run tasks within Cloud Harness MCP.
Installation
# Skills CLI (recommended)
npx skills add bestagentkits/cloud-harness-mcp --skill cloudharness --global
# Claude Code Plugin
claude plugin install cloud-harness@bestagentkits
# OpenAI Codex Plugin
codex plugin add cloud-harness@bestagentkitsCapabilities Taught to the Agent
- Safe Lifecycle: Always keeping the
workspaceId, closing stale shells before exit. - Incremental Navigation: Using
files_listpagination andgrep_searchrather than recursive host dumping. - Atomic File Edits: Applying targeted patches with
files_apply_patchinstead of rewriting massive files. - Clean Git Handoffs: Verifying commit status before calling
git_push. - Native Pull Request Reviews: Submitting
COMMENT,APPROVE, orREQUEST_CHANGESreviews, inline file/line comments, thread replies and resolution, reviewer requests, draft/ready changes, and merges throughgithub_action.
Example: Agent-Driven Pull Request Review
github_action covers the whole review lifecycle on the repository bound to a workspace. Mutations accept an idempotencyKey, so a retried call replays the first result instead of posting twice.
github_read pr_view { "prNumber": 42 }
github_read pr_review_threads { "prNumber": 42 }
github_action pr_review_comment { "prNumber": 42, "path": "src/api.ts", "line": 18, "body": "Validate this input." }
github_action pr_review { "prNumber": 42, "event": "REQUEST_CHANGES", "body": "See inline comments." }
... the author pushes fixes ...
github_read pr_view { "prNumber": 42 }
github_action pr_review_thread_resolve { "threadId": "PRRT_..." }
github_action pr_review { "prNumber": 42, "event": "APPROVE" }
github_action pr_merge { "prNumber": 42, "method": "squash", "matchHeadCommit": "<headRefOid from pr_view>" }Approving or requesting changes on a pull request the acting identity authored is refused by GitHub (GITHUB_REVIEW_NOT_ALLOWED). Merge and auto-merge also need Contents: Read and write on the GitHub App; see GitHub App setup. Check workspace_capabilities (operations.pullRequestReview, pullRequestMerge, and githubActions) to see what the current credential can do.
Example: Bootstrapping a New Organization Repository
github_repository_create creates a repository in a GitHub organization through that organization's GitHub App installation. It is a separate, approval-worthy tool and is never a side effect of workspace_open. The installation must grant Administration: Read and write; personal accounts are not supported, and the operator-wide GH_TOKEN is never used for it. Call workspace_capabilities with no arguments first and read githubRepositoryCreate to see which organizations qualify.
workspace_capabilities {}
github_repository_create { "owner": "acme", "name": "new-service", "visibility": "private", "autoInit": true, "idempotencyKey": "bootstrap-new-service" }
workspace_open { "repositoryUrl": "https://github.com/acme/new-service.git", "ref": "<defaultBranch from the result>", "idempotencyKey": "open-new-service" }
files_write / git_commit / git_push
github_action issue_create { "title": "Track bootstrap follow-ups", "idempotencyKey": "bootstrap-issue" }visibility is required and has no default. Retrying with the same idempotencyKey and the same input replays the first result (created: false, replayed: true) without a second GitHub call; a different input under the same key returns CONFLICT, and an existing name returns GITHUB_REPOSITORY_EXISTS. If a later step fails, the agent reports exactly which steps completed and never deletes the repository automatically. See the tools reference for the full contract.