rtk-ai/rtk

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

Open

#701 aperta il 18 mar 2026

Vedi su GitHub
 (2 commenti) (1 reazione) (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 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

Guida contributor