pp-hackernews
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHacker News — Printing Press CLI
Hacker News — Printing Press CLI
Prerequisites: Install the CLI
前置条件:安装CLI
This skill drives the binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
hackernews-pp-cli- Install via the Printing Press installer:
bash
npx -y @mvanhorn/printing-press install hackernews --cli-only - Verify:
hackernews-pp-cli --version - Ensure (or
$GOPATH/bin) is on$HOME/go/bin.$PATH
If the install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.23+):
npxbash
go install github.com/mvanhorn/printing-press-library/library/media-and-entertainment/hackernews/cmd/hackernews-pp-cli@latestIf reports "command not found" after install, the install step did not put the binary on . Do not proceed with skill commands until verification succeeds.
--version$PATH本技能基于二进制文件运行。在调用本技能的任何命令前,必须确认CLI已安装。如果未安装,请先执行以下步骤:
hackernews-pp-cli- 通过Printing Press安装器安装:
bash
npx -y @mvanhorn/printing-press install hackernews --cli-only - 验证安装:
hackernews-pp-cli --version - 确保(或
$GOPATH/bin)已添加到$HOME/go/bin环境变量中。$PATH
如果安装失败(如无Node环境、离线等),可改用Go直接安装(要求Go 1.23及以上版本):
npxbash
go install github.com/mvanhorn/printing-press-library/library/media-and-entertainment/hackernews/cmd/hackernews-pp-cli@latest如果安装后执行提示“command not found”,说明安装程序未将二进制文件添加到中。请在验证成功前不要执行技能命令。
--version$PATHWhen to Use This CLI
何时使用本CLI
Reach for hackernews-pp-cli when you need to monitor or analyze HN signal programmatically: agent-driven daily diffs, topic pulses, hiring-thread aggregation, repost checks before submitting, structured thread digests for context windows. The local store makes follow-up queries cheap and offline-friendly.
当你需要通过编程方式监控或分析HN数据时,可使用hackernews-pp-cli:Agent驱动的每日差异对比、主题热度追踪、招聘帖聚合、发布前的重复内容检查、用于上下文窗口的结构化帖子摘要。本地存储让后续查询更高效且支持离线使用。
When Not to Use This CLI
何时不使用本CLI
Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.
请勿在需要创建、更新、删除、发布、评论、点赞、邀请、下单、发送消息、预订、购买或修改远程状态的请求中激活本CLI。本CLI仅提供用于查看、导出、同步和分析的只读命令。
Unique Capabilities
独特功能
These capabilities aren't available in any other tool for this API.
这些功能是其他HN API工具所不具备的。
Local snapshots that compound
可累积的本地快照
-
— See exactly what climbed, fell, appeared, or dropped off the front page since your last sync.
sinceReach for this when an agent wakes up daily and needs to know what shifted on HN since yesterday — without re-fetching 500 items every poll.bashhackernews-pp-cli since --json -
— Stories ranked by the highest comment-to-point ratio over a recent window — the discussions everyone is arguing about.
controversialReach for this when you want stories with high engagement-to-approval — heated debate signal — instead of just popularity.bashhackernews-pp-cli controversial --window 7d --json -
— Show a story's rank trajectory over time from local snapshots — climb, plateau, or fall.
velocityReach for this when an agent asks 'is this story still gaining traction or already cresting' — only meaningful answer comes from snapshots.bashhackernews-pp-cli velocity 47998158 --json -
— Pull top/new/best/show/ask/job lists and recently-changed items into local SQLite for offline use and snapshot history.
syncRun this once per day (or per hour for agents) — it is the foundation that turns since/velocity/controversial/users-stats from impossible into one SQL query.bashhackernews-pp-cli sync --resources updates --agent
-
— 查看自上次同步以来,首页新增、移除、排名上升或下降的内容。
since当Agent每日启动,需要了解自昨天以来HN首页的变化时使用此命令——无需每次轮询都重新获取500条内容。bashhackernews-pp-cli since --json -
— 按近期窗口内的评论与点赞数比值排序的帖子——即大家争论最激烈的讨论。
controversial当你想要高互动率而非仅高热度的帖子时使用此命令——捕捉激烈辩论的信号。bashhackernews-pp-cli controversial --window 7d --json -
— 通过本地快照展示帖子的排名变化轨迹——上升、平稳或下降。
velocity当Agent询问“这个帖子还在获得关注还是已经热度消退”时使用此命令——只有快照能给出有意义的答案。bashhackernews-pp-cli velocity 47998158 --json -
— 将热门/最新/精选/展示/问答/招聘列表及最近更新的内容拉取到本地SQLite中,用于离线使用和快照历史记录。
sync每天运行一次(Agent可每小时运行一次)——这是让since/velocity/controversial/users-stats从不可能变为单SQL查询的基础。bashhackernews-pp-cli sync --resources updates --agent
Algolia leverage
利用Algolia功能
-
— See per-day mentions, average score, and comment volume for any topic over the last N days.
pulseReach for this when the question is 'is this topic heating up or cooling down' rather than 'what's the top story right now'.bashhackernews-pp-cli pulse rust --days 7 --agent -
— Has this URL been posted before? Lists every prior submission, with score, comments, and date.
repostReach for this before submitting a Show HN — duplicate URLs flame out instantly; you want to know how a prior post did first.bashhackernews-pp-cli repost https://example.com/article -
— Offline full-text search over every story and comment you have ever synced — corpus grows with use.
search localReach for this when investigating long-tail topics or replaying last quarter's research — Algolia might rank it down or drop it; your local corpus will not.bashhackernews-pp-cli search local "vector database" --limit 20 --json
-
— 查看过去N天内任意主题的每日提及次数、平均得分和评论量。
pulse当问题是“这个主题在升温还是降温”而非“当前热门帖子是什么”时使用此命令。bashhackernews-pp-cli pulse rust --days 7 --agent -
— 该URL是否曾被发布过?列出所有之前的提交记录,包括得分、评论数和日期。
repost在提交Show HN帖子前使用此命令——重复URL会迅速无人问津;你需要先了解之前的帖子表现如何。bashhackernews-pp-cli repost https://example.com/article -
— 对所有已同步的帖子和评论进行离线全文搜索——语料库会随使用不断增长。
search local当调查长尾主题或回顾上季度研究时使用此命令——Algolia可能会降低其排名或删除内容,但你的本地语料库不会。bashhackernews-pp-cli search local "vector database" --limit 20 --json
Hiring-thread mining
招聘帖挖掘
-
— Aggregate the last N monthly Who-is-Hiring threads: top languages, remote ratio, top companies, location distribution.
hiring statsReach for this when you need quarterly or seasonal hiring trends — language popularity, remote-share shifts, location density — not just this month's listings.bashhackernews-pp-cli hiring stats --months 3 --agent -
— Companies that posted in M of the last N hiring threads, with first-seen, last-seen, and months-posted count.
hiring companiesReach for this when sourcing or trend-tracking — which companies are persistent hirers vs one-off posters — without scraping HNHIRING.com.bashhackernews-pp-cli hiring companies --months 6 --min-posts 3 --agent
-
— 汇总过去N个月的“Who-is-Hiring”帖子:热门语言、远程岗位占比、热门公司、地域分布。
hiring stats当你需要季度或季节性招聘趋势——语言流行度、远程岗位占比变化、地域密度——而非仅当月列表时使用此命令。bashhackernews-pp-cli hiring stats --months 3 --agent -
— 在过去N个月中至少发布M次招聘帖的公司,包括首次发布时间、最后发布时间和发布次数。
hiring companies当你进行人才寻访或趋势追踪时使用此命令——了解哪些公司是持续招聘方,哪些是一次性发布方——无需抓取HNHIRING.com。bashhackernews-pp-cli hiring companies --months 6 --min-posts 3 --agent
Cross-entity local queries
跨实体本地查询
-
— Median and p90 score across a user's submissions, plus traction buckets and hour-of-day score distribution.
users statsReach for this before posting your own work to learn your traction patterns, or when sizing up a poster's history before engaging.bashhackernews-pp-cli users stats pg --json
-
— 用户提交内容的中位数和p90得分,以及热度分组和发布时段得分分布。
users stats在发布自己的作品前使用此命令,了解你的热度模式;或在与发帖人互动前,了解其历史表现。bashhackernews-pp-cli users stats pg --json
Command Reference
命令参考
items — Fetch any HN item (story, comment, job, poll) by ID
- — Get details for a specific story, comment, job, or poll
hackernews-pp-cli items <itemId>
maxitem — Current maximum item ID
- — Returns the largest item ID currently assigned by Hacker News
hackernews-pp-cli maxitem
stories — Browse top, new, and best Hacker News stories
- — Get the latest Ask HN posts
hackernews-pp-cli stories ask - — Get the highest-voted stories on Hacker News
hackernews-pp-cli stories best - — Get the latest Hacker News job postings
hackernews-pp-cli stories job - — Get the newest stories on Hacker News
hackernews-pp-cli stories new - — Get the latest Show HN posts
hackernews-pp-cli stories show - — Get the current top stories on Hacker News
hackernews-pp-cli stories top
updates — Recently changed items and profiles
- — Items and user profiles that have changed recently
hackernews-pp-cli updates
users — Look up Hacker News user profiles
- — Get a user's profile including karma and submission history
hackernews-pp-cli users <userId>
Hand-written commands
- — Pull top/new/best/show/ask/job lists and recent items into the local SQLite store
hackernews-pp-cli sync - — Full-text search Hacker News stories and comments via Algolia (use 'search local' for offline FTS)
hackernews-pp-cli search <query> - — Mine 'Ask HN: Who is hiring' threads (filter, stats, companies)
hackernews-pp-cli hiring - — Mine 'Ask HN: Freelancer? Seeking freelancer?' threads (filter)
hackernews-pp-cli freelance - — Show what changed on the front page since the last sync (added, removed, moved stories)
hackernews-pp-cli since - — Show what HN is saying about a topic — per-day mentions, score, and comment volume
hackernews-pp-cli pulse <topic> - — Find stories with the highest comment-to-point ratio (polarizing discussions)
hackernews-pp-cli controversial - — Has this URL been posted on HN? Lists prior submissions with scores and dates
hackernews-pp-cli repost <url> - — Show a story's rank trajectory across local snapshots
hackernews-pp-cli velocity <id> - — Run a self-diagnostic: API reachability, store writability, config sanity
hackernews-pp-cli doctor
items — 通过ID获取任意HN内容(帖子、评论、招聘、投票)
- — 获取特定帖子、评论、招聘或投票的详细信息
hackernews-pp-cli items <itemId>
maxitem — 当前最大内容ID
- — 返回Hacker News当前分配的最大内容ID
hackernews-pp-cli maxitem
stories — 浏览Hacker News的热门、最新、精选帖子
- — 获取最新的Ask HN帖子
hackernews-pp-cli stories ask - — 获取Hacker News上获赞最多的帖子
hackernews-pp-cli stories best - — 获取最新的Hacker News招聘帖
hackernews-pp-cli stories job - — 获取Hacker News上最新的帖子
hackernews-pp-cli stories new - — 获取最新的Show HN帖子
hackernews-pp-cli stories show - — 获取Hacker News当前的热门帖子
hackernews-pp-cli stories top
updates — 最近更新的内容和用户资料
- — 最近更新的内容和用户资料
hackernews-pp-cli updates
users — 查询Hacker News用户资料
- — 获取用户资料,包括 karma 和提交历史
hackernews-pp-cli users <userId>
手动编写的命令
- — 将热门/最新/精选/展示/问答/招聘列表及最近内容拉取到本地SQLite存储中
hackernews-pp-cli sync - — 通过Algolia对Hacker News帖子和评论进行全文搜索(使用'search local'进行离线全文搜索)
hackernews-pp-cli search <query> - — 挖掘“Ask HN: Who is hiring”帖子(筛选、统计、公司信息)
hackernews-pp-cli hiring - — 挖掘“Ask HN: Freelancer? Seeking freelancer?”帖子(筛选)
hackernews-pp-cli freelance - — 显示自上次同步以来首页的变化(新增、移除、排名变化的帖子)
hackernews-pp-cli since - — 显示HN上关于某个主题的讨论——每日提及次数、得分和评论量
hackernews-pp-cli pulse <topic> - — 查找评论与点赞数比值最高的帖子(有争议的讨论)
hackernews-pp-cli controversial - — 该URL是否曾在HN上发布过?列出之前的提交记录,包括得分和日期
hackernews-pp-cli repost <url> - — 通过本地快照展示帖子的排名变化轨迹
hackernews-pp-cli velocity <id> - — 运行自我诊断:API可达性、存储可写性、配置合理性
hackernews-pp-cli doctor
Freshness Contract
新鲜度约定
This printed CLI owns bounded freshness only for registered store-backed read command paths. In mode, those paths check and may run a bounded refresh before reading local data. never refreshes. reads the API and does not mutate the local store. Set to skip the freshness hook without changing source selection.
--data-source autosync_state--data-source local--data-source liveHACKERNEWS_NO_AUTO_REFRESH=1Covered paths:
hackernews-pp-cli storieshackernews-pp-cli stories askhackernews-pp-cli stories besthackernews-pp-cli stories jobhackernews-pp-cli stories newhackernews-pp-cli stories showhackernews-pp-cli stories tophackernews-pp-cli updates
When JSON output uses the generated provenance envelope, freshness metadata appears at . Treat it as current-cache freshness for the covered command path, not a guarantee of complete historical backfill or API-specific enrichment.
meta.freshness本CLI仅对已注册的基于存储的只读命令路径保证有限的新鲜度。在模式下,这些路径会检查,并可能在读取本地数据前进行有限的刷新。从不刷新。读取API且不修改本地存储。设置可跳过新鲜度钩子,无需更改数据源选择。
--data-source autosync_state--data-source local--data-source liveHACKERNEWS_NO_AUTO_REFRESH=1涵盖的路径:
hackernews-pp-cli storieshackernews-pp-cli stories askhackernews-pp-cli stories besthackernews-pp-cli stories jobhackernews-pp-cli stories newhackernews-pp-cli stories showhackernews-pp-cli stories tophackernews-pp-cli updates
当JSON输出使用生成的来源信封时,新鲜度元数据会出现在中。将其视为涵盖命令路径的当前缓存新鲜度,而非完整历史回填或API特定增强的保证。
meta.freshnessFinding the right command
找到合适的命令
When you know what you want to do but not which command does it, ask the CLI directly:
bash
hackernews-pp-cli which "<capability in your own words>"which02--help当你知道要做什么但不知道用哪个命令时,可直接询问CLI:
bash
hackernews-pp-cli which "<用你自己的话描述功能>"which02--helpRecipes
使用示例
Daily front-page diff for an agent
Agent的每日首页差异对比
bash
hackernews-pp-cli sync && hackernews-pp-cli since --json --select added,removed,movedSync, then diff. The --select narrows the payload to just the change deltas — agents process kilobytes instead of megabytes.
bash
hackernews-pp-cli sync && hackernews-pp-cli since --json --select added,removed,moved先同步,再对比差异。参数将结果缩小为仅包含变化增量——Agent只需处理千字节级的数据,而非兆字节级。
--selectTopic monitoring with selected fields
带选定字段的主题监控
bash
hackernews-pp-cli pulse openai --days 7 --agent --select buckets.day,buckets.hits,buckets.avg_scorePer-day breakdown of mentions, average score, and comment volume — using --select to pull only the trend axes from the deeply-nested response.
bash
hackernews-pp-cli pulse openai --days 7 --agent --select buckets.day,buckets.hits,buckets.avg_score按日分解提及次数、平均得分和评论量——使用从深度嵌套的响应中仅提取趋势轴数据。
--selectPre-submit dupe check
提交前的重复内容检查
bash
hackernews-pp-cli repost https://example.com/article --jsonLists every prior submission of that URL with score, comments, and date — answers the 'has this been posted' question in one round-trip.
bash
hackernews-pp-cli repost https://example.com/article --json列出该URL所有之前的提交记录,包括得分、评论数和日期——一次往返即可回答“该内容是否曾被发布”的问题。
Filter Who's Hiring for remote Go roles
筛选远程Go岗位的招聘帖
bash
hackernews-pp-cli hiring filter "(remote|REMOTE).*\\bGo\\b" --jsonRegex against the latest monthly thread. The double-escaped \b is a real regex word boundary; --json gives you structured rows instead of one big match dump.
bash
hackernews-pp-cli hiring filter "(remote|REMOTE).*\\bGo\\b" --json对最新月度帖子进行正则匹配。双转义的是真实的正则单词边界;提供结构化行数据,而非单一匹配结果。
\\b--jsonQuarterly hiring trend
季度招聘趋势
bash
hackernews-pp-cli hiring companies --months 6 --min-posts 3 --agentCompanies posting in 3+ of the last 6 monthly threads — first-seen, last-seen, total months. Cross-month queries you cannot do without a local store.
bash
hackernews-pp-cli hiring companies --months 6 --min-posts 3 --agent过去6个月中至少发布3次招聘帖的公司——包括首次发布时间、最后发布时间和总发布次数。没有本地存储的话,无法进行跨月查询。
Auth Setup
认证设置
No authentication required.
Run to verify setup.
hackernews-pp-cli doctor无需认证。
运行验证设置。
hackernews-pp-cli doctorAgent Mode
Agent模式
Add to any command. Expands to: .
--agent--json --compact --no-input --no-color --yes-
Pipeable — JSON on stdout, errors on stderr
-
Filterable —keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
--selectbashhackernews-pp-cli items 47998158 --agent --select id,name,status -
Previewable —shows the request without sending
--dry-run -
Offline-friendly — sync/search commands can use the local SQLite store when available
-
Non-interactive — never prompts, every input is a flag
-
Read-only — do not use this CLI for create, update, delete, publish, comment, upvote, invite, order, send, or other mutating requests
在任何命令后添加参数。等效于:。
--agent--json --compact --no-input --no-color --yes-
可管道传输 — stdout输出JSON,stderr输出错误信息
-
可筛选 —保留字段子集。点路径可深入嵌套结构;数组可遍历元素。对于冗长的API,这是保持上下文精简的关键:
--selectbashhackernews-pp-cli items 47998158 --agent --select id,name,status -
可预览 —显示请求但不发送
--dry-run -
离线友好 — 同步/搜索命令可在可用时使用本地SQLite存储
-
非交互式 — 从不提示,所有输入均为标志参数
-
只读 — 请勿使用本CLI执行创建、更新、删除、发布、评论、点赞、邀请、下单、发送或其他修改状态的请求
Response envelope
响应信封
Commands that read from the local store or the API wrap output in a provenance envelope:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}Parse for data and to know whether it's live or local. A human-readable summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
.results.meta.sourceN results (live)从本地存储或API读取数据的命令会将输出包装在来源信封中:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}解析获取数据,用于判断是实时数据还是本地数据。仅当stdout为终端时,才会将人类可读的摘要打印到stderr——管道/Agent消费者仅在stdout获取纯JSON。
.results.meta.sourceN results (live)Agent Feedback
Agent反馈
When you (or the agent) notice something off about this CLI, record it:
hackernews-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
hackernews-pp-cli feedback --stdin < notes.txt
hackernews-pp-cli feedback list --json --limit 10Entries are stored locally at . They are never POSTed unless is set AND either is passed or . Default behavior is local-only.
~/.hackernews-pp-cli/feedback.jsonlHACKERNEWS_FEEDBACK_ENDPOINT--sendHACKERNEWS_FEEDBACK_AUTO_SEND=trueWrite what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
当你(或Agent)发现本CLI存在问题时,可记录反馈:
hackernews-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
hackernews-pp-cli feedback --stdin < notes.txt
hackernews-pp-cli feedback list --json --limit 10反馈条目存储在本地中。除非设置了并且传递了参数或设置了,否则反馈不会被POST发送。默认行为仅存储在本地。
~/.hackernews-pp-cli/feedback.jsonlHACKERNEWS_FEEDBACK_ENDPOINT--sendHACKERNEWS_FEEDBACK_AUTO_SEND=true请写下让你意外的内容,而非bug报告。简短、具体、一句话:这样的反馈才更有价值。
Output Delivery
输出交付
Every command accepts . The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
--deliver <sink>| Sink | Effect |
|---|---|
| Default; write to stdout only |
| Atomically write output to |
| POST the output body to the URL ( |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
每个命令都接受参数。输出会发送到指定的接收器,除了(或代替)stdout,这样Agent无需手动管道即可路由命令结果。支持三种接收器:
--deliver <sink>| 接收器 | 效果 |
|---|---|
| 默认;仅写入stdout |
| 原子性地将输出写入 |
| 将输出体POST到指定URL(当使用 |
未知的协议会被拒绝,并返回结构化错误,列出支持的协议集。Webhook失败会返回非零退出码,并在stderr记录URL和HTTP状态码。
Named Profiles
命名配置文件
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
hackernews-pp-cli profile save briefing --json
hackernews-pp-cli --profile briefing items 47998158
hackernews-pp-cli profile list --json
hackernews-pp-cli profile show briefing
hackernews-pp-cli profile delete briefing --yesExplicit flags always win over profile values; profile values win over defaults. lists all available profiles under so introspecting agents discover them at runtime.
agent-contextavailable_profiles配置文件是一组保存的标志值,可在多次调用中复用。当定时Agent每次运行都使用相同配置调用同一命令时使用此功能——即HeyGen的“Beacon”模式。
hackernews-pp-cli profile save briefing --json
hackernews-pp-cli --profile briefing items 47998158
hackernews-pp-cli profile list --json
hackernews-pp-cli profile show briefing
hackernews-pp-cli profile delete briefing --yes显式标志始终优先于配置文件值;配置文件值优先于默认值。会在下列出所有可用配置文件,以便自省Agent在运行时发现它们。
agent-contextavailable_profilesExit Codes
退出码
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
| 代码 | 含义 |
|---|---|
| 0 | 成功 |
| 2 | 使用错误(参数错误) |
| 3 | 资源未找到 |
| 5 | API错误(上游问题) |
| 7 | 速率限制(等待后重试) |
| 10 | 配置错误 |
Argument Parsing
参数解析
Parse :
$ARGUMENTS- Empty, , or
help→ show--helpoutputhackernews-pp-cli --help - Starts with → ends with
install→ MCP installation; otherwise → see Prerequisites abovemcp - Anything else → Direct Use (execute as CLI command with )
--agent
解析:
$ARGUMENTS- 为空、或
help→ 显示--help输出hackernews-pp-cli --help - 以开头 → 结尾为
install→ MCP安装;否则 → 参见上方的前置条件mcp - 其他情况 → 直接使用(带参数执行CLI命令)
--agent
MCP Server Installation
MCP服务器安装
- Install the MCP server:
bash
go install github.com/mvanhorn/printing-press-library/library/media-and-entertainment/hackernews/cmd/hackernews-pp-mcp@latest - Register with Claude Code:
bash
claude mcp add hackernews-pp-mcp -- hackernews-pp-mcp - Verify:
claude mcp list
- 安装MCP服务器:
bash
go install github.com/mvanhorn/printing-press-library/library/media-and-entertainment/hackernews/cmd/hackernews-pp-mcp@latest - 注册到Claude Code:
bash
claude mcp add hackernews-pp-mcp -- hackernews-pp-mcp - 验证:
claude mcp list
Direct Use
直接使用
- Check if installed: If not found, offer to install (see Prerequisites at the top of this skill).
which hackernews-pp-cli - Match the user query to the best command from the Unique Capabilities and Command Reference above.
- Execute with the flag:
--agentbashhackernews-pp-cli <command> [subcommand] [args] --agent - If ambiguous, drill into subcommand help: .
hackernews-pp-cli <command> --help
- 检查是否安装:如果未找到,提供安装选项(参见顶部的前置条件)。
which hackernews-pp-cli - 将用户查询与上方“独特功能”和“命令参考”中最匹配的命令对应。
- 带参数执行:
--agentbashhackernews-pp-cli <command> [subcommand] [args] --agent - 如果有歧义,查看子命令帮助:.
hackernews-pp-cli <command> --help