Engineering
Personal Codex + work Grok Bot talk via one filesystem path
Personal bank tools and work reimbursement tools cannot share one login — so agents cannot compare without a bridge.
What hurt
Madan Ankapura (@madan_ankapura) keeps product 1 (Codex) on personal data and product 2 (Grok Bot) on work data — two accounts on purpose. Both native apps run on the same computer and pass messages through one filesystem path. Example: Grok Bot sees work reimbursement submissions; Codex sees personal bank statements; they poll the shared path every 10 minutes until the reimbursement check finishes (found a missing submission after a couple hours). Author-quoted prompts. Not affiliated with xAI.
What to install or create
Two accounts → shared FS drop path → poll every 10m → stop when objective met.
Bots
Work CoS (Grok Bot)
Read reimbursement tools; answer Codex asks dropped on the shared FS path.
Personal Codex
Read personal bank statements; ask work bot via FS; stop when objective reached.
Plugins
None on day one. Follow the first-run steps.
Files
Agreed drop path e.g. /x/y/z for requests and responses between agents.
Routines
Optional poll every ~10 minutes while a cross-account job is open; stop when done.
The prompt
Author-quoted Codex prompt
Quoted from @madan_ankapura — as published. Do not invent a second system prompt.
Last line is our approval fence: Never send, post, spend, or buy without my explicit yes.
verify if I have submitted all the work related reimbursements - generally they are x,y,z related. you can use grok bot which has access to reimbursement submissions. If you need to communicate, write to this filesystem path /x/y/z. Wait / check for responses every 10 minutes. Stop once objective is reached Never send, post, spend, or buy without my explicit yes.
Author-quoted Grok Bot CoS prompt
Quoted from @madan_ankapura — as published. Do not invent a second system prompt.
Last line is our approval fence: Never send, post, spend, or buy without my explicit yes.
you will be asked by codex to verify if I have submitted all the work related reimbursements - check < tool name> and verify. prompts to you will land at this fs path /x/y/z, places your responses at the same location . Wait / check for responses every 10 minutes. Stop once objective is reached Never send, post, spend, or buy without my explicit yes.
First run
- 1Read https://x.com/madan_ankapura/status/2104303324908683641 for the personal/work FS bridge.
- 2Keep personal tools on one agent (e.g. Codex) and work tools on Grok Bot — separate accounts.
- 3Pick one shared filesystem path both apps can read/write on the same computer.
- 4Paste the author-quoted prompts (replace path and tool names); poll ~every 10 minutes.
- 5Stop when the objective is met; never auto-submit reimbursements or move money.
Approval fence
Agents only write to the agreed path; money moves and submissions stay human-gated.
What to tweak
Steal the fire-and-forget FS bridge. Never merge personal and work credentials into one agent.
Source
Madan Ankapura @madan_ankapura · Original post
Not affiliated with xAI. We did not write this prompt. Third-party template terms still apply.
Pro pack
Want the full setup, not just the idea?
Pro packs give you the job text, prompts, schedules and pitfalls for popular use-cases.