跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Twitter

插件 活跃
属于:Opc Skills

Search and retrieve content from Twitter/X. Get user info, tweets, replies, followers, communities, spaces, and trends via twitterapi.io.

目的

To provide AI agents with the ability to access and process data from Twitter/X, enabling use cases such as social listening, user research, and content analysis.

功能

  • Retrieve user profiles and metadata
  • Fetch tweets, replies, and threads
  • Access follower/following lists
  • Search for users and tweets
  • Retrieve community and space information

使用场景

  • Monitor social media for brand mentions or trends
  • Gather data for social media analytics
  • Research public opinion on specific topics
  • Identify influential users or communities

非目标

  • Posting tweets or interacting with the Twitter/X platform
  • Performing real-time analytics or sentiment analysis
  • Providing advanced moderation tools

Practical Utility

  • info:Unique selling propositionThe plugin primarily wraps the twitterapi.io API, offering convenience but not fundamentally altering LLM behavior beyond direct API usage.

Documentation

  • warning:Configuration & parameter referenceThe README documents the need for a TWITTERAPI_API_KEY but does not explicitly state its default value or precedence order if multiple configurations exist.

Security

  • warning:Secret ManagementThe API key is expected to be set in `~/.zshrc`, which is not ideal for secret management; it should ideally be handled via a more secure mechanism like `userConfig` with `sensitive: true`.
  • warning:Keychain-stored secretsThe API key is expected to be configured via an environment variable (`TWITTERAPI_API_KEY` in `~/.zshrc`), not routed through `userConfig` with `sensitive: true`, which could lead to leakage if settings are synced or backed up.

Portability

  • warning:Structural AssumptionThe README assumes the API key is set in `~/.zshrc`, which implies a Zsh shell and a specific user configuration path, potentially breaking on other shells or OS configurations.
  • warning:Runtime stabilityThe prerequisite explicitly mentions `~/.zshrc` and `python3`, suggesting a dependency on Zsh shell and Python 3, which may not be universally available or configured on all systems.

Code Execution

  • warning:ValidationWhile script inputs are named (e.g., USERNAME, QUERY), there is no explicit mention or evidence of schema validation libraries being used for parameters like USERNAME or TWEET_ID, potentially allowing invalid inputs to be passed to the API.
  • warning:Error HandlingThe Python scripts are not visible, but the README does not detail structured error handling (code, message, retryable, hint) for API errors, which could lead to opaque error messages for the agent.

Errors

  • warning:Actionable error messagesThe README does not specify how errors are handled or if they provide actionable remediation steps, which is crucial for agent-based interaction.

安装

请先添加 Marketplace

/plugin marketplace add ReScienceLab/opc-skills
/plugin install twitter@opc-skills

质量评分

78 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标858
许可证MIT
状态
查看源代码