Skip to content

RTK init want to install in .claude when using another agent #3282

Closed as duplicate

Description

@pierre-skyvisor

When I run rtk init --global --agent cursor, I have this error.

rtk: Failed to write RTK.md: /home/.../.claude/RTK.md: Failed to create temp file in /home/.../.claude: No such file or directory (os error 2) at path "/home/.../.claude/.tmp8bS3b2"

I am using WSL and RTK v0.44.1

Activity

  1. pszymkowiak commented on Jul 28, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    🐛 Category bug
    🟠 Priority high
    🎯 Confidence 88%

    Summary

    rtk init --agent cursor still tries to create RTK.md inside a nonexistent .claude directory instead of the target agent's directory; fails with ENOENT on WSL (v0.44.1)

    This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.

    📁 Relevant files
    • src/init.rs

    Triaged automatically by wshm · This is an automated analysis, not a human review.

  2. KuSh commented on Sep 13, 2026

    @KuSh
    Collaborator

    Closing as a duplicate of #2097, which tracks the same problem with the more complete discussion. Please follow up there; if your case differs in a way that issue does not cover, comment here and it can be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions