Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. AI cloud provider Nscale files for IPO on $140.6M revenue, $1.02B net loss(cnbc.com ↗)
    discuss
  2. Show HN: Find Street Parking in NYC(avi.nyc ↗)
    discuss
  3. Software-Based Live Migration for RDMA – Proceedings of the ACM Sigcomm 2025(acm.org ↗)
    discuss
  4. Anthropic sets up a bio research lab for physical experiments(engadget.com ↗)
    2comments
  5. Show HN: Prohibition of Nuclear Launch Automation
    discuss
  6. A CPU Backdoor (2025)(phrack.org ↗)
    discuss
  7. Show HN: TypeSeer – on-device autocomplete for every text field on macOS(typeseer.com ↗)
    1comments
  8. Show HN: Rediagram – put the diagrams you have on your brand(rediagram.app ↗)
    discuss
  9. We Must Create the Shit Machine(mcsweeneys.net ↗)
    discuss
  10. Intel Appears to End Its Bug Bounty Program(phoronix.com ↗)
    discuss
  11. DeepSeek v4.1 Flash avg 102 tps on 4x RTX6000 pro max-q, 2.1x up from v4-flash(level1techs.com ↗)
    2comments
  12. We were right (about passkeys) all along(mailpace.com ↗)
    discuss
  13. Stack Overflow relaunched Developer Story (who certifies that a human wrote it?)(stackoverflow.blog ↗)
    discuss
  14. Friday Facts #446 – An ARM and a Frame(factorio.com ↗)
    discuss
  15. The Pain Axis: LLMs Represent Self-Directed Harm and Act to Relieve It(arxiv.org ↗)
    discuss
  16. I Have Been a DelGuard
    discuss
  17. The Mic Is On. So Is Live Auto-Tune.(nytimes.com ↗)
    1comments
  18. Institutional Parasitism in Open Technology Communities(wasabisys.com ↗)
    discuss
  19. UK could force phone companies to add 'anti-theft protections'(bbc.com ↗)
    discuss
  20. Using jev to improve product experiences is pretty crazy(elvex.com ↗)
    3comments
  21. What I learned from using FreeBSD as a main OS for a summer(divanv.com ↗)
    discuss
  22. A Lack of Honesty Is the Ultimate Killer(phillipspobrien.substack.com ↗)
    discuss
  23. Ask HN: What do you think of Noul, a new decision primitive
    discuss
  24. Wealth Taxes Can Make Capital Markets More Efficient(promarket.org ↗)
    discuss
  25. German Hospitals Prepare for War, Drones and Mass Casualties(bloomberg.com ↗)
    1comments
  26. Meta Muse Hits #1 in Apple App Store(businessinsider.com ↗)
    discuss
  27. You need more than just vanilla RAG(medium.com/nikozero11 ↗)
    discuss
  28. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    50comments
  29. Your 401(k) Is Propping Up the AI Bubble(promarket.org ↗)
    discuss
  30. PHP, on a Whim #2: Stop Calling Everything an Array(carthage.software ↗)
    discuss

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

102 pointsby 47m agocode.claude.com
46 comments
42m agoHN ↗

Great, now I have to redo my scaffold harness. I guess this agent.md awareness is part of the system prompt?

36m agoHN ↗

First feature to borrow after peaking into openai repos? ))

35m agoHN ↗

Finally doing something standards-compliant instead of forcing users into a proprietary workflow.

29m agoHN ↗

Don’t get too excited, Claude code still won’t detect skills on .agents/skills.

24m agoHN ↗

Don't worry, it's on the roadmap for Q4 2029.

18m agoHN ↗

They have AGI, but they don't have $20 of token budget to add a so basic functionality.

17m agoHN ↗

They probably have an explicit instruction in their own CLAUDE.md to not implement that support.

12m agoHN ↗

