← 返回 Skills 市场
erongcao

PoliBERT Sentiment Analysis

作者 Yirong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
71
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install polibert-sentiment
功能描述
Political sentiment analysis using PoliBERTweet - a RoBERTa model pre-trained on 83M political tweets. Analyzes support, opposition, and stance toward politi...
安全使用建议
This skill is coherent for political sentiment analysis but review these points before installing: 1) Installing will pull heavy ML dependencies and the PoliBERT model (~500MB) — expect large downloads and GPU/CPU resource usage. 2) requirements.txt pins versions and includes packages (pandas, scikit-learn) that the main script doesn't appear to need; consider installing only the packages you require to reduce footprint. 3) The code intends to fetch Reddit in read-only mode without credentials; PRAW usage here is uncredentialed but verify behavior in your environment (and rate limits). 4) test_sample.sh uses an absolute user path and activates a venv at that path — do not run it without adjusting the path to your environment. 5) The model comes from the HuggingFace handle in the SKILL.md; if provenance matters, verify the model owner and license on HuggingFace before use. 6) As with any political-analysis tool, results can be biased; validate outputs and consider ethical/privacy implications when analyzing user data or large social datasets.
功能分析
Type: OpenClaw Skill Name: polibert-sentiment Version: 1.0.0 The polibert-sentiment skill is a legitimate tool for political sentiment analysis using the PoliBERTweet model from HuggingFace and Reddit data via the PRAW library. The code in polibert_sentiment.py and scrape_polymarket.py performs its stated functions without any evidence of data exfiltration, malicious execution, or prompt injection. While test_sample.sh contains a hardcoded local file path, this appears to be a remnant of development rather than a malicious indicator.
能力标签
cryptorequires-sensitive-credentials
能力评估
Purpose & Capability
The skill's name/description (PoliBERT sentiment analysis, Reddit integration, Polymarket integration) aligns with the included code. However there are small mismatches: SKILL.md lists 'twitter' as a source but there is no Twitter API integration in the code; requirements.txt pins extra heavy packages (numpy, pandas, scikit-learn) that are not used by the main script, and the pinned package versions in requirements.txt (e.g., transformers==4.48.0, torch==2.6.0) are stricter than the SKILL.md prose (transformers>=4.18.0, torch>=1.10.2). These are plausibly benign but unnecessary dependencies and version pinning are disproportionate to the core task.
Instruction Scope
Runtime instructions and code focus on local text, batch files, and Reddit. The main script downloads a HuggingFace model at first run (explicitly documented). The SKILL.md claims Reddit read-only access without credentials; the code uses praw with client_id/client_secret set to None (intended for read-only usage) but does not explicitly call praw.Reddit(read_only=True). The skill does not attempt to read unrelated local system credentials or network endpoints beyond HuggingFace/Reddit. test_sample.sh references an absolute local path and activates a virtualenv in that path, which could surprise users if run without adjusting paths.
Install Mechanism
There is no automated install spec in the registry entry (instruction-only), which is low-risk. The package includes a requirements.txt listing heavy ML packages (torch, transformers, numpy, pandas, scikit-learn, praw). Installing these will pull large binaries (torch, transformers) and the model download (~500MB) will occur at first run — expected for this use case but resource-heavy. No downloads from unknown/untrusted hosts are present in install metadata; the model comes from HuggingFace (model name provided).
Credentials
The skill declares no required environment variables or credentials. The code attempts to use PRAW in an unauthenticated/read-only manner (client_id/client_secret set to None) so no API keys are required for its documented Reddit behavior. No credentials for unrelated services are requested.
Persistence & Privilege
The skill does not request persistent platform privileges (always:false) and does not modify other skills or system-wide settings. It only downloads model files to the user's environment on first run and writes no agent config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install polibert-sentiment
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /polibert-sentiment 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with PoliBERTweet integration
元数据
Slug polibert-sentiment
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

PoliBERT Sentiment Analysis 是什么?

Political sentiment analysis using PoliBERTweet - a RoBERTa model pre-trained on 83M political tweets. Analyzes support, opposition, and stance toward politi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 71 次。

如何安装 PoliBERT Sentiment Analysis?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install polibert-sentiment」即可一键安装,无需额外配置。

PoliBERT Sentiment Analysis 是免费的吗?

是的,PoliBERT Sentiment Analysis 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

PoliBERT Sentiment Analysis 支持哪些平台?

PoliBERT Sentiment Analysis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 PoliBERT Sentiment Analysis?

由 Yirong(@erongcao)开发并维护,当前版本 v1.0.0。

💬 留言讨论