npx skills add kaitoinfra/twitterapi-io --skill twitterapi-io
robin-liquidium/agent-skills
twitterapi-io
twitterapi.io fetch: tweets, profiles, replies, quotes, threads, search.
Installation
npx skills add robin-liquidium/agent-skills --skill twitterapi-io
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsArchitect and provision enterprise Azure infrastructure from workload descriptions. For cloud a…
402.8K installsAlso in this package
Other skills from robin-liquidium/agent-skills · top by installs.
npx skills add robin-liquidium/agent-skills
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Skill metadata
Parsed from SKILL.md frontmatter.
Bash(./scripts/twitterapi-io:*)Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md4,326 B -
docs
SUMMARY.md93 B
History
- First seen on skills.sh
- First recorded snapshot · 11 installs
SKILL.md
twitterapi-io
Use the local skill script for read-only twitterapi.io access.
This skill exists to make common twitterapi.io reads simple and low-noise instead of rebuilding custom API calls each time.
Quick rules
- Use this skill only for reads.
- Do not improvise posting/like/reply/delete flows.
- Prefer compact JSON output by default.
- Use
--rawonly when you actually need full API objects. - Prefer the official docs links in
references/links.mdwhen validating endpoint behavior.
Local setup
Prefer the skill-local script over any global CLI install. Prefer a saved config file over shell-exported environment variables.
No package install is required for the local script. Use:
<skill-path>/scripts/twitterapi-io
Primary config path:
~/.config/twitterapi-io/config.json
Recommended one-time setup:
<skill-path>/scripts/setup-api-key.sh
That writes the API key to the config file so later reads work without needing to source .env.
Commands
Show built-in help
<skill-path>/scripts/twitterapi-io help
Authenticate once
<skill-path>/scripts/setup-api-key.sh
You can also use env as an override or fallback, or use auth --api-key only when command-history exposure is acceptable:
export TWITTERAPI_IO_KEY='YOUR_KEY'
<skill-path>/scripts/twitterapi-io auth --api-key YOUR_KEY
Fetch one tweet
<skill-path>/scripts/twitterapi-io tweet --url 'https://x.com/jack/status/20'
or:
<skill-path>/scripts/twitterapi-io tweet --id 20
Fetch one user
<skill-path>/scripts/twitterapi-io user --username OpenAI
Fetch recent tweets for a user
<skill-path>/scripts/twitterapi-io user-tweets --username OpenAI --limit 10
Include replies:
<skill-path>/scripts/twitterapi-io user-tweets --username OpenAI --limit 10 --include-replies
Fetch replies to a tweet
<skill-path>/scripts/twitterapi-io replies --url 'https://x.com/jack/status/20' --limit 20
Optional unix-time filters:
<skill-path>/scripts/twitterapi-io replies --id 20 --since-time 1741219200 --until-time 1741305600 --limit 20
Fetch quote tweets
<skill-path>/scripts/twitterapi-io quotes --id 20 --limit 20
Fetch thread context
<skill-path>/scripts/twitterapi-io thread-context --id 20 --limit 40
Fetch mentions for a user
<skill-path>/scripts/twitterapi-io mentions --username OpenAI --limit 20
Advanced search
<skill-path>/scripts/twitterapi-io search --query 'AI agents -filter:replies' --from-user OpenAI --within-time 24h --max-tweets 50
Use Top results when needed:
<skill-path>/scripts/twitterapi-io search --query 'AI agents' --queryType Top --max-pages 2
Use explicit unix-time operators when needed:
<skill-path>/scripts/twitterapi-io search --query '$BTC' --since-time 1741219200 --until-time 1741305600 --max-tweets 50
Workflow
- Read
references/links.mdif you need the underlying official twitterapi.io docs links. - Use the local skill script.
- Ensure the API key exists in
~/.config/twitterapi-io/config.jsonor via env. - Use
tweet,user,user-tweets,replies,quotes,thread-context,mentions, orsearchas needed. - Keep reads narrow and intentional.
Expected outputs
The CLI returns JSON. Parse it instead of scraping human text.
Default output is compact and low-noise. Use --raw when full endpoint payloads are actually needed.
Files
- Package repo:
https://github.com/robin-liquidium/twitterapi-io-cli - Launcher:
scripts/twitterapi-io - Python implementation:
scripts/twitterapi_io.py - Credential setup helper:
scripts/setup-api-key.sh - Official docs links:
references/links.md - Config storage:
~/.config/twitterapi-io/config.json .envis optional fallback only; it is not the preferred long-term setup.
When to stop and ask
Stop and ask before:
- adding write/posting capabilities
- adding login-cookie flows
- adding broad/high-cost scraping defaults
- changing how API key storage works