logo
0
0
WeChat Login
gitclaw[bot]<gitclaw[bot]@users.noreply.github.com>
🧠 💓 Heartbeat — 2026-04-04

🦞 GitClaw

AGI in GitHub.
A self-improving AI agent that lives entirely in GitHub Actions.
No servers. No binaries. The repo is the agent.

Setup · Agents · Commands · Architect · How It Works · Config


GitClaw is a personal AI agent system that runs entirely on GitHub Actions. Fork it, add one secret, and you have an autonomous agent that:

  • 🏗️ Proposes code improvements as PRs — reviewed by a Council of 7 AI personas
  • ☕ Summarizes your issues with sarcastic coffee commentary every morning
  • ⚔️ Turns bug reports into RPG quests with XP rewards
  • 🃏 Reviews your PRs with theatrical comedy (and roasts files on demand)
  • 🔍 Researches any topic with entertaining tangents
  • 📺 Builds a live GitHub Pages dashboard with agent stats and memory browser
  • 💅 Runs weekly QA audits to find bugs and broken config

Every thought is a git commit. The repo is the agent.

25 agents across 5 plugins — all running on GitHub Actions free tier.


🚀 3-Step Setup

Step 1: Fork

Click Fork → Create your own GitClaw instance.

Step 2: Add API Key

Go to SettingsSecrets and variablesActionsNew repository secret:

SecretValueGet it from
ANTHROPIC_API_KEYYour Anthropic API keyconsole.anthropic.com

Step 3: Enable Actions

Go to Actions tab → Click "I understand my workflows, go ahead and enable them" → Run the 🦞 GitClaw Setup workflow.

That's it. GitClaw is alive.

Recommended: Also go to SettingsActionsGeneral → check "Allow GitHub Actions to create and approve pull requests" (required for Architect & Council).

Optional: GitHub Pages

Go to SettingsPages → Source: Deploy from a branch → Branch: main / docs

Your dashboard will be at https://<user>.github.io/<repo>/

Optional: Plugin API Keys
SecretForFree Tier
OPENAI_API_KEYLLM fallbackPay-per-use
GNEWS_API_KEYNews Ninja100 req/day
ALPHA_VANTAGE_KEYStock Wizard25 req/day
SOLANA_RPC_URLSolana agentsVaries

HN Scraper and Crypto Oracle use free public APIs — no keys needed.


🤖 Agents

Core (6) — Always Active

AgentTriggerWhat It Does
Morning RoastWeekdays 9 AM UTCSarcastic issue digest with fortune of the day
⚔️ Quest MasterNew issues openedGamifies issues into RPG quests with XP
🃏 Code JesterNew PRs + /roastPR review with theatrical comedy + roast mode
🔍 Wild Fact Finder/research <topic>Entertaining research briefs with tangents
📜 Lore Keeper/lore <topic>Chronicles knowledge as dramatic saga entries
🎉 Hype ManIssue closed / PR mergedOver-the-top victory celebrations with XP

Market & News Plugin (4) — Enable in agent.md

AgentTriggerWhat It Does
📰 HN Hype Buster/hn + Daily 7 AMHacker News stories with hype scores
🥷 News Ninja/news + Daily 7:30 AMGlobal news analysis with ninja-style delivery
🔮 Crypto Oracle/crypto <coin>Crypto quant analysis — RSI, SMA, volatility
🧙 Stock Wizard/stock <ticker>Stock quant analysis — SMA, RSI, MACD

Solana Plugin (3) — Enable in agent.md

AgentTriggerWhat It Does
🌐 Solana Query/sol <cmd>Dexscreener prices, RPC balances, Jupiter quotes
📡 Solana MonitorEvery 6 hoursTracks wallet balances and token prices
🔨 Solana Builder/build-sbfVerifiable Solana program builds

Architect & Council Plugin (10) — Enable in agent.md

AgentTriggerWhat It Does
🏗️ ArchitectDaily 6 AM + /proposeAnalyzes repo, proposes code improvements as PRs
🔍 Proposal LintArchitect PRsValidates Python + YAML before council review
👓 ZuckerbergArchitect PRs"Move fast" — velocity-focused reviewer
💰 Mr. WonderfulArchitect PRsROI-obsessed dealmaker reviewer
🚀 MuskArchitect PRsFirst principles, 10x ambition reviewer
TolyArchitect PRsThroughput-obsessed reviewer
SatoshiArchitect PRsMinimalist, trustless reviewer
🕵️ CIAArchitect PRsOPSEC-focused classified reviewer
🎸 CobainArchitect PRsAnti-bloat punk reviewer
💅 KarenMondays + /karen + PRsQA compliance — audits memory, finds bugs

