rtk-ai/rtk

feat: add rtk init -g --openclaw for automatic plugin installation

Open

#688 建立於 2026年3月18日

在 GitHub 查看
 (1 留言) (4 反應) (0 負責人)Rust (48,085 star) (2,914 fork)batch import
effort-mediumenhancementgood first issue

描述

Summary

Add --openclaw flag to rtk init -g to automatically install the RTK plugin for OpenClaw, following the same pattern as --opencode.

Tasks

  • Add --openclaw flag to rtk init CLI args
  • Copy openclaw/index.ts + openclaw/openclaw.plugin.json to ~/.openclaw/extensions/rtk-rewrite/
  • Add OpenClaw check to rtk init --check diagnostics
  • Add uninstall support in rtk init --uninstall

Context

  • OpenCode equivalent: rtk init -g --opencode (already implemented)
  • OpenClaw plugin: PR #358
  • Plugin location: ~/.openclaw/extensions/rtk-rewrite/

Reference

Pattern to follow: run_opencode_only_mode() in src/init.rs

貢獻者指南

feat: add rtk init -g --openclaw for automatic plugin installation · rtk-ai/rtk#688 | Good First Issue