{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "rtk-ai-rtk--set-up-rtk-for-codex-gemini-cursor",
 "repo": "rtk-ai/rtk",
 "repo_url": "https://github.com/rtk-ai/rtk",
 "repo_slug": "rtk-ai-rtk",
 "title": "Set up RTK for Codex, Gemini CLI or Cursor",
 "page_title": "How to set up RTK for Codex, Gemini CLI or Cursor with RTK",
 "summary": "Use the agent-specific init flags to add RTK hooks to other agents.",
 "who": "A developer who switches between several coding agents.",
 "problem": "Each agent needs its own integration.",
 "outcome": "RTK hooks configured for the agents you use.",
 "steps": [
  "Install RTK",
  "Run `rtk init -g --codex` for Codex",
  "Run `rtk init -g --gemini` for Gemini CLI or `rtk init -g --agent cursor` for Cursor",
  "Verify savings with `rtk gain`"
 ],
 "agent_prompt": "Configure RTK for <agent> with the matching rtk init flag and confirm the hook is active by running a command and checking `rtk gain`.",
 "agents": [
  "codex",
  "gemini-cli",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Some agents use project-level hooks rather than global ones.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "macOS, Linux or Windows",
  "A supported coding agent"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/rtk-ai-rtk/set-up-rtk-for-codex-gemini-cursor/",
 "md": "https://dedupedai.com/use-cases/rtk-ai-rtk/set-up-rtk-for-codex-gemini-cursor/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/rtk-ai-rtk--set-up-rtk-for-codex-gemini-cursor.json",
 "api_version": "v1"
}
