frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Agentfile one contract.yaml for all your AI agent instruction files

https://github.com/dennishavermans/agentfile
1•bychanzey•1h ago

Comments

bychanzey•1h ago
I kept maintaining the same rules in three different files. CLAUDE.md, .cursor/rules/main.mdc, .github/copilot-instructions.md. Every time I updated one I forgot the others. Two weeks later Cursor was still running on old instructions.

So I built agentfile. You define one contract.yaml, commit it to the repo, and run sync. It generates the correct file for each agent in its native format. Claude gets plain markdown, Cursor gets .mdc files with frontmatter, Copilot gets compact inline context blocks. Generated files are gitignored so every developer independently picks which agents they use without touching the repo.

A few things I found interesting to build:

Skills are defined once in the contract and rendered differently per agent. For Cursor that means individual .mdc files in .cursor/rules/skills/. For Claude they get appended as structured sections. For Copilot they become single-line bullets. Same data, three different formats, zero duplication.

Adding a new agent is just dropping a config.yaml and a template.md into ai/agents/. No generator changes needed. AGENTS.md is supported out of the box which means Codex and Windsurf are covered natively since both read it.

For monorepos you can drop an ai.override.yaml in any package directory to inject extra context without touching the shared contract.

Still early but it works well for my own workflow. Curious whether others have run into this problem and how you handled it.

Paul R. Ehrlich, Who Alarmed the World with 'The Population Bomb,' Dies at 93

https://www.nytimes.com/2026/03/15/books/paul-r-ehrlich-dead.html
1•igonvalue•50s ago•0 comments

Are we getting NSFW ChatGPT?

https://community.openai.com/t/are-we-getting-nsfw-chatgpt/1376809
2•puildupO•1m ago•0 comments

Thoughts on Generative A.I

https://kghose.github.io/generative-ai/
1•birdculture•2m ago•0 comments

DNS-over-QUIC in Unbound

https://blog.nlnetlabs.nl/dns-over-quic-in-unbound/
1•jruohonen•4m ago•0 comments

See what attackers can discover about your company's domain

https://surfacesentinel.arcforgelabs.com/
1•paddysec•5m ago•1 comments

Scientists harness light to program how particles interact and assemble

https://phys.org/news/2026-02-flip-scientists-harness-particles-interact.html
1•PaulHoule•5m ago•0 comments

Britain's Populist Right Has Surrendered Its Mind to America

https://liambyrne.substack.com/p/take-back-control
1•tastyface•7m ago•1 comments

Show HN: DemoSlice – Turn screenshots into interactive product tours (free)

https://demoslice.io/
1•eyane•9m ago•1 comments

Throwback: Coffeescript.org

https://coffeescript.org
1•BafS•10m ago•0 comments

Show HN: Arise – Agents that create their own tools at runtime when they fail

https://github.com/abekek/arise
1•abekek•10m ago•0 comments

Show HN: HN Skins – Available Skins: Cafe, Courier, London, Midnight, Terminal

https://github.com/susam/hnskins
1•susam•11m ago•0 comments

Claude, you are a cutie-pie

https://margaretatwood.substack.com/p/claude-you-are-a-cutie-pie
2•theblazehen•13m ago•0 comments

Stolen Works of Art Database

https://www.interpol.int/Crimes/Cultural-heritage-crime/Stolen-Works-of-Art-Database
1•jruohonen•16m ago•0 comments

Show HN: Turn any file into a CLI (reduce tokens vs. MCP)

1•gounisalex•16m ago•0 comments

Show HN: Agreezy: Create and e-sign agreements in minutes, no account needed

https://agreezy.app
2•agreezy•17m ago•1 comments

Show HN: LearnFork – Branching AI chat for learning and researching

https://learnfork.com/home
1•ninjaplavi•18m ago•1 comments

Iceland's Chief 'Lava Cooler' Is Bracing for the Next Eruption

https://www.nytimes.com/2026/03/15/world/europe/iceland-lava-volcano-eruption-grindavik.html
1•mitchbob•18m ago•1 comments

Your Company Is a Harness

https://twitter.com/seandoher1y/status/2033260806318797232
1•seandoh•19m ago•1 comments

The 49MB Web Page

https://thatshubham.com/blog/news-audit
5•kermatt•20m ago•0 comments

I Built LiveAuth: POW and Lightning Network Authentication for AI Agents

1•sydney-liveauth•20m ago•0 comments

Do you really need an agent?

2•g_br_l•21m ago•1 comments

Show HN: Opsmeter.io – AI cost attribution and budget control for LLM apps

1•opsmeter•21m ago•0 comments

Show HN: LLVM-Z80 - I wrote a complete LLVM backend with AI

https://github.com/llvm-z80/llvm-z80
1•zlfn•23m ago•0 comments

Imglink.cc – simple image hosting with folders and password-locked sharing

https://imglink.cc
1•happyghast•23m ago•0 comments

Franklin Awards Global Membership

https://franklinawards.substack.com/p/franklin-awards-global-membership
1•congruency•26m ago•0 comments

GLM-5-Turbo

https://docs.z.ai/guides/llm/glm-5-turbo
4•Topfi•28m ago•2 comments

Ukraine strike on Russian chip plant sparks revolt among pro-war bloggers

https://english.nv.ua/nation/ukraine-strike-on-kremniy-el-plant-sparks-rift-between-russian-propa...
3•gnabgib•28m ago•0 comments

How AI creates more developer jobs

https://stackoverflow.blog/2026/02/09/why-demand-for-code-is-infinite-how-ai-creates-more-develop...
1•karlmush•29m ago•2 comments

Islamvy – Islamic Super Lifestyle App

http://islamvy.com
1•myusufuysal•30m ago•1 comments

Caliber – AI setup tailored for your codebase

https://caliber-ai.up.railway.app/
1•keterslater•30m ago•1 comments