Skills for Real Engineers. Straight from my .agents directory.
baoyu-danger-x-to-markdown
Agent skill fromJimLiu/baoyu-skills
Converts X (Twitter) tweets and articles to markdown with YAML front matter. Uses reverse-engineered API requiring user consent. Use when user mentions "X to markdown", "tweet to markdown", "save tweet", or provides x.com/twitter.com URLs for conversion.
How to install baoyu-danger-x-to-markdown
npx skills add JimLiu/baoyu-skills# or add only this skill to Claude Code: copy the folder
skills/baoyu-danger-x-to-markdown/
# into
~/.claude/skills/baoyu-danger-x-to-markdown/ (all projects)
.claude/skills/baoyu-danger-x-to-markdown/ (one project)
1# X to Markdown23Tweets/threads → markdown with YAML front matter; X Articles → full content.45## User Input Tools67When this skill prompts the user, follow this tool-selection rule (priority order):891. **Prefer built-in user-input tools** exposed by the current agent runtime — e.g., `AskUserQuestion`, `request_user_input`, `clarify`, `ask_user`, or any equivalent.102. **Fallback**: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.113. **Batching**: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.1213Concrete `AskUserQuestion` references below are examples — substitute the local equivalent in other runtimes.1415## Script Directory16171. `{baseDir}` = this SKILL.md's directory; script = `{baseDir}/scripts/main.ts`182. `${BUN_X}` = `bun` if installed; else `npx -y bun` if `npx` available; else suggest installing bun1920## Consent Requirement (before any conversion)21221. Read the consent file:23 - macOS: `~/Library/Application\ Support/baoyu-skills/x-to-markdown/consent.json`24 - Linux: `~/.local/share/baoyu-skills/x-to-markdown/consent.json`252. `accepted: true` and `disclaimerVersion: "1.0"` → print `Warning: Using reverse-engineered X API. Accepted on: <acceptedAt>` and proceed.263. Missing or version mismatch → show this disclaimer and ask "Yes, I accept" | "No, I decline":27 ```28…
Excerpt shown under the repository's MIT license.
More skills in baoyu-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
