Token导航 LogoToken导航

Agent Skill · 研究检索

roamresearch(roamresearch 搜索)

roamresearch 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

roamresearch 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 65,896。

总安装 272周安装 11GitHub Stars 1下载 85核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:roamresearch(roamresearch 搜索)
来源仓库:https://github.com/leechael/roamresearch-skills
仓库路径:skills/roamresearch
安装命令:
npx skills add https://github.com/leechael/roamresearch-skills --skill roamresearch
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/leechael/roamresearch-skills --skill roamresearch

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于 Roam Research 平台的搜索与信息筛选,适合知识密集型任务。可基于关键词快速定位笔记与链接,提升信息检索效率。通过 npx 命令从 roamresearch-skills 仓库安装,路径标准。使用前应确认是否依赖 Roam 账户权限或 API 密钥。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/roamresearch

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/leechael/roamresearch-skills --skill roamresea…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

roamresearch 怎么安装?

在终端执行 npx skills add https://github.com/leechael/roamresearch-skills --skill roamresearch。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

roamresearch 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

roamresearch 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

roamresearch 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

roamresearch 用的人多吗?

公开数据是累计安装 272 次,近一周安装 11 次,下载 85 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

roamresearch 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
roamresearch

roamresearch 搜索 · 本页

2721接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

RoamResearch Skill

Use this skill to perform Roam Research read/write/query workflows through roam-cli.

Prerequisites

  • roam-cli binary in PATH
  • Environment variables: ROAM_API_TOKEN, ROAM_API_GRAPH
  • Run roam-cli status to verify before any operations

If not set up, see references/installation.md.

Command Mapping

CommandPurpose
getRead page by title or block by UID
searchSearch blocks by terms
search-pagesMulti-query search aggregated by page, with daily page drill-down
qRun raw datalog query
saveSave GFM markdown as a page, daily page (--to-daily-page / --today), or under a parent block; --under finds-or-creates a child block
journalRead daily journaling blocks
block findFind block UID by text on a page/daily note
block createCreate block(s) — single, nested tree, or with --attach-to
block update/delete/move/getLow-level single-block operations
batch runBatch actions from JSON array

Run roam-cli help <category> for categorized usage examples. Categories: read, write, workflow, or all.

Search Strategy

Use search-pages for broad retrieval, search for targeted lookup.

ScenarioUse this
Find pages related to a topic across the whole graphsearch-pages with multiple query args
Find specific blocks containing exact termssearch
Search within a known pagesearch --page "Page Title"

search-pages — multi-query page-level search

Each positional argument is an independent query. Terms within one argument are AND-matched (block must contain all terms). Results are deduplicated, aggregated by page, and sorted by queries matched then hit count.

# Multiple independent queries — results merged and ranked
roam-cli search-pages "SaaS 倒闭" "AI 贷款" "SaaS shutdown" -i

# With --json for structured output (pipe to rerank tools)
roam-cli search-pages "query1" "query2" -i --json

# Limit results
roam-cli search-pages "broad term" -i --limit 20

Daily page handling: Daily pages (e.g. "March 8th, 2026") are automatically drilled down to show sections instead of the whole page.

# Default: aggregate at first-level children of daily pages
roam-cli search-pages "AI 贷款" -i

# Drill deeper: aggregate at second level, filter first level by topic
roam-cli search-pages "AI 贷款" -i --daily-depth 2 --daily-topic "📖 Daily Reading"
FlagPurpose
--daily-depth NAggregation depth for daily pages (default 1)
--daily-topic TEXTFilter daily page sections at level 1 by topic text
--limit NMax results to return (0 = unlimited)
-iCase-insensitive search
--jsonStructured JSON output

Output includes ((block_uid)) for each result — use roam-cli get "((uid))" to retrieve full content with children.

Write Strategy (critical — read this first)

Minimize API calls. Every tool call costs tokens. Use the highest-level command that fits.

ScenarioUse thisNOT this
Save content to today's daily pagesave --todayjournal → parse UID → save --parent
Save content to a specific daily pagesave --to-daily-page 2026-03-14block find --daily → save --parent
Save under a section in today's daily pagesave --today --under '[[Section]]'block find → block create --parent
Save under a section in any pagesave --title "Page" --under '[[Section]]'block find → block create --parent
Save a long document/article as a pagesave --title "Page Name"Sequential block create
Create a parent with childrenblock create --parent <uid> --file tree.jsonblock create parent → block create child × N
Insert under existing sectionblock create --parent <uid> --attach-to "[[Section]]"block find → block create --parent
Multiple heterogeneous writesbatch runMultiple individual write calls
Single block, no childrenblock create --parent <uid> --text "foo"(this is fine)

block create modes

# Single block
roam-cli block create --parent <uid> --text "Hello"

# Nested tree (JSON input via file or stdin)
echo '{"text":"Root","children":[{"text":"Child"}]}' | roam-cli block create --parent <uid>
roam-cli block create --parent <uid> --file tree.json

# Attach-to: find or create a section block, then insert under it
roam-cli block create --parent <page-uid> --attach-to "[[📽 Journaling]]" --text "new item"
roam-cli block create --parent <page-uid> --attach-to "[[📽 Journaling]]" --file items.json

--attach-to finds an existing block with matching text under --parent. If not found, creates it first. Then creates the content under that block.

