name: llmbasedos description: "Operate the llmbasedos runtime as the orchestration skill for autonomous Sentinels. Use when you need to assemble multiple MCP arcs (marketdata, executor, notifier, planner, browser, etc.) under one mission, reuse the awake loop, and expose a single RAG/front-end glue between Codex/Claude and llmbasedos agents."
llmbasedos skill
Goal
llmbasedos is the runtime where agents wake up, compose MCP arcs, reason using LLMB based planning, and take actions without waiting for direct prompts. This skill guides Codex through wiring that runtime to the Codex/Claude experience so you can orchestrate streaming marketdata, automation scripts, alerts, and reports in one flow.
When to run this skill
- You want to route requests from Codex or Claude Code into a llmbasedos Sentinel.
- You need to coordinate multiple arcs (awake, marketdata, executor, notifier, browser, file, etc.) inside the llmbasedos container.
- You need live signals + historical reasoning from llmbasedos (auto plans + scripts).
Prerequisites
- Clone
../llmbasedosnext to this repo. Keep the repo updated (git pull). - Install Docker / Docker Compose as described in
llmbasedos/README.md. - Configure
.envinsidellmbasedos/configwith your LLM credentials (Gemini/OpenAI/OLLAMA). - Launch the runtime:
cd ../llmbasedos && docker compose -f docker-compose.dev.yml up -d. - Verify arcs: run
./run/check_arcs.sh(or theluca-shellcommands) and ensure the MCP gateway is reachable athttp://localhost:8000.
Workflow
Register Codex as an MCP client
- Use
llmbasedos/connect.sh codex(seeconnect.shin the root) to create a connector arc that listens to a local socket or HTTP endpoint. - Extend the connector with the
marketdata,executor,notifier, andbrowserarcs you care about (adjust thesupervisordconfig if necessary).
- Use
Define the mission
- Copy the mission template from
llmbasedos_src/quests/and edit it with your desired flow (awake -> ideation -> action). - Provide hooks for the data sources you want (RAG, live market feed, custom notifier).
- Copy the mission template from
Expose the mission to Codex
- Use Codex to call the MCP gateway via the provided connector (HTTP or websocket). You can post a JSON payload to
/mcpwith the mission name and context. - Add prompts in
SKILL.mdor referencingreferences/so the agent knows how to frame queries that go through llmbasedos.
- Use Codex to call the MCP gateway via the provided connector (HTTP or websocket). You can post a JSON payload to
Monitor and report
- Capture output via the
filearc (snapshots, logs, alerts). - Format the report with
assets/report_template.md(Markdown + citations) and share results via notifier (Discord/Telegram) or Codex message.
- Capture output via the
Key arcs
| Arc | Purpose |
|---|---|
marketdata |
Streams live & historical Polymarket order books/price data |
executor |
Runs scoring/analysis scripts (scripts/score_edges.py, trading logic) |
notifier |
Pushes alerts into Discord/Telegram or files alerts.json |
browser |
Fallback for docs or metadata when APIs throttle |
file |
Stores snapshots, reports, templates |
awake |
The planning loop that decides what to do next |
planner |
Converts high-level goals into executable quests |
llm_router |
Routes to the right LLM based on privacy/cost policies |
Accessing llmbasedos resources
- Reference
llmbasedos_src/when you need helper scripts (examples, connectors). - Use
data,tools, andplaywright-mcpfor ingestion, crawling, or UI automation. - Copy mission templates into
skills/llmbasedos/quests/(if you want to ship new missions inside the skill).
Example scenario (read-only)
- Codex asks: “Find the best odds discrepancy between Polymarket and the archived doc.”
- The skill forwards the query to llmbasedos via the MCP connector.
- The awake arc pulls marketdata + historical RAG indexes.
- The executor runs
score_edges.pyand returns the edge summary. - Notifier saves
alerts.jsonand Codex renders the report with citations.
Reporting
- Use
assets/report_template.mdto format results. - Include timestamps + source URLs in each chunk.
- Push alerts via the notifier arc or by writing JSON under
llmbasedos/data/alerts.
Updates
- When llmbasedos changes, rerun
docker composeand restartluca-run. - Keep MCP connectors in sync by re-running
connect.shif you add new arcs. - Push new quests by writing TOML files under
llmbasedos_src/quests.