跳到正文
cccskills
免费在 GitHub 公开

graincrawl

Use for local Granola archive search, sync freshness, notes/transcripts/panels, Markdown export, snapshots, Keychain-safe source debugging, and Graincrawl repo/release work.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Graincrawl

Use local archive data first for Granola questions. Browse or hit Granola private/API surfaces only when the archive is stale, missing the requested scope, or the user asks for current external context.

Sources

  • DB: configured paths.db_path; override with GRAINCRAWL_DB_PATH
  • Config: default crawlkit config path; override with GRAINCRAWL_CONFIG
  • Granola profile: GRAINCRAWL_GRANOLA_PROFILE or the configured profile path
  • Repo: ~/GIT/_Perso/graincrawl
  • Preferred CLI: graincrawl; fallback to go run ./cmd/graincrawl from the repo if the installed binary is stale

Freshness

For recent/current questions, check freshness before analysis:

sqlite3 "$(graincrawl status --json | jq -r '.database_path')" \
  "select coalesce(max(completed_at), '') from sync_runs where status = 'ok';"

Routine refresh:

graincrawl doctor
graincrawl sync --source private-api

Desktop-cache refresh:

graincrawl sync --source desktop-cache

Use encrypted JSON, OPFS, Electron safeStorage, or Keychain-backed paths only after an explicit unlock check.

Query Workflow

  1. Resolve scope: note, transcript, panel, person, workspace, keyword, or date range.
  2. Check freshness for recent/current requests.
  3. Use CLI for normal reads; use read-only SQL for precise counts/rankings.
  4. Report absolute date spans, note titles, source gaps, and transcript/panel availability.

Common commands:

graincrawl search "query"
graincrawl notes --json
graincrawl note get <id>
graincrawl transcripts get <id>
graincrawl panels get <id>
graincrawl --json sql "select count(*) as notes from notes;"

SQL

Use graincrawl sql for exact counts, joins, and ranking queries when normal CLI reads are too coarse. The command is read-only and supports --json for agent parsing.

Useful examples:

graincrawl --json sql "select count(*) as notes from notes;"
graincrawl --json sql "select source, count(*) as notes from notes group by source order by notes desc;"
graincrawl --json sql "select title, updated_at from notes order by updated_at desc limit 20;"

Do not run mutating SQL against the archive.

When the installed CLI lacks a new feature, build or run from ~/GIT/_Perso/graincrawl before concluding the feature is missing.

Granola Boundaries

Ordinary doctor, status, notes, search, export, and tui commands must not surprise-prompt Keychain. Prefer graincrawl secrets --json before debugging unlock issues and graincrawl unlock --json before enabling encrypted sources.

Verification

For repo edits, prefer existing Go gates:

GOWORK=off go test ./...

Then run targeted CLI smoke for the touched surface, for example:

graincrawl doctor --json
graincrawl status --json
graincrawl search "test"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

crabbox

免费

Use the Crabbox wrapper for OpenClaw remote validation across Linux, macOS, Windows, and WSL2, including delegated Blacksmith Testbox proof. Report the actual provider and id.

中文简介正在准备中。当前显示原文说明。

openclaw/graincrawl262026年10月19日 更新

查看 openclaw 的全部技能

报告此技能的问题