wificalling-location-gateway 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

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/smthdagg/wificalling-location-gateway/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.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.svg" alt="Measured on agentmods" 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. 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.02270 $0.02270
Opus 5 $0.01135 $0.01135
Sonnet 5 $0.00454 $0.00454
Haiku 4.5 $0.00227 $0.00227

Measured 5d ago against content hash 4e7f04711320, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. 5d 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 (217 stars, last pushed yesterday), licensed MIT. It adds 2,270 tokens to every session, about $0.0113 per session on Opus 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.