Skip to main content

Evidence-first social-media research CLI + Claude Code skill

Project description

social-research-probe

Evidence-first social-media research CLI + Claude Code skill

CI PyPI Python >=3.11 License: MIT

srp is a local-first research CLI for turning platform search results into a structured evidence packet. YouTube is the first implemented platform, but the design is meant to grow toward TikTok, Instagram, X, web search, RSS, forums, and other public sources. A run fetches candidate items, ranks them by trust/trend/opportunity, enriches the strongest items, corroborates claims when providers are configured, runs statistics, renders charts, and writes Markdown/HTML reports.

Quickstart

srp research "what are researchers saying about model collapse?" "latest-news"

This command uses the default platform, currently YouTube, and the saved purpose named latest-news. A purpose tells the system what kind of research lens to apply. For example, a breaking-news purpose should value freshness and corroboration, while an evergreen-analysis purpose might value source quality and transcript depth more heavily.

For installation steps, API keys, and runner setup, use docs/installation.md. That file is the setup reference.

What happens during research

Research data flow

  1. Parse the topic and purpose.
  2. Fetch platform items and engagement metrics.
  3. Rank items with trust, trend, opportunity, and overall score.
  4. Run transcript fetching, statistics, and charts.
  5. Summarize top-N items when an LLM runner is enabled.
  6. Corroborate claims through healthy configured providers.
  7. Assemble and render the final report.

Why it exists

Raw platform search results are hard to audit. A normal research workflow often leaves important decisions hidden: why one source was chosen, which claims were checked, whether summaries came from transcripts or guesses, and how much of the process depended on paid providers. This project turns a research question into a repeatable evidence packet: source items, scores, transcripts, summaries, corroboration evidence, statistical highlights, charts, and a report.

The design keeps cheap local work first. Search, scoring, caching, statistics, and charting can happen before any LLM or paid search provider is used. Expensive work is gated behind configuration and focused on the top-ranked items, so users can understand and control the cost of a run.

Common commands

srp research "AI agents" "latest-news"
srp research youtube "AI agents" "latest-news,trends" --no-shorts
srp config show
srp config set llm.runner gemini
srp config set platforms.youtube.enrich_top_n 3
srp config set-secret youtube_api_key
srp serve-report --report ~/.social-research-probe/reports/report.html

Documentation

Start with docs/README.md. Key pages:

Page Purpose
Objective Why this project exists.
How it works Plain-English pipeline walkthrough.
Architecture System design, diagrams, and tradeoffs.
Design patterns Patterns used in the codebase with examples.
Usage Day-to-day CLI workflows.
Configuration Config, secrets, gates, and data directory behavior.
API costs and keys Which features are free, quota-based, paid, or authenticated through external CLIs.
Commands Full command surface, including Claude Code /srp forms.
Root files Purpose of every repository root file and support directory.
Scoring How trust, trend, opportunity, and overall ranking are calculated.
Python guide Python concepts used in the repository.

Architecture in one paragraph

The CLI dispatches commands into a platform orchestrator. A platform adapter owns source-specific fetching and stage order; today that adapter is YouTube. Services coordinate reusable tasks such as scoring, enrichment, statistics, synthesis, and reporting. Technologies are atomic adapters or pure algorithms, such as a transcript fetcher, chart renderer, LLM runner, or search provider. Shared utilities handle config, cache, local state, validation, display, and subprocess calls.

See docs/architecture.md for the full system design.

License

MIT © 2026 Terence — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

social_research_probe-0.0.10.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

social_research_probe-0.0.10-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file social_research_probe-0.0.10.tar.gz.

File metadata

  • Download URL: social_research_probe-0.0.10.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for social_research_probe-0.0.10.tar.gz
Algorithm Hash digest
SHA256 854beb069b17b4108996d6a99fa9fd3170cef2b6b5d554105ce5bab2e196871c
MD5 176b10b6e03aaac853a270494f9e8f48
BLAKE2b-256 ce0db84a4e9d3cffdc5adea837c594e84b57a1cd2775115c4b4080ca39cc12b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for social_research_probe-0.0.10.tar.gz:

Publisher: release.yml on reshinto/social-research-probe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file social_research_probe-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for social_research_probe-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 75f2cf9ad30e4beed260c28a5fb7c1986b83a8c75a9e5ebc93b349faf8d960bb
MD5 783f786ddea105534a294464d4d8ce8e
BLAKE2b-256 661c608428c1a700bd9685f7d2e3a9726b6e4d9f58c18e9a7c58de71b028264d

See more details on using hashes here.

Provenance

The following attestation bundles were made for social_research_probe-0.0.10-py3-none-any.whl:

Publisher: release.yml on reshinto/social-research-probe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page