Atmosphere777 AGENTS.md

Atmosphere777 AGENTS.md is an instructions file for Codex, OpenCode from hanabiovo/Atmosphere777. It costs 649 tokens per session, scanned A, original, MIT.

Project instructions for the Atmosphere777 weather and indoor-environment monitoring application. They describe its files, deployment structure, security rules, and required checks.

In plain words
What is it for?
Guiding work on the MCP server, read-only weather API, sensor data endpoints, static PWA, Docker services, configuration, and deployment validation.
Why use it?
They give coding agents the project context and constraints needed to make safe changes. They also explain which interfaces and authentication protections must remain unchanged.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

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/hanabiovo/atmosphere777/agents-md
Clone the repo
git clone --depth 1 https://github.com/hanabiovo/Atmosphere777

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for Atmosphere777 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/hanabiovo/atmosphere777/agents-md.svg)](https://agentmods.dev/instructions/hanabiovo/atmosphere777/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/hanabiovo/atmosphere777/agents-md"><img src="https://agentmods.dev/badge/instructions/hanabiovo/atmosphere777/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 649 This file is loaded in full into every session.
When invoked 649 The same file — it is already loaded in full.
Security scan A 1 finding. 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.1 $0.00649 $0.00649
Opus 5 $0.00324 $0.00324
Sonnet 5 $0.00130 $0.00130
Haiku 4.5 $0.00065 $0.00065

Measured 5d ago against content hash b2d869816ab4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

Atmosphere777 AGENTS.md scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -f http://127.0.0.1:8002/healthz
AGENTS.md · 57 lines

What it actually says

AGENTS.md

本文件供 Codex、Claude Code、Cursor 等编程代理读取。

项目目标

Atmosphere777 是轻量、自托管、默认安全的环境观测站。它同时提供 MCP、只读 REST、室内传感器写入和静态 PWA。

先读这些文件

  1. README.md
  2. docs/architecture.md
  3. docs/deployment.md
  4. docs/customization.md

结构

  • server.py:MCP 工具定义;兼容面最重要。
  • qweather.py:和风 JWT、请求与缓存的唯一实现。
  • weather_api.py:复用 QWeatherClient 的只读 REST 包装。
  • sensor_api.py:室内数据写入、持久化与读取。
  • compose.yml:三个后端服务及资源/安全约束。
  • frontend/:无构建步骤的静态 PWA 与 Nginx 示例。
  • examples/:外部传感器上报示例。

不可破坏的约束

  • 不得提交 .envsensor.envkeys/、私钥、Token、真实域名或私人坐标。
  • 不得把和风 JWT 或传感器写入 Token 放进前端。
  • 未经明确要求,不得修改 5 个 MCP 工具名称、参数或返回字段。
  • /mcp 必须继续使用 Streamable HTTP。
  • REST 必须复用 qweather.py,不要复制第二份天气查询逻辑。
  • /sensor/update 必须保持认证;不要为了调试临时关闭认证后忘记恢复。
  • 前端无法取得实时数据时必须显示失败或过期状态,不得把缓存冒充实时值。
  • 室内传感器是可选模块;无硬件部署时用 frontend/config.js 隐藏,不得伪造室内读数。

允许的常规定制

  • 页面标题、位置文案、阈值、配色和模块顺序;
  • .env 中的默认位置、语言、单位和缓存时间;
  • Nginx 域名和访问控制;
  • 传感器采集器实现,只要上报 JSON 契约不变。

最小验证

python -m compileall server.py qweather.py weather_api.py sensor_api.py
docker compose config --quiet
docker compose up -d --build
docker compose ps
curl -f http://127.0.0.1:8002/healthz
curl -f http://127.0.0.1:8003/healthz
curl -f http://127.0.0.1:8003/weather/now

随后通过 MCP 客户端执行 tools/list,并逐个调用 5 个工具。任何变更都应说明修改文件、兼容性影响和回退方法。

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. 5d ago First seen · 57 lines · 649 tokens per session scan A b2d869816ab4

Subscribe to this mod's changes

Atmosphere777 AGENTS.md is an instructions file published in the GitHub repository hanabiovo/Atmosphere777 (0 stars, last pushed 26d ago), licensed MIT. It adds 649 tokens to every session, about $0.0032 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.