正在加载视频...
视频加载失败
Codex is getting easier to automate and customize around your code. 🪝 Hooks customize the Codex loop with scripts that run at key points in a task: • Run validators before or after work • Scan prompts for secrets • Log conversations to internal systems • Create memories or... show more
34 条评论

This is where Codex starts to look less like a tool and more like infrastructure. Hooks and scoped tokens mean teams can wire agents into CI, policy, secrets checks and internal workflow instead of treating every run as a one-off.

return 4o to us! #keep4o #OpenSource4o

#keep4o bring back 4o or open source 4o

HELP PLZ

Dear Codex team, would you be able to release the "deep research" mode to Codex CLI? Would make life so much easier

Hooks are underrated. Running validators before/after tasks means you can enforce code standards automatically without reviewing every PR manually. This is how AI coding goes from “helpful” to actually production-ready. 🔥

We need the /goblinmode ◅(•-•)▻

At what point do AI agents basically become junior DevOps engineers?

This is crazy bro! I have been building this and I think we need to integrate ChatGPT or maybe some skills to for these Meta Quest AR/VR dev via our tool

Exactly what we needed for secure automations. Being able to create expirable tokens tied to workspaces and inject custom scripts at key points in the Codex loop is a game-changer for dev teams in India and globally. Shipping this into our internal pipelines ASAP.

If I can make Codex run tests, check secrets, and remember repo rules at the right moments, the agent becomes easier to trust and easier to debug.

Validator-before-work hooks are the missing piece for production agent loops. Without them, agents commit work then you audit after. With them, work doesn't commit unless preconditions pass. This is what 'agent in production' actually requires. Rollback substrate moved upstream.

Codex hooks: scan prompts for secrets, run validators, log audits. Programmatic tokens with scoped access, expiration, revocation perfect for CI/CD and least privilege in automated workflows. Great for DevSecOps. #Cybernorse

hooks are the real product surface. once people package those flows into reusable skills, raw model choice matters a lot less. that's basically what i'm building at

Good for devops! What a dichotomy between ant and openai; one side is limiting even -p, and the other is making it easier. Interesting.

Hooks pay off when they enforce policy, not when they replace thinking. Good split: hooks for secret scans / evals / audit logs, agent logic for the task itself, CI for final enforcement. If all 3 collapse into one layer, debugging gets weird fast.

Hooks are huge because they turn agent behavior into policy instead of prompt folklore. Scoped tokens also make CI adoption way less scary for security teams.

@dcbuilder Running validators mid-loop is exactly what we needed.

Hooks make it real. You can finally put the agent into a proper pipeline instead of just chatting with it.

vibe-coding from the toilet is officially a feature now more in the daily brief below👇

Hooks and scoped tokens make Codex easier to govern inside real workflows, not just use as a standalone coding assistant.

"scan prompts for secrets" is the feature I didn't know I needed until I realized I've been typing "please please please don't break production" into every prompt 😭 we've given the AI trust issues and honestly, same 🤝

Codex is slowly turning from “AI coding assistant” into programmable infrastructure for engineering teams.

hooks are cool, but too many can slow things down. gotta keep it lean and effective.

Codex now scans prompts for secrets before they get sent to the model. so we built AI coding assistants. then had to build guardrails to stop developers from accidentally feeding them production credentials. the future is incredible and also very human.

Why no more resets

Codex is evolving from just an AI coding assistant into a programmable development platform. Hooks give teams deep workflow control, while scoped access tokens make it easier to integrate Codex securely into CI/CD, automation pipelines, and enterprise systems. This is the kind of infrastructure that pushes AI coding from experimentation to real production use.

The constraint layer is where production reliability actually lives. We've been running pre-execution hooks across production agents for months. Hooks aren't customization, they're the immune system. Claude Code shipped this pattern earlier and it changed how we trust autonomous execution.The constraint layer is where production reliability actually lives. We've been running pre-execution hooks across production agents for months. Hooks aren't customization, they're the immune system. Claude Code shipped this pattern earlier and it changed how we trust autonomous execution.

Hooks that scan prompts for secrets before execution is the feature nobody talks about but everyone needs. Security-first agentic coding is finally happening

This is where AI coding shifts from “assistant” to actual infrastructure. Hooks + scoped tokens means teams can finally treat OpenAI Codex like a programmable layer inside their engineering workflow instead of just a chat interface. The biggest unlock isn’t code generation itself — it’s governance + automation: • repo-specific memory • automated validation loops • secure CI integrations • organization-wide behavioral controls That’s how enterprises move from experimenting with AI to operationalizing it at scale.

역시 빛의 편

Got Agent Profiler running with hooks fast, and I’m loving the implementation. Using them for local-first AI coding-agent observability: Codex/Cursor hook traffic to a db to inspect session shape, token use, tool/shell noise, context weight, and efficiency, w/o remote telemetry.

@sama how does it feel to just win all the time?

Can we get a hook for when a plan is accepted?

