Repository Analysis

Panniantong/Agent-Reach

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

27.6 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Panniantong/Agent-Reach, a Python project with 76,340 GitHub stars. SynthScan v2.0 examined 21,585 lines of code across 106 source files, recording 599 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 27.6 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

27.6
Adjusted Score
27.6
Raw Score
100%
Time Factor
2026-08-25
Last Push
76.3K
Stars
Python
Language
21.6K
Lines of Code
106
Files
599
Pattern Hits
2026-08-29
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 1MEDIUM 7LOW 591

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 599 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers447 hits · 427 pts
SeverityFileLineSnippetContext
LOWtests/test_xiaoyuzhou_install.py22def test_install_xiaoyuzhou_deps_does_not_raise_when_no_groq_key(CODE
LOWtests/test_xiaoyuzhou_install.py40def test_install_xiaoyuzhou_deps_replaces_stale_managed_script(CODE
LOWtests/test_xiaoyuzhou_install.py67def test_transcribe_script_is_cross_platform_shell_syntax(bash_executable):CODE
LOWtests/test_xiaoyuzhou_install.py75def test_transcribe_script_handles_git_bash_python_and_size_math():CODE
LOWtests/test_xiaoyuzhou_install.py133def test_transcribe_script_rejects_non_xiaoyuzhou_urls_before_curl(CODE
LOWtests/test_xiaoyuzhou_install.py168def test_transcribe_script_accepts_http_xiaoyuzhou_hosts(CODE
LOWtests/test_xiaoyuzhou_install.py195def test_transcribe_script_uses_secure_temp_and_bounded_curl_calls():CODE
LOWtests/test_xiaoyuzhou_install.py224def test_transcribe_script_fails_clearly_for_invalid_duration(CODE
LOWtests/test_xiaoyuzhou_install.py273def test_transcribe_script_rejects_overlong_audio_before_ffmpeg_or_groq(CODE
LOWtests/conftest.py92def isolated_xueqiu_cookie_jar(monkeypatch):CODE
LOWtests/test_web_channel.py29def test_can_handle_accepts_any_url():CODE
LOWtests/test_web_channel.py44def test_check_is_ok_and_touches_no_network():CODE
LOWtests/test_web_channel.py57def test_read_prepends_https_for_schemeless_url():CODE
LOWtests/test_web_channel.py66def test_read_preserves_existing_http_scheme():CODE
LOWtests/test_web_channel.py75def test_read_preserves_existing_https_scheme():CODE
LOWtests/test_web_channel.py83def test_read_sends_expected_headers_and_timeout():CODE
LOWtests/test_web_channel.py125def test_read_rejects_non_public_urls_before_network(url):CODE
LOWtests/test_web_channel.py136def test_read_allows_public_literal_addresses(url):CODE
LOWtests/test_web_channel.py143def test_read_accepts_response_at_exact_size_limit():CODE
LOWtests/test_web_channel.py156def test_read_rejects_oversized_reader_response():CODE
LOWtests/test_web_channel.py185def test_read_rejects_high_confidence_antibot_pages(body):CODE
LOWtests/test_web_channel.py208def test_read_does_not_reject_single_generic_antibot_terms(body):CODE
LOWtests/test_web_channel.py215def test_antibot_detection_has_a_fixed_scan_window():CODE
LOWtests/test_integration_script.py8def test_integration_script_has_valid_shell_syntax(bash_executable):CODE
LOWtests/test_integration_script.py12def test_integration_script_exercises_the_current_cli_contract():CODE
LOWtests/test_scrub_credentials.py16def test_scrubs_userinfo_and_sensitive_query_values():CODE
LOWtests/test_scrub_credentials.py34def test_scrubs_multiple_schemes_and_fragment_tokens():CODE
LOWtests/test_scrub_credentials.py48def test_scrubs_bare_user_password_host_diagnostics():CODE
LOWtests/test_scrub_credentials.py53def test_leaves_non_secret_urls_and_plain_text_unchanged():CODE
LOWtests/test_scrub_credentials.py65def test_channel_health_messages_scrub_url_secrets(module, channel, monkeypatch):CODE
LOWtests/test_scrub_credentials.py81def test_browser_backend_errors_scrub_url_secrets(monkeypatch):CODE
LOWtests/test_probe.py26def test_broken_shebang_detected_as_broken(tmp_path, monkeypatch):CODE
LOWtests/test_probe.py40def test_healthy_command_returns_ok_with_output(tmp_path, monkeypatch):CODE
LOWtests/test_probe.py52def test_probe_child_env_can_add_and_remove_without_mutating_parent(tmp_path, monkeypatch):CODE
LOWtests/test_probe.py77def test_nonzero_exit_classified_as_error(tmp_path, monkeypatch):CODE
LOWtests/test_probe.py99def test_retries_help_transient_failures(tmp_path, monkeypatch):CODE
LOWtests/test_probe.py112def test_reinstall_hint_mentions_both_installers():CODE
LOWtests/test_mcp_server.py47def test_mcp_status_uses_read_only_config(monkeypatch):CODE
LOWtests/test_mcp_server.py74def test_mcp_status_exception_credentials_are_scrubbed(monkeypatch):CODE
LOWtests/test_reddit_channel.py11def test_can_handle_matches_reddit_hosts():CODE
LOWtests/test_reddit_channel.py23def test_can_handle_rejects_non_reddit():CODE
LOWtests/test_reddit_channel.py29def test_check_rdt_returns_none_when_not_installed():CODE
LOWtests/test_reddit_channel.py34def test_check_rdt_missing_credential_is_warn():CODE
LOWtests/test_reddit_channel.py42def test_check_rdt_saved_credential_is_unverified_not_false_ok(CODE
LOWtests/test_reddit_channel.py66def test_check_rdt_stale_credential_is_not_refreshed(isolated_home):CODE
LOWtests/test_reddit_channel.py90def test_check_rdt_unparseable_credential_is_warn(isolated_home):CODE
LOWtests/test_reddit_channel.py101def test_check_rdt_refuses_symlink_credential(isolated_home):CODE
LOWtests/test_reddit_channel.py114def test_check_rdt_refuses_ancestor_symlink(isolated_home):CODE
LOWtests/test_reddit_channel.py138def test_check_opencli_not_installed_is_none():CODE
LOWtests/test_reddit_channel.py146def test_check_opencli_broken_is_error():CODE
LOWtests/test_reddit_channel.py156def test_check_opencli_bridge_ready_is_unverified():CODE
LOWtests/test_reddit_channel.py167def test_check_opencli_installed_not_ready_is_warn():CODE
LOWtests/test_reddit_channel.py177def test_check_prefers_ok_over_warn_regardless_of_probe_order():CODE
LOWtests/test_reddit_channel.py191def test_check_warn_has_no_active_backend():CODE
LOWtests/test_reddit_channel.py205def test_check_all_errors_returns_error_and_no_active_backend():CODE
LOWtests/test_reddit_channel.py217def test_check_no_backend_installed_is_off():CODE
LOWtests/test_xhs_format.py58 def test_single_note_keeps_useful_fields(self):CODE
LOWtests/test_xhs_format.py73 def test_single_note_drops_useless_fields(self):CODE
LOWtests/test_xhs_format.py84 def test_search_results_wrapper(self):CODE
LOWtests/test_xhs_format.py127 def test_non_dict_passthrough(self):CODE
387 more matches not shown…
Excessive Try-Catch Wrapping41 hits · 41 pts
SeverityFileLineSnippetContext
MEDIUMagent_reach/cli.py644 print("Error: no input on stdin", file=sys.stderr)CODE
MEDIUMagent_reach/cli.py649 print(f"Error: invalid JSON: {e}", file=sys.stderr)CODE
LOWagent_reach/cli.py2053 except Exception:CODE
LOWagent_reach/cli.py46 except Exception:CODE
LOWagent_reach/cli.py515 except Exception:CODE
LOWagent_reach/cli.py537 except Exception as e:CODE
LOWagent_reach/cli.py618 except Exception as e:CODE
LOWagent_reach/cli.py1272 except Exception:CODE
LOWagent_reach/cli.py1321 except Exception:CODE
LOWagent_reach/cli.py1330 except Exception:CODE
LOWagent_reach/cli.py1737 except Exception as e:CODE
LOWagent_reach/cli.py1750 except Exception:CODE
LOWagent_reach/cli.py1788 except Exception as e:CODE
LOWagent_reach/cli.py1792 except Exception as e:CODE
LOWagent_reach/cli.py1819 except Exception as e:CODE
LOWagent_reach/cli.py1859 except Exception as e:CODE
LOWagent_reach/cli.py1903 except Exception as e:CODE
LOWagent_reach/cli.py2154 except Exception:CODE
LOWagent_reach/cli.py2183 except Exception:CODE
LOWagent_reach/doctor.py27 except Exception as e: # noqa: BLE001 — doctor must survive any channelCODE
LOWagent_reach/cookie_extract.py280 except Exception as e:CODE
LOWagent_reach/cookie_extract.py311 except Exception as e:CODE
LOWagent_reach/cookie_extract.py374 except Exception:CODE
LOWagent_reach/cookie_extract.py405 except Exception:CODE
LOWagent_reach/cookie_extract.py440 except Exception as e:CODE
LOWagent_reach/backends/opencli.py65 except Exception:CODE
LOWagent_reach/integrations/mcp_server.py61 except Exception as e:CODE
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh339 except Exception as e:CODE
MEDIUMagent_reach/scripts/transcribe_xiaoyuzhou.sh333def polish(text, depth=0):CODE
LOWagent_reach/channels/rss.py22 except Exception as e:CODE
MEDIUMagent_reach/channels/rss.py16def check(self, config=None):CODE
LOWagent_reach/channels/xiaoyuzhou.py55 except Exception:CODE
LOWagent_reach/channels/xueqiu.py70 except Exception:CODE
LOWagent_reach/channels/xueqiu.py146 except Exception as e:CODE
LOWagent_reach/channels/bilibili.py31 except Exception:CODE
LOWagent_reach/channels/xiaohongshu.py47 except Exception:CODE
LOWagent_reach/channels/github.py91 except Exception as exc:CODE
LOWagent_reach/channels/v2ex.py132 except Exception as exc:CODE
LOWagent_reach/channels/v2ex.py166 except Exception as e:CODE
LOWagent_reach/channels/v2ex.py267 except Exception:CODE
MEDIUMagent_reach/channels/v2ex.py159def check(self, config=None):CODE
Structural Annotation Overuse23 hits · 38 pts
SeverityFileLineSnippetContext
LOWdocs/install.md49### Step 1: Install the basicsCOMMENT
LOWdocs/install.md97### Step 2: Ask the user which optional channels they wantCOMMENT
LOWdocs/install.md128### Step 3: Fix what's brokenCOMMENT
LOWdocs/install.md136### Step 3: Configure things that need user inputCOMMENT
LOWdocs/install.md317### Step 4: Final checkCOMMENT
LOWdocs/install.md321### Step 5: Set up daily monitoring (OpenClaw only)COMMENT
LOWdocs/update.md29### Step 1: Check current versionCOMMENT
LOWdocs/update.md37### Step 2: Update Agent Reach packageCOMMENT
LOWdocs/update.md48### Step 3: Refresh upstream toolsCOMMENT
LOWdocs/update.md81### Step 4: Coexistence (DO NOT uninstall old tools)COMMENT
LOWdocs/update.md88### Step 5: VerifyCOMMENT
LOWdocs/update.md109### Step 6: Report to userCOMMENT
LOWagent_reach/cli.py2058 # Step 2: GitHub tokenCOMMENT
LOWagent_reach/cli.py2074 # Step 3: Reddit — rdt-cliCOMMENT
LOWagent_reach/cli.py2080 # Step 4: Groq (Whisper)COMMENT
LOWagent_reach/cli.py2002 # Step 1: Exa (via mcporter, no API key required)COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh110# Step 1: 提取音频 URL 和标题COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh128# Step 2: 下载音频COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh140# Step 3: 获取时长COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh177# Step 4: 转为低码率单声道 MP3COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh184# Step 5: 按大小切片COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh206# Step 6: 调用 Groq Whisper API 转录COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh356# Step 7: 合并输出COMMENT
Verbosity Indicators12 hits · 21 pts
SeverityFileLineSnippetContext
LOWtests/test_skill_command.py95 )[1].split("### Step 4:", maxsplit=1)[0]CODE
LOWagent_reach/cli.py2058 # Step 2: GitHub tokenCOMMENT
LOWagent_reach/cli.py2074 # Step 3: Reddit — rdt-cliCOMMENT
LOWagent_reach/cli.py2080 # Step 4: Groq (Whisper)COMMENT
LOWagent_reach/cli.py2002 # Step 1: Exa (via mcporter, no API key required)COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh110# Step 1: 提取音频 URL 和标题COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh128# Step 2: 下载音频COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh140# Step 3: 获取时长COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh177# Step 4: 转为低码率单声道 MP3COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh184# Step 5: 按大小切片COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh206# Step 6: 调用 Groq Whisper API 转录COMMENT
LOWagent_reach/scripts/transcribe_xiaoyuzhou.sh356# Step 7: 合并输出COMMENT
Deep Nesting29 hits · 20 pts
SeverityFileLineSnippetContext
LOWtests/test_skill_command.py126CODE
LOWtests/test_doctor.py186CODE
LOWtests/test_doctor.py221CODE
LOWtests/test_doctor.py260CODE
LOWagent_reach/config.py46CODE
LOWagent_reach/cli.py59CODE
LOWagent_reach/cli.py254CODE
LOWagent_reach/cli.py469CODE
LOWagent_reach/cli.py588CODE
LOWagent_reach/cli.py656CODE
LOWagent_reach/cli.py955CODE
LOWagent_reach/cli.py1088CODE
LOWagent_reach/cli.py1117CODE
LOWagent_reach/cli.py1294CODE
LOWagent_reach/cli.py1376CODE
LOWagent_reach/cli.py1567CODE
LOWagent_reach/cli.py1588CODE
LOWagent_reach/cli.py1826CODE
LOWagent_reach/cli.py1991CODE
LOWagent_reach/cli.py2161CODE
LOWagent_reach/cli.py2222CODE
LOWagent_reach/cli.py497CODE
LOWagent_reach/doctor.py57CODE
LOWagent_reach/cookie_extract.py209CODE
LOWagent_reach/utils/paths.py71CODE
LOWagent_reach/channels/mcporter.py32CODE
LOWagent_reach/channels/twitter.py43CODE
LOWagent_reach/channels/bilibili.py46CODE
LOWagent_reach/channels/xiaohongshu.py73CODE
Unused Imports21 hits · 20 pts
SeverityFileLineSnippetContext
LOWtests/test_private_file_writes.py3CODE
LOWtests/test_opencode_skill.py3CODE
LOWtests/test_cookie_security.py3CODE
LOWtests/test_doctor_credential_boundaries.py3CODE
LOWtests/test_p0_cli.py4CODE
LOWtests/test_mcporter_config.py3CODE
LOWtests/test_auth_guidance_policy.py3CODE
LOWagent_reach/__init__.py7CODE
LOWagent_reach/transcribe.py21CODE
LOWagent_reach/backends/__init__.py10CODE
LOWagent_reach/backends/__init__.py10CODE
LOWagent_reach/backends/__init__.py10CODE
LOWagent_reach/backends/__init__.py10CODE
LOWagent_reach/backends/__init__.py10CODE
LOWagent_reach/utils/paths.py3CODE
LOWagent_reach/utils/url.py3CODE
LOWagent_reach/utils/text.py3CODE
LOWagent_reach/utils/process.py3CODE
LOWagent_reach/channels/rss.py18CODE
LOWagent_reach/channels/mcporter.py3CODE
LOWagent_reach/channels/github.py4CODE
Fake / Example Data20 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/test_channels.py246 fake_data = [CODE
LOWtests/test_channels.py255 def read(self, _size=-1): return json.dumps(fake_data).encode()CODE
LOWtests/test_channels.py265 fake_data = [CODE
LOWtests/test_channels.py273 def read(self, _size=-1): return json.dumps(fake_data).encode()CODE
LOWtests/test_channels.py200 fake_data = [CODE
LOWtests/test_channels.py231 return json.dumps(fake_data).encode()CODE
LOWtests/test_channels.py286 fake_data = [CODE
LOWtests/test_channels.py301 def read(self, _size=-1): return json.dumps(fake_data).encode()CODE
LOWtests/test_channels.py406 fake_user = {CODE
LOWtests/test_channels.py424 def read(self, _size=-1): return json.dumps(fake_user).encode()CODE
LOWtests/test_channels.py508 fake_data = {CODE
LOWtests/test_channels.py541 return json.dumps(fake_data).encode()CODE
LOWtests/test_channels.py560 fake_data = {CODE
LOWtests/test_channels.py575 return json.dumps(fake_data).encode()CODE
LOWtests/test_channels.py605 fake_data = {CODE
LOWtests/test_channels.py620 return json.dumps(fake_data).encode()CODE
LOWtests/test_channels.py637 fake_data = {CODE
LOWtests/test_channels.py662 return json.dumps(fake_data).encode()CODE
LOWtests/test_channels.py677 fake_data = {CODE
LOWtests/test_channels.py695 return json.dumps(fake_data).encode()CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHagent_reach/channels/reddit.py149 '"modhash": null, "saved_at": 0, "last_verified_at": null}\n\n'CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_skill_command.py155 # Create a fake skill installationCOMMENT
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMagent_reach/cli.py251# ── Command handlers ────────────────────────────────COMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWagent_reach/__init__.py9__all__ = ["AgentReach"]CODE
LOWagent_reach/channels/__init__.py58__all__ = [CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWagent_reach/cli.py1725 # Check if xiaohongshu-mcp container is runningCOMMENT