Kkarthik.dev
Back to projects
Open Source

x-agent-kit

Open-source AI growth team for X: draft, validate, schedule and announce from Claude, Cursor, Codex, Gemini, Kimi or any LLM

TypeScriptNode.jsPythonMCPClaude Code pluginGitHub ActionsX API

Overview

x-agent-kit turns a GitHub repo into posts on X. Agents read the README, commits and releases, find the stories in them, and draft launch threads, release announcements and a week of build-in-public posts. A validator checks every draft, and nothing is posted until the user previews and approves it.

Problem

Developers ship good work and nobody hears about it, because posting consistently on X is a second job. Release notes get copy-pasted or forgotten, and existing tools lock you into one SaaS or one AI model.

Solution

A self-hosted, MIT-licensed kit of 9 skills, 5 agents and 12 MCP tools that works from any AI tool, plus a zero-AI GitHub Action that announces every release. Drafts are shaped around X's published ranking signals, and the post queue lives in git as x-queue.yaml so scheduled posts are reviewed in pull requests like code.

Architecture

  1. 1Claude Code plugin — 9 skills, 5 agents and 4 slash commands (/thread, /announce, /plan-week, /launch)
  2. 2Single-file MCP server with 12 tools for Cursor, VS Code, Codex, Gemini CLI, Windsurf and Claude Desktop
  3. 3LLM bridge for any OpenAI-compatible model (Kimi, OpenAI, DeepSeek, Gemini, Ollama)
  4. 4Python validator and reach scorer: length, duplicates, link placement and spam patterns
  5. 5Git-based post queue published on schedule by a GitHub Action cron
  6. 6GitHub Action that announces each published release with no AI needed

Technical Challenges

  • Making one set of skills work across 20+ AI tools and models without locking into any of them.
  • Keeping it safe for real accounts: dry run by default, approval before every post, and no auto-follows, likes, DMs or reply spam.

Results

  • Set up in about 2 minutes with one Claude Code command, or one MCP config for any other tool.
  • CI on Node 18/20/22 and Python 3.10–3.13, CodeQL and end-to-end MCP tests.
  • MIT licensed and self-hosted; secrets stay in the keychain, GitHub Secrets or env vars.