# Use cloud harness

> Use cloud harness is an open-source agent skill for developer tools. Lets a cloud deepseek-harness agent gate tasks on merged PRs and Releases. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ruan-cat/monorepo/tree/main/ai-plugins/common-tools/skills/use-cloud-harness
- **Repository:** https://github.com/ruan-cat/monorepo
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** use-cloud-harness
- **Collection:** https://github.com/ruan-cat/monorepo
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill defines how a scheduled deepseek-harness agent wakes up, aligns a task repository with its upstream, and decides whether a merged pull request is already shipped in a published release. It bundles a read-only predicate script that checks the PR state and compares the merge commit against each release tag that was published after the merge, and a schedule helper for listing, creating, editing and deleting the agent's own automation tasks.

The workflow is strict: the agent refuses to continue unless alignment succeeds and the predicate reports true, it avoids force pushes and history rewrites, opens follow-up pull requests only against a base recorded before branching, and sends a direct admin message only after the work and any one-off cleanup are confirmed. Business logic stays in each task package rather than in the skill.

The skill expects the GitHub CLI, git, Python 3, and a locally running deepseek-harness on port 3080. It is written in Chinese and is meant for cloud automation runs, not for local use.

## When your agent uses it

> 当 deepseek-harness 自动化任务、PR 与 Release 谓词、醒来先 git fetch、收尾开 PR、dsh-admin-dm 私聊时使用。 也用于 dsh-pr-release-predicate、dsh-schedule、任务包 ops/ 里的一次性 root 命令，以及有人要用人工放行、对调 compare、未发版的默认分支、watch.yaml、n8n、停掉定时任务或手写 schedule 文件来绕过不成立的谓词。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/common-tools/skills/use-cloud-harness)
- [License: MIT](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/common-tools/skills/use-cloud-harness)

## Features

- **Release containment check:** A read-only script confirms a merged PR's commit is contained in a release published after the merge.
- **Wake-up alignment:** Fetches and fast-forwards the task repository before re-reading task instructions.
- **Scheduled task management:** Lists, creates, edits, pauses and deletes the agent's own automation tasks through a helper script.
- **Safe pull request flow:** Stages only named paths and opens pull requests against a base recorded before branching.
- **One-off command cleanup:** Requires a fixed-path delete command to succeed before follow-up steps continue.
- **Admin direct message:** Sends a status message to the administrator only after work and cleanup are confirmed.

## Good for

- Check whether a merged pull request has shipped in a release before updating downstream files
- Set up a recurring cloud task that wakes up and re-evaluates a release condition
- Open a follow-up pull request after a release containing a merge has been published
- Delete a finished scheduled task once its follow-up pull request is open

## Install

### Claude Code

This skill ships in the `common-tools` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ruan-cat/monorepo
/plugin install common-tools@ruan-cat-tools
```

Or copy only this skill to `~/.claude/skills/use-cloud-harness`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/use-cloud-harness &&
cp -R "$tmp/ai-plugins/common-tools/skills/use-cloud-harness" ~/.claude/skills/use-cloud-harness &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/use-cloud-harness` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/use-cloud-harness` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/use-cloud-harness &&
cp -R "$tmp/ai-plugins/common-tools/skills/use-cloud-harness" ~/.agents/skills/use-cloud-harness &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/use-cloud-harness` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/use-cloud-harness` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/use-cloud-harness &&
cp -R "$tmp/ai-plugins/common-tools/skills/use-cloud-harness" ~/.cursor/skills/use-cloud-harness &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/use-cloud-harness` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/common-tools/skills/use-cloud-harness
```

Or copy the folder to `~/.gemini/skills/use-cloud-harness` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/use-cloud-harness`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/use-cloud-harness &&
cp -R "$tmp/ai-plugins/common-tools/skills/use-cloud-harness" ~/.copilot/skills/use-cloud-harness &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/use-cloud-harness` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ruan-cat/monorepo.git
```

Then copy `monorepo/ai-plugins/common-tools/skills/use-cloud-harness` into your agent's skills folder as `use-cloud-harness`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Use cloud harness need a cloud deepseek-harness to run?

Yes. Scheduling, alignment, predicate checks and direct messages only run on a machine where deepseek-harness answers on 127.0.0.1:3080; elsewhere it only handles local git and gh.

### What does the predicate script check?

It reads the PR state and merge commit through gh, then compares each release tag published after the merge against the merge commit, requiring the tag to be behind or identical and the merge base to equal the merge commit.

### Does the predicate script change files?

No. It only makes read-only gh calls and writes a single line of JSON to standard output.

### Which AI clients does Use cloud harness work with?

The content ties the skill to Claude Code through a plugin marketplace entry, and the skill itself is written for deepseek-harness automation rather than a specific client list.

### How do I install Use cloud harness in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/use-cloud-harness to use it in all your projects, or to .claude/skills/use-cloud-harness in one project. Or install the common-tools plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install common-tools@ruan-cat-tools.

### Does Use cloud harness run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Use cloud harness?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Use cloud harness?

The closest alternatives to Use cloud harness are Harness release, Release changelog harness, Harness release, GitHub workflow and Dynamic workflow mode.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Harness release](https://ai-powered.com/skills/harness-release-maxwell2732): Harness release is an open-source agent skill for developer tools.
- [Release changelog harness](https://ai-powered.com/skills/release-changelog-harness): Release changelog harness is an open-source agent skill for developer tools.
- [Harness release](https://ai-powered.com/skills/harness-release-chachamaru127): Harness release is an open-source agent skill for developer tools.
- [GitHub workflow](https://ai-powered.com/skills/github-workflow): GitHub workflow is an open-source agent skill for developer tools.
- [Dynamic workflow mode](https://ai-powered.com/skills/dynamic-workflow-mode): Dynamic workflow mode is an open-source agent skill for developer tools.
- [Harness test drive](https://ai-powered.com/skills/harness-test-drive): Harness test drive is an open-source agent skill for developer tools.
- [Merge PR](https://ai-powered.com/skills/merge-pr): Merge PR is an open-source agent skill for developer tools.
- [Code pull request](https://ai-powered.com/skills/code-pull-request): Code pull request is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/use-cloud-harness
