# One-Prompt Setup for Coding Agents (Claude Code, Codex, Devin, Cursor) Read this file when the user asks you to set up `x-algo-growth-os` from a single prompt. Run the steps yourself; only pause when user input (like their handle, niche, or optional read-only X login) is needed. ## 1. Clone the Repo If you are not already inside `x-algo-growth-os`, clone it into `~/x-algo-growth-os` (or the user's current workspace) and `cd` into it: ```bash git clone https://github.com/Iam-shyamrathore/x-algo-growth-os.git ~/x-algo-growth-os cd ~/x-algo-growth-os ``` ## 2. Ask Only What Is Missing If the user has not already provided their **X handle** and **niche/topics**, ask in one short line. Otherwise proceed immediately. ## 3. Initialize a Clean Zero-Start Workspace Wipe the sample data so the 3D Brain starts cleanly from the 6 verified Nov 2026 `xai-org/x-algorithm` seed nodes: ```bash python3 scripts/init_workspace.py --handle ``` *(If the user explicitly wants to explore the populated demo first, skip `init_workspace.py` and keep the 43-node demo graph.)* ## 4. Ask About Live X Reading (Optional, Read-Only) Ask the user: *"Do you want live read-only X reading via Agent Reach (requires a separate read-only X account), or start with copy-paste?"* - If **yes**: follow `references/x-read-setup.md` (install pinned `v1.6.1` release from GitHub — never PyPI — enable `twitter`, and let the user sign in with a separate read-only account). - If **copy-paste**: skip `agent-reach`; ask them to paste 5–10 X posts or links in their niche. ## 5. Launch the 3D Brain & Queue Web Preview Start the zero-dependency local server in the background: ```bash python3 scripts/serve.py --port 4173 ``` Tell the user to open **http://localhost:4173** (two views: **Brain** 3D WebGL graph + **Queue** copy-and-post list with 15-minute pacing guard). ## 6. Start Day 1 Read `SKILL.md`, run `python3 scripts/graph_query.py --brief`, scout or accept the user's niche posts, draft Day 1's queue into `data/board.json`, and run `python3 scripts/build_graph.py` so the first nodes appear live in their 3D Brain. **Hard rule:** Never post, reply, like, follow, or DM automatically. The user always reviews and presses Post themselves.