๐งฉ Embeds
This page is the operator reference for [TAG] placeholders used in Amy/Ompcord Discord embed templates.
Rendering rule: keep the reference table plain and scroll-safe. Put JavaScript examples in fenced code blocks below the table, not inside raw HTML table tooltips.
Placeholder reference
| Category | Placeholder | Type | Source | Meaning |
|---|---|---|---|---|
| ๐ Discord gateway | [BOT_TAG] | string | Ompcord Bridge | Discord bot user tag, e.g. Amy#0305 |
| ๐ Discord gateway | [GATEWAY_STATUS] | emoji string | Amy SSOT Dashboard | Gateway readiness, e.g. ๐ข Ready / ๐ด Offline |
| ๐ Discord gateway | [GUILD_ID] | snowflake string | Amy SSOT Dashboard | Active Discord guild ID |
| ๐ Discord gateway | [HOME_CHANNEL_MENTION] | Discord mention | Amy SSOT Dashboard | Home channel mention, e.g. <#...> |
| ๐ Discord gateway | [ACTIVE_THREAD_MENTION] | Discord mention | Amy Session Continuity | Active thread mention, e.g. <#...> |
| ๐ Discord gateway | [GATEWAY_PING] | milliseconds | Ompcord Bridge | Discord websocket latency |
| ๐ Active run | [RUN_STATE] | emoji string | Amy SSOT Dashboard | Busy/idle state |
| ๐ Active run | [RUN_PHASE] | string | Amy SSOT Dashboard | Current task/todo phase |
| ๐ Active run | [RUN_STEP] | number | Amy SSOT Dashboard | Step/tool iteration count |
| ๐ Active run | [RUN_LAST_TOOLS] | string | Amy SSOT Dashboard | Recent tool trace, e.g. read โบ search โบ edit |
| ๐ Active run | [RUN_TOOL_GLYPHS] | emoji string | Amy SSOT Dashboard | Recent tools as compact symbols |
| ๐ Active run | [RUN_ELAPSED] | duration | Amy SSOT Dashboard | Current run duration |
| ๐ Active run | [RUN_PROMPT_EXCERPT] | string | Amy SSOT Dashboard | Truncated active prompt/goal |
| ๐ Active run | [RUN_STATUS_MESSAGE] | string | Amy SSOT Dashboard | Current agent status text |
| ๐ค Model/API | [MODEL_NAME] | string | Amy SSOT Dashboard | Current model ID |
| ๐ค Model/API | [MODEL_PROVIDER] | string | Amy SSOT Dashboard | Provider inferred from runtime/model |
| ๐ค Model/API | [MODEL_API] | string | Amy SSOT Dashboard | API protocol used by omp |
| ๐ณ Usage/billing | [USAGE_INPUT] | formatted number | omp npm plugins quick-start | Input token count |
| ๐ณ Usage/billing | [USAGE_OUTPUT] | formatted number | omp npm plugins quick-start | Output token count |
| ๐ณ Usage/billing | [USAGE_CACHE_READ] | formatted number | omp npm plugins quick-start | Cache-read token count |
| ๐ณ Usage/billing | [USAGE_TOTAL] | formatted number | omp npm plugins quick-start | Total token count |
| ๐ณ Usage/billing | [USAGE_COST] | USD string | omp npm plugins quick-start | Estimated cost when usage is available |
| ๐ณ Usage/billing | [USAGE_BILLING_SUMMARY] | string | Amy SSOT Dashboard | One-line input/cache/output/cost summary |
| ๐ Todo progress | [TODO_TOTAL_PHASES] | number | Amy SSOT Dashboard | Total todo phases |
| ๐ Todo progress | [TODO_ACTIVE_PHASE] | string | Amy SSOT Dashboard | Current phase name |
| ๐ Todo progress | [TODO_ACTIVE_CHECKLIST] | markdown string | Amy SSOT Dashboard | Current phase checklist |
| ๐ Todo progress | [TODO_PHASE_SUMMARY] | string | Amy SSOT Dashboard | Compact phase progress summary |
| ๐ Todo progress | [TODO_COMPLETED_COUNT] | number | Amy SSOT Dashboard | Completed task count |
| โ๏ธ Daemon/system | [DAEMON_PID] | number | Ompcord Bridge | Parent daemon PID |
| โ๏ธ Daemon/system | [DAEMON_UPTIME] | duration | Ompcord Bridge | Parent daemon uptime |
| โ๏ธ Daemon/system | [DAEMON_VERSION] | semver/string | Amy SSOT Dashboard | Status schema/runtime version |
| โ๏ธ Daemon/system | [DAEMON_WORKDIR] | path | Ompcord Bridge | Current daemon working directory |
| โ๏ธ Daemon/system | [DAEMON_SESSION_DIR] | path | Amy Session Continuity | Root session directory |
| โ๏ธ Daemon/system | [DAEMON_ALLOW_LIST] | mention list | Ompcord Bridge | Allowed Discord user mentions |
| โ๏ธ Daemon/system | [DAEMON_MEMORY] | size | Ompcord Bridge | Runtime RSS/heap memory indicator |
| ๐ง Settings | [CONFIG_REACTIONS] | emoji | Amy SSOT Dashboard | Reaction feedback enabled/disabled |
| ๐ง Settings | [CONFIG_TOOL_LOGS] | emoji | Amy SSOT Dashboard | Tool output logging enabled/disabled |
| ๐ง Settings | [CONFIG_AUTO_START] | emoji | Amy SSOT Dashboard | Auto-start behavior enabled/disabled |
| ๐ง Settings | [CONFIG_USE_THREADS] | emoji | Amy Session Continuity | Thread routing enabled/disabled |
| ๐ง Settings | [CONFIG_LOG_DETAIL] | emoji | Amy SSOT Dashboard | Verbose dashboard logging enabled/disabled |
| โฑ๏ธ Last run | [LAST_RUN_SUCCESS] | emoji | Amy SSOT Dashboard | Last run success/error indicator |
| โฑ๏ธ Last run | [LAST_RUN_EXIT_CODE] | number | Amy SSOT Dashboard | Child process exit code when available |
| โฑ๏ธ Last run | [LAST_RUN_TIME] | Discord timestamp | Amy SSOT Dashboard | Relative completion timestamp |
| โฑ๏ธ Last run | [LAST_RUN_ERROR] | string | Amy SSOT Dashboard | Last captured error text |
Safe formatting examples
bot_tag
// ๐ค Active bot tag, e.g. 'Amy#0305'
const botTag = client.user.taggateway_status
// ๐ก Gateway readiness status (๐ข Ready / ๐ด Offline)
const gatewayStatus = state.gateway.ready ? "๐ข Ready" : "๐ด Offline"guild_id
// ๐ Active Discord guild ID
const guildId = guild.idhome_channel_mention
// ๐ข Mentions the home channel, e.g. '<#123456789>'
const homeChannelMention = `<#${state.discord.homeChannelId}>`active_thread_mention
// ๐งต Mentions the active session thread, e.g. '<#123456789>'
const threadMention = `<#${state.discord.activeThreadId}>`gateway_ping
// โก WebSocket heartbeat ping latency in milliseconds
const ping = client.ws.pingrun_state
// ๐ฆ Current agent run state (๐ Busy / ๐ด Idle)
const runState = running ? "๐ Busy" : "๐ด Idle"run_phase
// ๐บ๏ธ Current task/todo phase name
const phase = activeRun.phaserun_step
// ๐ข Step/tool iteration count
const step = activeRun.stepCountrun_last_tools
// ๐ ๏ธ Recent tool trace, e.g. 'read โบ search โบ edit'
const lastTools = run.lastTools.join(" โบ ")run_tool_glyphs
// ๐ฎ Recent tools as compact symbols
const toolGlyphs = run.lastTools.map(getGlyph).join("")run_elapsed
// โฑ๏ธ Current run duration
const elapsed = formatDuration(Date.now() - startTime)run_prompt_excerpt
// ๐ Truncated active prompt/goal
const promptExcerpt = prompt.substring(0, 100) + "..."run_status_message
// ๐ฌ Current agent status text
const statusMessage = activeRun.statusMessagemodel_name
// ๐ง Current model ID, e.g. 'gemini-3.5-flash'
const modelName = config.modelmodel_provider
// ๐ข Provider inferred from model, e.g. 'Google'
const modelProvider = getProvider(config.model)model_api
// ๐ก API protocol used by omp
const modelApi = config.apiTypeusage_input
// ๐ฅ Input token count from model response
const inputTokens = usage.inputTokensusage_output
// ๐ค Output token count from model response
const outputTokens = usage.outputTokensusage_cache_read
// ๐พ Tokens fetched from context cache
const cacheTokens = usage.cacheReadTokensusage_total
// โ Total token count for this run
const totalTokens = usage.totalTokensusage_cost
// ๐ธ Estimated cost in USD
const cost = usage.costusage_billing_summary
// ๐ One-line token and cost summary
const summary = `๐ฅ ${fmt(u.input)} ๐พ ${fmt(u.cacheRead)} cache ๐ค ${fmt(u.output)} ๐ธ $${u.cost.toFixed(4)}`todo_total_phases
// ๐ Total todo phases
const totalPhases = checklist.phases.lengthtodo_active_phase
// ๐ฏ Current phase name
const activePhase = checklist.activePhase.nametodo_active_checklist
// ๐ Formatted markdown todos checklist for current phase
const lines = phase.items.map((item) => {
if (item.status === "done") return `โ
${item.task}`
if (item.status === "in_progress") return `โก๏ธ ${item.task}`
return `โฝ ${item.task}`
})todo_phase_summary
// ๐ Compact phase progress summary
const summary = `${done}/${total} tasks`todo_completed_count
// โ
Completed task count
const completedCount = checklist.totalDonedaemon_pid
// โ๏ธ Parent daemon PID
const daemonPid = process.piddaemon_uptime
// โฑ๏ธ Parent daemon uptime
const uptime = formatDuration(process.uptime())daemon_version
// ๐ฆ Status schema/runtime version
const version = pkg.versiondaemon_workdir
// ๐ Current daemon working directory
const workdir = process.cwd()daemon_session_dir
// ๐๏ธ Root session directory
const sessionDir = getSessionDir()daemon_allow_list
// ๐ฅ Allowed Discord user mentions
const allowList = config.allowedUsers.join(", ")daemon_memory
// ๐ง Runtime RSS/heap memory indicator
const memory = process.memoryUsage().rssconfig_reactions
// ๐ญ Reaction feedback status (enabled/disabled)
const reactions = config.useReactions ? "โ
" : "โ"config_tool_logs
// ๐๏ธ Tool output logging status (enabled/disabled)
const toolLogs = config.logTools ? "โ
" : "โ"config_auto_start
// โก Auto-start behavior status (enabled/disabled)
const autoStart = config.autoRun ? "โ
" : "โ"config_use_threads
// ๐งต Thread routing status (enabled/disabled)
const useThreads = config.useThreads ? "โ
" : "โ"config_log_detail
// ๐ Detailed debug logs status (enabled/disabled)
const logDetail = config.verbose ? "โ
" : "โ"last_run_success
// ๐ Last run success/error indicator
const success = lastRun.ok ? "๐ข" : "๐ด"last_run_exit_code
// ๐ซ Child process exit code
const exitCode = lastRun.exitCodelast_run_time
// ๐
Relative completion timestamp
const runTime = lastRun.timestamplast_run_error
// ๐จ Last captured error text
const error = lastRun.errorText