Skip to content

durang/skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 /gbrain

One command to orchestrate your entire AI agent stack.

Status Stack Layers Verified License

Type /gbrain once. Your entire multi-agent infrastructure updates canonically, safely, zero downtime.

Install Β· The Dashboard Β· Subcommands Β· Philosophy


✨ What it does

$ /gbrain sync

## 1. Sincronizar monorepo skills
βœ… Skills monorepo: al dΓ­a (a1a1263)

## 2. Deploy skills (install.sh)
βœ… 10 skills deployed β†’ Claude Code + OpenClaw + HERMES

## 3. HERMES claw migrate (refresh skills, NO secrets)
βœ… 70 migrated, 22 skipped safely

## 4. Validar SOUL.md canonical
⚠️ SOUL.md cambió tras migrate
βœ… Auto-restaurado desde canonical (anti-overwrite guard)

## 5. Verificar md5 cross-runtime
| gbrain        | βœ… | βœ… | βœ… |
| whatsapp      | βœ… | βœ… | βœ… |
| openclawtrack | βœ… | n/a | βœ… |
| hermestrack   | βœ… | n/a | βœ… |

🟒 Stack canonical · 0 downtime · 0 broken brains

One command. Five orchestrated steps. Zero broken brains.


🀯 Why this exists

Running a real multi-agent stack β€” Claude Code CLI + OpenClaw Telegram bot + HERMES WhatsApp agent + GBrain knowledge base + dual-agent WhatsApp dashboard β€” used to mean:

  • ❌ 5+ separate update commands across 3 runtimes
  • ❌ SOUL.md overwritten by hermes claw migrate (silent destroyer)
  • ❌ Skills out of sync between Claude Code, OpenClaw, HERMES
  • ❌ Bot tokens accidentally migrated wrong place
  • ❌ "Is my brain dead?" debugging 3x per week
  • ❌ Stale gbrain-skill standalone repo + monorepo drift

60+ hours of production debugging distilled into:

βœ… /gbrain sync β€” one canonical command, every runtime aligned βœ… /gbrain verify β€” 25-claim lie-detector (never claim done on request-shape alone) βœ… Layer 19 AWS Infra β€” CloudTrail + GuardDuty + Budget + DLM + MFA + EBS encryption all monitored βœ… SOUL.md canonical guard β€” auto-restores after any tool tries to overwrite βœ… SEGURIDAD BLINDADA β€” anti-prompt-injection 10-section block on every WhatsApp contact βœ… Default-deny security β€” 5 layers deep (bridge env β†’ config.yaml β†’ mention β†’ profile .md β†’ SOUL.md)


🎯 The Dashboard β€” 19 layers + 6 sub-layers

/gbrain check (or just /gbrain) renders a full markdown dashboard. Every claim is auto-verified by /gbrain verify (lie-detector). Any drift β†’ πŸ”΄ banner instantly.

# Layer Mide
🚨 Alert banner stuck sessions, missing API keys, no fallbacks, queue >100, AWS drift, SOUL.md drift
1 Versiones GBrain + OpenClaw vs latest
2 Runtime Gateway, Telegram conns, model + fallbacks, MCP, SOUL.md
3 Doctor gbrain doctor --json structured
3b Schema correlation DB tables ↔ wrapper ↔ skills (silent migration drift)
4 Stats pages, chunks, embedded, links, timeline, tags
5 Skills (OpenClaw) signal-detector, brain-ops, etc.
5b HERMES integration parallel runtime, MCP link, bot conflict detection
6 Capture 24h pages/links/timeline + gbrain__ MCP calls
7 Bugs upstream tu versiΓ³n vs known issues
8 News ΓΊltimas releases + PRs + issues
9 Snapshot diff stats delta vs anterior
10 Archivos canΓ³nicos SOUL/MEMORY/openclaw.json mtime
11 MCP Health servers + binarios
11b Wrappers + Integrations HTTP wrapper, recipes, OAuth clients
12 Stuck sessions 1h rolling count
13 Process env audit *_API_KEY count
14 Cron failure rate 24h jobs-state
14b System crontab canonical MANIFEST declarado vs real
15 Upstream changelog ΓΊltimos 15 commits βœ… / πŸ”œ
16 Upgrade Decision Engine INSTALAR / ESPERAR / SKIP por tool
17 Upstream Features Watch features nuevas + try-it
17b Skill propagation satellite skills hints
18 MCP clients + custom instructions ΒΏclients tienen reglas v3+?
18b Cross-runtime active model live read OpenClaw / HERMES / Codex CLI
19 ☁️ AWS Infra Health CloudTrail Β· GuardDuty Β· Budget Β· DLM Β· SG Β· EBS Β· IMDSv2 Β· root keys Β· MFA Γ— 2 Β· SOUL.md canonical guard Β· GBrain stack page

