"use client"; import { useState } from "react"; const SKILLS = [ { id: "github", name: "GitHub", description: "Manage GitHub repositories", enabled: true }, { id: "healthcheck", name: "Health Check", description: "System security hardening", enabled: true }, { id: "tmux", name: "Tmux", description: "Remote-control tmux sessions", enabled: true }, { id: "weather", name: "Weather", description: "Weather forecasts via wttr.in", enabled: true }, { id: "tavily", name: "Tavily", description: "Web search and extraction", enabled: true }, { id: "coingecko", name: "CoinGecko", description: "Crypto prices and market data", enabled: true }, { id: "discord", name: "Discord", description: "Discord operations", enabled: false }, { id: "clawhub", name: "ClawHub", description: "Skill management", enabled: true }, ]; const APIS = [ { id: "perplexity", name: "Perplexity", status: "active", color: "green" }, { id: "openweather", name: "OpenWeather", status: "active", color: "green" }, { id: "newsapi", name: "NewsAPI", status: "active", color: "green" }, { id: "coingecko", name: "CoinGecko", status: "active", color: "green" }, { id: "tavily", name: "Tavily", status: "active", color: "green" }, { id: "elevenlabs", name: "ElevenLabs", status: "inactive", color: "yellow" }, ]; const AUTOMATIONS = [ { id: "morning-brief", name: "Morning Brief", schedule: "06:00 CET", enabled: true }, { id: "backups", name: "Backups", schedule: "02:00 CET", enabled: true }, { id: "health-checks", name: "Health Checks", schedule: "30min", enabled: true }, { id: "trading-scan", name: "Trading Scan", schedule: "30min", enabled: false }, ]; export default function HorusAIPage() { const [skills, setSkills] = useState(SKILLS); const [automations, setAutomations] = useState(AUTOMATIONS); const toggleSkill = (id: string) => { setSkills(skills.map(s => s.id === id ? { ...s, enabled: !s.enabled } : s)); }; const toggleAutomation = (id: string) => { setAutomations(automations.map(a => a.id === id ? { ...a, enabled: !a.enabled } : a)); }; return (

🤖 Horus AI

Manage skills, APIs, and automation toggles

{/* Skills */}

🎯 Skills

{skills.map(skill => (

{skill.name}

{skill.description}

))}
{/* APIs */}

🔌 APIs

{APIS.map(api => ( ))}
API Status
{api.name} {api.status}
{/* Automations */}

âš¡ Automation

{automations.map(automation => ( ))}
Cron Job Schedule Status
{automation.name} {automation.schedule}
); }