
Autonomous Agent Harness
- 1.4k installs
- 238k repo stars
- Updated August 5, 2026
- affaan-m/ecc
This is a copy of autonomous-agent-harness by affaan-m - installs and ranking accrue to the original listing.
autonomous-agent-harness is an ECC skill that turns Claude Code into a persistent, self-directing agent with scheduled tasks, cross-session memory, and safety-scoped autonomous operation using native crons, dispatch, and
About
autonomous-agent-harness is an Everything Claude Code skill for building self-directing agent systems without external frameworks like Hermes or AutoGPT. The skill composes Claude Code native crons, dispatch, MCP servers, and persistent memory to queue tasks, run scheduled operations, and maintain state across sessions while enforcing explicit user consent and safety boundaries before scheduling, remote dispatch, credential use, or external posting. Developers reach for autonomous-agent-harness when they need continuous automated operations, scheduled background tasks, or self-directed agent loops scoped to an approved workspace. The skill prefers dry-run plans and local queue files before enabling credential access or modifying third-party resources.
- Transforms Claude Code into a fully autonomous agent using only native crons, dispatch, MCP tools, and memory
- Supports persistent memory, scheduled operations, computer use, and task queuing
- Replaces standalone frameworks like Hermes or AutoGPT
- Explicit user consent and scoped safety boundaries required before any autonomous action
- Prefers dry-run plans and local queue files before enabling recurring operations
Autonomous Agent Harness by the numbers
- 1,397 all-time installs (skills.sh)
- +90 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/affaan-m/ecc --skill autonomous-agent-harnessAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.4k |
|---|---|
| repo stars | ★ 238k |
| Last updated | August 5, 2026 |
| Repository | affaan-m/ecc ↗ |
How do you build a persistent autonomous Claude Code agent?
Turn Claude Code into a persistent, self-directing agent that can run scheduled tasks, maintain memory across sessions, and operate autonomously within defined safety b
Who is it for?
Developers who need scheduled, memory-backed autonomous Claude Code agents with explicit safety and consent guardrails.
Skip if: One-shot coding tasks or teams unwilling to scope and approve automated scheduling, memory writes, and external actions.
When should I use this skill?
A developer asks for autonomous agents, scheduled Claude Code tasks, persistent agent memory, or self-directing agent loops.
What you get
Scheduled cron jobs, task queues, persistent memory files, and scoped autonomous agent loops inside Claude Code.
- Cron schedules
- Task queue files
- Persistent agent memory config
Files
自動エージェントハーネス
ネイティブ機能とMCPサーバーのみを使用して、Claude Codeを永続的な自己指令エージェントシステムに変換します。
同意とセーフティバウンダリ
自動操作は、ユーザーによって明示的に要求され、スコープが設定される必要があります。スケジュール、リモートエージェントの派遣、永続的なメモリの書き込み、コンピュータ制御の使用、外部への投稿、サードパーティリソースの変更、または現在のセットアップのプライベート通信に対する行動を行わないでください。ユーザーがその機能と対象ワークスペースを承認していない限り。
クレデンシャル、プライベートワークスペースのエクスポート、個人データセット、およびアカウント固有の自動化を再利用可能なECCアーティファクトから除外する前に、ドライラン計画とローカルキューファイルを好みます。
アクティベーション時期
- ユーザーが継続的に実行されるか、スケジュール上で実行されるエージェントを望む
- 定期的にトリガーされる自動化ワークフローを設定
- セッション全体でコンテキストを記憶する個人的なAIアシスタントを構築
- ユーザーが「これを毎日実行」、「これを定期的にチェック」、「監視を続ける」と言う
- Hermes、AutoGPT、または同様の自動エージェントフレームワークから機能を複製したい
- スケジュール済み実行と組み合わせたコンピュータ使用が必要
アーキテクチャ
┌──────────────────────────────────────────────────────────────┐
│ Claude Code Runtime │
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌─────────────┐ │
│ │ Crons │ │ Dispatch │ │ Memory │ │ Computer │ │
│ │ Schedule │ │ Remote │ │ Store │ │ Use │ │
│ │ Tasks │ │ Agents │ │ │ │ │ │
│ └────┬─────┘ └────┬─────┘ └────┬─────┘ └──────┬──────┘ │
│ │ │ │ │ │
│ ▼ ▼ ▼ ▼ │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ ECC Skill + Agent Layer │ │
│ │ │ │
│ │ skills/ agents/ commands/ hooks/ │ │
│ └──────────────────────────────────────────────────────┘ │
│ │ │ │ │ │
│ ▼ ▼ ▼ ▼ │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ MCP Server Layer │ │
│ │ │ │
│ │ memory github exa supabase browser-use │ │
│ └──────────────────────────────────────────────────────┘ │
└──────────────────────────────────────────────────────────────┘コアコンポーネント
1. 永続的なメモリ
構造化データ用のMCPメモリサーバーで拡張されたClaude Codeの組み込みメモリシステムを使用します。
組み込みメモリ (~/.claude/projects/*/memory/):
- ユーザーの設定、フィードバック、プロジェクトコンテキスト
- フロントマター付きのマークダウンファイルとして保存
- セッション開始時に自動的に読み込まれる
MCPメモリサーバー (構造化知識グラフ):
- エンティティ、関係、観察
- クエリ可能なグラフ構造
- クロスセッション永続性
メモリパターン:
# 短期:現在のセッションコンテキスト
TodoWriteをセッション内タスク追跡に使用
# 中期:プロジェクトメモリファイル
クロスセッションリコールの場合は~/.claude/projects/*/memory/に書き込む
# 長期:MCPナレッジグラフ
mcp__memory__create_entitiesを永続的な構造化データに使用
mcp__memory__create_relationsを関係マッピングに使用
mcp__memory__add_observationsを既知のエンティティについての新しい事実に使用2. スケジュール済み操作(Crons)
Claude Codeのスケジュール済みタスクを使用して、定期的なエージェント操作を作成します。
cronを設定する:
# MCPツール経由
mcp__scheduled-tasks__create_scheduled_task({
name: "daily-pr-review",
schedule: "0 9 * * 1-5", # 平日午前9時
prompt: "affaan-m/everything-claude-codeのすべてのオープンPRを確認します。各について:CIステータスをチェック、変更を確認、問題にフラグを立てます。メモリに概要を投稿します。",
project_dir: "/path/to/repo"
})完全な設定例
セッション全体でコンテキストを記憶し、複数の定期的なタスクを実行する完全に自動化されたエージェントの設定については、高度な設定セクションを参照してください。
Related skills
How it compares
Use autonomous-agent-harness for native Claude Code automation; use generic agent frameworks when operating outside Claude Code entirely.
FAQ
What does autonomous-agent-harness replace?
autonomous-agent-harness replaces standalone agent frameworks such as Hermes and AutoGPT by composing Claude Code native crons, dispatch, MCP tools, and memory. The approach keeps automation inside Claude Code instead of external runtimes.
What safety rules does autonomous-agent-harness enforce?
autonomous-agent-harness requires explicit user consent before scheduling, remote dispatch, credential use, computer control, external posting, or third-party modifications. Dry-run plans and local queue files are preferred before enabling sensitive automation.