1. Habit
  2. Skills
  3. Twitter API skill
fetcher-sh · 8K installs

Twitter API skill
Runs by itself, daily topic search.

New posts on your topics, daily.

Install the Twitter API skill and make it a habit: follow https://gethabit.dev/skills/fetcher-sh/twitter-api.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

8K installs2 starsMIT licenceSource on GitHub ↗

Twitter API

by fetcher-sh · 8K installs

The skill

Twitter api gives agents read access to Twitter/X data on fetcher.sh: tweet search with advanced operators, profiles, timelines, followers, Lists and trends, with no OAuth or developer app.

Only when you ask.

The habit

New posts on your topics, daily.

↻ Runs by itselfdaily topic search

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after the saved queries, at most 10 calls per run.

  1. 01

    Load searches

    Read the saved queries and the tweet ids seen last time.

  2. 02

    Search

    Call /api/search with each query, using operators like since: and min_faves:.

  3. 03

    Check responses

    Stop on 401 or 402 and note any 400 with the parameter it names.

  4. 04

    Filter new

    Drop tweets already in the log.

  5. 05

    Log

    Write the new tweets per query and update the seen ids.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Twitter API skill helps.

Use it when

  • ✓ searching tweets by keyword or operator
  • ✓ pulling a profile or its followers
  • ✓ checking trends by country

Skip it when

  • – you need to post tweets
  • – you already use the official X API

Questions

Twitter API skill, answered.

Do I need an X developer account?

No. It uses fetcher.sh with a Bearer key or x402, with no OAuth.

Does it post tweets?

No. Every endpoint is a read-only GET.

How do I install the Twitter API skill?

Copy the prompt at the top into your agent. It installs the skill from fetcher-sh/fetcher-skills and sets up the habit. Or run npx skills add fetcher-sh/fetcher-skills --skill twitter-api.

Is the Twitter API skill free?

Yes. It is published under MIT. Habit is free too.

Twitter API. Now as a habit.

Install the Twitter API skill and make it a habit: follow https://gethabit.dev/skills/fetcher-sh/twitter-api.md

  • Free
  • No account
  • Undo in one line

All fetcher-sh skills →More content skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by fetcher-sh, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.