Evidence-first social-media research CLI + Claude Code skill
Project description
social-research-probe
Evidence-first social-media research CLI + Claude Code skill
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
- Parse the topic and purpose.
- Fetch platform items and engagement metrics.
- Rank items with trust, trend, opportunity, and overall score.
- Run transcript fetching, statistics, and charts.
- Summarize top-N items when an LLM runner is enabled.
- Corroborate claims through healthy configured providers.
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file
social_research_probe-0.0.10.tar.gz.File metadata
File hashes
854beb069b17b4108996d6a99fa9fd3170cef2b6b5d554105ce5bab2e196871c176b10b6e03aaac853a270494f9e8f48ce0db84a4e9d3cffdc5adea837c594e84b57a1cd2775115c4b4080ca39cc12b7See more details on using hashes here.
Provenance
The following attestation bundles were made for
social_research_probe-0.0.10.tar.gz:Publisher:
Attestations: Values shown here reflect the state when the release was signed and may no longer be current.release.ymlon reshinto/social-research-probe-
Statement type:
-
Predicate type:
-
Subject name:
-
Subject digest:
-
Sigstore transparency entry: 1411335448
- Sigstore integration time:
Source repository:https://in-toto.io/Statement/v1https://docs.pypi.org/attestations/publish/v1social_research_probe-0.0.10.tar.gz854beb069b17b4108996d6a99fa9fd3170cef2b6b5d554105ce5bab2e196871c-
Permalink:
-
Branch / Tag:
-
Owner: https://github.com/reshinto
-
Access:
Publication detail:reshinto/social-research-probe@75f1545c0f991bb50589f3b9256f39e01319595crefs/heads/mainpublichttps://token.actions.githubusercontent.comgithub-hostedrelease.yml@75f1545c0f991bb50589f3b9256f39e01319595cpush