一键导入
custom-commands
Create, delete, and list custom Telegram bot commands as markdown files in the commands directory, then reload via the reload_commands tool.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create, delete, and list custom Telegram bot commands as markdown files in the commands directory, then reload via the reload_commands tool.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when adding or updating shadcn/ui or compatible registry components in packages/world/packages/spa or packages/website, including preset apply flows and repo-specific integration patterns.
Inspect OpenCode sessions from the shell — list them, export one, read its messages. Use whenever the user asks about an existing session, wants to pick a session to bind a schedule to, or wants to know what happened inside a session.
Create, inspect, trigger, update, and clean up scheduled tasks. Use whenever the user asks about recurring jobs, reminders, background checks, or wants history of past runs.
Manage the Telegram bot — read bot token, call Telegram Bot API methods, change bot settings, delete messages, and other bot administration tasks.
Create, install, update, delete, and list custom skills that give agents specialized capabilities. Also handles searching and installing skills from the skills.sh ecosystem.
| name | custom-commands |
| description | Create, delete, and list custom Telegram bot commands as markdown files in the commands directory, then reload via the reload_commands tool. |
Custom commands are markdown files in the commands directory. Each .md file becomes a /command — the filename (without .md) is the command name.
The commands directory path is: $OPENKITTEN_OPENCODE_DIR/commands/
IMPORTANT: Write files DIRECTLY to $OPENKITTEN_OPENCODE_DIR/commands/. Do NOT navigate, explore, or resolve the path manually — use it as-is.
.md file to $OPENKITTEN_OPENCODE_DIR/commands/{name}.mdreload_commands tool to apply changes immediately---
description: Translate text to English
---
Translate the following text to English: $ARGUMENTS
Frontmatter fields:
description (required) — shown in the Telegram command menu (max 256 chars)agent (optional) — which agent executes the commandmodel (optional) — override the default modelBody: the prompt template. Use these placeholders:
$ARGUMENTS — all user input after the command name$1, $2, $3 — positional argumentsTo create /weather, write directly to $OPENKITTEN_OPENCODE_DIR/commands/weather.md:
---
description: Check the weather for a location
---
Check the current weather for: $ARGUMENTS
Provide temperature, conditions, and a brief forecast.
Then call reload_commands.
$OPENKITTEN_OPENCODE_DIR/commands/{name}.mdreload_commands tool to apply changes immediatelyList files in $OPENKITTEN_OPENCODE_DIR/commands/.
^[a-z][a-z0-9_]{0,30}\.md$Telegram bot built-in commands:
/start — Start a new conversation/abort — Stop the current generation/compact — Summarize conversation history/agent — Switch or list AI agents/upgrade — Update OpenKitten and restart (ships as a global OpenCode command that invokes the upgrade_openkitten MCP tool)OpenCode built-in commands (users can use these directly):
/compact /connect /details /editor /exit /export /help /init /models /new /redo /sessions /share /themes /thinking /undo /unshare
If a user asks about these built-in commands, tell them they can use them directly — no custom command needed.