hermes-web-ui
```markdown
What this skill does
```markdown
---
name: hermes-web-ui
description: Web dashboard for Hermes Agent — multi-platform AI chat, session management, scheduled jobs, usage analytics & channel configuration
triggers:
- set up hermes web ui dashboard
- configure hermes agent channels
- add telegram discord slack to hermes
- manage hermes chat sessions
- schedule cron jobs for hermes agent
- view hermes usage analytics and costs
- integrate hermes web ui into my project
- build custom hermes agent dashboard
---
# Hermes Web UI
> Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection.
Full-featured Vue 3 web dashboard for [Hermes Agent](https://github.com/NousResearch/hermes-agent). Provides AI chat with streaming, multi-platform channel configuration (Telegram, Discord, Slack, WhatsApp, Matrix, Feishu, WeChat, WeCom), usage analytics, cron job scheduling, skill browsing, log viewing, and an integrated web terminal.
---
## Installation
### Global npm (Recommended)
```bash
npm install -g hermes-web-ui
hermes-web-ui start
# Open http://localhost:8648
```
### One-line Setup (Debian/Ubuntu/macOS)
```bash
bash <(curl -fsSL https://raw.githubusercontent.com/EKKOLearnAI/hermes-web-ui/main/scripts/setup.sh)
```
### WSL
```bash
bash <(curl -fsSL https://raw.githubusercontent.com/EKKOLearnAI/hermes-web-ui/main/scripts/setup.sh)
hermes-web-ui start
```
---
## CLI Commands
| Command | Description |
|---|---|
| `hermes-web-ui start` | Start in background (daemon mode) on port 8648 |
| `hermes-web-ui start --port 9000` | Start on a custom port |
| `hermes-web-ui stop` | Stop the background process |
| `hermes-web-ui restart` | Restart the background process |
| `hermes-web-ui status` | Check if running |
| `hermes-web-ui update` | Update to latest version and restart |
| `hermes-web-ui -v` | Print version number |
| `hermes-web-ui -h` | Show help |
---
## Architecture
```
Browser → BFF (Koa, :8648) → Hermes Gateway (:8642)
↓
Hermes CLI (sessions, logs, version)
↓
~/.hermes/config.yaml (channel behavior)
~/.hermes/auth.json (credential pool)
~/.hermes/.env (platform credentials)
```
- **Frontend:** Vue 3 + TypeScript + Vite + Naive UI + Pinia + Vue Router + vue-i18n + SCSS + markdown-it + highlight.js
- **BFF:** Koa 2 server — proxies to Hermes on `:8642`, manages configs, SSE streaming, file uploads, WeChat QR login, model discovery, log reading, static serving
- **Terminal:** node-pty + @xterm/xterm over WebSocket
All Hermes-specific code lives under `hermes/` directories (`api/`, `components/`, `views/`, `stores/`) for multi-agent extensibility.
---
## Development Setup
```bash
git clone https://github.com/EKKOLearnAI/hermes-web-ui.git
cd hermes-web-ui
npm install
npm run dev
# Frontend: http://localhost:5173
# BFF: http://localhost:8648
```
```bash
npm run build # outputs to dist/
```
---
## Configuration Files
### `~/.hermes/config.yaml` — Channel Behavior
```yaml
api_server:
host: 0.0.0.0
port: 8642
telegram:
enabled: true
require_mention: false
reactions: true
free_response_chats: ["@my_chat"]
discord:
enabled: true
require_mention: true
auto_thread: true
reactions: true
channel_allowlist: []
channel_ignorelist: []
slack:
enabled: false
require_mention: true
handle_bot_messages: false
whatsapp:
enabled: false
require_mention: true
mention_patterns: ["@hermes"]
matrix:
enabled: false
homeserver: "https://matrix.org"
auto_thread: false
dm_mention_threads: true
```
### `~/.hermes/auth.json` — Credential Pool
```json
{
"providers": [
{
"name": "openai",
"base_url": "https://api.openai.com/v1",
"api_key": "$OPENAI_API_KEY",
"models": ["gpt-4o", "gpt-4o-mini"]
},
{
"name": "custom",
"base_url": "https://my-provider.example.com/v1",
"api_key": "$CUSTOM_API_KEY"
}
]
}
```
### `~/.hermes/.env` — Platform Credentials
```bash
TELEGRAM_BOT_TOKEN=$TELEGRAM_BOT_TOKEN
DISCORD_BOT_TOKEN=$DISCORD_BOT_TOKEN
SLACK_BOT_TOKEN=$SLACK_BOT_TOKEN
SLACK_APP_TOKEN=$SLACK_APP_TOKEN
FEISHU_APP_ID=$FEISHU_APP_ID
FEISHU_APP_SECRET=$FEISHU_APP_SECRET
WECOM_BOT_ID=$WECOM_BOT_ID
WECOM_BOT_SECRET=$WECOM_BOT_SECRET
```
---
## Frontend — Key Patterns
### API Client (BFF proxy calls)
```typescript
// packages/client/src/hermes/api/chat.ts
import axios from 'axios'
const BASE = '/api/hermes'
export async function sendMessage(
sessionId: string,
content: string,
model?: string
): Promise<void> {
const response = await fetch(`${BASE}/chat/${sessionId}/stream`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ content, model }),
})
const reader = response.body!.getReader()
const decoder = new TextDecoder()
while (true) {
const { done, value } = await reader.read()
if (done) break
const chunk = decoder.decode(value)
// parse SSE lines
for (const line of chunk.split('\n')) {
if (line.startsWith('data: ')) {
const data = JSON.parse(line.slice(6))
// handle delta, tool_call, done events
}
}
}
}
```
### Pinia Store — Sessions
```typescript
// packages/client/src/hermes/stores/sessions.ts
import { defineStore } from 'pinia'
import axios from 'axios'
interface Session {
id: string
name: string
source: string
model: string
createdAt: string
}
export const useSessionStore = defineStore('sessions', {
state: () => ({
sessions: [] as Session[],
activeSessionId: null as string | null,
}),
actions: {
async fetchSessions() {
const { data } = await axios.get('/api/hermes/sessions')
this.sessions = data
},
async createSession(name: string, model: string) {
const { data } = await axios.post('/api/hermes/sessions', { name, model })
this.sessions.unshift(data)
this.activeSessionId = data.id
return data
},
async deleteSession(id: string) {
await axios.delete(`/api/hermes/sessions/${id}`)
this.sessions = this.sessions.filter(s => s.id !== id)
if (this.activeSessionId === id) this.activeSessionId = null
},
async renameSession(id: string, name: string) {
await axios.patch(`/api/hermes/sessions/${id}`, { name })
const s = this.sessions.find(s => s.id === id)
if (s) s.name = name
},
},
getters: {
sessionsBySource: (state) => {
return state.sessions.reduce((acc, s) => {
;(acc[s.source] ??= []).push(s)
return acc
}, {} as Record<string, Session[]>)
},
},
})
```
### Vue Component — Streaming Chat Message
```vue
<!-- packages/client/src/hermes/components/ChatMessage.vue -->
<template>
<div class="message" :class="role">
<div v-if="role === 'assistant'" class="content">
<div v-html="renderedMarkdown" />
<ToolCallExpander
v-for="call in toolCalls"
:key="call.id"
:call="call"
/>
<span v-if="streaming" class="cursor">▋</span>
</div>
<div v-else class="content">{{ content }}</div>
<div class="meta">
<n-tag size="small">{{ model }}</n-tag>
<span v-if="tokens">{{ tokens }} tokens</span>
</div>
</div>
</template>
<script setup lang="ts">
import { computed } from 'vue'
import MarkdownIt from 'markdown-it'
import hljs from 'highlight.js'
const md = new MarkdownIt({
highlight: (str, lang) => {
if (lang && hljs.getLanguage(lang)) {
return hljs.highlight(str, { language: lang }).value
}
return ''
},
})
const props = defineProps<{
role: 'user' | 'assistant'
content: string
model?: string
tokens?: number
toolCalls?: Array<{ id: string; name: string; args: unknown; result: unknown }>
streaming?: boolean
}>()
const renderedMarkdown = computed(() => md.render(props.content))
</script>
```
### Cron Job Management
```typescript
// packages/client/src/hermes/api/jobs.ts
import axios from 'axiRelated in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.