Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    67comments
  2. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    156comments
  3. Saving another 100TB of RAM(cloudflare.com ↗)
    24comments
  4. Cloudflare Quick Tunnels(cloudflare.com ↗)
    209comments
  5. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    53comments
  6. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    10comments
  7. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    40comments
  8. How to Write with an LLM(sockpuppet.org ↗)
    231comments
  9. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    69comments
  10. OpenJev(openjev.com ↗)
    234comments
  11. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    13comments
  12. Two parallel neural ectoderm progenitors contribute to the developing brain(newscientist.com ↗)
    47comments
  13. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    27comments
  14. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    155comments
  15. From Geometry to Algebra and Back Again: 4000 Years of Papers (2023) [video](youtube.com ↗)
    discuss
  16. Cyclomatic Complexity in C#(ndepend.com ↗)
    3comments
  17. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    12comments
  18. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    17comments
  19. Korea raises data breach fines to 10% of revenue(koreajoongangdaily.com ↗)
    53comments
  20. Minimal Phone 2(minimalcompany.com ↗)
    131comments
  21. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    171comments
  22. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    87comments
  23. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    8comments
  24. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    252comments
  25. Show HN: Ax-check.com – Can agents use your product?(ax-check.com ↗)
    25comments
  26. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  27. Border agents can search cellphones without a warrant or reasonable suspicion(lawandcrime.com ↗)
    116comments
  28. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    145comments
  29. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    15comments
  30. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    16comments

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

153 pointsby 1h agocode.claude.com
63 comments
56m agoHN ↗

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

50m agoHN ↗

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

50m agoHN ↗

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

12m agoHN ↗

Wake up babe, new recursive self learning technique just dropped.

43m agoHN ↗

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

39m agoHN ↗

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

32m agoHN ↗

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

31m agoHN ↗

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

26m 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
43m agoHN ↗

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

36m agoHN ↗

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

32m agoHN ↗

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

30m agoHN ↗

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

26m 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

26m agoHN ↗

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

10m agoHN ↗

Windows does actually have symlinks but I don't think I've ever seen anything actually use them, and I don't myself because it smells of interop issues with other windows apps.

Even to this day Windows has all kinds of problems around long file paths in its ecosystem.

42m agoHN ↗

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

Congrats.

37m 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.

41m agoHN ↗

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

Time to delete the symlinks

7m agoHN ↗

They have achieved AGI/RSI internally and it told them "common, let's sort this s..t out, it's embarrasing".

37m agoHN ↗

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

23m 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).

36m 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

34m agoHN ↗

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

33m 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

31m agoHN ↗

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

20m 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.

33m 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.

27m 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.

26m agoHN ↗

yay! /s

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

25m agoHN ↗

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

22m 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?

20m 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.

15m agoHN ↗

As far as I understand even adding relevant information still eventually clouds context

8m agoHN ↗

You still need to define assumptions somehow. What you want and what the model wants will not match up by default.

6m agoHN ↗

do you just manually type out your important instructions every time instead of being smart and putting a few lines in a text file?

15m agoHN ↗

Wow..... Progress and technical innovation right here!!!

14m agoHN ↗

This is not a news to celebrate, they must follow standards

11m agoHN ↗

Once I asked, puckishly, Claude Code to “follow the instructions in this directory” when there was only an AGENTS.md there.

In the manner of someone finding a dead mouse and holding it up for examination CC said it could find no instructions but perhaps it should check this AGENTS.md file.

9m agoHN ↗

Great, now please standardize the skills folder and the MCP config.

9m agoHN ↗

Claude also checks your settings.json first, and if it sees a default there it then prefers that over anything in CLAUDE.md. This is particularly nefarious as they ship logic to presume a default if a setting is not there in settings.json, even if there are instructions in CLAUDE.md for exactly that.

For instance, say you added "do not add 'Made with Claude Code' in any issues, pull requests or wiki entries" in your CLAUDE.md. So far, so good.

Well the latest update now looks for something in your settings.json. Since you don't know about it, it is not set. Claude then says "not explicitly set, so now it is true by default". It completely ignores your CLAUDE.md.

Wait, what?

You shouldn't be shipping logic that arbitrarily redefines the behavior of the program, especially if your new logic actually ignores your own configuration or directives.