Infrastructure (2)

AgentTriggerWhat It Does
📺 Pages BuilderEvery 4h + on memory pushBuilds live GitHub Pages dashboard
💓 HeartbeatDaily midnightUpdates state, maintains streaks

🏗️ Architect & Council

The self-improving pipeline — GitClaw's most powerful feature:

🏗️ Architect (Daily 6 AM or /propose) Analyzes repo → generates proposal → creates PR ▼ 🔍 Proposal Lint — validates syntax ▼ ⚖️ Council of 7 — each posts VOTE: APPROVE/REJECT/REVISE 👓 Zuckerberg 💰 Wonderful 🚀 Musk ⚡ Toly ₿ Satoshi 🕵️ CIA 🎸 Cobain ▼ 📊 Tally: 4+ approves → merge │ 4+ rejects → close

Safety: The Architect cannot modify scripts/, its own workflow, or council workflows.


💬 Commands

Post these in any issue comment:

/research <topic> — Research anything with entertaining flair /lore <topic> — Chronicle knowledge in the repo's saga /roast <file> — Brutally honest code roast (via Code Jester) /propose [hint] — Ask the Architect to propose an improvement /karen — Summon the QA manager for an audit /help — Show all commands

Plugin commands (enable in agent.md):

/hn top|search|trending — Hacker News analysis /news <topic> — Global news intelligence /crypto <coin> — Crypto quant analysis /stock <ticker> — Stock quant analysis /sol price|balance|quote — Solana on-chain data /build-sbf [path] — Build Solana program

🧠 How It Works

Triggers (issues, PRs, schedule, /commands) ▼ Command Router → dispatches to agent workflows ▼ Agent (Python or Shell) → calls LLM API ▼ Response → posted as comment, PR review, or issue ▼ Memory → git-committed to memory/ directory ▼ Pages Builder → rebuilds dashboard from memory data

The key insight: GitHub Actions IS the runtime. Git IS the database. Issues ARE the interface.


⚙️ Configuration

agent.md — Feature Flags

The single source of truth for which agents are active:

enable: morning-roast # ☕ Daily digest + fortune enable: quest-master # ⚔️ Issue gamification enable: code-jester # 🃏 PR review + /roast enable: research # 🔍 Wild Fact Finder enable: lore-keeper # 📜 Knowledge chronicles enable: hype-man # 🎉 Celebrations enable: architect # 🏗️ Autonomous proposals enable: council # ⚖️ Council of 7 enable: pages-builder # 📺 Dashboard enable: karen # 💅 QA compliance # enable: hn-scraper # 📰 HN digest # enable: news-scraper # 🥷 News intelligence # enable: crypto-quant # 🔮 Crypto analysis # enable: stock-quant # 🧙 Needs ALPHA_VANTAGE_KEY # enable: solana # 🌐 On-chain data

Key Files

FilePurpose
agent.mdEnable/disable agents
config/agents.ymlAgent registry — names, schedules, prompts
config/settings.ymlRate limits, XP rewards, LLM settings
config/plugins.ymlPlugin metadata and secrets
templates/prompts/System prompts — the "soul" of each agent

🎮 Gamification

LevelXPTitle
00Unawakened
150Novice
2150Apprentice
3300Journeyman
4500Adept
5800Expert
61,200Master
71,800Grandmaster
82,500Legend
95,000Mythic
1010,000Transcendent

💰 Cost

Designed for free-tier:

ResourceFree TierUsage
GitHub Actions2,000 min/month~10-40 min/day
Anthropic APIPay-per-use~$1-5/month (Haiku default)
CoinGecko, HNFreeUnlimited

🔒 Security

  • API keys in GitHub Secrets only
  • Hardened against shell injection — no ${{ }} in run: blocks
  • Architect has protected paths — cannot modify scripts or its own workflow
  • All Solana interactions are read-only
  • Bot identity for all commits (gitclaw[bot])

📜 License

MIT License. Fork it, customize it, make it yours.


🦞 GitClaw — AGI in GitHub. I live in your repo. I commit my thoughts. I never sleep.

About

gitclaw ordinalos.github.io/gitclaw/ https://github.com/ordinalOS/gitclaw.git

797.00 KiB
0 forks0 stars10 branches0 TagREADMEMIT license
Language
Python87.4%
Shell12.6%