rtk-ai/rtk

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

Open

#688 aperta il 18 mar 2026

Vedi su GitHub
 (1 commento) (4 reazioni) (0 assegnatari)Rust (2914 fork)batch import
area:clieffort-mediumenhancementgood first issuehelp wantedpriority:low

Metriche repository

Star
 (48.085 star)
Metriche merge PR
 (Merge medio 11g 1h) (45 PR mergiate in 30 g)

Descrizione

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

Guida contributor