Daily page operations

Use --today or --to-daily-page for one-shot writes to daily pages. Do NOT manually construct Roam daily page titles like "March 14th, 2026" — the CLI handles this internally. Pages are automatically upserted (created if missing, appended to if existing).

# Save markdown to today's daily page
echo "- entry" | roam-cli save --today

# Save to a specific date
cat note.md | roam-cli save --to-daily-page 2026-03-14

# Save under a section in today's daily page (find-or-create)
echo "- journal entry" | roam-cli save --today --under '[[📽 Journaling]]'

# Save under a section in a named page
cat note.md | roam-cli save --title "Project Notes" --under '[[Tasks]]'

# Search/find on a daily page — pass ISO date, CLI auto-resolves
roam-cli search --page 2026-03-14 keyword
roam-cli block find --page 2026-03-14 --text "[[📖 Daily Reading]]"

--under finds an existing direct child block with matching text under the target page. If not found, creates it first. Then appends content under that block. This is the recommended way to write to daily page sections like [[📽 Journaling]].

Anti-patterns — do NOT do these

  • Do NOT call block create in a loop to build a tree. Use JSON input with children.
  • Do NOT fire multiple block create in parallel to the same parent. Use batch run or JSON tree input.
  • Do NOT do multi-step "find block → then create under it". Use --attach-to.
  • Do NOT do multi-step "find daily page UID → then write". Use save --today or save --to-daily-page.
  • Do NOT do multi-step "find daily page → find section → write under it". Use save --today --under '[[Section]]'.
  • Do NOT manually construct "Month DDth, YYYY" date strings. Pass ISO dates (YYYY-MM-DD) to --to-daily-page, --daily, or --page — the CLI converts them.
  • Do NOT add --stdin when piping — it's automatic.

Pipeline Support

All commands that accept input (save, block create, batch run) read from stdin by default when --file is not given. No --stdin flag needed.

echo '{"text":"root","children":[{"text":"child"}]}' | roam-cli block create --parent <uid>
cat note.md | roam-cli save --title "Page Name"
echo '[...]' | roam-cli batch run

block create JSON Input Contract

  • Requires --parent <block-uid>.
  • Accepts JSON from pipe or --file.
  • JSON supports either a single object or an array of objects.
  • Node shape: text (required), children (optional array of nodes).
  • Both text and string keys accepted (text takes precedence).
{"text": "headline", "children": [
  {"text": "point 1"},
  {"text": "point 2", "children": [{"text": "sub-point"}]}
]}

batch run Actions

Native actions (pass-through to Roam API):

  • create-block — supports children in block field (auto-expanded) and attach-to in location
  • update-block — requires block.uid and block.string
  • delete-block — requires block.uid
  • move-block — requires block.uid and location.parent-uid
  • create-page — requires page.title
[
  {"action": "create-block",
   "location": {"parent-uid": "PAGE_UID", "attach-to": "[[📽 Journaling]]", "order": "last"},
   "block": {"string": "new item under Journaling"}},

  {"action": "create-block",
   "location": {"parent-uid": "PARENT_UID", "order": "last"},
   "block": {"string": "Parent", "children": [
     {"string": "Child 1"},
     {"string": "Child 2", "children": [{"string": "Grandchild"}]}
   ]}}
]

Date Handling

The CLI auto-resolves ISO dates (YYYY-MM-DD) to Roam daily page titles wherever a page reference is expected:

FlagInputResolved to
save --to-daily-page / --today2026-03-14 / todayCreates/finds page "March 14th, 2026"
search --page2026-03-14Searches in "March 14th, 2026"
block find --page2026-03-14Finds block in "March 14th, 2026"
block find --daily2026-03-14Finds by daily page UID (existing behavior)
journal --date2026-03-14Reads daily journal (existing behavior)

Recommended Workflow

  1. roam-cli status — verify credentials.
  2. Read: get, search, search-pages, q, journal, block find.
  3. Write (pick one, in order of preference):

- Daily page content → save --today or save --to-daily-page - Daily page section → save --today --under '[[Section]]' - Long markdown → save --title - Nested blocks / attach to existing section → block create (with JSON + --attach-to) - Mixed operations → batch run - Single block → block create --text

Save Markdown (GFM format)

save accepts GFM and auto-converts to Roam blocks:

  • Do NOT include # h1 — title comes from --title or --to-daily-page
  • ##–### → headed blocks (levels 4–6 capped to 3)
  • Lists → nested child blocks; ordered lists preserve marker
  • Tables → {{[[table]]}} blocks (must be valid GFM pipe+separator)
  • Code blocks, blockquotes → passed through
  • Horizontal rules → discarded

Full rules: references/gfm-format.md

Error Handling Rules

  • Missing credentials: report missing ROAM_API_TOKEN / ROAM_API_GRAPH.
  • API failures: include HTTP status code and response body.
  • Not found: include the identifier/uid that was requested.

Output Rules

  • Preserve JSON output when --json is requested.
  • Keep default output concise and readable.
  • Never invent Roam data; only report real command results.

Detailed Examples

Run roam-cli help all or see references/usage-examples.md.

平台分布

Codex

36.29%
按下载量换算31

Claude

33.62%
按下载量换算29

Cursor

17.52%
按下载量换算15

Gemini CLI

10.19%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills