g1eny0ung/my-skills/news-now
Claude Code and agent skill by g1eny0ung/my-skills
- community
Checking that the SKILL.md file is still in the repository.
Fetch and normalize information-flow content from WallstreetCN, SSPAI, Longbridge, V2EX, and Hacker News. Use when the user wants WallstreetCN hot articles, SSPAI hot articles, Longbridge key events, V2EX latest shares, or Hacker News front page stories, then strip noisy API fields, filter out previously fetched URLs, and return agent-ready JSON with `title`, `url`, and optional `summary`. Trigger on requests such as "获取华尔街见闻热门", "获取少数派热门", "获取 longbridge 关键事件", "获取 V2EX 最新分享", "获取 Hacker News 热帖", or "输出精简 news feed JSON".
Install
npx vskill@latest install g1eny0ung/my-skills/news-nowSKILL.md
The same SKILL.md was published earlier as g1eny0ung/my-skills/news-now.
News Now
Overview
Fetch WallstreetCN, SSPAI, Longbridge, V2EX, and Hacker News content feeds, remove already seen articles, and normalize the remaining items into compact JSON for downstream agent use.
Return title and url for each article item, and include summary only when the source provides a usable summary. Drop all other API fields.
Quick Start
Run the bundled script:
By default the script fetches all supported sources and prints compact JSON with one top-level key per fetched source:
wallstreetcn_hotsspai_hotlongbridge_hotv2ex_hothackernews_hot
Supported Sources
Use --source to limit the fetch to one source:
allwallstreetcn-hotsspai-hotlongbridge-hotv2ex-hothackernews-hot
Example:
Use --pretty-print when you want formatted output:
Use --txt when you want plain-text output:
Use --longbridge-score-min to specify a custom minimum score for Longbridge hot events (must be a number ≤ 10; defaults to 6):
Output Rules
Return items in this shape:
or, for sources with summaries:
Apply these source-specific rules:
- For WallstreetCN hot, read from
data.day_items. - For SSPAI hot, read from
data. - For Longbridge hot, POST to
https://m.lbkrs.com/api/forward/v1/event/events/feedand read fromdata.events. - For V2EX hot, GET
https://www.v2ex.com/feed/{node}.jsonfor each node increate,ideas,programmer,share, read each response'sitems, merge them, dedupe byurl, sort bydate_modified(falling back todate_published) descending, and keep at most 30 items. - For Hacker News hot, GET
https://hn.algolia.com/api/v1/search?tags=front_page&hitsPerPage=30and read fromhits. - For WallstreetCN hot, drop articles whose title contains
华尔街见闻早餐. - For SSPAI hot, drop articles whose title contains
福利派. - For Longbridge hot, set
filter.time_endto the current epoch time in seconds, andfilter.time_starttotime_end - 86400. - For Longbridge hot, set
filter.score_maxto 10 andfilter.score_minto a user-specified value (defaults to 6). - For Longbridge hot, build the URL as
https://web.lbkrs.com/zh-CN/events/{id}?channel=n{id}usingevent.id. - For SSPAI hot, return the source
summaryfield directly assummary, or""when missing. - For Longbridge hot, use
event.overviewassummary. - For V2EX hot and Hacker News hot, do not output
summary. - For Hacker News hot, use
hit.urlas the item URL; whenhit.urlis null, fall back tohttps://news.ycombinator.com/item?id={objectID}. - If a source does not provide a summary field, omit
summaryunless that source explicitly requires an empty string. - Keep URLs absolute.
- Do not add metadata such as author, id, timestamps, tags, counts, or source names unless the user explicitly asks for them.
Read Tracking
Track previously fetched article URLs in data/read_urls.txt under this skill's directory by default.
Apply these rules:
- Create the file automatically if it does not exist.
- Before returning articles, compare each URL against the state file with
grep. - Return only URLs that are not already recorded.
- After returning unread articles, append their URLs to the state file.
- Use
--state-file /path/to/fileto override the default state file location when needed.
Execution Notes
- SSPAI
created_atmust be the current epoch time in seconds. The script computes it at runtime automatically. - Longbridge payload
time_endmust be the current epoch time in seconds, andtime_startmust be one day earlier. The script computes both at runtime automatically. - For Longbridge hot events, you can specify a custom
score_minvalue (defaults to 6) using--longbridge-score-min. The value must be a valid number ≤ 10. - The script depends on
bash,curl, andjq. - If
curlorjqis missing, stop and ask the user to install it before running the script. - If the network is unavailable, fail clearly instead of returning guessed content.
- V2EX and Hacker News endpoints may be unreachable on restricted networks (for example, mainland China without a proxy); if their fetch fails, report the failure for that source instead of guessing.
Resources
scripts/
- `scripts/fetch_feed.sh`: Fetch and normalize all supported feeds with shell tools.
- `scripts/fetch_feed_test.sh`: Dedicated test script containing all fixture-based tests for the feed parsing logic.
data/
- `data/`: Contains the runtime state file
read_urls.txtused to track fetched article URLs. The file is created automatically on first run and is not tracked in git.
Validation
Use the dedicated test script when you need to verify parsing logic without network access:
The script prints only the test result summary (OK: <n> assertions passed.).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/news-now/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/g1eny0ung/my-skills/news-now)