fcm-hosts-next AGENTS.md

fcm-hosts-next AGENTS.md is an instructions file for Codex, OpenCode from cagedbird043/fcm-hosts-next. It costs 414 tokens per session, scanned A, original, MIT.

Project-specific instructions for maintaining a system that generates host lists for Firebase Cloud Messaging (FCM), the service used to deliver notifications to Android devices. They describe its production workflow, schedules, publishing files, and deployment rules.

In plain words
What is it for?
Updating or troubleshooting the FCM host-generation pipeline, its scheduled workflow, generated IPv4 and IPv6 files, and their SSH-based deployment.
Why use it?
They give the agent the project’s operational rules, reducing mistakes in automated generation, GitHub Actions, network-specific publishing, and server deployment.

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/cagedbird043/fcm-hosts-next/agents-md
Clone the repo
git clone --depth 1 https://github.com/cagedbird043/fcm-hosts-next

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 fcm-hosts-next AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cagedbird043/fcm-hosts-next/agents-md.svg)](https://agentmods.dev/instructions/cagedbird043/fcm-hosts-next/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/cagedbird043/fcm-hosts-next/agents-md"><img src="https://agentmods.dev/badge/instructions/cagedbird043/fcm-hosts-next/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 414 This file is loaded in full into every session.
When invoked 414 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.1 $0.00414 $0.00414
Opus 5 $0.00207 $0.00207
Sonnet 5 $0.00083 $0.00083
Haiku 4.5 $0.00041 $0.00041

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

Security

Grade A, and why

fcm-hosts-next 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 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.

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 · 26 lines

What it actually says

fcm-hosts-next 维护指南

💡 关于本项目的 Agent-native Skills 与任务路由,请先阅读 README.md

这个仓库生成并发布 Google Firebase Cloud Messaging (FCM) 优选 hosts,给 Android / microG / Google Play services 使用。生产流水线跑在中国大陆双栈 self-hosted runner 上。

生产链路

  • Runner label:self-hosted, Linux, X64, tencent-fcm, china-dualstack
  • Workflow:.github/workflows/main.yml
  • 调度:每天 4 次,UTC 01:17, 07:17, 13:17, 19:17
  • 生成:go run ./cmd/fcmhost run -workdir .
  • 发布文件:
    • fcm_ipv4.hosts
    • fcm_ipv6.hosts
    • fcm_dual.hosts
  • 分发路径:/srv/cagedbird/fcm-hosts-next/
  • 公网推荐地址:https://fcm-hosts.cagedbird.cn/fcm_dual.hosts
  • 兼容旧地址:https://cagedbird.cn/fcm-hosts-next/fcm_dual.hosts

硬规则

  • 不走 HTTPS 提交: Checkout 与 push 必须使用 SSH deploy key (ACTIONS_DEPLOY_KEY),不能用 GITHUB_TOKEN 的 HTTPS 地址,以防大陆网络下 HTTPS 连接 GitHub 443 超时。
  • 防止自循环: 自动生成的 hosts 提交必须带 [skip ci] 标签,且 workflow 触发条件需排除 bot push 避免无限循环。
  • 不直接修改生产环境: 禁止在服务器上直接 sed 或编辑发布文件。任何更改必须本地生成并测试通过,再由 scp/workflow 部署。
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 · 26 lines · 414 tokens per session scan A 450d84c14890

Subscribe to this mod's changes

fcm-hosts-next AGENTS.md is an instructions file published in the GitHub repository cagedbird043/fcm-hosts-next (57 stars, last pushed today), licensed MIT. It adds 414 tokens to every session, about $0.0021 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-30.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens