autonomous-agent-harness
Transform Gemini CLI into a fully autonomous agent system with persistent memory, scheduled operations, computer use, and task queuing.
Skill by Jamkris
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jamkris-autonomous-agent-harness
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/autonomous-agent-harness
What's inside
- Skill name
autonomous-agent-harness- Description
- Transform Gemini CLI into a fully autonomous agent system with persistent memory, scheduled operations, computer use, and task queuing. Replaces standalone agent frameworks (Hermes, AutoGPT) by leveraging Gemini CLI's native crons, dispatch, MCP tools, and memory. Use when the user wants continuous autonomous operation, scheduled tasks, or a self-directing agent loop.
- License
- MIT
- Instructions
- 263 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Autonomous Agent Harness
Turn Gemini CLI into a persistent, self-directing agent system using only native features and MCP servers.
## When to Use
- User wants an agent that runs continuously or on a schedule
- Setting up automated workflows that trigger periodically
- Building a personal AI assistant that remembers context across sessions
- User says "run this every day", "check on this regularly", "keep monitoring"
- Wants to replicate functionality from Hermes, AutoGPT, or similar autonomous agent frameworks
- Needs computer use combined with scheduled execution
## Architecture
```
┌──────────────────────────────────────────────────────────────┐
│ Gemini CLI 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 │ │
│ └──────────────────────────────────────────────────────┘ │
└──────────────────────────────────────────────────────────────┘
```
## Core Components
### 1. Persistent Memory
Use Gemini CLI's built-in memory system enhanced with MCP memory server for structured data.
**Built-in memory** (`~/.gemini/egc-projects/*/memory/`):
- User preferences, feedback, project context
- Stored as markdown files with frontmatter
- Automatically loaded at session start
**MCP memory server** (structured knowledge graph):
- Entities, relations, observations
- Queryable graph structure
- Cross-session persistence
**Memory patterns:**
```
# Short-term: current session context
Use TodoWrite for in-session task tracking
# Medium-term: project memory files
Write to ~/.gemini/egc-projects/*/memory/ for cross-session recall
# Long-term: MCP knowledge graph
Use mcp__memory__create_entities for permanent structured data
Use mcp__memory__create_relations for relationship mapping
Use mcp__memory__add_observations for new facts about known entities
```
### 2. Scheduled Operations (Crons)
Use Gemini CLI's scheduled tasks to create recurring agent operations.
**Setting up a cron:**
```
# Via MCP tool
mcp__scheduled-tasks__create_scheduled_task({
name: "daily-pr-review",
schedule: "0 9 * * 1-5", # 9 AM weekdays
prompt: "Review all open PRs in affaan-m/everything-gemini-code. For each: check CI status, review changes, flag issues. Post summary to memory.",
project_dir: "/path/to/repo"
})
# Via gemini -p (programmatic mode)
echo "Review open PRs and summarize" | gemini -p --project /path/to/repo
```
**Useful cron patterns:**
| Pattern | Schedule | Use Case |
|---------|----------|----------|
| Daily standup | `0 9 * * 1-5` | Review PRs, issues, deploy status |
| Weekly review | `0 10 * * 1` | Code quality metrics, test coverage |
| Hourly monitor | `0 * * * *` | Production health, error rate checks |
| Nightly build | `0 2 * * *` | Run full test suite, security scan |
| Pre-meeting | `*/30 * * * *` | Prepare context for upcoming meetings |
### 3. Dispatch / Remote Agents
Trigger Gemini CLI agents remotely for event-driven workflows.
**Dispatch patterns:**
```bash
# Trigger from CI/CD
curl -X POST "https://generativelanguage.googleapis.com/v1/dispatch" \
-H "Authorization: Bearer $GEMINI_API_KEY" \
-d '{"prompt": "Build failed on main. Diagnose and fix.", "project": "/repo"}'
# Trigger from webhook
# GitHub webhook → dispatch → Gemini agent → fix → PR
# Trigger from another agent
gemini -p "Analyze the output of the security scan and create issues for findings"
```From Jamkris/everything-gemini-code, MIT.
More from Jamkris/everything-gemini-code
- 0.588score
brand-voice
Jamkris
Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
customer-billing-ops
Jamkris
Operate customer billing workflows such as subscriptions, refunds, churn triage, billing-portal recovery, and plan analysis using connected billing tools like…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
api-connector-builder
Jamkris
Build a new API connector or provider by matching the target repo's existing integration pattern exactly.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
council
Jamkris
Convene a four-voice council for ambiguous decisions, tradeoffs, and go/no-go calls.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
accessibility
Jamkris
Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
click-path-audit
Jamkris
Trace every user-facing button/touchpoint through its full state change sequence to find bugs where functions individually work but cancel each other out…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
codebase-onboarding
Jamkris
Analyze an unfamiliar codebase and generate a structured onboarding guide with architecture map, key entry points, conventions, and a starter GEMINI.md.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
carrier-relationship-management
evos
Codified expertise for managing carrier portfolios, negotiating freight rates, tracking carrier performance, allocating freight, and maintaining strategic…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
connections-optimizer
Jamkris
Reorganize the user's X and LinkedIn network with review-first pruning, add/follow recommendations, and channel-specific warm outreach drafted in the user's…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
automation-audit-ops
Jamkris
Evidence-first automation inventory and overlap audit workflow for ECC.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
crosspost
Jamkris
Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
customs-trade-compliance
evos
Codified expertise for customs documentation, tariff classification, duty optimization, restricted party screening, and regulatory compliance across multiple…
SkillCFreshness: C★ 91Claude Code +9
Signals
- Stars
- 91
- Forks
- 23
- Open issues
- 1
- Last commit (this folder)
- Apr 22, 2026 (6 months ago)
- Last release
- May 26, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Jamkris
- 0.588score
brand-voice
Jamkris
Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
click-path-audit
Jamkris
Trace every user-facing button/touchpoint through its full state change sequence to find bugs where functions individually work but cancel each other out…
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
api-connector-builder
Jamkris
Build a new API connector or provider by matching the target repo's existing integration pattern exactly.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
automation-audit-ops
Jamkris
Evidence-first automation inventory and overlap audit workflow for ECC.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
accessibility
Jamkris
Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards.
SkillCFreshness: C★ 91Claude Code +9 - 0.583score
codebase-onboarding
Jamkris
Analyze an unfamiliar codebase and generate a structured onboarding guide with architecture map, key entry points, conventions, and a starter GEMINI.md.
SkillCFreshness: C★ 91Claude Code +9
Cite this page
autonomous-agent-harness skill. Agent Mart. https://agentmart.dev/skills/jamkris-autonomous-agent-harness (last updated 2026-10-24)