frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Codex 101 Guide from a Recovering PM

https://www.forwardeployed.com/post/codex-best-practices
1•yummyelephant8•1h ago

Comments

yummyelephant8•1h ago
I've spent thousands of hours with agentic coding tools like Claude Code and Codex. Steal everything I know about Codex in the blog post I wrote

1/ You might be able to 1-shot prompt a complex app prompt once, but that's luck.

To do it reliably, you need to break your project into subcomponents, build each one separately, then bring it all together.

This isolates bugs so you can build on your projects in the future.

I call this agentic engineering.

2/ Firstly, your Codex setup probably isn't optimal. Add this to ~/.zshrc:

alias codex="codex --search --model=gpt-5.4 -c model_reasoning_effort="high" --sandbox workspace-write -c sandbox_workspace_write.network_access=true"

model_reasoning_effort="xhigh" and network_access=true are the v important here.

3/ The VIBE method: Verbalize → Instruct → Build → Evaluate

Run this recursively on each subcomponent of your project.

Building a PDF-to-PNG web app? Backend endpoint first, frontend second, each in its own VIBE cycle.

4/ The only Skills you need.

Clone wshobson/agents, copy the tools folder to ~/.codex/prompts.

Try "explain this codebase" raw, then run the same prompt with /prompts:code-explain. You'll see a huge difference in the quality of your output.

That's why you use Skills.

5/ The only MCP you need.

I used to paste API documentation manually and tell the LLM to "read this before implementing." But Context7 and exa-code are much better at this.

I switched from Context7 to exa-code recently. Exa searches thousands of repos for current best practices before implementing. Either gets the job done.

6/ AGENTS.md

A file you drop in your repo root that agents read before doing anything. A behavioral contract at the project level. (h/t Jason Liu)

# Use uv run, never python # Prefer async over sync patterns # Write at 9th grade level in documentation # Avoid heavily mocking tests without user permission # Update docs when code changes # Never git add ., specify files # Run linters/formatters before committing # Type check before merging # Run affected tests for changed files

"avoid mocking tests without permission" is v important: stops agents from writing fake tests that pass trivially.

7/ Subagents.

Multi-agent systems solve a real LLM performance problem: the more context your agent uses, the worse it performs.

Splitting responsibilities across subagents each with its own objective and context window will get you better outputs.

Example: building a login feature.

→ Orchestrator spins up 2 subagents → Backend engineer builds the functionality → Security engineer checks it for vulnerabilities → Both finish, orchestrator returns the combined output

8/ Full write-up covers the Codex CLI setup, VIBE walkthroughs, MCP config, the full AGENTS.md, and a receipt invoicing lab you can follow step by step.

A retention mechanic for intrinsic learning that isn't Duolingo manipulation?

https://www.dailylabs.co/
1•aidanadd•42s ago•1 comments

Xkcd: Change in Slope

https://xkcd.com/2701/
3•ravenical•6m ago•1 comments

TLAi+ Benchmarks for Evaluating LLMs

https://github.com/tlaplus/TLAiBench
1•alhazrod•7m ago•0 comments

The Unison Language – The Big Idea

https://www.unison-lang.org/docs/the-big-idea/
1•deterministic•9m ago•0 comments

Two Years of Emacs Solo: 35 Modules, Zero External Packages, and a Full Refactor

https://www.rahuljuliato.com/posts/emacs-solo-two-years
2•celadevra_•10m ago•0 comments

Anthropic sues Pentagon claiming supply chain risk label could cost billions

https://www.ft.com/content/af404e0a-7abc-49bc-9584-cd4690152f86
1•Jimmc414•11m ago•0 comments

Iran's attacks on Amazon data centers in UAE, Bahrain signal a new kind of war

https://fortune.com/2026/03/09/irans-attacks-on-amazon-data-centers-in-uae-bahrain-signal-a-new-k...
3•rawgabbit•15m ago•0 comments

