rtk-ai/rtk

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

Open

#701 aberto em 18 de mar. de 2026

Ver no GitHub
 (2 comments) (1 reaction) (0 assignees)Rust (2.914 forks)batch import
area:clieffort-mediumenhancementgood first issuehelp wantedpriority:low

Métricas do repositório

Stars
 (48.085 stars)
Métricas de merge de PR
 (Mesclagem média 11d 1h) (45 fundiu PRs em 30d)

Description

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

Guia do colaborador