‹ BackHN Continuity

Thread

Claude Code now reads AGENTS.md if there is no Claude.md

741 points · 285 comments · datadrivenangel

  1. datadrivenangel · · focus · HN ↗
    This allows us to remove our one line Claude.md files that just say "AGENTS.MD"
    1. whalesalad · · focus · HN ↗
      ln -s AGENTS.md CLAUDE.md
      1. lolpython · · focus · HN ↗
        Fine if you don't need to git checkout the repo on Windows :)
        1. jpollock · · focus · HN ↗
          I'm surprised Git and/or Windows don't support symlinks?
          1. whalesalad · · focus · HN ↗
            are you though?
          2. lolpython · · focus · HN ↗
            Windows supports it but git disables creating symlinks by default.

            > Short version: there is no exact equivalent for POSIX symlinks on Windows, and the closest thing is unavailable for non-admins by default unless Developer Mode is enabled and a relatively recent Windows 10 version is used. Therefore, symlink emulation support is only turned on by default when that scenario is detected. Support can be enabled by the user, via the core.symlinks=true config setting.

            See: <a href="https:&#x2F;&#x2F;gitforwindows.org&#x2F;symbolic-links.html" rel="nofollow">https:&#x2F;&#x2F;gitforwindows.org&#x2F;symbolic-links.html

            1. mahboi · · focus · HN ↗
              Yeah this is why I don&#x27;t trust people saying devex is fixed on Windows now. Still doesn&#x27;t properly clone git repos.
          3. ipaddr · · focus · HN ↗
            Windows does mklink. Not surprised with git.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.