pp-techmeme

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
<!-- GENERATED FILE — DO NOT EDIT. This file is a verbatim mirror of library/productivity/techmeme/SKILL.md, regenerated post-merge by tools/generate-skills/. Hand-edits here are silently overwritten on the next regen. Edit the library/ source instead. See AGENTS.md "Generated artifacts: registry.json, cli-skills/". -->
<!-- 生成文件——请勿编辑。 此文件是library/productivity/techmeme/SKILL.md的完全镜像, 由tools/generate-skills/在合并后重新生成。在此处手动编辑的内容 会在下一次重新生成时被静默覆盖。请改为编辑library/中的源文件。 请查看AGENTS.md中的“生成产物:registry.json, cli-skills/”。 -->

Techmeme — Printing Press CLI

Techmeme — Printing Press CLI

Prerequisites: Install the CLI

前提条件:安装CLI

This skill drives the
techmeme-pp-cli
binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
  1. Install via the Printing Press installer:
    bash
    npx -y @mvanhorn/printing-press install techmeme --cli-only
  2. Verify:
    techmeme-pp-cli --version
  3. Ensure
    $GOPATH/bin
    (or
    $HOME/go/bin
    ) is on
    $PATH
    .
If the
npx
install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.25+):
bash
go install github.com/mvanhorn/printing-press-library/library/productivity/techmeme/cmd/techmeme-pp-cli@latest
If
--version
reports "command not found" after install, the install step did not put the binary on
$PATH
. Do not proceed with skill commands until verification succeeds.
The Techmeme CLI puts the tech industry's most trusted news curation into your terminal. Sync headlines to a local SQLite store, then search, filter by time, track topics, and analyze which stories and sources are dominating. The 'since' command answers the question every tech professional asks: 'what did I miss?'
本Skill驱动
techmeme-pp-cli
二进制文件。在调用本Skill的任何命令之前,您必须确认CLI已安装。 如果未安装,请先执行以下步骤:
  1. 通过Printing Press安装程序安装:
    bash
    npx -y @mvanhorn/printing-press install techmeme --cli-only
  2. 验证安装:
    techmeme-pp-cli --version
  3. 确保
    $GOPATH/bin
    (或
    $HOME/go/bin
    )已添加到
    $PATH
    环境变量中。
如果
npx
安装失败(无Node环境、离线等),可以回退到直接通过Go安装(需要Go 1.25+版本):
bash
go install github.com/mvanhorn/printing-press-library/library/productivity/techmeme/cmd/techmeme-pp-cli@latest
如果安装后执行
--version
提示“command not found”,说明安装步骤未将二进制文件添加到
$PATH
中。请在验证成功前不要执行Skill命令。
Techmeme CLI将科技行业最值得信赖的新闻精选内容带入您的终端。将头条新闻同步到本地SQLite存储,然后进行搜索、按时间过滤、追踪话题,分析哪些报道和来源占据主导地位。
since
命令可以回答每个科技从业者都会问的问题:“我错过了什么?”

When to Use This CLI

何时使用此CLI

Use the Techmeme CLI when you need curated, authoritative tech news without opening a browser. Ideal for morning catch-up ('since 8h'), topic monitoring ('track add OpenAI'), source analysis ('sources'), and AI agents that need to answer 'what's happening in tech right now' with structured data.
当您无需打开浏览器就能获取经过精选的权威科技新闻时,可以使用Techmeme CLI。非常适合早上补看新闻(
since 8h
)、话题监控(
track add OpenAI
)、来源分析(
sources
),以及需要用结构化数据回答“当前科技领域发生了什么”的AI 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.
这些功能是其他同类型API工具所不具备的。

Time intelligence

时间智能

  • since
    — See every tech headline from the last N hours — the perfect catch-up when you've been away
    When an agent needs to brief a user on what happened in tech while they were in meetings, this is the single command that answers it
    bash
    techmeme-pp-cli since 4h --agent
  • digest
    — Get a day's tech news grouped by topic — the briefing you'd write if you had time
    When an agent needs to produce a tech news briefing for a specific date, this structures raw headlines into a readable summary
    bash
    techmeme-pp-cli digest --date 2026-05-08 --agent
  • since
    — 查看过去N小时内的所有科技头条新闻——当您不在时,这是完美的补看功能
    当Agent需要向用户介绍他们开会期间科技领域发生的事情时,这是唯一能回答该问题的命令
    bash
    techmeme-pp-cli since 4h --agent
  • digest
    — 获取按话题分组的每日科技新闻——相当于您有空时会整理的简报
    当Agent需要为特定日期生成科技新闻简报时,此命令会将原始头条整理成易读的摘要
    bash
    techmeme-pp-cli digest --date 2026-05-08 --agent

