twitter-search-skill

twitter-search-skill is a skill for Claude Code from zeenie-ai/OpenCompany. It costs 43 tokens per session (2,460 once invoked), scanned A, original, MIT.

A Twitter/X search interface that finds recent posts using keywords, hashtags, mentions, and advanced query operators.

In plain words
What is it for?
Use it to search topics or accounts and retrieve enriched tweet data through the X API, while following its query and result-count rules.
Why use it?
It returns more context than plain search results, including authors, expanded links, media, engagement metrics, and referenced posts.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to search topics or accounts and retrieve enriched tweet data through the X API, while following its query and result-count rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zeenie-ai/opencompany/twitter-search-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zeenie-ai/OpenCompany --skill twitter-search-skill
Clone the repo
git clone --depth 1 https://github.com/zeenie-ai/OpenCompany

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for twitter-search-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/zeenie-ai/opencompany/twitter-search-skill/github.svg)](https://agentmods.dev/skills/zeenie-ai/opencompany/twitter-search-skill)
Your own site
<a href="https://agentmods.dev/skills/zeenie-ai/opencompany/twitter-search-skill"><img src="https://agentmods.dev/badge/skills/zeenie-ai/opencompany/twitter-search-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for twitter-search-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/zeenie-ai/opencompany/twitter-search-skill"><img src="https://agentmods.dev/badge/skills/zeenie-ai/opencompany/twitter-search-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,460 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.02460
Opus 5 $0.00022 $0.01230
Sonnet 5 $0.00009 $0.00492
Haiku 4.5 $0.00004 $0.00246

Measured 13d ago against content hash 2437b3bda8d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

twitter-search-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

server/skills/social_agent/twitter-search-skill/SKILL.md · 260 lines

How it starts

The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Twitter Search Tool

Search for recent tweets on Twitter/X with rich data including full text, expanded URLs, author profiles, media attachments, engagement metrics, and referenced tweets.

How It Works

This skill provides instructions for the Twitter Search tool node. Connect the Twitter Search node to an AI Agent's input-tools handle to enable tweet searching.

twitter_search Tool

Search for tweets matching a query. Returns enriched tweet data via X API v2 expansions.

Schema Fields

Field Type Required Description
query string Yes Search query (supports operators)
max_results integer No Number of results (10-100, default: 10)

Query Rules (X API constraint — required reading)

Every query must contain at least one STANDALONE term. Operator-only queries return HTTP 400 from X.

  • Standalone (can stand alone as the whole query): keyword, "quoted phrase", #hashtag, @mention, from:user, to:user, url:domain, context:.
  • Conjunction-required (must be combined with a standalone term): lang:, is:retweet / -is:retweet, is:reply / -is:reply, is:quote, has:links, has:media, has:images, has:videos, plain -negation of any keyword.

HTTP 400 — these queries fail:

Bad query Why
lang:en conjunction-required operator alone
-is:retweet negation alone
-is:retweet lang:en two conjunction-required operators, zero standalone
has:media conjunction-required alone
is:reply conjunction-required alone

Valid — these have at least one standalone term:

Good query Standalone anchor
python -is:retweet keyword python
"machine learning" lang:en quoted phrase
from:elonmusk -is:retweet from:
#ai has:media hashtag
@OpenAI lang:en mention
url:"github.com" -is:retweet url:

Query Operators

The X API v2 supports advanced search operators:

Read the full file on GitHub · 260 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 260 lines · 43 tokens per session scan A 2437b3bda8d7

Subscribe to this mod's changes

twitter-search-skill is a skill published in the GitHub repository zeenie-ai/OpenCompany (883 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 2,460 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.