omnicell
Use when executing system commands, running Nushell scripts, querying system state, or performing OS interactions with structured JSON output.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!