Persistent monitoring

持续监控

  • track
    — Save topics and get alerts when they hit Techmeme — persistent monitoring without browser tabs
    Agents monitoring specific companies or technologies can subscribe to exactly what matters without polling the full feed
    bash
    techmeme-pp-cli track add 'OpenAI' && techmeme-pp-cli track check --agent
  • track
    — 保存话题并在它们登上Techmeme时收到提醒——无需浏览器标签页即可实现持续监控
    监控特定公司或技术的Agent可以精准订阅他们关心的内容,无需轮询完整信息流
    bash
    techmeme-pp-cli track add 'OpenAI' && techmeme-pp-cli track check --agent

News intelligence

新闻智能

  • sources
    — See which publications dominate Techmeme and track source frequency over time
    When analyzing media landscape or choosing which publications to prioritize, this gives hard data on source influence
    bash
    techmeme-pp-cli sources --top 20 --agent
  • trending
    — Extract the hottest topics from recent headlines using frequency analysis on cached data
    When an agent needs to answer 'what's hot in tech right now' with data instead of vibes
    bash
    techmeme-pp-cli trending --hours 24 --agent
  • velocity
    — Find stories that are blowing up — multiple sources covering the same topic in a short window
    When an agent needs to identify breaking news vs steady coverage, velocity shows what's accelerating now
    bash
    techmeme-pp-cli velocity --agent
  • author
    — Find all Techmeme headlines by a specific journalist across the cached archive
    When tracking a specific journalist's coverage or building a media contact list, this surfaces their Techmeme footprint
    bash
    techmeme-pp-cli author 'Kara Swisher' --agent
  • sources
    — 查看哪些出版物在Techmeme上占据主导地位,并追踪来源的出现频率变化
    当分析媒体格局或选择优先关注的出版物时,此命令提供关于来源影响力的硬数据
    bash
    techmeme-pp-cli sources --top 20 --agent
  • trending
    — 通过对缓存数据进行频率分析,提取近期头条中的热门话题
    当Agent需要用数据而非主观感受回答“当前科技领域热门话题是什么”时,此命令非常有用
    bash
    techmeme-pp-cli trending --hours 24 --agent
  • velocity
    — 发现迅速升温的报道——短时间内被多个来源报道的同一话题
    当Agent需要区分突发新闻和常规报道时,velocity命令可以显示当前热度正在上升的内容
    bash
    techmeme-pp-cli velocity --agent
  • author
    — 在缓存档案中查找特定记者的所有Techmeme头条报道
    当追踪特定记者的报道或建立媒体联系人列表时,此命令可以展示他们在Techmeme上的报道足迹
    bash
    techmeme-pp-cli author 'Kara Swisher' --agent

Command Reference

命令参考

feed-xml — Manage feed xml
  • techmeme-pp-cli feed-xml
    — Top 15 headlines currently on Techmeme. RSS 2.0 format. Each item has title, link (to Techmeme permalink),...
lb-opml — Manage lb opml
  • techmeme-pp-cli lb-opml
    — OPML file listing Techmeme's top 51 sources with source name, website URL, and RSS feed URL. Updated regularly based...
river — Manage river
  • techmeme-pp-cli river
    — 5-day rolling archive of all Techmeme headlines in reverse chronological order. 150+ headlines with timestamp,...
techmeme-search — Manage techmeme search
  • techmeme-pp-cli techmeme-search headlines
    — Search Techmeme headlines. Supports quoted phrases, wildcards, +/-, AND/OR/NOT, parentheses. Can filter by url,...
  • techmeme-pp-cli techmeme-search rss
    — RSS feed of search results. Same query syntax as /search/query. Subscribe in any RSS reader for alerts on specific...
feed-xml — 管理Feed XML
  • techmeme-pp-cli feed-xml
    — 当前Techmeme上的前15条头条新闻。采用RSS 2.0格式。每个条目包含标题、链接(指向Techmeme永久链接)……
lb-opml — 管理LB OPML
  • techmeme-pp-cli lb-opml
    — 列出Techmeme前51个来源的OPML文件,包含来源名称、网站URL和RSS Feed URL。会定期根据……更新
river — 管理River
  • techmeme-pp-cli river
    — 所有Techmeme头条新闻的5天滚动存档,按时间倒序排列。包含150+条带时间戳的头条……