Every section has a verifier. Nothing is claimed done without ground-truth check.


πŸ›°οΈ Featured skills (also live in this monorepo)

Skill Purpose Trigger
🧠 gbrain Health dashboard + orchestrator. 25 sections. Layer 19 AWS Infra. /gbrain sync. /gbrain, /gbrain sync, /gbrain verify
πŸ’¬ whatsapp Dual-agent dashboard. Default-deny security. SEGURIDAD BLINDADA 10-section anti-injection block. PDF auto-send. /whatsapp
πŸ” openclawtrack Full OpenClaw infrastructure scan + visual dashboard /openclawtrack
πŸŒ€ hermestrack HERMES agent dashboard + skills + cron + sessions /hermestrack
πŸ›‘οΈ openclaw-security Security hardening checklist for EC2 OpenClaw /openclaw-security
⚑ openclawcontinue OpenClaw optimizer β€” actionable improvements with priority /openclawcontinue
✨ 9 more GSAP, mmx-cli, brain-write-macro, signal-detector varios

πŸš€ Install

git clone https://github.com/durang/skills ~/skills
cd ~/skills
./install.sh   # auto-deploys all skills to Claude Code + OpenClaw + HERMES

That's it. Then in Claude Code:

/gbrain          # dashboard
/gbrain sync     # update everything canonically
/gbrain verify   # lie-detector all claims

πŸŽ›οΈ Subcommands

/gbrain                          # default = check (full 19-layer dashboard)
/gbrain sync                     # πŸ”„ ORCHESTRATOR: monorepo pull β†’ install β†’ hermes migrate β†’ SOUL.md guard β†’ md5 verify
/gbrain verify                   # πŸ”¬ LIE-DETECTOR: re-checa cada claim vs ground truth (25 claims)
/gbrain fix                      # auto-fix safe issues (embed, extract, integrity)
/gbrain news                     # solo upstream releases/PRs
/gbrain bugs                     # bugs upstream que TE afectan
/gbrain compare                  # diff vs snapshot anterior
/gbrain save                     # guarda reporte en ~/brain/reports/
/gbrain bootstrap                # verify stack canonical
/gbrain principles               # operational rules
/gbrain manifest                 # canonical inventory
/gbrain manual                   # full manual
/gbrain custom-instructions      # genera CI block para claude.ai
/gbrain compound run             # 7th-phase compounding cycle (LLM-driven)
/gbrain compound dry-run         # preview proposals sin aplicar
/gbrain compound status          # confidence per category
/gbrain compound history         # last 10 cycles

πŸŒ™ Bonus: 7th-phase compounding engine

The brain grows while you sleep. After each gbrain dream cycle, gbrain compound runs an LLM-driven analyzer that detects patterns, links concepts, surfaces orphans, and proposes structural improvements. Each proposal has a confidence score. You can dry-run first, revert any change, or let it apply autopilot. The brain compounds β€” every night it's a little smarter than yesterday.


πŸ§ͺ Philosophy

