argus: Instructions file for Codex

AGENTS.md

argus AGENTS.md is an instructions file for Codex, OpenCode from Khamel83/argus. It costs 4,304 tokens per session, scanned A, original, MIT.

Repository instructions for AI coding agents working on Argus, a search system that routes requests across multiple search and answer providers. It describes the project’s features, deployment tiers, provider routing, and contribution-related files.

In plain words
What is it for?
It is for guiding work on search providers, routing, content extraction, database-backed sessions, deployment options, and related project documentation.
Why use it?
It gives agents the project context and operating rules needed to make changes consistently in the repository.

Instructions file for CodexOpenCode

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

This is Khamel83/argus's own configuration. It tells Codex and OpenCode how to work on argus 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 argus configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Khamel83/argus. 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/Khamel83/argus/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Khamel83/argus

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 argus AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/khamel83/argus/agents-md"><img src="https://agentmods.dev/badge/instructions/khamel83/argus/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,304 This file is loaded in full into every session.
When invoked 4,304 The same file — it is already loaded in full.
Security scan A 0 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.04304 $0.04304
Opus 5.5 $0.01722 $0.01722
Sonnet 5.5 $0.00861 $0.00861
Haiku 4.5 $0.00430 $0.00430

Measured 6d ago against content hash ec4e14f770b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

argus 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 6d 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 · 343 lines

How it starts

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

AGENTS.md — Argus

What this file is for: the canonical guide for AI coding agents working in this repository (Claude Code, Codex, Cursor, Copilot, OpenCode, and friends). Human contributors should start with CONTRIBUTING.md; background on the project lives in CONTEXT.md and README.md. CLAUDE.md is a short pointer back here with Claude-Code-specific notes.

Overview

Search infrastructure for AI agents: 14 providers, topology-aware routing, WolframAlpha computed answers, and a 12-step content extraction chain. Provider adapters: SearXNG (self-hosted, aggregates 70+ engines, disabled by default), DuckDuckGo, Yahoo (scraped), GitHub, WolframAlpha (free API, computed answers), Brave, Tavily, Exa, Linkup, Parallel AI (monthly credit for eligible accounts with a card on file), Serper, You.com, Valyu, SearchAPI. Tier-based routing: free providers first, monthly recurring next, one-time credits last. Budget enforcement skips exhausted providers automatically. Multi-turn sessions use the configured SQL repository.

Features

  • Topology-aware acquisition — Argus knows if it's on a residential IP or datacenter, routing search and extraction automatically to avoid blocks and minimize network hops.
  • Adaptive Domain Memory — Learns which domains fail from datacenter IPs but succeed from residential ones, automatically routing future requests for those domains to residential egress.
  • Universal Provenance — Every search result and extraction is tagged with egress (residential|datacenter), machine, and source_type.
  • Intelligent Routing — Tier-based routing: free providers first, monthly recurring next, one-time credits last. Budget enforcement skips exhausted providers automatically.
  • 12-step Extraction — Trafilatura → Crawl4AI → Playwright → Jina → Valyu → Firecrawl → You → Archive with quality gates and completeness assessment.

Two Deployment Tiers

Tier 1: No server (API keys only)

  • pip install argus-search — works immediately with DuckDuckGo + Yahoo
  • Add WOLFRAM_APP_ID for computed answers (math, facts, conversions — 2,000 free/month)
  • Add API keys for 7,000+ more free monthly queries; eligible Parallel accounts with a card on file can bring the total to as much as 12,000+
  • Extraction via external APIs only (Jina, Valyu Contents, Firecrawl, You.com Contents, Wayback)
  • Default SQLite persistence (no database server required)
  • Works on any machine with Python 3.11+ (laptop, Mac Mini, Pi, cloud VM)

Read the full file on GitHub · 343 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. 6d ago Changed · +12 lines · +139 tokens per session ec4e14f770b9
  2. 20d ago Changed · +4 lines · +42 tokens per session 58feb9a5e721
  3. 28d ago Changed · +3 lines · +57 tokens per session d163d5a899ba
  4. 29d ago Changed · +8 lines · +123 tokens per session 64cba973976b
  5. 1mo ago Changed · +3 lines · +55 tokens per session 72a24051a15d
  6. 1mo ago Changed · +7 lines · +91 tokens per session c8b767f936aa
  7. 1mo ago Changed · -4 lines · -71 tokens per session 77e5bfeb09f4
  8. 1mo ago Changed · +36 lines · +449 tokens per session 4c13226f804a
  9. 1mo ago Changed · +36 lines · +424 tokens per session f9184ad4fb70
  10. 1mo ago First seen · 238 lines · 2,995 tokens per session scan A 979fb7c4975f

Subscribe to this mod's changes

argus AGENTS.md is an instructions file published in the GitHub repository Khamel83/argus (8 stars, last pushed yesterday), licensed MIT. It adds 4,304 tokens to every session, about $0.0172 per session on Opus 5.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.

Related

argus AGENTS.md compared with instructions from other repositories

argus AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
argus AGENTS.mdKhamel83/argusInstructions file8yesterdayMITA4,304Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode