
Autonomous agent harness
Sets up Claude Code for scheduled, memory-backed and queued autonomous work
Autonomous agent harness is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 66
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Autonomous agent harness
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (13 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafathOr copy only this skill to ~/.claude/skills/autonomous-agent-harness:
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.
Copy the skill folder to ~/.agents/skills/autonomous-agent-harness to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/autonomous-agent-harness to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/autonomous-agent-harnessOr copy the folder to ~/.gemini/skills/autonomous-agent-harness yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/autonomous-agent-harness:
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.
Get the folder:
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.gitThen 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.
What it does
- 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
Autonomous agent harness 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.
More from smartworldarafath/REA_Skill

Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android
- Open source
- 66 GitHub stars
- Developer tools

Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity
- Open source
- 66 GitHub stars
- Developer tools

Compare coding agents head-to-head on your own tasks by pass rate, cost and time
- Open source
- 66 GitHub stars
- Developer tools

Guides an agent to design tool sets, observations and error recovery for better completion
- Open source
- 66 GitHub stars
- Developer tools

Gives an agent a structured capture-diagnose-recover loop for failing runs
- Open source
- 66 GitHub stars
- Developer tools

Lets an AI agent make x402 payments within per-task budgets and spending policies
- Open source
- 66 GitHub stars
- Finance and payments



