tuziapi avatar

Tuzi Danger X To Markdown

Converts X posts and articles to markdown files with YAML front matter, pulling full thread content and metadata. Uses a reverse-engineered API instead of official X endpoints, so you'll go through a consent flow on first use acknowledging the risks (potential breakage, no guarantees, possible account issues). Handles both tweets and X articles, can download media locally or keep remote URLs, and falls back to Chrome cookie extraction if you don't provide auth tokens. Built for archiving or content migration when you need structured markdown from X content. The consent requirement is actually refreshing transparency about what you're running.

skills.sh installs
156
GitHub stars
39
last updated
Aug 21, 2026

Install

$ npx -y skills add tuziapi/tuzi-skills --skill tuzi-danger-x-to-markdown --agent claude-code

Installs into .claude/skills of the current project.

Files

X to Markdown

Converts X content to markdown:

  • Tweets/threads → Markdown with YAML front matter
  • X Articles → Full content extraction

Script Directory

Scripts located in scripts/ subdirectory.

Path Resolution:

  1. SKILL_DIR = this SKILL.md's directory
  2. Script path = ${SKILL_DIR}/scripts/main.ts

Consent Requirement

Before any conversion, check and obtain consent.

Consent Flow

Step 1: Check consent file

# macOS
cat ~/Library/Application\ Support/tuzi-skills/x-to-markdown/consent.json

# Linux
cat ~/.local/share/tuzi-skills/x-to-markdown/consent.json

Step 2: If accepted: true and disclaimerVersion: "1.0" → print warning and proceed:

Warning: Using reverse-engineered X API. Accepted on: <acceptedAt>

Step 3: If missing or version mismatch → display disclaimer:

DISCLAIMER

This tool uses a reverse-engineered X API, NOT official.

Risks:
- May break if X changes API
- No guarantees or support
- Possible account restrictions
- Use at your own risk

Accept terms and continue?

Use AskUserQuestion with options: "Yes, I accept" | "No, I decline"

Sponsors

Details

Repository
github.com/tuziapi/tuzi-skills
Category
Backend & APIs
First seen
Jun 3, 2026

More from tuziapi/tuzi-skills

All 20
1awslabs avataraws-serverless-deploymentawslabs/agent-pluginsAWS SAM and AWS CDK deployment for serverless applications. Triggers on phrases like: use SAM, SAM template, SAM init, SAM deploy, CDK serverless, CDK Lambda co154skills.sh installs
2solar-luna avatarxiaohongshu-publishersolar-luna/fully-automatic-article-generation-skill自动发布内容到小红书平台。支持将文章转换为小红书格式(≤1000字,emoji风格)并通过API直接发布。当用户说"发布到小红书"、"推送到小红书"、"小红书发布"时使用此Skill。151skills.sh installs
3feiskyer avatargpt-image-skillfeiskyer/claude-code-settingsGenerate or edit images using OpenAI GPT Image API (gpt-image-2, gpt-image-1, etc). Triggers: "gpt image", "openai image", "generate image with openai", "draw i150skills.sh installs
4hoodini avataraws-agentcorehoodini/ai-agents-skillsBuild AI agents with AWS Bedrock AgentCore. Use when developing agents on AWS infrastructure, creating tool-use patterns, implementing agent orchestration, or i148skills.sh installs
5vm0-ai avatarscrapeninjavm0-ai/vm0-skillsScrapeNinja API for web scraping. Use when user mentions "ScrapeNinja", "scrape", "web scraping", or data extraction.147skills.sh installs
6rysweet avatarmcp-managerrysweet/amplihackConversational interface for managing MCP (Model Context Protocol) server configurations in Claude Code146skills.sh installs