🟒 Canonical wins              β€” one source of truth per concept, never duplicate
🟒 Lie-detector everything     β€” every claim must have a programmatic verifier
🟒 Never claim done on shape   β€” verify ground truth after every state change
🟒 Fail-closed                 β€” bridges and agents refuse rather than guess
🟒 No half-implementations     β€” if it works, ship; if not, revert
🟒 Defense in depth            β€” 5 layers between attacker and damage
🟒 Auto-restore canonical      β€” protected copies that any tool tries to overwrite get reverted

πŸ“¦ Structure

skills/
β”œβ”€β”€ claude/              # Skills for Claude Code CLI       (~/.claude/skills/)
β”œβ”€β”€ openclaw/            # Skills for OpenClaw / Telegram   (~/.openclaw/skills/)
β”œβ”€β”€ shared/              # Skills for both runtimes
β”‚   β”œβ”€β”€ gbrain/          ← THIS skill (canonical orchestrator)
β”‚   └── whatsapp/        ← dual-agent + SEGURIDAD BLINDADA
β”œβ”€β”€ .githooks/
β”‚   β”œβ”€β”€ pre-commit       # auto-classifies new skills
β”‚   └── post-merge       # auto-runs install.sh after git pull
└── install.sh           # idempotent, deploys to all runtimes

πŸ”€ How distribution works β€” and how it differs from claude-skills

This monorepo is personal infrastructure. Edit a skill once; it auto-deploys to every runtime on your machine.

How the deploy works:

  1. Each SKILL.md declares distribute-to: [claude], [openclaw], or [claude, openclaw] (or it's inferred from the claude/ Β· openclaw/ Β· shared/ folder).
  2. install.sh copies each skill to its runtime dir: [claude] β†’ ~/.claude/skills/, [openclaw] β†’ ~/.openclaw/skills/.
  3. A cron (*/30) runs git pull && install.sh, so a commit here lands in your live runtimes within 30 min. HERMES inherits OpenClaw skills via a separate hermes claw migrate step.

Overwrite rules (important β€” this is what keeps things from clobbering each other):

  • install.sh runs without --prune β†’ it only copies the monorepo's own skills. It never deletes skills it doesn't own, so anything you install from elsewhere (e.g. a client product) is left untouched.
  • ⚠️ On a name collision, the monorepo wins. If a skill name exists both here and in another repo, the */30 cron will overwrite the locally-installed copy with the version from here. Keep skill names unique across repos to avoid surprises.

durang/skills (this monorepo) vs durang/claude-skills

durang/skills (here) durang/claude-skills
Purpose Personal β€” all your skills, auto-deployed to your stack Client-facing product β€” what you install for clients
Auto-installs βœ… cron */30 β†’ ~/.claude/skills + ~/.openclaw/skills ❌ installed per-client, manually
Flagship gbrain + infra/dev skills track ([β— β€Ώβ— ] Scan β€” project intelligence)

They are separate by design and never touch each other. A skill that lives only in claude-skills (like track) is fully isolated: the monorepo cron never sees it, so you can develop it and ship it to clients without ever disturbing your personal stack.


πŸ”— Related repos

  • 🧠 garrytan/gbrain β€” the underlying brain database + CLI (by Garry Tan, CEO of YC)
  • πŸ›°οΈ durang/gbrain-http-wrapper β€” OAuth 2.1 + PKCE wrapper extending GBrain to web/mobile/Desktop
  • πŸ’¬ durang/whatsapp-monitor β€” companion repo with bridge patches, contact templates, security-blindada block, sync scripts
  • πŸ“¦ durang/gbrain-skill β€” ARCHIVED 2026-05-17 β€” content moved canonically to shared/gbrain/ here

Built by @durang. MIT licensed.

If you build multi-agent stacks, this skill saves you from yourself. 🧠

About

🧠 One command to orchestrate your entire AI agent stack. /gbrain sync canonically updates Claude Code + OpenClaw + HERMES + GBrain. 25-section dashboard auto-verified by lie-detector. Layer 19 AWS Infra. Anti-overwrite SOUL.md guard. 60+h of production debugging distilled. Zero downtime.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors