一键导入
x-feed-summarizer
Summarize X/Twitter feed quickly, including key links. Triggers: 'summarize my feed', 'what's on X', 'twitter summary', 'what's trending'
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Summarize X/Twitter feed quickly, including key links. Triggers: 'summarize my feed', 'what's on X', 'twitter summary', 'what's trending'
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Browser automation using agent-browser CLI connected to a logged-in Chrome session via CDP. Use when asked to browse a website, fill forms, click buttons, take screenshots, scrape data, automate browser tasks, or any web interaction. Also use when asked to 'start chrome debugging', 'connect to chrome', or 'launch chrome for browser automation'.
Posts tweets to X (Twitter) in AJ's voice. Use when asked to write a tweet, post to Twitter/X, compose a tweet, or share something on X. Handles both writing the tweet copy and posting it via browser automation.
Scrapes X/Twitter content from any profile or feed tab. Use when asked to scrape a specific Twitter user, get tweets from a profile, or extract X content beyond the Following feed.
Teaches the agent how to create new Agent Skills - the open standard for extending AI agent capabilities. Use this skill when asked to create, write, or develop new skills for AI agents.
Runs OpenAI Codex CLI agents in iTerm slots to work on GitHub issues. Use when asked to 'run codex on an issue', 'assign an issue to codex', 'spin up a codex agent', or 'have codex work on issue #N'.
Analyze video transcriptions to identify interesting segments for clipping. Finds highlights, key moments, and reactions with precise timestamps. Use when working with video transcriptions to extract clip-worthy moments. (project)
| name | x-feed-summarizer |
| description | Summarize X/Twitter feed quickly, including key links. Triggers: 'summarize my feed', 'what's on X', 'twitter summary', 'what's trending' |
Fast extraction and summarization of X feed content using agent-browser CDP connected to your existing logged-in Chrome session via CDP on port 9222.
IMPORTANT: Always use --cdp 9222 to connect to your logged-in Chrome. Never use --auto-connect or a fresh browser — you won't be logged in.
Requires chrome-browser skill to be running first. Verify:
curl -s --max-time 3 http://localhost:9222/json/version
agent-browser --cdp 9222 open https://x.com/home
agent-browser --cdp 9222 wait 5000
Do NOT use --load networkidle — X never reaches networkidle. Use fixed wait 5000.
agent-browser --cdp 9222 snapshot -i
# Find "Following" tab ref from snapshot, e.g. e12
agent-browser --cdp 9222 click e12
agent-browser --cdp 9222 wait 3000
agent-browser --cdp 9222 eval --stdin <<'EVALEOF'
JSON.stringify(
Array.from(document.querySelectorAll('article[data-testid="tweet"]')).slice(0, 12).map((a, i) => {
const userEl = a.querySelector('[data-testid="User-Name"]');
const textEl = a.querySelector('[data-testid="tweetText"]');
const timeEl = a.querySelector('time');
const linkEl = timeEl ? timeEl.closest('a') : null;
const links = Array.from(a.querySelectorAll('a[href]'))
.map(l => ({ text: l.innerText.trim().slice(0, 50), href: l.href }))
.filter(l => l.text && l.href.includes('x.com'));
return {
i,
user: userEl ? userEl.innerText.replace(/\n/g, ' ') : 'Unknown',
text: textEl ? textEl.innerText.slice(0, 400) : '',
time: timeEl ? timeEl.getAttribute('datetime') : '',
link: linkEl ? 'https://x.com' + linkEl.getAttribute('href') : '',
links
};
}).filter(p => p.text),
null, 2
)
EVALEOF
agent-browser --cdp 9222 scroll down 2000
agent-browser --cdp 9222 wait 1500
# repeat eval from Step 3 — adjust .slice(0, 20) to get more
scroll down 2000 for fast scrollingOutput the summary as readable text:
## X Feed Summary
### Main Themes
- Theme 1: description
### Key Highlights
1. **[Post text snippet](https://x.com/user/status/123)** - @user: summary
2. ...
### Viral Content
- High engagement post: [link](url)
### Notable Accounts
- [@handle](https://x.com/handle): active on topics
Keep it conversational, scannable, with all links as Markdown text.
| Problem | Solution |
|---|---|
| Not logged in | You must use --cdp 9222, never --auto-connect or a fresh browser |
networkidle timeout | Use wait 5000 — never use --load networkidle on X |
| Feed not loading | Check Chrome is running: curl -s http://localhost:9222/json/version |
| Same posts repeating | Scroll further with additional scroll down 2000 commands |
| No articles found | Page still loading — add another wait 3000 then retry eval |
| Links missing | Ensure eval captures relative URLs and prepends https://x.com |
article[data-testid="tweet"][data-testid="tweetText"][data-testid="User-Name"]time inside an <a> tag