agentleFS
simonlin1212simonlin1212/FactReach/CLAUDE.md

FactReach

CLAUDE.md47 starsChanged 3 months agoMITView on GitHub

  • Installs packages
  • In this repositoryOne other file it gives its agents.

The file

We split this CLAUDE.md into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Use loguru for logging, rich for CLI output

    line 36
  2. Very specific:

    Commit format: type(scope): message (one commit = one thing)

    line 37
  3. Distinctive:

    All upstream tool calls go through public API/CLI, never hack internals

    line 38
  4. Distinctive:

    Always new branch for changes, PR to main, never push to main directly

    line 48
  5. Very specific:

    Run pytest tests/ -v before committing — all tests must pass

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

Project

FactReach — evidence-first Python CLI + library for reading and searching 23 internet channels. Positioning: policy manager + installer + doctor + multi-backend router. After installation, agents may call upstream tools directly or use FactReach's web/Douyin entry points. Repo: github.com/simonlin1212/FactReach | License: MIT | Version: 1.0.0 Derived from github.com/Panniantong/Agent-Reach; preserve LICENSE and NOTICE attribution.

Commands

  • pip install -e . — Dev install
  • pytest tests/ -v — All tests
  • pytest tests/test_cli.py -v — CLI tests only
  • bash test.sh — Full integration test (creates venv, installs, runs doctor + channel tests)
  • python -m agent_reach.cli doctor — Run diagnostics
  • python -m agent_reach.cli install --env=auto — Read-only environment check
  • factreach install --env=auto --system — Explicitly allow system changes

Structure

  • agent_reach/cli.py — CLI entry point (argparse)
  • agent_reach/core.py — Core read/search routing logic
  • agent_reach/config.py — Config management (YAML, env vars)
  • agent_reach/doctor.py — Diagnostics engine
  • agent_reach/channels/ — One file per platform (twitter.py, reddit.py, youtube.py, etc.)
  • agent_reach/channels/base.py — Base channel class (all channels inherit from this)
  • agent_reach/integrations/mcp_server.py — MCP server integration
  • agent_reach/skill/ — OpenClaw skill files
  • agent_reach/guides/ — Usage guides
  • tests/ — pytest tests
  • config/mcporter.json — MCP tool config

Conventions

  • Python 3.10+ with type hints
  • Each channel is a single file in channels/, inherits from BaseChannel
  • Channel contract: must implement can_handle(url), read(url), search(query), check() methods
  • 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

  • Public main intentionally uses an independent FactReach history from 2026-09-02 onward; do not restore upstream commits to the public branch. Preserve upstream copyright and licensing attribution in LICENSE and NOTICE.
  • FactReach is a routing and policy layer; external backends remain independently licensed.
  • Version in THREE places must match: pyproject.toml, __init__.py, tests/test_cli.py.
  • Public brand/CLI/Skill use FactReach / factreach; internal module and ~/.agent-reach/ remain compatible until a separately planned migration.
  • Always new branch for changes, PR to main, never push to main directly
  • Run pytest tests/ -v before committing — all tests must pass
  • Cookie-based auth (Twitter, XHS): use Cookie-Editor export method only, no QR scan
  • XHS login: Cookie-Editor browser export only (QR will hang)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.