kimaki-tools
Run common Kimaki project/session operations from OpenCode, especially linking an existing OpenCode session into Discord and Kimaki session listings. Use when users ask to manage Kimaki projects, sessions, or thread mappings from CLI.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Kimaki Tools
Use this skill to execute repeatable Kimaki CLI operations from an OpenCode session.
Trigger Conditions
Activate when the user asks to do Kimaki operations such as:
- Add/link the current OpenCode session to Discord/Kimaki
- List Kimaki projects or sessions
- Read archived session logs
- Start a Kimaki session from CLI (
kimaki send) - Start a worktree session from CLI
Core Capability: Link Current Session
When the user says to add/link the current OpenCode session to Kimaki/Discord:
- Resolve the current session ID.
- Prefer explicit user-provided session ID.
- Else use the session ID from system context.
- Run:
bash scripts/link-session-to-discord.sh --session-id <sessionId> --project "$(pwd)" --user "lp"
- Report:
- Created/used Discord thread ID + URL
- Confirmation that mapping was inserted in
thread_sessions - Result from
kimaki session list --project <path>showingsource: kimaki
Common Operations
Use commands from references/kimaki-tools-reference.md for:
- Project discovery (
project list,project open-in-discord) - Session inspection (
session list,session read) - Dispatching prompts (
send --channel,send --session,--wait) - Worktree sessions (
send --worktree) - Thread/session cleanup (
session archive)
Operational Rules
- Prefer exact commands over conceptual guidance.
- Validate with one follow-up command after each write operation.
- If current directory is not a Kimaki project, instruct how to register it with
kimaki project add. - If linking fails because the project mapping is missing, stop and provide the exact fix command.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!