LeoYeAI/agent-master-skills / skills/agi-farm
agi-farm
FlaggedInteractive setup wizard that creates a fully working multi-agent AI team on OpenClaw. One command bootstraps agents, SOUL.md personas, comms infrastructure (inboxes/outboxes/broadcast), cron jobs, auto-dispatcher (HITL + rate-limit backoff + dependency checking), and a portable GitHub bundle — all customized to team name, size (3/5/11 agents), domain, and frameworks (autogen/crewai/langgraph). Includes a React + SSE live ops dashboard with file-watcher (~350ms push latency) and persistent macOS LaunchAgent. Model-selection guidance built in. Commands: setup | status | rebuild | export | dashboard | dispatch
dashboard-react/src/components/Header.jsx
View on GitHubimport { useState, useEffect } from 'react';
function Clock() {
const [t, setT] = useState(new Date());
useEffect(() => { const id = setInterval(() => setT(new Date()), 1000); return () => clearInterval(id); }, []);
return <span style={{ color: 'var(--muted)', fontSize: 11 }}>{t.toLocaleTimeString()}</span>;
}
export default function Header({ data, connected, lastUpdated, updateCount }) {
const agents = data?.agents || [];
const tc = data?.task_counts || {};
const budget = data?.budget || {};
const limits = budget.limits || {};
const current = budget.current || {};
const spent = current.daily_usd ?? 0;
const limit = limits.daily_usd ?? 0;
const pct = limit > 0 ? Math.min(100, (spent / limit) * 100) : 0;
const online = agents.filter(a => ['active','available','busy'].includes(a.status)).length;
// Gateway is truly live only if SSE is connected AND gateway_online flag from backend
const gatewayOnline = connected && (data?.gateway_online !== false);
const statusLabel = !connected ? 'OFFLINE' : data?.gateway_online === false ? 'NO GATEWAY' : 'LIVE';
const statusColor = !connected ? 'var(--red)' : data?.gateway_online === false ? 'var(--amber)' : 'var(--green)';
const dotClass = !connected ? 'dot-error' : data?.gateway_online === false ? 'dot-busy' : 'dot-active';
return (
<header style={{
height: 52, background: 'var(--bg2)', borderBottom: '1px solid var(--border)',
display: 'flex', alignItems: 'center', padding: '0 16px', gap: 20,
position: 'sticky', top: 0, zIndex: 100,
}}>
{/* Brand */}
<div style={{ display: 'flex', alignItems: 'center', gap: 8, minWidth: 160 }}>
<span style={{ fontSize: 18 }}>🦅</span>
<span style={{ fontFamily: 'Rajdhani, sans-serif', fontWeight: 700, fontSize: 16, color: 'var(--cyan)', letterSpacing: 1 }}>
AGI Ops Room
</span>
</div>
{/* Status badge */}
<div style={{ display: 'flex', alignItems: 'center', gap: 6 }} title={data?.gateway_online === false ? 'OpenClaw gateway unreachable' : ''}>
<span className={`dot ${dotClass}`} />
<span style={{ fontSize: 10, fontWeight: 600, color: statusColor }}>{statusLabel}</span>
</div>
<div style={{ width: 1, height: 20, background: 'var(--border)' }} />
<Stat label="Online" value={`${online}/${agents.length}`} color="var(--cyan)" />
<Stat label="Pending" value={tc.pending ?? 0} color="var(--amber)" />
<Stat label="HITL 🚨" value={tc.needs_human_decision ?? 0} color="var(--purple)" alert={(tc.needs_human_decision ?? 0) > 0} />
<Stat label="Budget" value={`$${spent.toFixed(2)}/$${limit}`}
color={pct > (budget.alerts?.daily_threshold_pct ?? 70) ? 'var(--red)' : 'var(--green)'} />
<div style={{ flex: 1 }} />
{updateCount > 0 && (
<span style={{ fontSize: 9, color: 'var(--cyan)', opacity: 0.5 }}>#{updateCount}</span>
)}
{lastUpdated && (
<span style={{ fontSize: 10, color: 'var(--muted)' }}>↻ {lastUpdated.toLocaleTimeString()}</span>
)}
<Clock />
</header>
);
}
function Stat({ label, value, color, alert }) {
return (
<div style={{ textAlign: 'center' }}>
<div style={{ fontSize: 9, color: 'var(--muted)', textTransform: 'uppercase', letterSpacing: '.06em' }}>{label}</div>
<div style={{ fontSize: 14, fontWeight: 700, color: alert ? 'var(--red)' : color }}>{value}</div>
</div>
);
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |