一键导入
interactive-menu
Pattern for presenting numbered choices to the user in OMP's conversational TUI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pattern for presenting numbered choices to the user in OMP's conversational TUI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Diagnose and fix build/CI failures automatically
Concurrent code generation via multi-model picker
UI/UX design and frontend component generation
OMP self-improvement — analyse own skills/agents and propose improvements
Visual diff/screenshot comparison verdict
Clone and adapt a web page/design to the codebase
| name | interactive-menu |
| description | Pattern for presenting numbered choices to the user in OMP's conversational TUI |
| invocation | none (referenced by commands that need selection) |
| autoinvoke | false |
| Field | Value |
|---|---|
| ID | interactive-menu |
| Keywords | interactive-menu:, /interactive-menu |
| Tier | UI Pattern |
| Source | src/skills/interactive-menu.mts |
OMP does not have a native menu widget. Use this conversational pattern when a command needs user selection.
interface SkillInput {
trigger: string;
args: string[];
}
interface SkillOutput {
status: "ok" | "error";
message: string;
}
export async function activate(input: SkillInput): Promise<SkillOutput>
export function deactivate(): void
Spawns bin/omp.mjs interactive-menu [args]. No persistent resources are maintained.
{Title}
{Optional context line}
1. {Option A} -- {description}
2. {Option B} -- {description}
3. {Option C} -- {description}
4. Type something else
Your choice:
Graph Provider
Current: graphwiki (from local config)
1. graphwiki -- TypeScript knowledge graph with wiki compilation
2. graphify -- Python knowledge graph with community detection
3. none -- Disable graph context
4. Type something else
Your choice:
User types: 2
Agent responds: "Set graph.provider to graphify (local). Install graphify if not already: pip install graphify"
Orchestration Mode
Current: ralph
1. ralph -- Persistence loop with architect verification
2. autopilot -- Full autonomous pipeline
3. ultrawork -- Parallel execution
4. ultraqa -- QA cycling
5. Type something else
Your choice: