cloudx AGENTS.md

A set of instructions for working in the CloudX code repository, a local-first tool for controlling terminals, files, automation, audio transcription, and archived documents.

In plain words
What is it for?
Use it before modifying CloudX to understand required workflows, module ownership, testing evidence, review policy, and handoffs between development stages.
Why use it?
It tells coding agents where the repository's authoritative rules and architecture details live, reducing the chance of unsafe or inconsistent changes.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/davidomil/cloudx/agents-md
Clone the repo
git clone --depth 1 https://github.com/davidomil/cloudx

Made for: Codex, OpenCode.

Per session 1,129 This file is loaded in full into every session.
When invoked 1,129 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.01129 $0.01129
Opus 5 $0.00564 $0.00564
Sonnet 5 $0.00226 $0.00226
Haiku 4.5 $0.00113 $0.00113

Measured yesterday against content hash 298c3004b10c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cloudx AGENTS.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 yesterday.

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.

AGENTS.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CloudX Repository Instructions

Purpose

CloudX is a local-first workbench that can control terminals, files, Codex sessions, automation, ASR, and a documentation archive on the host machine. Treat changes as workstation-control software, not as a conventional public web application.

Read this file before making a change. Then read the nearest scoped AGENTS.md for every path in scope. Scoped files add module rules; they do not replace this contract.

Sources Of Truth

  • docs/architecture/system-context.md: runtime processes and trust boundaries.
  • docs/architecture/module-ownership.md: authoritative module owners and dependency direction.
  • docs/architecture/state-invariants.md: state and lifecycle rules.
  • docs/architecture/testing-map.md: required evidence by changed area.
  • .agents/pr-review-policy.toml: machine authority for path classification, risk, selected review skills, checks, human review, and automerge eligibility.
  • .agents/schemas/: typed handoffs between planning, implementation, verification, review, and merge authorization.
  • docs/AI_CHANGE_PROCESS.md: end-to-end repository change process.

Do not duplicate machine policy in prose. When policy and prose disagree, stop and correct the inconsistency through a human-reviewed agent-policy change.

Required Change Process

For every non-trivial change, use $change-orchestrator:

  1. Classify the exact changed paths with .agents/pr-review-policy.toml.
  2. Create a .agents/schemas/plan.schema.json artifact in a fresh planning context.
  3. Review the plan in a different fresh context with $review-plan.
  4. Implement only a clean plan with $implement-change.
  5. Run deterministic, read-only verification with $verify-change.
  6. Run $review-change and every policy-selected area reviewer in fresh contexts.
  7. Route findings back through implementation, verification, and review until clean. An iteration ceiling blocks the change; it never permits a bypass.
  8. Use $review-pr for current-head PR review. Only $ship-change may perform interactive or model-directed GitHub mutations. External Publisher and Merge controllers may perform only the deterministic operations granted to their separate GitHub App identities.

Read the full file on GitHub · 116 lines

Changes

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.

  1. yesterday First seen · 116 lines · 1,129 tokens per session scan A 298c3004b10c

Subscribe to this mod's changes

cloudx AGENTS.md is an instructions file published in the GitHub repository davidomil/cloudx (1 stars, last pushed 8d ago), licensed MIT. It adds 1,129 tokens to every session, about $0.0056 per session on Opus 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-31.