omnicell
Use when executing system commands, running Nushell scripts, querying system state, or performing OS interactions with structured JSON output.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
OmniCell
OmniCell transforms the Operating System into a structured data source. Instead of parsing raw text from stdout, you receive JSON objects.
Tools
nuShell
Universal shell tool - use for ANY terminal command.
Parameters:
-
command(string): Any terminal command (auto-detects observe vs mutate)-
Examples:
ls -la,cargo test,git status,npm run build -
Read:
open config.json(Returns parsed JSON/Dict directly) -
List:
ls **/*.py | sort-by size(Returns List[Dict]) -
Query:
ps | where cpu > 10
-
Examples:
-
intent(string, optional): Explicitly forceobserveormutate -
chunked(bool, defaultfalse): Enable chunked delivery for very large payloads -
action(string, optional):startorbatch -
session_id(string): Required foraction=batch -
batch_index(int, default0): Required batch index foraction=batch -
batch_size(int, default28000): Character window per batch
Usage:
<tool_call>{"name": "omniCell.nuShell", "arguments": {"command": "cargo test"}}</tool_call>
Chunked mode (large output):
<tool_call>{"name":"omniCell.nuShell","arguments":{"command":"ls **/*","chunked":true}}</tool_call>
<tool_call>{"name":"omniCell.nuShell","arguments":{"action":"batch","session_id":"abc123","batch_index":1}}</tool_call>
Best Practices
-
Structured Data First: Always prefer
openovercat. OmniCell automatically parses JSON, YAML, TOML, XML, and CSV into Python dictionaries. -
Pipelines: Use Nu pipes (
|) to filter data before it reaches the LLM context.-
Bad:
ls -R(returns huge text block) -
Good:
ls **/* | where size > 1mb | to json(returns clean data)
-
Bad:
-
Large Output: For huge results, prefer
chunked=trueand read allbatch_indexvalues instead of truncating content.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!