wificalling-location-gateway: Instructions file for Codex

AGENTS.md

wificalling-location-gateway AGENTS.md is an instructions file for Codex, OpenCode from smthdagg/wificalling-location-gateway. It costs 2,270 tokens per session, scanned C, original, MIT.

A set of instructions for maintaining a Wi-Fi Calling and location-gateway product on OpenWrt, a Linux-based system for network devices. It defines the approved release baseline and boundaries for the project.

In plain words
What is it for?
It helps agents decide which source and package versions are valid, follow the project's ownership and release rules, and preserve the existing integrated product while making changes.
Why use it?
It prevents agents from using retired packages, mixing in work from a separate beta project, or changing the product's required fail-open behaviour.

Instructions file for CodexOpenCode

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

This is smthdagg/wificalling-location-gateway's own configuration. It tells Codex and OpenCode how to work on wificalling-location-gateway itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything wificalling-location-gateway configures →

Reuse

Borrowing it

Nothing to install: this file belongs to smthdagg/wificalling-location-gateway. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/smthdagg/wificalling-location-gateway/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/smthdagg/wificalling-location-gateway

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 wificalling-location-gateway AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/smthdagg/wificalling-location-gateway/agents-md/github.svg)](https://agentmods.dev/instructions/smthdagg/wificalling-location-gateway/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/smthdagg/wificalling-location-gateway/agents-md"><img src="https://agentmods.dev/badge/instructions/smthdagg/wificalling-location-gateway/agents-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.

agentmods 80×15 button for wificalling-location-gateway AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/smthdagg/wificalling-location-gateway/agents-md"><img src="https://agentmods.dev/badge/instructions/smthdagg/wificalling-location-gateway/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,270 This file is loaded in full into every session.
When invoked 2,270 The same file — it is already loaded in full.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.02270 $0.02270
Opus 5.5 $0.00908 $0.00908
Sonnet 5.5 $0.00454 $0.00454
Haiku 4.5 $0.00227 $0.00227

Measured 2mo ago against content hash 4e7f04711320, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

wificalling-location-gateway AGENTS.md scanned grade C with 2 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 2mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

3. Never run a blanket `rm -rf /tmp` on a live gateway. Preserve the active

Makes network callslowCapability

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

duplicate sing-box, shell, curl, or package-install process left behind;
AGENTS.md · 126 lines

How it starts

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

Multi-agent development contract

Mission and release boundary

Maintain wificalling-location-gateway as the stable, integrated Wi-Fi Calling + WLOC OpenWrt product. Preserve its fail-open WLOC behavior and the proven 1.3.0-r1 baseline; incremental releases extend that baseline instead of redesigning it. Historical 1.7-era development records are closed as design provenance only and must not be referenced as a baseline or external dependency for future work.

  • The 1.3.0-r1 stable integrated release is the permitted build/package baseline; earlier 1.2.x packages and every retired 1.7.x package are not valid build inputs.
  • Retired standalone Wi-Fi Calling Gateway packages, including every 1.7.x package, must be rejected as build inputs and must not be copied back into this repository.
  • The multi-device/2.0 Beta line is maintained only in the separate Beta repository. It is outside this repository's architecture, source, issues, branches, releases, documentation, packaging, and test scope; do not import or recreate it here.
  • The 2.0 value in an IPK debian-binary member is an archive-format marker, not a project version, and remains required for valid IPK output.
  • Package format is per-platform and is a build/packaging rule, not a user concern: OpenWrt 24.10 .ipk must be a whole-file gzip-wrapped tar (a bare tar is rejected by opkg as malformed); OpenWrt 25.12 dropped the .ipk format, so releases there use the native .apk (an .ipk on 25.x fails with v2 package format error). Pick the asset that matches the target's package manager and never rename an IPK into an APK.

Source of truth

  1. A GitHub Issue is the only unit of assignable work and the durable coordination record.
  2. DEVELOPMENT_TEST_PLAN.md defines architecture, safety gates, and phase exit criteria.
  3. The Issue defines the owned paths, dependencies, acceptance tests, and non-goals.
  4. A pull request is the only integration path into main.

Agent roles and default ownership

Read the full file on GitHub · 126 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. 2mo ago First seen · 126 lines · 2,270 tokens per session scan C 4e7f04711320

Subscribe to this mod's changes

wificalling-location-gateway AGENTS.md is an instructions file published in the GitHub repository smthdagg/wificalling-location-gateway (254 stars, last pushed yesterday), licensed MIT. It adds 2,270 tokens to every session, about $0.0091 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

wificalling-location-gateway AGENTS.md compared with instructions from other repositories

wificalling-location-gateway AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wificalling-location-gateway AGENTS.mdsmthdagg/wificalling-location-gatewayInstructions file254yesterdayMITC2,270Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode