Borrowing it
Nothing to install: this file belongs to AuraVixStudio/caelo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AuraVixStudio/caelo/main/CLAUDE.mdgit clone --depth 1 https://github.com/AuraVixStudio/caeloWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/auravixstudio/caelo/claude-md)<a href="https://agentmods.dev/instructions/auravixstudio/caelo/claude-md"><img src="https://agentmods.dev/badge/instructions/auravixstudio/caelo/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/auravixstudio/caelo/claude-md"><img src="https://agentmods.dev/badge/instructions/auravixstudio/caelo/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.18293 | $0.18293 |
| Opus 5.5 | $0.07317 | $0.07317 |
| Sonnet 5.5 | $0.03659 | $0.03659 |
| Haiku 4.5 | $0.01829 | $0.01829 |
Grade A, and why
caelo CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 24d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 744 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
⚠️ READ FIRST — this repo is Caelo 2.0, not Caelo 1.x
This repository is a clone of grok_desktop_app (Caelo 0.1.5) taken as the foundation for
Caelo 2.0, whose goal is merging Caelo with gemini-desktop-studio into one multi-provider
app (xAI + Google). Everything below this banner still describes the code as it stands, and is
accurate — but the target architecture is different, and the decisions in this section
override anything below them when the two disagree.
Plan (source of truth for the integration): docs/plans/PLAN_INTEGRACJI.md
Git: the remote caelo-1x points at the local 1.x repo (for cherry-picking fixes). Since
2026-09-22 origin is the public repo AuraVixStudio/caelo (the user selected it) and Caelo
2.0 lives on its main. Upstream tracking is still deliberately off — git push alone does
nothing, so publishing is always an explicit git push origin main. Never push to caelo-1x, and
treat every push to origin as publishing: main is protected by 6 required status checks, so a
push that bypasses them leaves CI to catch up afterwards.
The central idea
Caelo is the host.
gemini-desktop-studiois the donor of the media architecture. xAI loses its privileged path.
The last part is the one that gets missed. Today api_manager.APIManager is called directly from
backend_media.py, and responses_client.py says in its own docstring that it is „nie
multi-provider". If Google is simply bolted on next to that, we get two parallel code paths inside
one process — the exact problem the merge exists to remove. So xAI moves behind the new provider
abstraction too. Refactoring xAI is part of the work, not a side effect.
Architecture decisions (ADR-1…8)
Full context and consequences in the plan; this is the binding summary.
| # | Decision | Consequence for you |
|---|---|---|
| ADR-1 | Google via raw REST (requests), not an SDK. |
Every xAI call in this repo is already hand-rolled requests — no SDK anywhere. Keep it that way. @google/genai is documentation of the wire shape only. GCP/Vertex AI through ADC is required; google-auth is allowed only for acquiring/refreshing ADC credentials, while API calls remain raw requests. Phase-0 live result: Omni works through Agent Platform v1beta1 global Interactions with delivery: inline (URI requires gcs_uri) — but on Vertex the model id is gemini-omni-1.1-flash-preview, NOT the bare gemini-omni-1.1-flash the AI Studio catalog uses (LIVE 2026-09-01: bare id → 400 Unsupported model interaction). Mapped on the wire by VERTEX_OMNI_IDS, like VERTEX_VEO_IDS — the catalog/pricing id stays bare. Omni also needs a Vertex quota increase for that preview base model; with the default 0 quota every submit is 429; Veo uses regional Vertex v1, predictLongRunning + fetchPredictOperation, and the GA veo-3.1-fast-generate-001 model. |
| ADR-2 | The Gemini queue model wins; caelo_core/genjobs.py is replaced, not extended. |
Port the state machine from JobQueue.ts + JobRecovery.ts + RetryPolicy.ts. xAI becomes a handler under it, exactly like Google. |
| ADR-3 | Gemini's normalized media schema wins; Caelo's history/FTS5/embeddings stay. | Add generations / generation_inputs / generation_outputs / jobs / … to caelo_history.db. Do not touch history_events, history_fts, event_embeddings. artifacts stays as the gallery index. |
| ADR-4 | Model registry + capability guard live in Python and are the only source of truth. | The renderer holds no model lists. It reads /providers + /models at runtime; TS types are generated from the Python definitions and checked in CI. |
| ADR-5 | Electron safeStorage is the secret vault; the sidecar receives secrets in memory. |
No more plaintext keys in caelo_settings.json / caelo_auth.json. Pass them over the authenticated handshake channel — never via environment variables (they leak to the process list). |
| ADR-6 | Gemini's React pages are NOT ported — only their logic. | Caelo's UI kit (Tailwind 4, components/ui/*) is the target. Zustand and TanStack Query do not enter. Exceptions: Asset Inspector and Diagnostics are new screens, built from scratch in Caelo's kit. |
| ADR-7 | No Google code in the repo-root modules. | Nothing Google-related may touch config.py, api_manager.py, oauth_manager.py, chats_manager.py, history_manager.py (see "The single most important structural fact" below). Google lives only in caelo_core/providers/google/. The xAI provider is an adapter wrapping APIManager, not a rewrite of it. |
| ADR-8 | Neutral tool-calling format at the agent boundary. | agent/session.py must see only the neutral format; each provider supplies a two-way adapter. xAI is OpenAI-shaped; Google uses functionCall/functionResponse parts. Phase-0 live result (gemini-3.5-flash): preserve native functionCall.id and copy it to functionResponse.id; synthesize an id only for older responses that omit it. Preserve the full model part with thoughtSignature, keep all parallel calls before their responses, and assemble streamed partialArgs by JSONPath. |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 24d ago Changed · +7 lines · +217 tokens per session 97d79f6c17ab
- 1mo ago Changed · +134 lines · +3,030 tokens per session 08d4cb18aade
- 2mo ago First seen · 603 lines · 15,046 tokens per session scan A 7f55cd631b38
caelo CLAUDE.md is an instructions file published in the GitHub repository AuraVixStudio/caelo (25 stars, last pushed 25d ago), licensed Apache-2.0. It adds 18,293 tokens to every session, about $0.0732 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
caelo CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| caelo CLAUDE.mdAuraVixStudio/caelo | Instructions file | 25 | 25d ago | Apache-2.0 | A | 18,293 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |