netreach CLAUDE.md

netreach CLAUDE.md is an instructions file for coding agents from noahneancy-byte/netreach. It costs 655 tokens per session, scanned A, original, MIT.

Project instructions for NetReach, a Python command-line tool and library that installs and diagnoses read-only access to several public internet sources without requiring user logins. It routes agents to upstream search tools rather than acting as an API wrapper.

In plain words
What is it for?
Use them to install dependencies, configure the tool, run diagnostics, execute tests, and maintain the routing for sources such as websites, YouTube, RSS, GitHub, V2EX, Bilibili, and web search.
Why use it?
They clarify the project’s no-login scope, supported source channels, configuration approach, and commands for checking whether an installation works.

Instructions file

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/noahneancy-byte/netreach/claude-md
Clone the repo
git clone --depth 1 https://github.com/noahneancy-byte/netreach

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 netreach CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/noahneancy-byte/netreach/claude-md.svg)](https://agentmods.dev/instructions/noahneancy-byte/netreach/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/noahneancy-byte/netreach/claude-md"><img src="https://agentmods.dev/badge/instructions/noahneancy-byte/netreach/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 655 This file is loaded in full into every session.
When invoked 655 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 $0.00655 $0.00655
Opus 5 $0.00328 $0.00328
Sonnet 5 $0.00131 $0.00131
Haiku 4.5 $0.00065 $0.00065

Measured 4d ago against content hash 5542b691998f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

netreach CLAUDE.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 4d 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.

CLAUDE.md · 45 lines

How it starts

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

CLAUDE.md

Project

NetReach (no-login fork) — Python CLI + library that gives AI agents read/search access to 7 no-login, low-risk internet sources. Positioning: installer + doctor + config tool. NOT a wrapper — after install, agents call upstream tools directly. This fork removes all login/Cookie channels (Twitter, Reddit, Facebook, Instagram, XiaoHongShu, LinkedIn, Xueqiu, Xiaoyuzhou). License: MIT | Version: 2.0.0

Commands

  • pip install -e . — Dev install
  • pytest tests/ -v — All tests
  • pytest tests/test_cli.py -v — CLI tests only
  • python -m agent_reach.cli doctor — Run diagnostics
  • python -m agent_reach.cli install --env=auto — Auto-configure

Structure

  • agent_reach/cli.py — CLI entry point (argparse; install / doctor / version)
  • agent_reach/core.py — Core read/search routing logic
  • agent_reach/config.py — Config management (YAML, env vars; proxy only)
  • agent_reach/doctor.py — Diagnostics engine
  • agent_reach/probe.py — Upstream command probing (missing / broken / timeout / ok)
  • agent_reach/channels/ — One file per platform (web.py, youtube.py, rss.py, github.py, v2ex.py, bilibili.py, exa_search.py)
  • agent_reach/channels/base.py — Base channel class
  • agent_reach/channels/mcporter.py — Read-only mcporter config helpers
  • agent_reach/skill/ — SKILL.md + references/ (search / web / dev / video)
  • agent_reach/utils/ — paths / process / text / url helpers
  • tests/ — pytest tests

Conventions

  • Python 3.10+ with type hints
  • Each channel is a single file in channels/, inherits from Channel
  • Channel contract: implement can_handle(url) and check(config); backends is an ordered candidate list
  • check() must really probe backends (via probe_command) and set self.active_backend
  • Use loguru for logging, rich for CLI output
  • Commit format: type(scope): message (one commit = one thing)
  • All upstream tool calls go through public API/CLI, never hack internals

Rules

  • NEVER modify upstream open source projects' source code
  • NetReach is a "glue layer" — only route and call, don't reimagine
  • No login/Cookie channels in this fork — never re-add credential-based platforms
  • Version in THREE places must match: pyproject.toml, __init__.py, tests/test_cli.py
  • Always new branch for changes, PR to main, never push to main directly
  • Run pytest tests/ -v before committing — all tests must pass

Read the full file on GitHub · 45 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. 4d ago First seen · 45 lines · 655 tokens per session scan A 5542b691998f

Subscribe to this mod's changes

netreach CLAUDE.md is an instructions file published in the GitHub repository noahneancy-byte/netreach (6 stars, last pushed 17d ago), licensed MIT. It adds 655 tokens to every session, about $0.0033 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-31.

Related

Other instructions, from other repositories