Agent skill

V2ex

by sigcli in sigcli/sigcli

Interact with V2EX (v2ex.com) — browse hot and latest topics, read topic details and replies, search posts, create topics, reply to discussions, thank posts, favorite topics/nodes, follow members…

MITAuto-check passed

Install V2ex

skills CLI
$ npx skills add sigcli/sigcli --skill v2ex -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sigcli/sigcli v2ex --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sigcli/sigcli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/v2ex .claude/skills/v2ex && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
v2ex
GitHub stars
293
Token cost
~2.6k tokens
SKILL.md length
746 words
Files
33 (incl. scripts, references)
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Interact with V2EX (v2ex.com) — browse hot and latest topics, read topic details and replies, search posts, create topics, reply to discussions, thank posts, favorite topics/nodes, follow members…

  • Works in 5 steps: Read /references/provider-config.yaml → Append the provider block to… → Ask the user: "Do you need a proxy to… → …
  • The user mentions V2EX
  • SKILL.md covers Skill Directory, Setup (run FIRST — every time,…, Running Scripts and Scripts Reference, plus 4 more sections
  • Runs Python scripts from its folder; calls python3

What it does

V2ex is an agent skill from sigcli/sigcli. Interact with V2EX (v2ex.com) — browse hot and latest topics, read topic details and replies, search posts, create topics, reply to discussions, thank posts, favorite topics/nodes, follow members, daily check-in. Use this skill whenever the user mentions V2EX, v2ex.com, wants to browse tech forum topics, read V2EX discussions, search V2EX posts, check V2EX notifications, create or reply to V2EX topics, or look up V2EX users/nodes. Also trigger when the user pastes a V2EX URL (e.g. v2ex.com/t/12345), mentions a…

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 34 other files, including scripts and reference files (for example `references/provider-config.yaml`, `scripts/v2ex_append.py` and `scripts/v2ex_client.py`).

The repository describes itself as: The authentication CLI & Proxy for AI agents. Give agents access, not your credentials. The licence is MIT.

When your agent uses it

  • The user mentions V2EX
  • Wants to browse tech forum topics
  • Read V2EX discussions
  • Search V2EX posts

Example prompts

  • “/v2ex”

Requirements

  • Python 3
  • Docker

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Read /references/provider-config.yaml
  2. Append the provider block to ~/.sig/config.yaml under providers
  3. Ask the user: "Do you need a proxy to access this site?" — if yes, add networkProxy: under the provider in config.yaml
  4. Run sig login v2ex (with --network-proxy if proxy was specified)
  5. Verify: run sig status v2ex again — must show valid: true before proceeding

What it can do on your machine

Read from SKILL.md and the folder at commit 9ba8b35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 16 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

V2ex loads about 2.6k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 158 tokens; SKILL.md has 746 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~158
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from sigcli/sigcli at commit 9ba8b35, republished under its MIT licence (© sigcli). 746 words, ~2,626 tokens.

Download SKILL.mdSave it as .claude/skills/v2ex/SKILL.md (or your agent's skills folder). This skill also uses 32 other files; get the full folder from GitHub.
name
v2ex
description
Interact with V2EX (v2ex.com) — browse hot and latest topics, read topic details and replies, search posts, create topics, reply to discussions, thank posts, favorite topics/nodes, follow members, daily check-in. Use this skill whenever the user mentions V2EX, v2ex.com, wants to browse tech forum topics, read V2EX discussions, search V2EX posts, check V2EX notifications, create or reply to V2EX topics, or look up V2EX users/nodes. Also trigger when the user pastes a V2EX URL (e.g. v2ex.com/t/12345), mentions a V2EX node name, or asks about Chinese tech community discussions. Keywords: V2EX, v2ex, 论坛, 技术社区, 节点, 主题, 回复.

V2EX

Browse, search, read, and interact with V2EX — the creative workers' community.

Skill Directory

<SKILL_DIR> is the directory containing this SKILL.md file. Determine it ONCE at the start and reuse it.

Setup (run FIRST — every time, before any operation)

You MUST complete this setup before running any script. Do NOT skip this step.

bash
sig status v2ex 2>&1

Check the JSON output fields configured and valid:

  • configured: false → run Provider Setup below. Do NOT proceed without completing it.
  • valid: false (but configured: true) → run sig login v2ex, then re-check.
  • valid: true → detect proxy (see below), then execute the user's request.
Provider Setup
  1. Read <SKILL_DIR>/references/provider-config.yaml
  2. Append the provider block to ~/.sig/config.yaml under providers:
  3. Ask the user: "Do you need a proxy to access this site?" — if yes, add networkProxy: <url> under the provider in config.yaml
  4. Run sig login v2ex (with --network-proxy <url> if proxy was specified)
  5. Verify: run sig status v2ex again — must show valid: true before proceeding
Proxy Detection (after provider is valid)
bash
grep -A15 "^\s*v2ex:" ~/.sig/config.yaml | grep networkProxy | awk '{print $2}'

If this outputs a URL, prefix ALL python3 commands with HTTPS_PROXY=<url> HTTP_PROXY=<url>. If using socks5, convert to socks5h for python (e.g. socks5://... → socks5h://...). If empty, no proxy needed.

Running Scripts

All scripts require setup to be completed first (see above).

Read operations — use sig run to inject cookie (enables authenticated features):

bash
sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_hot.py --cookie "$SIG_V2EX_COOKIE"'

Write operations — require sig run (cookie is mandatory):

bash
sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_reply.py --cookie "$SIG_V2EX_COOKIE" --topic-id 12345 --content "Nice post!"'

Env var: SIG_V2EX_COOKIE

On auth error (401/403): run sig login v2ex automatically (no user prompt), then retry.

Scripts Reference

All scripts are in this skill's scripts/ directory. Run via Bash tool.

Read Operations
ScriptPurposeAuth
v2ex_hot.pyHot topics of the dayOptional
v2ex_latest.pyLatest topicsOptional
v2ex_topic.pyTopic detail + repliesOptional
v2ex_node.pyNode info + topics, list nodesOptional
v2ex_member.pyMember profile + topicsOptional
v2ex_search.pyFull-text search via SOV2EXNone
v2ex_notifications.pyUser notificationsRequired
v2ex_profile.pyAuthenticated user profile/balanceRequired
Write Operations
ScriptPurposeAuth
v2ex_create.pyCreate a new topicRequired
v2ex_reply.pyReply to a topicRequired
v2ex_thank.pyThank a topic or replyRequired
v2ex_favorite.pyFavorite/unfavorite topic or nodeRequired
v2ex_follow.pyFollow/unfollow/block/unblockRequired
v2ex_daily.pyDaily sign-in rewardRequired
v2ex_append.pyAppend supplement to own topicRequired
v2ex_hot.py
--cookie COOKIE       V2EX session cookie (optional)
v2ex_latest.py
--cookie COOKIE       V2EX session cookie (optional)
v2ex_topic.py
--cookie COOKIE       V2EX session cookie (optional)
--id ID               Topic ID (required)
--page N              Reply page number (default: 1)
v2ex_node.py
--cookie COOKIE       V2EX session cookie (optional)
--name NAME           Node name (e.g., "python", "apple")
--page N              Page number for topic listing (default: 1)
--list-all            List all available nodes (flag)
v2ex_member.py
--cookie COOKIE       V2EX session cookie (optional)
--username NAME       Member username (required)
--include-topics      Also fetch member's recent topics (flag)
v2ex_search.py
--query TEXT          Search query (required)
--size N             Max results (default: 20)
--sort FIELD         Sort by: "sumup" (relevance, default) or "created"
--node NAME          Filter by node name (optional)
--username NAME      Filter by author (optional)
v2ex_notifications.py
--cookie COOKIE       V2EX session cookie (required)
--page N              Page number (default: 1)
v2ex_profile.py
--cookie COOKIE       V2EX session cookie (required)
v2ex_create.py
--cookie COOKIE       V2EX session cookie (required)
--node NAME           Target node name (required, e.g., "python")
--title TEXT          Topic title (required)
--content TEXT        Topic body content (required)
--syntax SYNTAX       Content syntax: "default" or "markdown" (default: "default")
v2ex_reply.py
--cookie COOKIE       V2EX session cookie (required)
--topic-id ID         Topic ID to reply to (required)
--content TEXT        Reply content (required)
v2ex_thank.py
--cookie COOKIE       V2EX session cookie (required)
--type TYPE           "topic" or "reply" (required)
--id ID               Topic ID or Reply ID (required)
v2ex_favorite.py
--cookie COOKIE       V2EX session cookie (required)
--type TYPE           "topic" or "node" (required)
--id ID               Topic ID or Node ID (required)
--undo                Unfavorite instead (flag)
v2ex_follow.py
--cookie COOKIE       V2EX session cookie (required)
--action ACTION       "follow", "unfollow", "block", or "unblock" (required)
--id ID               Member numeric ID (required)
v2ex_daily.py
--cookie COOKIE       V2EX session cookie (required)
v2ex_append.py
--cookie COOKIE       V2EX session cookie (required)
--topic-id ID         Topic ID to append to (required)
--content TEXT        Supplement content (required)

Safety

Always show the user the content (title, body, node) and get explicit confirmation before calling v2ex_create.py, v2ex_reply.py, or v2ex_append.py. These actions post publicly and cannot be easily undone.

v2ex_thank.py costs coins and is irreversible — confirm with the user first.

Show full SKILL.md (345 more words)Show less

Key Concepts

Nodes — V2EX organizes topics into nodes (like subreddits). Examples: python, apple, jobs, create, programmer, shanghai. Use v2ex_node.py --list-all to see all.

Once token — V2EX uses a CSRF token called once for all write operations. The client extracts it automatically from HTML pages before each mutation.

Topic IDs — Numeric IDs (e.g., 12345). Found in URLs like v2ex.com/t/12345. Get from hot/latest/search results, then use with v2ex_topic.py.

Member IDs vs usernames — Profiles use usernames, but follow/block actions require numeric member IDs. v2ex_member.py returns both.

Daily check-in — V2EX awards coins for daily sign-in. Use v2ex_daily.py to redeem.

Search — Uses the SOV2EX third-party search engine (sov2ex.com) which indexes V2EX content for full-text search.

Error Handling

ErrorCauseFix
403 ForbiddenSession expired / no cookieAuto-run sig login (no user prompt needed), retry
302 RedirectNot logged inCheck cookie is valid
ONCE_NOT_FOUNDFailed to extract CSRF tokenSession expired — auto-run sig login, retry
RATE_LIMITEDToo many requestsWait and retry
SEARCH_ERRORSOV2EX service unavailableTry again later

Workflow Examples

Browse hot topics
  1. sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_hot.py --cookie "$SIG_V2EX_COOKIE"'
Read a specific topic and its replies
  1. sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_topic.py --cookie "$SIG_V2EX_COOKIE" --id 12345 --page 1'
Search for topics
  1. python3 <SKILL_DIR>/scripts/v2ex_search.py --query "Docker 部署" --size 10
Create a new topic
  1. Show title/body/node to user and get confirmation
  2. sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_create.py --cookie "$SIG_V2EX_COOKIE" --node python --title "Question about asyncio" --content "How do I..."'
Reply to a topic
  1. Read the topic first: sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_topic.py --cookie "$SIG_V2EX_COOKIE" --id 12345'
  2. Show reply to user and get confirmation
  3. sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_reply.py --cookie "$SIG_V2EX_COOKIE" --topic-id 12345 --content "I think you should..."'
Check notifications
  1. sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_notifications.py --cookie "$SIG_V2EX_COOKIE"'
Daily check-in
  1. sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_daily.py --cookie "$SIG_V2EX_COOKIE"'
Follow a member
  1. Look up member: sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_member.py --cookie "$SIG_V2EX_COOKIE" --username livid'
  2. Follow: sig run v2ex -- bash -c 'python3 <SKILL_DIR>/scripts/v2ex_follow.py --cookie "$SIG_V2EX_COOKIE" --action follow --id 1'

© sigcli, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 32 other files (scripts, references) in skills/v2ex of sigcli/sigcli.

  • SKILL.md
  • references/provider-config.yaml
  • scripts/v2ex_append.py
  • scripts/v2ex_client.py
  • scripts/v2ex_create.py
  • scripts/v2ex_daily.py
  • scripts/v2ex_favorite.py
  • scripts/v2ex_follow.py
  • scripts/v2ex_hot.py
  • scripts/v2ex_latest.py
  • scripts/v2ex_member.py
  • scripts/v2ex_node.py
  • scripts/v2ex_notifications.py
  • scripts/v2ex_profile.py
  • scripts/v2ex_reply.py
  • scripts/v2ex_search.py
  • scripts/v2ex_thank.py
  • scripts/v2ex_topic.py
  • tests
  • … and 14 more

Open the folder on GitHubat commit 9ba8b35

Compare with similar skills

V2ex next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

V2ex compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
V2ex this skillsigcli/sigcli293—~2.6kAutomated safety check: PassMIT
Hot Topic IdeatorLeoYeAI/openclaw-master-skills2.2k—~3.1kAutomated safety check: PassMIT
Remotion Interactivityremotion-dev/remotion62k5 repos~4.7kAutomated safety check: PassCustom licence
Browseyc-software/qm15k—~4kAutomated safety check: PassMIT
Firecrawl Interact Integrationfirecrawl/firecrawl189k1 repos~731Automated safety check: PassISC
Simla Com AutomationComposioHQ/awesome-claude-skills77k3 repos~738Automated safety check: PassNone

Similar skills

  • Hot Topic Ideator

    LeoYeAI/openclaw-master-skills

    生成小红书热点选题和内容创意。当用户提到"热点选题"、"内容创意"、"小红书选题"、"trending topics"、"content ideas"、"热门话题"、"爆款选题"时使用。适用于品牌社媒运营、内容策划、热点借势营销场景。

    2.2k GitHub stars~3.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Remotion Interactivity

    remotion-dev/remotion

    Official

    Structure Remotion markup for interactivity. An agent skill from remotion-dev/remotion.

    62k GitHub starsUsed in 5 repos~4.7k tokens
    Media & CreativeAuto-check passed
  • Browse

    yc-software/qm

    Drive a real stealth browser from your shell — act on websites (order food, file an expense, pull data behind a login), with per-person persistent sign-ins via the provider's managed auth (Kernel…

    15k GitHub stars~4k tokensUpdated yesterday
    Auto-check passed
  • Guides adding Firecrawl's /interact endpoint to product code for pages that need clicks, forms, pagination or logged-in flows beyond plain scraping.

    189k GitHub starsUsed in 1 repo~731 tokens
    Data & AnalyticsAuto-check passed
  • Simla Com Automation

    ComposioHQ/awesome-claude-skills

    Automate Simla Com tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~738 tokens
    Productivity & AutomationAuto-check passed
  • Files Com Automation

    ComposioHQ/awesome-claude-skills

    Automate Files Com tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~738 tokens
    Productivity & AutomationAuto-check passed

More from sigcli/sigcli

All 15 skills in this repo
  • Bilibili

    sigcli/sigcli

    Interact with Bilibili (B站) — browse trending videos, view video details, read comments, search videos and users, view user profiles, like, coin, and favorite videos.

    293 GitHub stars~2.8k tokensUpdated 9 days ago
    Auto-check passed
  • Hackernews

    sigcli/sigcli

    Interact with Hacker News (news.ycombinator.com) — browse top, new, and best stories, read item details and comment threads, look up user profiles, and search posts via Algolia.

    293 GitHub stars~2k tokensUpdated 9 days ago
    Auto-check passed
  • Linkedin

    sigcli/sigcli

    Interact with LinkedIn — view your profile, browse other profiles, read the feed, search jobs/posts/people, get job details, create posts, like/unlike posts, comment, send connection requests, and…

    293 GitHub stars~3.1k tokensUpdated 9 days ago
    Auto-check passed
  • Msteams

    sigcli/sigcli

    Interact with Microsoft Teams — send and read messages, search conversations, look up people, check calendar, get meeting transcripts, and manage chats.

    293 GitHub stars~2.7k tokensUpdated 9 days ago
    Auto-check passed
  • Outlook

    sigcli/sigcli

    Interact with Outlook email — read inbox, send emails, search messages, reply/forward, manage folders, download attachments.

    293 GitHub stars~2.6k tokensUpdated 9 days ago
    Auto-check passed
  • Reddit

    sigcli/sigcli

    Interact with Reddit — browse subreddits, read posts and comments, search content, view user profiles, post comments, vote, save posts, subscribe to subreddits.

    293 GitHub stars~3.1k tokensUpdated 9 days ago
    Auto-check passed

Questions about V2ex

What does V2ex do?

Interact with V2EX (v2ex.com) — browse hot and latest topics, read topic details and replies, search posts, create topics, reply to discussions, thank posts, favorite topics/nodes, follow members…. V2ex is an agent skill from sigcli/sigcli.com) — browse hot and latest topics, read topic details and replies, search posts, create topics, reply to discussions, thank posts, favorite topics/nodes, follow members, daily check-in.

When should I use V2ex?

V2ex fits situations like: the user mentions V2EX; wants to browse tech forum topics; read V2EX discussions; search V2EX posts.

How do I install V2ex in Claude Code?

Run `npx skills add sigcli/sigcli --skill v2ex -a claude-code`. Or copy the skill folder (skills/v2ex in sigcli/sigcli) into .claude/skills/v2ex in your project. Claude Code loads it when a task matches its description.

How do I install V2ex in Codex?

Run `npx skills add sigcli/sigcli --skill v2ex -a codex`. Or copy the skill folder (skills/v2ex in sigcli/sigcli) into .agents/skills/v2ex in your project. Codex loads it when a task matches its description.

Can I use V2ex in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sigcli/sigcli --skill v2ex -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/v2ex, .gemini/skills/v2ex, .github/skills/v2ex and .opencode/skills/v2ex in your project.

What does V2ex need to run?

Going by SKILL.md and its folder, V2ex needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; Docker.

Does V2ex access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is V2ex safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does V2ex use?

V2ex is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does V2ex use?

About 2.6k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 130 tokens, read only when the agent opens those files.

What are the alternatives to V2ex?

Skills that share tags, products or a category with V2ex: Hot Topic Ideator (LeoYeAI/openclaw-master-skills, 2.2k stars), Remotion Interactivity (remotion-dev/remotion, 62k stars), Browse (yc-software/qm, 15k stars) and Firecrawl Interact Integration (firecrawl/firecrawl, 189k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains V2ex?

sigcli (a GitHub organization) maintains it in sigcli/sigcli, which has 293 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 28, 2026.

Source: sigcli/sigcli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.