I will pay you if you ship a bug

https://www.getautonoma.com
1•Escafati•17m ago•2 comments

Trump says Iran war is 'complete, pretty much'

https://www.theguardian.com/world/2026/mar/09/us-israel-strikes-iran-supreme-leader
2•hedayet•19m ago•0 comments

Anti-stringing device for a coin acceptor (1996)

https://patents.google.com/patent/US5511645A/en
2•exvi•20m ago•0 comments

Sally, by Isaac Asimov (1953)

https://lecturia.org/en/short-stories/isaac-asimov-sally/8602/
1•antognini•21m ago•0 comments

Why software supply-chain review shouldn't be split across five tools

https://github.com/ferxalbs/rainy-updates
1•ferxalb•22m ago•1 comments

Porting MacPaint to Swift with Claude Code

https://weirdvibes.net/posts/2026-03-07-macpaint-part-1/
1•minorbug•22m ago•2 comments

White House blocks intelligence report warning of rising homeland terror threat

https://www.dailymail.co.uk/news/article-15622933/White-House-blocks-warning-rising-threat-linked...
3•heavyset_go•22m ago•0 comments

FreeBSD 14.4-Release Now Available

https://lists.freebsd.org/archives/freebsd-announce/2026-March/000228.html
2•cperciva•23m ago•0 comments

TrueNAS build system going closed source

https://github.com/truenas/scale-build
2•Teever•25m ago•0 comments

The little shipping company that's making Europe's sanctions look silly

https://www.politico.com/news/2026/03/07/mail-tracking-tariffs-berlin-moscow-00798601
2•thebeardisred•27m ago•0 comments

I Tried to Write a HTTP Service in Zig and Failed

https://maori.geek.nz/i-tried-to-write-a-http-service-in-zig-and-failed-72c4ce581e1d
1•grahar64•31m ago•0 comments

Leap Second

https://en.wikipedia.org/wiki/Leap_second
1•pinkmuffinere•34m ago•1 comments

Ask HN: Read‑only LLM tool for email triage and knowledge extraction?

1•maille•34m ago•0 comments

Show HN: Theme SaaS – Silicon Valley Meets Theme Hospital

https://themesaas.com/
1•fmfamaral•35m ago•0 comments

Ask HN: Any informed guesses on the actual size/architecture of GPT-5.4 etc.?

2•dsrtslnd23•36m ago•0 comments

ThinkPad X14 with Magic Bay

https://www.notebookcheck.net/A-ThinkPad-laptop-with-modules-Unannounced-slim-Lenovo-ThinkPad-X14...
1•bpierre•41m ago•0 comments

Is this the right approach to go from zero to designing quantum algorithms?

https://darshanfofadiya.com/zero-to-quantum/
1•DARSHANFOFADIYA•42m ago•1 comments

AI-powered 10-minute habit that taught my kid to read (and made me a better dad)

https://talperry.com/en/posts/genai/learning-to-read-with-ai/
1•teleforce•42m ago•0 comments

Getting Started in Common Lisp

https://lisp-stat.dev/blog/2026/03/09/getting-started/
1•oumua_don17•44m ago•0 comments

Would America be in recession without the super-rich?

https://www.economist.com/finance-and-economics/2026/03/08/would-america-be-in-recession-without-...
4•javanissen•44m ago•1 comments

Tesla FSD deteriorating "city miles to critical disengagement" 4,109 down to 809

https://twitter.com/GordonJohnson19/status/2031037879732883842
5•toss1•45m ago•0 comments

How fast does a protein fold? Real-time technique captures the moment

https://www.nature.com/articles/d41586-026-00755-x
1•lc0_stein•46m ago•2 comments

Planet Labs announces two week delay on imagery of Iran

https://bsky.app/profile/eliothiggins.bsky.social/post/3mgnwujow5s2f
1•alisonatwork•48m ago•0 comments