# Autonomous agent harness

> Autonomous agent harness is an open-source agent skill for developer tools. Sets up Claude Code for scheduled, memory-backed and queued autonomous work. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/autonomous-agent-harness
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** autonomous-agent-harness
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill is a setup pattern for running Claude Code as a more autonomous assistant. It combines Claude Code's built-in memory files and optional MCP memory server, its interactive /loop scheduling, headless claude -p invocations from CI or an OS scheduler, and an optional computer-use integration. It explicitly is not a bundled always-on runtime, so the user must provision any external scheduler, runner or desktop environment separately.

The guide walks through configuring an MCP memory server entry with a pinned package version, creating base polling prompts, seeding a memory knowledge graph with profile and project context, and optionally enabling computer use after a harmless test action. It also includes a persistent task queue kept in a markdown memory file, a table of example cron schedules, and sample workflows such as a PR reviewer, a research digest agent and a meeting prep agent.

The skill emphasises consent: scheduling, persistent memory writes, external posting and computer control should only be enabled after the user approves them, with dry runs and local queue files preferred first. It expects Claude Code, a shell or CI runner for headless runs, and optionally Node.js for the memory server and an isolated environment for computer use.

## When your agent uses it

> Transform Claude Code into a fully autonomous agent system with persistent memory, scheduled operations, computer use, and task queuing. Replaces standalone agent frameworks (Hermes, AutoGPT) by leveraging Claude Code's native crons, dispatch, MCP tools, and memory. Use when the user wants continuous autonomous operation, scheduled tasks, or a self-directing agent loop.

## What it can access

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

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/autonomous-agent-harness)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/autonomous-agent-harness)

## Features

- **Persistent memory setup:** Uses built-in memory files and an optional MCP knowledge graph to keep context across sessions.
- **Scheduled prompts:** Shows how to use /loop for in-session polling and external schedulers for unattended runs.
- **Headless dispatch:** Describes invoking claude -p from CI jobs or webhook receivers in an owned workspace.
- **Persistent task queue:** Keeps active and completed tasks in a markdown memory file that survives session boundaries.
- **Consent and safety guardrails:** Requires explicit user approval and dry-run plans before recurring or external actions.
- **Optional computer use:** Outlines enabling browser or desktop control in an isolated environment after a test action.

## Good for

- Check open pull requests on a schedule and summarise CI failures
- Run a daily research search and write a digest to memory
- Prepare context and talking points before upcoming meetings
- Keep a queue of follow-up tasks across Claude Code sessions
- Monitor a deployment health endpoint for a set period

## Install

### Claude Code

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

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/autonomous-agent-harness`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/autonomous-agent-harness &&
cp -R "$tmp/.agents/skills/autonomous-agent-harness" ~/.claude/skills/autonomous-agent-harness &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/autonomous-agent-harness &&
cp -R "$tmp/.agents/skills/autonomous-agent-harness" ~/.agents/skills/autonomous-agent-harness &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/autonomous-agent-harness &&
cp -R "$tmp/.agents/skills/autonomous-agent-harness" ~/.cursor/skills/autonomous-agent-harness &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/autonomous-agent-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/smartworldarafath/REA_Skill.git --path .agents/skills/autonomous-agent-harness
```

Or copy the folder to `~/.gemini/skills/autonomous-agent-harness` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/autonomous-agent-harness &&
cp -R "$tmp/.agents/skills/autonomous-agent-harness" ~/.copilot/skills/autonomous-agent-harness &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then copy `REA_Skill/.agents/skills/autonomous-agent-harness` into your agent's skills folder as `autonomous-agent-harness`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Autonomous agent harness run an agent in the background by itself?

No. It describes a setup pattern. Native scheduled prompts only run inside an open interactive session, and unattended runs need an external scheduler such as an OS cron job or CI schedule that you configure.

### Does Autonomous agent harness need an MCP server?

The memory MCP server is optional. The guide points to the reference package @modelcontextprotocol/server-memory pinned to a specific version, and says to review it before adding it to your configuration.

### Is computer use included?

No. Computer control needs a separately configured integration and an isolated environment. The skill says to grant only required permissions and test a harmless action first.

### Where is the task queue stored?

The queue is a markdown file written into the Claude Code memory directory, with active and completed task sections.

### How do I install Autonomous agent harness in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/autonomous-agent-harness to use it in all your projects, or to .claude/skills/autonomous-agent-harness in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

### Does Autonomous agent 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 Autonomous agent 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 Autonomous agent harness?

The closest alternatives to Autonomous agent harness are Agentic os, Autonomous loops, Agent CLI, Elephant and Writing agents.

## Where this comes from

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

## Alternatives

- [Agentic os](https://ai-powered.com/skills/agentic-os-smartworldarafath): Agentic os is an open-source agent skill for developer tools.
- [Autonomous loops](https://ai-powered.com/skills/autonomous-loops): Autonomous loops is an open-source agent skill for developer tools.
- [Agent CLI](https://ai-powered.com/skills/agent-cli): Agent CLI is an open-source agent skill for developer tools.
- [Elephant](https://ai-powered.com/skills/elephant): Elephant is an open-source agent skill for developer tools.
- [Writing agents](https://ai-powered.com/skills/writing-agents-xiaolai): Writing agents is an open-source agent skill for developer tools.
- [Principle never block on the human](https://ai-powered.com/skills/principle-never-block-on-the-human): Principle never block on the human is an open-source agent skill for developer tools.
- [Ecc workflow](https://ai-powered.com/skills/ecc-workflow): Ecc workflow is an open-source agent skill for developer tools.
- [Automate me](https://ai-powered.com/skills/automate-me): Automate me is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/autonomous-agent-harness