techmeme-search — 管理Techmeme搜索
  • techmeme-pp-cli techmeme-search headlines
    — 搜索Techmeme头条新闻。支持引号短语、通配符、+/-, AND/OR/NOT、括号。可按URL过滤……
  • techmeme-pp-cli techmeme-search rss
    — 搜索结果的RSS Feed。查询语法与/search/query相同。可在任何RSS阅读器中订阅,以获取特定内容的提醒……

Finding the right command

找到合适的命令

When you know what you want to do but not which command does it, ask the CLI directly:
bash
techmeme-pp-cli which "<capability in your own words>"
which
resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code
0
means at least one match; exit code
2
means no confident match — fall back to
--help
or use a narrower query.
当您知道要做什么但不知道对应的命令时,可以直接询问CLI:
bash
techmeme-pp-cli which "<用您自己的话描述功能>"
which
命令会将自然语言的功能查询解析为与CLI精选功能索引最匹配的命令。退出码
0
表示至少有一个匹配项;退出码
2
表示没有确定的匹配项——请回退到
--help
或使用更具体的查询。

Recipes

使用示例

Morning briefing

晨间简报

bash
techmeme-pp-cli since 12h --agent --select title,source,time
Catch up on overnight tech news with just the essentials — title, source, and timestamp
bash
techmeme-pp-cli since 12h --agent --select title,source,time
仅通过标题、来源和时间戳补看隔夜科技新闻的核心内容

Track a company

追踪某家公司

bash
techmeme-pp-cli search 'Apple' --agent --select title,source,link
Find all recent Techmeme headlines about Apple
bash
techmeme-pp-cli search 'Apple' --agent --select title,source,link
查找所有近期Techmeme上关于Apple的头条新闻

Media landscape

媒体格局分析

bash
techmeme-pp-cli sources --top 20 --agent
See which 20 publications dominate Techmeme's curated feed
bash
techmeme-pp-cli sources --top 20 --agent
查看在Techmeme精选信息流中占据主导地位的20家出版物

Breaking news detection

突发新闻检测

bash
techmeme-pp-cli velocity --agent
Find stories gaining momentum — multiple sources in a short window
bash
techmeme-pp-cli velocity --agent
发现热度上升的报道——短时间内被多个来源报道的内容

Daily summary

每日摘要

bash
techmeme-pp-cli digest --agent
Today's tech news grouped by topic for a quick read
bash
techmeme-pp-cli digest --agent
按话题分组的当日科技新闻,便于快速阅读

Auth Setup

认证设置

No authentication required.
Run
techmeme-pp-cli doctor
to verify setup.
无需认证。
执行
techmeme-pp-cli doctor
验证设置是否正确。

Agent Mode

Agent模式

Add
--agent
to any command. Expands to:
--json --compact --no-input --no-color --yes
.
  • Pipeable — JSON on stdout, errors on stderr
  • Filterable
    --select
    keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
    bash
    techmeme-pp-cli river --agent --select id,name,status
  • Previewable
    --dry-run
    shows the request without sending
  • 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
  • 可管道传输 — 标准输出为JSON,错误信息输出到标准错误
  • 可过滤
    --select
    参数保留字段子集。点路径可深入嵌套结构;数组可遍历元素。对于冗长的API,这是缩小上下文范围的关键:
    bash
    techmeme-pp-cli river --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
.results
for data and
.meta.source
to know whether it's live or local. A human-readable
N results (live)
summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
从本地存储或API读取数据的命令会将输出包装在溯源包中:
json
{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}
解析
.results
获取数据,通过
.meta.source
判断数据是实时的还是本地的。只有当标准输出是终端时,才会在标准错误输出中打印人类可读的
N results (live)
摘要——管道/Agent消费者只会在标准输出中获取纯JSON。

Agent Feedback

Agent反馈

When you (or the agent) notice something off about this CLI, record it:
techmeme-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
techmeme-pp-cli feedback --stdin < notes.txt
techmeme-pp-cli feedback list --json --limit 10
Entries are stored locally at
~/.techmeme-pp-cli/feedback.jsonl
. They are never POSTed unless
TECHMEME_FEEDBACK_ENDPOINT
is set AND either
--send
is passed or
TECHMEME_FEEDBACK_AUTO_SEND=true
. Default behavior is local-only.
Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
当您(或Agent)发现此CLI存在问题时,请记录反馈:
techmeme-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
techmeme-pp-cli feedback --stdin < notes.txt
techmeme-pp-cli feedback list --json --limit 10
反馈条目会本地存储在
~/.techmeme-pp-cli/feedback.jsonl
中。除非设置了
TECHMEME_FEEDBACK_ENDPOINT
且传递了
--send
参数或设置
TECHMEME_FEEDBACK_AUTO_SEND=true
,否则反馈不会被POST发送。默认行为仅本地存储。
请写下让您感到意外的内容,而非正式的错误报告。简短、具体、单行描述:这样的反馈才更有价值。