A post-checkout git hook can handle this unfortunate situation.

  mkdir -p ~/.githooks
  git config --global core.hooksPath ~/.githooks

  cat > ~/.githooks/post-checkout <<'EOF'
  #!/usr/bin/env bash
  if [ -d .agents/skills ] && [ ! -e .claude/skills ]; then
      mkdir -p .claude
      ln -s ../.agents/skills .claude/skills
  fi
  EOF

  chmod +x ~/.githooks/post-checkout
29m agoHN ↗

This allows us to remove our one line Claude.md files that just say "AGENTS.MD"

22m agoHN ↗

Fine if you don't need to git checkout the repo on Windows :)

18m agoHN ↗

Just .gitignore CLAUDE.md and handle it locally. Checking in a symlink would be weird.

16m agoHN ↗

I'm surprised Git and/or Windows don't support symlinks?

12m agoHN ↗

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: https://gitforwindows.org/symbolic-links.html

9m agoHN ↗

Windows does mklink. Not surprised with git.

12m agoHN ↗

Wow, still not there yet. After all these years.

28m agoHN ↗

Only took them a year and a half of everyone complaining to finally do the right thing.

Congrats.

23m agoHN ↗

Context

“I’m thinking about banning Claude Code at Shopify until they change their mind and read AGENTS.md and .agents/skills etc.,”

- Tobi Lütke on X.

26m agoHN ↗

Caught myself about to praise this, but it's the absolute bare minimum.

Time to delete the symlinks

22m agoHN ↗

The madlads finally did it, now if only I could use my Claude sub in other harnesses without risking getting banned.

9m agoHN ↗

yep, all i want is freedom to make a workflow where i don't feel tied to one provider, CC is exactly what i don't wanna get trapped in. I'll happily use claude MODELS, but if it means i have to keep learning two harnesses side by side to keep using one particular provider, then the second i can easily replace it, i am going to(even if its a small drop in performance).

22m agoHN ↗

Remember they didn't do this because they wanted to help community, they did it because community was angry and they were losing users to other harnesses.

Doesn't look like Anthropic care about dev community

20m agoHN ↗

Finally, I can delete `sync-agent-docs.sh`, which recursively symlinked AGENTS.md to GEMINI.md and CLAUDE.md...

19m agoHN ↗

My claude.md:

# CLAUDE.md

This project uses `AGENTS.md` as its agent instruction file (kept provider-agnostic). Treat any `AGENTS.md` file exactly as you would a `CLAUDE.md` file — at the root level and in any subdirectory you are working in.

@AGENTS.md

17m agoHN ↗

If only there was a technology that existed to link files together… /s

6m agoHN ↗

I think it is not actually reliable the way I did it, but the idea was to have it automatically detect nested AGENTS.md

Does your tech do that?

Anyway, the joke is on me I guess, because it might not work reliably.

18m agoHN ↗

I recently had Claude Fable set up a new project for me and I pointed it at some existing projects to use as a guide on how I like to structure things. It created, unprompted, an AGENTS.md file and a CLAUDE.md symlink to AGENTS.md

I didn't even have that symlink in any other project - it just did it. I think it saw that one of the projects I already had was set up by Codex and that project had an AGENTS.md so perhaps it inferred that I was using both Claude and Codex, so it was politely covering both? Or maybe a recent change made this behavior default?

I was surprised and I hope they continue to seek standards.

13m agoHN ↗

Seems agents understand their own bugs now. https://github.com/openai/codex/issues/9252 has 88 thumbs up and a workaround (switch to raw mode with Alt+R) found in a comment. Codex suggested the workaround to me today when I complained about its multi-line bash command being corrupted on paste because of the two-space indent in Codex's code blocks.

12m agoHN ↗

yay! /s

Why are people still putting up with this kind of attitude, especially when there are so many good alternatives available?

11m agoHN ↗

Still can't read what their models vomit at me.

8m agoHN ↗

Still don't understand the point of the markdown files.

Isn't it literally all just more text you're adding to the prompt. How can you even be sure it isn't just clouding context with nonsense for whatever you're asking for?

5m agoHN ↗

You know it because you write the content of AGENTS.md. And if you are smart, you keep it brief and cover only the important things that anyone (human OR LLM) would want to know if working in this directory.