本文へ移動
cccskills
無料GitHub で公開

openrind-navigate

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

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

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

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月10日 更新

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月10日 更新

Create OpenCode custom commands for repeatable tasks.

日本語の概要は準備中です。原文の説明を表示しています。

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

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

日本語の概要は準備中です。原文の説明を表示しています。

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

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

日本語の概要は準備中です。原文の説明を表示しています。

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

openrind のスキルをすべて見る

このスキルの問題を報告する