跳到正文
cccskills
免费在 GitHub 公开

openrind-navigate

Query PostgreSQL with pg and navigate Openrind Shell's primary FUSE or compatibility workspace; /db is custom-agent-only.

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

集成工具PostgreSQL
查看安装方法

包含的文件(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

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

Openrind Shell Navigate

Identify the runtime from the kernel mount, not an image tag:

if mountpoint -q /sandbox/work 2>/dev/null; then
  echo primary-fuse
else
  echo compatibility
fi

Persistence Map

flowchart TB
  detect{"mountpoint /sandbox/work?"}
  detect -->|Yes| primary["Primary FUSE<br/>HOME=/sandbox/work"]
  primary --> all["Every descendant file<br/>PostgreSQL-backed"]
  detect -->|No| compat["Compatibility<br/>HOME=/sandbox"]
  compat --> scoped["Persisted: .claude, .claude.json,<br/>.openrind-shell and legacy .openeral"]
  compat --> ephemeral["Everything else<br/>sandbox-local"]
  custom["createOpenrindShell custom agent"] --> db["/db read-only PgFs"]

PostgreSQL Queries

Use the pg helper in either runtime and quote the complete SQL string:

pg "SELECT table_name FROM information_schema.tables WHERE table_schema = 'public'"
pg "SELECT * FROM public.users LIMIT 5"

The helper prints a JSON array and exits nonzero on database or policy failure.

Primary FUSE Workspace

Use normal tools below /sandbox/work. fsync is an explicit durability barrier; clean Claude exit also flushes pending dirty data.

openrind-shell-fused health
openrind-shell-fused flush-all

Only one writable sandbox may mount a given workspace ID. Stop mutating files if health is not writable. Operations return EIO while the daemon reconnects to PostgreSQL; a daemon exit or lease loss restarts the whole container and ends the current shell or Claude session, so fsync anything you cannot afford to lose.

Compatibility Workspace

Compatibility synchronization covers only:

/sandbox/.claude/**
/sandbox/.claude.json
/sandbox/.openrind-shell/**
/sandbox/.openeral/**    # legacy state during migration

PGlite, when used, lasts only for that sandbox. Other files are not persisted.

Claude Memory

Run from the relevant project directory:

openrind-shell memory refresh --query "current project"
claude -c

/db Virtual Filesystem

/db is not mounted in Claude Code's native shell. It exists only when a custom agent uses createOpenrindShell() and just-bash:

ls /db
cat /db/public/users/.info/columns.json
cat /db/public/users/.info/schema.sql
cat /db/public/users/.info/count
cat /db/public/users/page_1/1/row.json

The custom-agent path is read-only. Prefer .filter/ and .info/count over scanning page trees.

Security Facts

  • Provider keys remain OpenShell placeholders resolved only at approved egress.
  • The PostgreSQL URL is raw-protocol runtime state, not a provider placeholder.
  • Primary v1 runs Claude and the FUSE daemon as the same UID; do not claim secret isolation between them.
  • /tmp and /var/lib/openrind-shell/runtime are operational, not persisted FUSE namespace paths.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Create new OpenCode agents with a gpt-5.2-codex default.

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

openrind/openrind-shell32026年10月19日 更新

Guide users through browser automation setup using Chrome DevTools MCP only. Use when the user asks to set up browser automation, Chrome DevTools MCP, browser MCP, or runs the browser-setup command.

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

openrind/openrind-shell32026年10月19日 更新

Manages Cargo.lock file updates and resolves --locked flag issues in CI/CD. Triggers when user mentions: - "cargo test --locked failed" - "cannot update the lock file" - "Cargo.lock is out of date" - "PR failed with --locked error" - "fix Cargo.lock"

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

openrind/openrind-shell32026年10月19日 更新

Create OpenCode custom commands for repeatable tasks.

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

openrind/openrind-shell32026年10月19日 更新

Create an auditable Markdown report for any uploaded Microsoft Excel (.xlsx) or CSV files in an Openrind Shell sandbox.

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

openrind/openrind-shell32026年10月19日 更新

Guide users through the get started setup and Chrome DevTools demo.

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

openrind/openrind-shell32026年10月19日 更新

查看 openrind 的全部技能

报告此技能的问题