rtk-ai/rtk

feat: add Cline/Roo Code support via rtk init --agent cline

Open

#701 geöffnet am 18. März 2026

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (2.914 Forks)batch import
area:clieffort-mediumenhancementgood first issuehelp wantedpriority:low

Repository-Metriken

Stars
 (48.085 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11T 1h) (45 gemergte PRs in 30 T)

Beschreibung

Summary

Add Cline (VS Code) support to RTK.

How Cline works

Cline uses .clinerules file in project root for custom rules, and hooks in ~/Documents/Cline/Rules/Hooks/ or .clinerules/hooks/ for scripts.

PreToolUse hooks can cancel commands but cannot rewrite them. contextModification injects text into conversation context.

Implementation

Rules-based approach (like Windsurf/Codex):

  • rtk init --agent cline creates .clinerules with RTK instructions
  • Optional: PreToolUse hook for tracking via rtk gain

References

Contributor Guide