[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77HY2KSJ4J1NSYM9Y5EMECT":3,"skill-same:01M77HY2KSJ4J1NSYM9Y5EMECT":42},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":17,"linkOnly":18,"markdownContent":19,"markdownBody":19,"frontMatter":20,"refName":21,"commitSha":22,"skillDirectory":23,"forksCount":24,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":27,"install":28,"resources":41},"01M77HY2KSJ4J1NSYM9Y5EMECT","disp8ch",null,"aaronnat23\u002Fdisp8ch","aaronnat23","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F51923026?v=4","01M77HTPZYKQ3VF37TQD6KJNPS","01M77HTQ14TYK5EN9CJAMD39VA",94,"MIT","https:\u002F\u002Fgithub.com\u002Faaronnat23\u002Fdisp8ch\u002Fblob\u002Fmain\u002Foptional-skills\u002Fdisp8ch\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# disp8ch — Complete Product Reference Skill\n\nUse this skill when the user asks about how to use disp8ch, needs help with configuration, wants to know what commands or nodes are available, is troubleshooting workflows, or needs guidance on any disp8ch feature.\n\n## Use when\n- User asks \"how do I…\", \"what command…\", \"which node…\", or \"where do I find…\" about disp8ch.\n- User needs CLI, channel command, workflow node, or settings guidance.\n- Debugging a workflow, memory issue, or channel connection problem.\n- Explaining disp8ch architecture, data flow, or configuration to the user.\n\n---\n\n## Product Overview\n\ndisp8ch is a **single-user local-first personal AI assistant** with a visual workflow editor.\n\n**Tech stack:** Next.js 14 (App Router), React Flow, SQLite + Drizzle ORM, Zustand, multi-provider LLM  \n**Default port:** 3100 (WebSocket: 3101)  \n**Start dev server:** `pnpm dev`  \n**Build for production:** `npm run build` then `next start -p 3100`  \n**Scope:** Single-user only — no multi-user orchestration\n\n---\n\n## Channel Commands\n\nWorks in all 8 channels: WebChat, Telegram, Discord, WhatsApp, Google Chat, Slack, BlueBubbles (iMessage), Microsoft Teams.\n\n### Board Tasks\n```\nplease add \u003Ctitle> to my board\nTask: \u003Ctitle>\nlist tasks\nplease start task \u003Cid>\nrun task \u003Cid>\n```\n\n### Scheduler\n```\nlist schedules\nlist cron jobs\nshow scheduler          → bullet list of all cron jobs with live\u002Finactive status\nrun now \"Workflow Name\" → fires a cron workflow immediately\n```\n\n### Workflow Routing\n```\nuse \u003Cworkflow name> to \u003Cmessage>\nrun workflow: \u003Cworkflow name> :: \u003Cmessage>\n```\n\n### Skills & System\n```\nfind skills for \u003Ctask>\nis there a skill for \u003Ctask>\n\u002Fbtw \u003Cside question>        → quick aside without disrupting the current flow\nlist agents\nlist models\nlist tools\nlist documents\nshow config\nturn off telemetry\nturn on hooks\nhelp\nstatus\nchannel status              → shows all 8 channel connection states\n```\n\n### Org & Hierarchy\n```\nshow org                    → current active organization\nswitch to execution mode    → re-runs org ask as hierarchy orchestration\nswitch to council mode      → re-runs org ask as Leadership Council debate\n```\n\n---\n\n## Workflow Engine\n\n### Execution Flow\nLint → find trigger → BFS execution order → execute each node sequentially → `lastOutput` passed as input to next node → If\u002FElse splices branch via `sourceHandle \"true\"\u002F\"false\"` → emit WebSocket events.\n\n### Template Syntax\nResolved by `resolveTemplate()` in `expressions.ts`. Use `{{namespace.field}}` in any node config field.\n\n| Node type | Namespace | Key fields |\n|-----------|-----------|-----------|\n| `cron-trigger` | `cron` | `{{cron.triggeredAt}}`, `{{cron.expression}}` |\n| `run-code` | `run` | `{{run.result}}`, `{{run.result.myField}}` |\n| `message-trigger` | `message` | `{{message.text}}`, `{{message.sender}}`, `{{message.channel}}` |\n| `http-request` | `http` | `{{http.body}}`, `{{http.status}}`, `{{http.headers}}` |\n| `webhook-trigger` | `webhook` | `{{webhook.body}}`, `{{webhook.headers}}` |\n| `memory-recall` | `memory` | `{{memory.results}}` |\n| `claude-agent` | `agent` | `{{agent.response}}` |\n| `board-task` | `board` | `{{board.response}}`, `{{board.task.id}}`, `{{board.task.title}}`, `{{board.total}}` |\n| `set-variables` | `vars` | `{{vars.myKey}}` — accumulates across the whole workflow |\n| `date-time` | `date` | `{{date.formatted}}`, `{{date.iso}}`, `{{date.unixSeconds}}` |\n| `channel-status` | `channel` | `{{channel.response}}` |\n| `scheduler-job` | `scheduler` | `{{scheduler.response}}` |\n| `compare-text` | `compare` | `{{compare.identical}}`, `{{compare.diffSummary}}` |\n| `database-query` | `database` | `{{database.rows}}` |\n| `regex-extract` | `regex` | `{{regex.matches}}` |\n| `council` | `council` | `{{council.response}}` |\n\n**Important:** `set-variables` is the safe way to preserve values across nodes. After a `run-code` node, stage output into vars before write-file\u002Fmemory-store\u002Fsend-webchat so the values survive across subsequent nodes.\n\n### Example: Preserve run-code output across nodes\n```\nrun-code  →  set-variables (reportBody={{run.result.report}})  →  write-file (content={{vars.reportBody}})  →  memory-store (manualContent={{vars.reportBody}})\n```\n\n---\n\n## Node Types (52 across 10 categories)\n\n### Trigger\n| Node | Key Config |\n|------|------------|\n| `message-trigger` | `channel` (webchat\u002Ftelegram\u002Fdiscord\u002Fetc), `filter` (comma-separated keywords) |\n| `webhook-trigger` | `path`, `secret` (HMAC-SHA256 verified) |\n| `manual-trigger` | No config — fires via UI or `\u002Fapi\u002Fexecute` |\n| `cron-trigger` | `expression` (cron syntax), `timezone` |\n\n**Keyword filter tip:** `filter` on trigger nodes = comma-separated keywords. Blank = generic fallback (matches anything). Set but no match = workflow skipped. Keyword-matched workflows sort before generic ones.\n\n### Agent\n| Node | Key Config |\n|------|------------|\n| `claude-agent` | `systemPrompt`, `temperature`, `maxTokens`, `agentId`, `tools` (array) |\n| `parallel-agents` | `workers` (array of agent configs) — fan-out, results in `workerReports` |\n| `call-workflow` | `workflowId` — runs another workflow as a sub-call |\n\n### Channel (Send)\n`send-webchat`, `send-whatsapp` (requires `to`), `send-telegram`, `send-discord`, `send-email` (host\u002Fport\u002Fsubject), `send-slack`, `send-bluebubbles`, `send-teams`\n\n### Logic\n| Node | Key Config |\n|------|------------|\n| `if-else` | `condition` (expr-eval expression, e.g. `vars.flag == \"yes\"`) — outputs `branch: \"true\"` or `\"false\"` |\n| `switch` | `expression`, `cases` (array) — outputs to N handles |\n| `delay` | `ms` — pauses execution |\n| `set-variables` | `assignments` (array of `{key, value}`) — values support `{{templates}}` |\n| `filter` | `condition` — stops execution if false |\n\n**Condition expressions** use `expr-eval`. Access data as `vars.key`, `message.text`, `agent.response`, etc.\n\n### Memory\n| Node | Key Config |\n|------|------------|\n| `memory-recall` | `query` (supports `{{templates}}`), `limit` |\n| `memory-store` | `extractMode` (auto\u002Fmanual), `type` (fact\u002Fsummary\u002Fetc), `manualContent` (supports `{{templates}}`) |\n\n### Tool\n| Node | Key Config |\n|------|------------|\n| `system-command` | `action` (pc-specs\u002Flist-files) |\n| `http-request` | `url`, `method`, `headers`, `body` (supports `{{templates}}`) |\n| `run-code` | `code` (JS sandbox — set `result` variable), `timeout` (ms) |\n| `read-file` | `path` |\n| `write-file` | `path` (supports `{{vars.ts}}`), `content` (supports templates), `mode` (overwrite\u002Fappend) |\n| `board-task` | `action` (list\u002Fcreate\u002Fupdate\u002Fdelete\u002Fclaim\u002Frelease), `boardId`, `title`, `organizationId`, `goalId` |\n| `document-tool` | `action` (list\u002Fsearch\u002Fget), `limit` |\n| `workflow-template` | `action` (list-templates\u002Flist-workflows) |\n| `scheduler-job` | `action` (list) |\n| `date-time` | `operation` (now\u002Fadd\u002Fsubtract\u002Fformat), `amount`, `unit`, `timezone`, `outputStyle` |\n| `channel-status` | `format` (summary\u002Ffull) |\n| `council` | `topic` (supports templates), `decisionMode` (majority\u002Fconsensus\u002Fweighted), `optionsText` |\n\n**run-code sandbox:** Access `input` (previous node output), set `result` variable. No `require()`, no `process`, no `__dirname`. Use `JSON`, `Math`, `Date`, `String`, `Number`, `Array`, `Object`.\n\n### Voice\n`voice-stt` (language, model), `voice-tts`\n\n### Advanced Logic\n`loop`, `aggregate`, `merge` (2 inputs), `error-handler` (success\u002Ferror handles), `wait-for-input`, `rate-limiter`\n\n### Advanced Data\n`json-transform` (expression field), `split-text` (text + delimiter + maxChunks), `regex-extract` (text + pattern + flags), `compare-text` (textA + textB + operator)\n\n### Advanced Tool\n`database-query` (raw SQL against disp8ch SQLite), `clipboard`, `notification`, `git-operation`, `archive`\n\n---\n\n## Built-In Agent Tools\n\nAvailable to `claude-agent` nodes. Enable per-agent in Agents → node config → Tools tab.\n\n| Tool | What it does |\n|------|-------------|\n| `bash_exec` | Run shell commands |\n| `read_file` | Read file contents |\n| `write_file` | Write\u002Fappend to files |\n| `list_files` | List directory contents |\n| `http_request` | SSRF-guarded HTTP calls |\n| `browser_action` | Playwright: navigate\u002Fclick\u002Ftype\u002Fscreenshot\u002Fsnapshot\u002Fclick_ref\u002Ffill_ref\u002Fpdf |\n| `memory_search` | Search memory (query\u002Flimit\u002Fmin_score) |\n| `session_recall` | Search indexed session transcripts |\n| `memory_get` | Get specific memory file (path\u002Flines) |\n| `memory_store` | Store a memory entry (type\u002Fcontent\u002Fconfidence) |\n| `memory_gpt` | LLM-assisted memory reranking |\n| `run_python` | Execute Python code |\n| `schedule_task` | Create a cron job programmatically |\n| `web_search` | Web search (provider configurable in Settings → General) |\n| `take_screenshot` | Capture desktop screenshot |\n| `pc_specs` | Get system hardware info |\n| `documents_list` | List data sources |\n| `documents_search` | Search data source content |\n| `document_get` | Get a specific document |\n| `get_clipboard` \u002F `set_clipboard` | Read\u002Fwrite clipboard |\n| `send_notification` | Desktop notification |\n| `send_message` | Send to any of 8 channels (telegram\u002Fdiscord\u002Fwhatsapp\u002Fwebchat\u002Fgoogle-chat\u002Fslack\u002Fbluebubbles\u002Fteams) |\n| `sessions_spawn` | Spawn Claude Code \u002F Gemini CLI \u002F Codex sub-agent (permission_mode: ask\u002Fauto\u002Ffull; worktree=true for git isolation) |\n| `agent_inbox` | Disp8chTeam P2P messaging (send\u002Freceive\u002Fpeek\u002Flist\u002Fbroadcast) |\n| `init_experiment` | Set up metric-driven optimization session |\n| `run_experiment` | Execute benchmark, parse METRIC outputs |\n| `log_experiment` | Commit\u002Frevert on keep\u002Fdiscard\u002Fcrash |\n\n**Tool approval policy** (set per agent node):\n- `approvalMode`: off | model | human\n- `execSecurity`: deny | allowlist | full\n- `execAsk`: off | on-miss | always\n- `execAllowlist`: array of allowed command names\n\n---\n\n## `disp8chn` CLI Reference\n\n```bash\n# Setup & Health\ndisp8chn init [--ensure-env] [--timezone \u003Ctz>] [--onboarding-done]\ndisp8chn status\ndisp8chn health\ndisp8chn doctor          # checks config, DB, models, env\ndisp8chn env\ndisp8chn help\n\n# Models\ndisp8chn models list\ndisp8chn models recommend\ndisp8chn models add\ndisp8chn models probe\ndisp8chn models probe-tools\ndisp8chn models remove\ndisp8chn models set-priority\n\n# Memory\ndisp8chn memory embedding-status\ndisp8chn memory stats\ndisp8chn memory list\ndisp8chn memory search\ndisp8chn memory clear\ndisp8chn memory rebuild-index\ndisp8chn memory index-sessions\ndisp8chn memory index-collections\ndisp8chn memory backfill\n\n# Workflows\ndisp8chn workflows list\ndisp8chn workflows create\ndisp8chn workflows delete\n\n# Agents\ndisp8chn agents list\ndisp8chn agents create\ndisp8chn agents update\ndisp8chn agents delete\ndisp8chn agents default\n\n# Data Sources\ndisp8chn data-sources list\ndisp8chn data-sources search\ndisp8chn data-sources get\ndisp8chn data-sources upload\ndisp8chn data-sources scrape\ndisp8chn data-sources crawl\ndisp8chn data-sources delete\n\n# Boards\ndisp8chn boards list\ndisp8chn boards create\ndisp8chn boards delete\ndisp8chn boards tasks\ndisp8chn boards create-task\ndisp8chn boards run-task\ndisp8chn boards claim-task\ndisp8chn boards release-task\ndisp8chn boards delete-task\n\n# Hierarchy\ndisp8chn orgs list|current|save-current|switch|delete\ndisp8chn goals list|create|delete\n\n# Extensions & Skills\ndisp8chn extensions list|status|enable|disable|config-get|config-set\ndisp8chn skills list\ndisp8chn skills install \u003Csource> [ref]   # e.g. github.com\u002Fuser\u002Frepo\ndisp8chn skills update \u003Cid>\ndisp8chn skills uninstall \u003Cid>\n\n# Config\ndisp8chn config show [--json]\ndisp8chn config get \u003Ckey>\ndisp8chn config set \u003Ckey> \u003Cvalue>\ndisp8chn config validate\n\n# Key config keys:\n# tool.output_limit · compaction.mode · compaction.threshold\n# context.pruning.mode · memory.flush_enabled · memory.decay.enabled\n# memory.embedding_model · memory.vector_weight · memory.text_weight\n# memory.search_backend · memory.rerank_strategy\n# web_search_provider · web_search_api_key · browser_cdp_url\n# ratelimit.webhooks · ratelimit.execute · ratelimit.channels · log.max_days\n\n# Secrets\ndisp8chn secrets list\ndisp8chn secrets set \u003Cname> \u003Cvalue>\ndisp8chn secrets remove \u003Cname>\n\n# ACP (Agent Communication Protocol)\ndisp8chn acp status\ndisp8chn acp test\ndisp8chn acp sessions\ndisp8chn acp reset-session\ndisp8chn acp serve\n\n# Backup\ndisp8chn backup create\ndisp8chn backup list\ndisp8chn backup verify\n\n# Auth\ndisp8chn auth google\ndisp8chn auth status\ndisp8chn auth revoke\n```\n\n---\n\n## Settings Tabs (`\u002Fsettings`)\n\n| Tab | What it configures |\n|-----|--------------------|\n| **Models** | Add\u002Fremove\u002Fprioritize providers; set API keys or `secret:NAME` refs |\n| **Channels** | Enable Telegram\u002FDiscord\u002FWhatsApp\u002FGoogle Chat\u002FSlack\u002FBlueBubbles\u002FTeams; view status |\n| **Memory** | Embedding model; search backend\u002Frerank; vector\u002Ftext weights; citations mode; snippet\u002Finject char caps; session indexing; startup files; custom collection paths |\n| **Tools** | Add custom bash\u002FJS tools; set per-tool config |\n| **General** | Tool output limit; context pruning + compaction; retry policy; rate limits; log retention; telemetry + hooks toggles; memory flush + decay |\n| **Secrets** | Create\u002Fview\u002Fdelete encrypted `app_secrets` entries (referenced as `secret:NAME`) |\n| **Google** | OAuth status; refresh\u002Frevoke Gmail access token |\n| **Config (raw)** | Form + JSON editor with presets (Balanced\u002FHigh Reliability\u002FThroughput); import\u002Fexport; per-field reset |\n| **Validate** | Run runtime readiness check; shows missing keys, misconfigured fields |\n| **Security** | Security posture audit: public API surface, auth boundaries, secrets posture, ingress trust, workflow exec risk |\n\n---\n\n## Sidebar Navigation\n\n**Control:** Dashboard · Docs · Workflows · Boards · Data Sources · Files · Scheduler  \n**Monitoring:** Activity · Approvals · Metrics · Usage · Logs · Debug · Maintenance  \n**People:** Agents · Hierarchy · Council · Tags · Skills · Extensions · Memory  \n**Connect:** Channels · WebChat  \n**Settings:** Settings  \n\nRedirects: `\u002Flive` → `\u002Factivity`, `\u002Fcosts` → `\u002Fmetrics`\n\n---\n\n## Boards\n\n**Status values:** `inbox` | `in_progress` | `review` | `done` | `blocked`  \n**Priority values:** `low` | `medium` | `high` | `urgent`\n\nBoard tasks auto-block when `blockedBy` task IDs are provided. They auto-unblock when all blocking tasks reach `done`.\n\n**API:** `POST \u002Fapi\u002Fboards\u002Ftasks` with `{ boardId, title, description?, status?, priority?, blockedBy?: string[] }`\n\n**Run a task:** `POST \u002Fapi\u002Fboards\u002Ftasks\u002Frun` with `{ taskId }` — creates and executes a workflow from the task.\n\n**Layout:** Jira-style Kanban (Inbox \u002F In Progress \u002F Review \u002F Done). Org\u002Fgoal filters, \"+ New Task\" panel with Quick Task \u002F From Template \u002F From Document tabs. Drag-and-drop between columns.\n\n---\n\n## Memory System\n\n**Storage:** Atomic `data\u002Fmemories\u002F*.md` + durable `MEMORY.md` + daily audit logs.  \n**Search:** Hybrid FTS5 BM25 + cosine vector similarity (default weights: 0.7\u002F0.3).  \n**Embeddings:** `local` (Transformers.js offline), Google `gemini-embedding-001`, OpenAI, Ollama, Mistral, Voyage.\n\n**API:**\n```\nGET  \u002Fapi\u002Fmemory?action=search&query=\u003Cq>&limit=5    # search memories\nGET  \u002Fapi\u002Fmemory?action=list                         # list all memories\nGET  \u002Fapi\u002Fmemory?action=journal                      # journal entries\nGET  \u002Fapi\u002Fmemory?action=session-recall               # session transcript hits\nPOST \u002Fapi\u002Fmemory  { content, type, extractMode }    # store a memory\nDELETE \u002Fapi\u002Fmemory?id=\u003Cid>                           # delete a memory\n```\n\n**Important:** Use `?action=search&query=...` — NOT `&q=...` (q param silently returns empty).\n\n**Memory types:** `fact` · `summary` · `preference` · `skill` · `context` · `journal`\n\n**Explorer UI** at `\u002Fmemory`: user\u002Fagent\u002Fresource\u002Fskills splits + retrieval-explain visibility.\n\n---\n\n## Hierarchy & Council\n\n**Hierarchy** (`\u002Fhierarchy`): Organizations → Goals → Board Tasks. Topology tree shows org structure. Goal Focus panel for status\u002Flevel updates inline.\n\n**Council** (`\u002Fcouncil`): Multi-agent deliberation. Participants vote on a topic with configured options. Decision modes: majority \u002F consensus \u002F weighted.\n\n**Org collaboration routing in WebChat:**\n- Discussion\u002Fverdict\u002Fconsensus asks → Leadership Council mode\n- Investigate\u002Fanalyze\u002Fplan\u002Fexecute asks → Hierarchy execution orchestration\n- Type `switch to execution mode` or `switch to council mode` to toggle\n\n---\n\n## Multi-Provider LLM\n\nSupported providers: Anthropic · OpenAI · Google Gemini · Groq · Together · OpenRouter · Ollama · vLLM · SGLang · LM Studio · DeepSeek · Mistral · Zhipu · Moonshot · xAI\n\n**Model aliases:** `opus` → Claude Opus, `sonnet` → Claude Sonnet, `gpt4` → GPT-4o, `gemini` → Gemini, `llama` → Llama via Ollama\n\nLocal providers (Ollama\u002FvLLM\u002FSGLang\u002FLM Studio) don't need API keys. Ollama model discovery uses `\u002Fapi\u002Ftags`; others use `\u002Fmodels`.\n\n**Adding a provider via API:**\n```\nPOST \u002Fapi\u002Fmodels { provider, modelId, apiKey, priority }\n```\n\n**Secrets in model config:** Use `secret:NAME` as the API key value to reference encrypted secrets stored in `app_secrets`.\n\n---\n\n## Cron Scheduler\n\nNew cron workflows need `POST \u002Fapi\u002Fcron { action: \"resync\" }` to be picked up by the in-memory scheduler.\n\n**`\u002Fapi\u002Fcron`:**\n- `GET` — returns `{ summary: { totalJobs, activeJobs, liveCount }, jobs[] }`\n- `POST { action: \"run\", workflowId }` — run immediately\n- `POST { action: \"toggle\", workflowId }` — pause\u002Fresume\n- `POST { action: \"resync\" }` — reload scheduler from DB\n\n**Cron expression format:** `minute hour day-of-month month day-of-week`  \nExamples: `0 9 * * *` (daily 9am) · `*\u002F30 * * * *` (every 30m) · `0 9 * * 1-5` (weekdays 9am)\n\n---\n\n## Common Workflow Patterns\n\n### Simple Chat\n```\nmessage-trigger → claude-agent → send-webchat\n```\n\n### Cron Report\n```\ncron-trigger → set-variables (seed context) → [gather data nodes] → run-code (build report) → set-variables (stage reportBody) → write-file → memory-store → send-webchat\n```\n\n### If\u002FElse Branch\n```\nset-variables (flag=yes) → if-else (condition: vars.flag == \"yes\") → [true: send-webchat] \u002F [false: memory-store]\n```\n\n### Error-Resilient Pipeline\n```\ncron-trigger → run-code → error-handler → [success: claude-agent → memory-store] \u002F [error: send-webchat (alert)]\n```\n\n### Parallel Research\n```\nmanual-trigger → parallel-agents (3 workers) → aggregate → claude-agent (synthesis) → memory-store → send-webchat\n```\n\n---\n\n## Known Gotchas\n\n- `executions` table uses `started_at` — NOT `created_at`\n- Ollama embed endpoint is `\u002Fapi\u002Fembed` — NOT `\u002Fv1\u002Fembeddings`\n- Memory search API: use `?action=search&query=...` — NOT `&q=...` (silent empty return)\n- New cron workflow not appearing in scheduler → call `POST \u002Fapi\u002Fcron { action: \"resync\" }`\n- `set-variables` stages values into `{{vars.key}}` — these persist across all subsequent nodes\n- `memory-store` with `extractMode: manual` resolves `{{templates}}` in `manualContent`\n- After `write-file`, the `run` namespace is still accessible via `{{run.result.*}}` — but staging into `vars` first is safer\n- `run-code` sandbox: set `result` variable to return output; access previous data via `input`\n- `if-else` condition uses expr-eval — use `==` not `===`; access `vars.key` or `message.text` directly\n- `board_tasks.status`: 5 values only — `inbox` | `in_progress` | `review` | `done` | `blocked`\n- Top-level `node:fs` in shared file → client bundle crash → use inline `require()` with `typeof window` guard\n- WebChat POST: `{ action: \"chat\", sessionId, message }` — NOT `{ channel, message }`\n- `handleBuiltinCommands()` runs before workflow matching — builtin commands always short-circuit\n\n---\n\n## Agent Workspace Files\n\nEach agent in `\u002Fagents` has editable files in the Files tab:\n\n| File | Purpose |\n|------|---------|\n| `SOUL.md` | Core personality and communication style |\n| `USER.md` | User profile — preferences, habits, context |\n| `IDENTITY.md` | Agent's self-description and capability boundaries |\n| `TOOLS.md` | Instructions for how this agent should use tools |\n| `MEMORY.md` | Durable memory entries (auto-updated by memory system) |\n| `BOOT.md` | Startup instructions loaded on every conversation |\n| `AGENTS.md` | Team context — other agents, roles, handoff rules |\n| `HEARTBEAT.md` | Optional periodic check-in instructions |\n| `BOOTSTRAP.md` | One-time setup context loaded on first run |\n\n---\n\n## Security Model\n\n- No `eval()` — expressions via sandboxed `expr-eval`; custom JS via `vm.runInNewContext()`\n- Webhook secrets: HMAC-SHA256, `crypto.timingSafeEqual` (not `!==`)\n- API keys encrypted at rest: AES-256-GCM via `ENCRYPTION_KEY` in `app_secrets`\n- Admin routes (`\u002Fapi\u002Fdebug`, `\u002Fapi\u002Flogs`, `\u002Fapi\u002Fsecrets`) require session or `x-disp8ch-admin-token`\n- Control-plane APIs require session or admin token\n- SSRF guard on `http_request` tool — private IP ranges blocked\n- Exec hardening: invisible-Unicode detection, null-byte rejection, timing-safe token checks\n\n---\n\n## Where to Find Things\n\n| I want to… | Go to |\n|------------|-------|\n| Create\u002Fedit a workflow | `\u002Fworkflows` → open editor |\n| Browse templates | `\u002Fworkflows` → Templates tab |\n| Manage cron schedules | `\u002Fscheduler` |\n| View live execution | `\u002Factivity` |\n| Approve tool use | `\u002Fapprovals` |\n| See token\u002Fcost usage | `\u002Fusage` |\n| Manage board tasks | `\u002Fboards` |\n| Browse documents\u002Fdata | `\u002Fdocuments` |\n| Edit agent personality | `\u002Fagents` → select agent → Files tab |\n| Enable skills per agent | `\u002Fagents` → select agent → Skills tab |\n| Configure channels | `\u002Fsettings` → Channels tab |\n| Add\u002Fchange AI models | `\u002Fsettings` → Models tab |\n| Manage encrypted secrets | `\u002Fsettings` → Secrets tab |\n| Configure memory\u002Fembeddings | `\u002Fsettings` → Memory tab |\n| Check system health | `disp8chn doctor` or `\u002Fsettings` → Validate tab |\n| Search memories | `\u002Fmemory` or `disp8chn memory search` |\n| View org\u002Fgoal hierarchy | `\u002Fhierarchy` |\n| Run a council debate | `\u002Fcouncil` |\n| Manage skill packs | `\u002Fskills` |\n| Install external skills | `disp8chn skills install \u003Cgithub-url>` |\n",{},"main","3be47a9b679ff2e3cd3ce7377dde08397c81e85b","optional-skills\u002Fdisp8ch",2,"https:\u002F\u002Fgithub.com\u002Faaronnat23\u002Fdisp8ch","https:\u002F\u002Fgithub.com\u002Faaronnat23","2026-09-03 00:01:18",{"source":7,"skillName":5,"commands":29,"prompt":39,"zipAvailable":40},[30,33,36],{"tool":31,"command":32},"npx","npx skills add aaronnat23\u002Fdisp8ch --skill disp8ch",{"tool":34,"command":35},"bunx","bunx skills add aaronnat23\u002Fdisp8ch --skill disp8ch",{"tool":37,"command":38},"pnpm","pnpm dlx skills add aaronnat23\u002Fdisp8ch --skill disp8ch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faaronnat23\u002Fdisp8ch\u002Fblob\u002Fmain\u002Foptional-skills\u002Fdisp8ch\u002FSKILL.md",true,[],[43,49,55,61,67,73],{"skillNo":44,"name":45,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":46,"categories":47,"keywords":48,"publishedAt":17},"01M77J2PSNNF2YJHPERE5PFWP3","weather","https:\u002F\u002Fgithub.com\u002Faaronnat23\u002Fdisp8ch\u002Fblob\u002Fmain\u002Fskills\u002Fweather\u002FSKILL.md",[],[],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":17},"01M77J2MHQJA7J6AS0E4VPRGYW","team-plan-review","https:\u002F\u002Fgithub.com\u002Faaronnat23\u002Fdisp8ch\u002Fblob\u002Fmain\u002Fskills\u002Fteam-plan-review\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":17},"01M77J2GM06F0HX0SP592QF3C7","team-coordination","https:\u002F\u002Fgithub.com\u002Faaronnat23\u002Fdisp8ch\u002Fblob\u002Fmain\u002Fskills\u002Fteam-coordination\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":17},"01M77J2EVBXHZQDXYJ45Z6NNKZ","summarize","https:\u002F\u002Fgithub.com\u002Faaronnat23\u002Fdisp8ch\u002Fblob\u002Fmain\u002Fskills\u002Fsummarize\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":17},"01M77J2BGPAF9H740MA5W1FMP2","release-manager","https:\u002F\u002Fgithub.com\u002Faaronnat23\u002Fdisp8ch\u002Fblob\u002Fmain\u002Fskills\u002Frelease-manager\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":17},"01M77J2900B5MSHN7C3V8AN0BE","proactive-memory","https:\u002F\u002Fgithub.com\u002Faaronnat23\u002Fdisp8ch\u002Fblob\u002Fmain\u002Fskills\u002Fproactive-memory\u002FSKILL.md",[],[]]