AgenticCrawler: Instructions file for Codex

AGENTS.md

AgenticCrawler AGENTS.md is an instructions file for Codex, OpenCode from Mingye-Lu/AgenticCrawler. It costs 6,382 tokens per session, scanned A, original, MIT.

Project instructions for AgenticCrawler, a Rust web crawler that uses an AI agent to plan browsing and extract structured information from websites.

In plain words
What is it for?
Use them when building, testing, formatting, linting, running one-shot crawl prompts, resuming prompts, or starting the crawler’s MCP server.
Why use it?
They give the coding agent the project’s commands, operating modes, setup rules, and expected exit codes, reducing mistakes when changing or running the crawler.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mingye-lu/agenticcrawler/agents-md"><img src="https://agentmods.dev/badge/instructions/mingye-lu/agenticcrawler/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,382 This file is loaded in full into every session.
When invoked 6,382 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.06382 $0.06382
Opus 5.5 $0.02553 $0.02553
Sonnet 5.5 $0.01276 $0.01276
Haiku 4.5 $0.00638 $0.00638

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

Security

Grade A, and why

AgenticCrawler 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 9d 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 · 254 lines

How it starts

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

AGENTS.md

Project

acrawl is a native-Rust LLM-driven web crawler. A user provides a natural-language goal; the agent plans, navigates, and extracts structured data via a 43-tool toolbox (32 browser + 4 agent-control + 7 script). It ships as a single binary with three modes: an interactive Ratatui TUI REPL (requires a TTY), non-interactive prompt (one-shot) / --resume (slash-command replay) / run (replay a saved script with no LLM), and mcp (built-in MCP server over stdio).

Commands

cargo build --release                                        # produce ./target/release/acrawl
cargo test --workspace                                       # run full test suite (~1,100 tests)
cargo test -p <crate> <test_name>                            # run a single test (e.g. -p agent mvp_tool_specs_contains_expected_43_tools)
cargo clippy --workspace --all-targets -- -D warnings        # lints must be clean (workspace lints set pedantic = warn)
cargo fmt --check                                            # format check

./target/release/acrawl                                      # launch REPL
./target/release/acrawl prompt "scrape all titles from example.com"   # one-shot
./target/release/acrawl mcp                                  # launch MCP server (stdio)
./target/release/acrawl mcp install                          # interactive IDE installer
./target/release/acrawl --resume session.json /status /compact        # non-interactive session maintenance
./target/release/acrawl run my_script --format jsonl --output out.jsonl   # replay a saved script, no LLM/credentials

# Non-interactive provider setup (agent/CI use)
acrawl auth anthropic --api-key "sk-ant-..."      # configure credentials
acrawl auth openai --api-key "sk-..."             # other providers same pattern
acrawl auth amazon-bedrock --access-key AKIA... --secret-key ... --region us-east-1
acrawl config set model anthropic/claude-sonnet-4-6  # set default model
acrawl auth status --check anthropic              # gate: exit 0 if ready, 3 if not
acrawl auth status                                # show all configured providers
acrawl auth list                                  # list all available providers
acrawl config get headless                        # read a setting
acrawl config set headless false                  # write a setting
acrawl mcp install --client opencode             # install MCP for one IDE
acrawl mcp install --all --yes                   # install for all IDEs
acrawl mcp install --client claude-code --skill  # also install the bundled acrawl-mcp agent skill
# Exit codes: 0=ok  1=error  2=usage/config  3=not-configured

Read the full file on GitHub · 254 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. 9d ago Changed · +9 lines · +216 tokens per session da4bfbb616eb
  2. 25d ago Changed · +141 tokens per session 1f29e40e2dfd
  3. 1mo ago Changed · +1 lines · +118 tokens per session 327dea529c16
  4. 1mo ago Changed 150404eb1205
  5. 1mo ago Changed · +1 lines · +61 tokens per session 04b521001611
  6. 1mo ago Changed · +13 lines · +452 tokens per session 414f65bf6e0a
  7. 2mo ago First seen · 230 lines · 5,394 tokens per session scan A b4413cc96379

Subscribe to this mod's changes

AgenticCrawler AGENTS.md is an instructions file published in the GitHub repository Mingye-Lu/AgenticCrawler (15 stars, last pushed yesterday), licensed MIT. It adds 6,382 tokens to every session, about $0.0255 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-30.

Related

AgenticCrawler AGENTS.md compared with instructions from other repositories

AgenticCrawler AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AgenticCrawler AGENTS.mdMingye-Lu/AgenticCrawlerInstructions file15yesterdayMITA6,382Codex, 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