Twitter Monitor logo

Twitter Monitor

Community
kangarooking
twitter-monitor

Fetch recent posts from one or more X/Twitter accounts through twitterapi.io, output structured JSON/CSV records, optionally sync records to Feishu/Lark Bitable through feishu-cli, and optionally guide recurring execution through OpenClaw, Codex automations, cron, or launchd. Use when the user wants to monitor X bloggers, collect recent tweets, export tweet metrics, append tweets to Feishu Bitable, or set up a scheduled Twitter/X account tracking workflow.

Add to TypingMind

Overview

Publisherkangarooking
Repositorykangarooking-skills
Skill nametwitter-monitor
Stars
662
Forks
110
Bundled files
6
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by kangarooking on GitHub. Read the source before you install it.

Installation

Install the Twitter Monitor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kangarooking/kangarooking-skills/tree/main/twitter-monitor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kangarooking/kangarooking-skills.git /tmp/kangarooking-skills
mkdir -p .claude/skills
cp -r /tmp/kangarooking-skills/twitter-monitor .claude/skills/twitter-monitor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Twitter Monitor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Twitter Monitor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Twitter Monitor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Twitter Monitor

Workflow

Use this skill as an execution workflow, not as a long-running daemon. First complete a one-shot fetch, then offer optional Feishu sync and scheduling only when useful.

  1. Ask for X/Twitter account ids when missing. Accept handles such as sama, @sama, profile URLs, or multiple comma-separated ids.
  2. Ask the user to provide or configure a twitterapi.io API key when TWITTER_API_KEY is unavailable. Do not write API keys into files committed to a repository.
  3. Confirm pagination depth. Default to --pages 1; use a larger number only when the user asks for more history or accepts higher API usage.
  4. Run scripts/twitter_monitor.py and generate JSON or CSV output.
  5. If the user wants Feishu/Lark Bitable output, follow references/feishu-output.md.
  6. After the one-shot command works, ask whether they want recurring execution. If yes, follow references/scheduling.md, including OpenClaw when appropriate.

Quick Start

From this skill directory:

bash
export TWITTER_API_KEY="..."
python scripts/twitter_monitor.py --accounts sama --pages 1 --format json

For multiple accounts:

bash
python scripts/twitter_monitor.py --accounts sama,elonmusk,OpenAI --pages 1 --format csv

For a JSON account list:

bash
python scripts/twitter_monitor.py --accounts-file assets/accounts.example.json --pages 1

Read references/twitterapi-setup.md when the user needs API key setup, account input examples, or command variants.

Output Schema

The script writes one record per tweet with these fields:

  • 推文内容
  • 日期
  • 推文链接
  • 推文ID
  • 作者
  • 作者ID
  • 阅读量
  • 点赞数
  • 转发数
  • 评论数
  • 收藏数
  • 是否回复
  • 抓取时间

Deduplicate by 推文ID before appending to any durable destination.

Feishu

Do not require Feishu configuration for normal fetches. Only enter the Feishu workflow when the user asks to write, append, or sync records to Feishu/Lark Bitable.

Prefer feishu-cli over hard-coded Feishu app credentials. If feishu-cli is missing, ask whether to install and configure it. See references/feishu-output.md for the field mapping and sync rules.

Scheduling

Offer scheduling only after a successful one-shot fetch or when the user explicitly asks for ongoing monitoring.

Prefer OpenClaw when the user wants an agent-managed recurring job or already uses OpenClaw. Otherwise choose Codex automations, cron, or launchd based on the runtime environment. See references/scheduling.md.

Safety

Never commit real API keys, Feishu tokens, output files containing private monitoring data, or local status caches. Keep secrets in environment variables, secret managers, or the user's existing CLI auth.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Twitter Monitor AI skill do?

Fetch recent posts from one or more X/Twitter accounts through twitterapi.io, output structured JSON/CSV records, optionally sync records to Feishu/Lark Bitable through feishu-cli, and optionally guide recurring execution through OpenClaw, Codex automations, cron, or launchd. Use when the user wants to monitor X bloggers, collect recent tweets, export tweet metrics, append tweets to Feishu Bitable, or set up a scheduled Twitter/X account tracking workflow.

Why use Twitter Monitor on TypingMind?

Because you install it once and use it with any model. Twitter Monitor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Twitter Monitor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kangarooking/kangarooking-skills/tree/main/twitter-monitor. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Twitter Monitor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Twitter Monitor?

As many as you like. As long as a model supports skills, you can use Twitter Monitor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Twitter Monitor AI skill free?

It is published on GitHub by kangarooking. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