Output Delivery

输出交付

Every command accepts
--deliver <sink>
. 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:
SinkEffect
stdout
Default; write to stdout only
file:<path>
Atomically write output to
<path>
(tmp + rename)
webhook:<url>
POST the output body to the URL (
application/json
or
application/x-ndjson
when
--compact
)
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.
每个命令都支持
--deliver <sink>
参数。输出会发送到指定的接收端,同时保留(或替代)标准输出,因此Agent无需手动管道即可路由命令结果。支持三种接收端:
接收端效果
stdout
默认值;仅输出到标准输出
file:<path>
原子性地将输出写入
<path>
(先写入临时文件再重命名)
webhook:<url>
将输出体POST到指定URL(当使用
--compact
时为
application/json
application/x-ndjson
格式)
未知的协议会被拒绝,并返回包含支持协议列表的结构化错误。Webhook失败会返回非零退出码,并在标准错误中记录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.
techmeme-pp-cli profile save briefing --json
techmeme-pp-cli --profile briefing river
techmeme-pp-cli profile list --json
techmeme-pp-cli profile show briefing
techmeme-pp-cli profile delete briefing --yes
Explicit flags always win over profile values; profile values win over defaults.
agent-context
lists all available profiles under
available_profiles
so introspecting agents discover them at runtime.
配置文件是一组保存的标志值,可在多次调用中复用。当定时Agent每次运行都使用相同配置调用同一命令时,可使用此功能——即HeyGen的“Beacon”模式。
techmeme-pp-cli profile save briefing --json
techmeme-pp-cli --profile briefing river
techmeme-pp-cli profile list --json
techmeme-pp-cli profile show briefing
techmeme-pp-cli profile delete briefing --yes
显式标志始终优先于配置文件值;配置文件值优先于默认值。
agent-context
会在
available_profiles
下列出所有可用配置文件,以便自省型Agent在运行时发现它们。

Exit Codes

退出码

CodeMeaning
0Success
2Usage error (wrong arguments)
3Resource not found
5API error (upstream issue)
7Rate limited (wait and retry)
10Config error
代码含义
0成功
2使用错误(参数错误)
3资源未找到
5API错误(上游问题)
7速率限制(请等待后重试)
10配置错误

Argument Parsing

参数解析

Parse
$ARGUMENTS
:
  1. Empty,
    help
    , or
    --help
    → show
    techmeme-pp-cli --help
    output
  2. Starts with
    install
    → ends with
    mcp
    → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with
    --agent
    )
解析
$ARGUMENTS
的规则:
  1. 为空、
    help
    --help
    → 显示
    techmeme-pp-cli --help
    输出
  2. install
    开头
    → 以
    mcp
    结尾 → MCP安装;否则 → 参见上方前提条件部分
  3. 其他情况 → 直接使用(添加
    --agent
    参数执行CLI命令)

MCP Server Installation

MCP服务器安装

  1. Install the MCP server:
    bash
    go install github.com/mvanhorn/printing-press-library/library/productivity/techmeme/cmd/techmeme-pp-mcp@latest
  2. Register with Claude Code:
    bash
    claude mcp add techmeme-pp-mcp -- techmeme-pp-mcp
  3. Verify:
    claude mcp list
  1. 安装MCP服务器:
    bash
    go install github.com/mvanhorn/printing-press-library/library/productivity/techmeme/cmd/techmeme-pp-mcp@latest
  2. 在Claude Code中注册:
    bash
    claude mcp add techmeme-pp-mcp -- techmeme-pp-mcp
  3. 验证:
    claude mcp list

Direct Use

直接使用

  1. Check if installed:
    which techmeme-pp-cli
    If not found, offer to install (see Prerequisites at the top of this skill).
  2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  3. Execute with the
    --agent
    flag:
    bash
    techmeme-pp-cli <command> [subcommand] [args] --agent
  4. If ambiguous, drill into subcommand help:
    techmeme-pp-cli <command> --help
    .
  1. 检查是否已安装:
    which techmeme-pp-cli
    如果未找到,提供安装选项(参见顶部前提条件部分)。
  2. 将用户查询与上方“独特功能”和“命令参考”中的最佳命令匹配。
  3. 添加
    --agent
    参数执行:
    bash
    techmeme-pp-cli <command> [subcommand] [args] --agent
  4. 如果存在歧义,查看子命令帮助:
    techmeme-pp-cli <command> --help
    。",