cli-setup-verify
Skill11k starsChanged 59 days agoApache-2.0View on GitHub
Verify the Omnigent CLI's setup/onboarding flow, terminal UI/UX, and critical user journeys in a completely isolated, reproducible loop. Drives the real `omnigent` binary through a PTY (pexpect) inside a throwaway OMNIGENT_CONFIG_HOME / OMNIGENT_DATA_DIR sandbox that never touches the user's real ~/.omnigent, captures ANSI-stripped frames for UX inspection, and proves a change is verifiable via a before→fix→after baseline diff. Load when developing or reviewing a CLI setup/onboarding/REPL/picker change (omnigent/cli.py, omnigent/onboarding/*, omnigent/repl/*, scripts/install_oss.sh), reproducing a cold-start/first-run UX bug, or confirming a fix actually lands. Several agents can run it concurrently on separate worktrees.
- Pipes a download into a shell
- Reads credentials
- Deletes or force-pushes
Trending
Quiet since October.about the whole repository
Who's talking about omnigent-ai/omnigent
- @jonathanabend.bsky.social“Omnigent (open-sourced by Databricks) is a meta-harness which you can use as single interface to run …”Bluesky · Aug 12, 2026 · 5 likes
- A Hacker News story“Omnigent: Open-source meta harness for agents”Hacker News · Jun 24, 2026 · 5 points
- @laxima-tech.bsky.social“A meta-harness for all your AI agents. Omnigent provides a common layer over Claude Code, Codex, Pi, and …”Bluesky · Jun 14, 2026 · 5 likes
- @agentpalisade.bsky.social“Omnigent is an open-source meta-harness: one governed layer over Claude Code, Codex, Cursor, OpenCode and …”Bluesky · Jul 1, 2026 · 2 likes
- @beyondthecode.bsky.social“🧠 Omnigent provides a unified framework for evaluating and comparing different coding agents including …”Bluesky · Jun 17, 2026 · 2 likes
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub, Bluesky and Hacker News (53 times).
On GitHub · 43
- Oct 2, 2026Add managed MCP registry and gateway for dev validation — DataDog/omnigent1 reaction
- Jun 30, 2026Add this repo as a github submodule within MoonMind: https://github.com/omnigent-ai/omnigent — MoonLadderStudios/MoonMind1 reaction · 1 comment
- Jun 14, 2026Enable Persistent Session Hierarchies for Multi-Agent Orchestration and Coordination — agent-of-empires/agent-of-empires1 reaction · 4 comments
- Oct 6, 2026agent-skills.github.omnigent-ai.omnigent: 0.16.0 → 0.17.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.omnigent-ai.omnigent: 0.15.0 → 0.16.0 — sudosubin/agents.nix0 reactions
38 more on GitHub
- Sep 30, 2026kimi-native rejects long pasted prompts when the input editor scrolls — jan21deepak/omnigent0 reactions
- Sep 30, 2026Make subagent chats discoverable and hide Claude team delivery messages — jan21deepak/omnigent0 reactions
- Sep 30, 2026[Bug] Generic side chat remains available when managed session forks are disabled — jan21deepak/omnigent0 reactions
- Sep 30, 2026Nested child sessions and failed retries can lose parent host routing — jan21deepak/omnigent0 reactions
- Sep 28, 2026[Index] omnigent-ai/omnigent — zhiweiofli/github-kb0 reactions · 1 comment
- Sep 27, 2026Composer pre-send queue: edit, reorder and hold follow-ups while a turn runs — k-k1/agent-fleet0 reactions
- Sep 27, 2026Richer CLI signals: OpenCode cost/compaction, Kiro ACP recorder, Cursor stop-hook usage — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Drive agy through its structured RPC (measure on the pinned version first) — k-k1/agent-fleet0 reactions
- Sep 27, 2026Contract probes that check declared Caps against observed behaviour (DRIFT) — k-k1/agent-fleet0 reactions
- Sep 27, 2026Serve a kind catalog from the Agent and derive the CP/Console kind lists from it — k-k1/agent-fleet0 reactions
- Sep 27, 2026Per-agent OS sandbox (bubblewrap/seatbelt) is not viable in the Workspace — k-k1/agent-fleet0 reactions
- Sep 27, 2026Attach sessions running on the user's own machine to the Console — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Evaluate Agent Client Protocol (ACP) as a generic managed-driver path — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Kind-neutral agent definitions rendered into each CLI's native files — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Debate mode: ask two models, show side by side, let them critique each other — k-k1/agent-fleet0 reactions
- Sep 27, 2026Built-in plan → parallel worktree lanes → reviewer workflow — k-k1/agent-fleet0 reactions
- Sep 27, 2026Keep credentials out of agent shells: inject them in an egress proxy — k-k1/agent-fleet0 reactions · 1 comment
- Sep 27, 2026Stateful, session-aware tool policies (approval gates, tool-call caps, path scoping) — k-k1/agent-fleet0 reactions · 1 comment
- Sep 17, 2026Exploration: Omnigent as an agent adapter — raymondk/tendless0 reactions
- Sep 3, 2026chore(deps): bump omnigent from 0.1.0 to 0.3.0 in /sdks/python-client — coinmage777/omnigent0 reactions
- Aug 21, 2026[Argus] CVE-2026-62674: Omnigent: 공유 에이전트 번들 덮어쓰기를 통한 인증된 러너 RCE — LEEKIYOON-SEC/Argus-DEV0 reactions
- Aug 13, 2026[Bug] Red-dot session status indicator falsely shows "new / your turn" for idle sessions — jan21deepak/omnigent0 reactions · 2 comments
- Aug 13, 2026[Bug] Chat-mode stop button doesn't halt execution; agent loops tinkering/stopping — jan21deepak/omnigent0 reactions · 1 comment
- Aug 11, 2026Credential-injection egress proxy: tokens never enter model context or tool sandboxes — DadJokez/AI-workspace0 reactions · 1 comment
- Aug 10, 2026agy (antigravity-native) headless sub-agents hang indefinitely on native permission prompts — jan21deepak/omnigent0 reactions · 1 comment
- Aug 10, 2026[Bug] Automation-created sessions don't show the chat/terminal view toggle — jan21deepak/omnigent0 reactions · 2 comments
- Aug 10, 2026[Bug] Session graph view assigns all nested Claude Code subagents to the top-level session as parent — jan21deepak/omnigent0 reactions · 1 comment
- Aug 10, 2026[Feature] Allow defining harness settings (e.g. Claude settings.json) in a custom agent — jan21deepak/omnigent0 reactions · 1 comment
- Aug 10, 2026[Feature] Add ⌘N hotkey to create a new session — jan21deepak/omnigent0 reactions
- Aug 10, 2026[Bug] ⌘N in the macOS desktop app opens a new app window instead of a new session — jan21deepak/omnigent0 reactions · 1 comment
- Aug 10, 2026Custom Agent lifecycle: versions, sharing, catalog, updates, and eval-gated publishing — DadJokez/AI-workspace0 reactions
- Aug 5, 2026Add Blaxel as a sandbox provider — jan21deepak/omnigent0 reactions
- Aug 5, 2026[Feature] Delete button on desktop/web UI — jan21deepak/omnigent0 reactions
- Aug 5, 2026[Feature] Auto-discover repo-declared harnesses — jan21deepak/omnigent0 reactions
- Jul 19, 2026Upstream update available — professoryu06/omnigent-zh-cn0 reactions · 12 comments
- Jun 25, 2026VS5: cursor-cloud onboarding polish (readiness, install, CLI) — Praneeth16/omnigent0 reactions
- Jun 25, 2026VS3: cursor-cloud model resolution + /model override — Praneeth16/omnigent0 reactions
- Jun 24, 2026Further improvement on teams: omnigent — voitta-ai/skillz0 reactions · 1 comment
On Bluesky · 6
- Aug 12, 2026Omnigent (open-sourced by Databricks) is a meta-harness which you can use as single interface to run different harnesses like Claude Code,… — @jonathanabend.bsky.social5 likes and reposts · 2 replies
- Jun 14, 2026A meta-harness for all your AI agents. Omnigent provides a common layer over Claude Code, Codex, Pi, and the agents you write yourself:… — @laxima-tech.bsky.social5 likes and reposts · 2 replies
- Jul 1, 2026Omnigent is an open-source meta-harness: one governed layer over Claude Code, Codex, Cursor, OpenCode and custom agents. Mix vendors in a… — @agentpalisade.bsky.social2 likes and reposts
- Jun 17, 2026🧠 Omnigent provides a unified framework for evaluating and comparing different coding agents including Claude Code, Codex, Cursor, and Pi.… — @beyondthecode.bsky.social2 likes and reposts · 2 replies
- Jun 19, 2026Check it out here: github.com/omnigent-ai/omnigent — @terrytangyuan.xyz1 likes and repost
1 more on Bluesky
- Jun 14, 2026🔗 Omnigent repo: https://github.com/omnigent-ai/omnigent 🔗 Artículo MarkTechPost:… — @lluis154.bsky.social1 likes and repost
On Hacker News · 4
- Jun 24, 2026Omnigent: Open-source meta harness for agents5 points
- Jun 17, 2026Omnigent: Meta-Harness for Coding Agents (Claude Code, Codex, Cursor, Pi)2 points
- Jun 16, 2026Omnigent: A meta-harness for all your AI agents2 points
- Jun 14, 2026Meta-Harness by Databricks and Neon2 points
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/triage_v2/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/triage_v2/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- antigravity-native-e2e-devSkill
- antigravity-sdk-e2e-devSkill
- copilot-sdk-e2e-devSkill
- cursor-sdk-e2e-devSkill
- harness-integration-guideSkill
- pi-native-e2e-devSkill
- polly-e2e-devSkill
- run-load-testSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 50
Every run fingerprints the real ~/.omnigent before and after (stat-only, no content reads): the top-level config files and the set of …
- Distinctive: line 133
If a finding has no machine check yet, add one (see "Adding a scenario") so the fix becomes provable instead of asserted.
- Very specific: line 159
Run a slice with the project's gated runner, e.g.
- Very specific: line 179
Always drive the CLI through the driver (which redirects HOME + the config/data knobs), never a bare omnigent setup — that would write to …
- Very specific: line 187
If you can't reach the surface under test (no harness, no credential, headless limit), the scenario must report skipped — do not claim a …
- Very specific: line 194
Write scenario_<name>(args, sandbox, result) in verify_cli.py: drive the CLI (reuse
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verifying the Omnigent CLI setup & UX in a closed loop
The Omnigent CLI's first impression is: curl | sh → run omnigent → pick a
model credential → start a session. This skill lets an agent enter that flow,
examine the UI/UX, and prove whether a change is verifiable — without a
browser, without real credentials, and without ever touching the developer's
real ~/.omnigent.
The engine is verify_cli.py (next to this file). It drives the real
omnigent binary through a pseudo-terminal (pexpect) inside a throwaway
sandbox, captures what renders, runs assertions, and prints one machine-readable
SUMMARY {json} line.
The whole point is a verifiable loop, not a one-shot check:
- Run a scenario on the unfixed code → baseline (
--label before).- Make the change.
- Run the same scenario →
--label after.- Diff the two
SUMMARYlines. A fix is "verifiable" only if a concrete check or note flips between the two runs. If it doesn't flip, you can't prove the fix did anything — go back to step 2.
Why this is safe (read first)
The real ~/.omnigent here can be many GB (chat DB, runner logs, native
harness state). The sandbox isolates every write three ways:
HOMEis redirected into the sandbox by default. This is the load-bearing one.OMNIGENT_CONFIG_HOME/OMNIGENT_DATA_DIR(omnigent/cli.py_CONFIG_HOME_ENV_VAR/_DATA_DIR_ENV_VAR) redirect config + data — but the CLI's diagnostics logger ignores them: it writes a per-invocationcli-*.logunderstate_dir(), hardcoded toPath.home()/.omnigent/logs(omnigent_ui_sdk/terminal/_config.py). So only redirectingHOMEkeeps a non-help command (config list, the setup PTY spawns,server stop) from writing into the real home. The driver does this for you.--strip-pathreducesPATHsonode/tmux/claude/codexread as "not installed" → the true fresh-machine cold start.- Ambient model keys (
ANTHROPIC_API_KEY, …) are stripped from the child env unless you pass--keep-env-creds.
--inherit-home opts out of HOME isolation — use it only to reach a real
credentialed REPL via ambient ~/.claude / ~/.databrickscfg auth. It is
less safe: a non-help command then writes cli-*.log into the real
~/.omnigent/logs.
Every run fingerprints the real ~/.omnigent before and after (stat-only,
no content reads): the top-level config files and the set of
logs/cli-*.log diagnostic files. A new config file/mtime or a new cli-*.log
basename trips real_config_untouched: false. With the default isolation that
never happens; under --inherit-home it correctly does — which is exactly the
violation the guard is meant to catch. If that check is ever false, stop and
investigate. Run check-isolation first to confirm the loop is safe on your
machine.
Prerequisites
- You're in the worktree whose code you want to test (each parallel agent
on its own worktree). The driver runs
omnigentfrom--repo's checkout. - A Python with
pexpect— the project's.venv/bin/pythonbundles it (pexpect>=4.9inpyproject.toml). Run the driver with that interpreter. - An
omnigentbinary: the driver auto-finds<repo>/.venv/bin/omnigent, or pass--omnigent <path>. - The setup / picker / help / cold-start scenarios need no credentials and no
harness. Only
repl-commandsneeds a working harness + credential: pass--inherit-home(ambient~/.claudeauth) and/or--keep-env-creds(env API key) with--agent. It reportsskipped, never a false pass, when the prompt isn't reachable.
Quick start
REPO=/path/to/your/worktree
PY=$REPO/.venv/bin/python
DRV=$REPO/.claude/skills/cli-setup-verify/verify_cli.py
# 0. Prove the sandbox is safe on this machine (do this once).
# HOME is isolated by default — no flag needed.
$PY $DRV --scenario check-isolation --repo "$REPO"
# 1. See exactly what a brand-new user sees on a fresh machine.
$PY $DRV --scenario cold-start --strip-path --keep-sandbox --repo "$REPO"
# → reads the printed `artifacts` path, then `cat <that>/cold_start.txt`
# 2. Lint the top-level help (and any subcommand's).
$PY $DRV --scenario help-snapshot --repo "$REPO"
$PY $DRV --scenario help-snapshot --subcommand server --repo "$REPO"Each run prints SUMMARY {…} and exits non-zero if any check failed (a
skipped scenario exits 0). Pipe to … | grep '^SUMMARY' | python -m json.tool
to read it.
Scenario catalog
| Scenario | What it drives | Key checks / notes | Maps to findings |
check-isolation | omnigent config list in the sandbox (no PTY) | config_list_ran, sandbox_config_home_used, real_config_untouched | safety gate for everything |
cold-start | omnigent setup via PTY on a simulated fresh machine | onboarding_rendered, harness_menu_present; note guided_default_affordance | cold-start dead-end; missing "recommended start here" |
setup-snapshot | omnigent setup, optional --nav-down N arrow steps | menu_rendered; saves a frame per step | picker markers/footer/alignment; narrow-terminal at 80×24 |
help-snapshot | omnigent [--subcommand] --help (no PTY) | help_rendered, no_param_leak, no_update_dup; note top_level_command_count | :param leak, duplicate update/upgrade, command sprawl |
repl-commands | omnigent run <agent> REPL, sends /help + /quit | help_lists_commands; note quit_advertised | REPL discoverability (/help, /quit) |
--list-scenarios prints them too. Captured frames land in the printed
artifacts dir as both <name>.txt (ANSI-stripped, for reading/asserting) and
<name>.ansi.txt (raw, to see real colors with less -R).
The verifiable loop — a worked example
Finding: "server --help leaks Sphinx :param/:returns into user help."
# BEFORE the fix (on the unfixed code):
$PY $DRV --scenario help-snapshot --subcommand server --label before --repo "$REPO"
# → "no_param_leak": {"ok": false, ...} ← bug reproduced (the baseline)
# ... make the change (move :param docs into # comments) ...
# AFTER the fix:
$PY $DRV --scenario help-snapshot --subcommand server --label after --repo "$REPO"
# → "no_param_leak": {"ok": true, "detail": "clean"} ← flipped → fix is verifiableThe same shape proves the update/upgrade duplicate (no_update_dup), the
cold-start dead-end (guided_default_affordance note flips absent→present),
or REPL /quit discoverability (quit_advertised note flips no→yes). If
the check/note doesn't flip, the fix isn't proven — that is the signal to keep
working, and it's exactly the judgment the loop exists to force.
If a finding has no machine check yet, add one (see "Adding a scenario") so the fix becomes provable instead of asserted.
Examining UI/UX deliberately
- Narrow terminal is the default. The driver uses 80×24 — the size a
new user's window actually is, and where banner overflow and picker
redraw-past-the-bottom bugs appear. Re-run with
--cols 120 --rows 40to compare the roomy layout; diff the two frames. - Read the frame, don't just trust the check.
cat <artifacts>/cold_start.txtshows the literal screen — the all-✗menu, the footer hint (Esc backat the root), the marker (❯), alignment of the status gutter. The frame is the UX evidence. - Compare pickers for consistency.
setup-snapshot --nav-down 3captures the harness menu as you move; eyeball marker/footer/highlight drift against the theme and resume pickers (different engines render differently).
Covering all critical user journeys
This skill owns the setup / onboarding / first-run / TUI journeys. The repo already has complementary CUJ coverage — use both:
- Live setup/UX journeys → this skill's scenarios (cold-start, setup, pickers, help, REPL discoverability).
- Deeper end-to-end journeys →
tests/e2e/test_journey_*.py(first session to code, resume/disconnect, fork/explore, file upload, collaboration, …). Run a slice with the project's gated runner, e.g.uv run --frozen --group test python -m pytest tests/e2e/test_journey_first_session_to_code.py -q. - Reusable PTY helpers live in
tests/e2e/omnigent/_pexpect_harness.py(spawn_omnigent_run,wait_for_ready,submit_prompt,await_turn_complete,clean_exit) and the snapshot comparator intests/e2e/omnigent/_snapshot.py— prefer extending those over re-inventing.
To drive a surface this skill doesn't script yet, spawn it by hand with the
sandbox env and the keys the driver exports (KEY_UP/KEY_DOWN/KEY_ENTER/
KEY_ESC), then drain() and save_frame() the result.
Teardown — non-negotiable
- The driver force-kills the PTY child and its descendants, and runs
omnigent server stopagainst the sandbox to reap any spawned background server. After a run, confirm nothing leaked:pgrep -af "omnigent.*(server|runner|host._daemon)"— anything bound to your sandbox's data dir is yours to kill. - The sandbox temp dir is deleted unless
--keep-sandbox. If you keep one for inspection,rm -rfit when done. - Always drive the CLI through the driver (which redirects
HOME+ the config/data knobs), never a bareomnigent setup— that would write to the real~/.omnigent. If you pass--inherit-home, expectcli-*.logwrites to the real~/.omnigent/logsand areal_config_untouched: false— that's the guard working, not a bug.
Honesty
If you can't reach the surface under test (no harness, no credential, headless
limit), the scenario must report skipped — do not claim a CUJ passed. The
strongest evidence for a fix is a reproduced baseline (before) plus the flipped
after; report both SUMMARY lines, not a summary of a summary.
Adding a scenario
Write scenario_<name>(args, sandbox, result) in verify_cli.py: drive the CLI
(reuse pexpect.spawn(... env=sandbox.env, dimensions=(args.rows, args.cols)),
drain(), save_frame(), the KEY_* constants), record findings with
result.add(name, ok, detail) (fails the run) or result.notes.append(...)
(informational, for before/after flips), register it in SCENARIOS, and add a
row to the catalog above. Keep one assertion per real, observable behavior so a
fix is provable as a single check flip.
Code under test
- First-run dispatch / no-arg routing:
omnigent/cli.py(run, the first-run plan,_run_configure_harnesses_interactive). - Onboarding:
omnigent/onboarding/*(setup.py,interactive.py,configure_models.py,provider_selection.py,detected.py). - TUI / REPL & pickers:
omnigent/repl/*(_repl.py,_theme_picker.py,_resume_picker.py),omnigent/_terminal_picker_theme.py. - Installer:
scripts/install_oss.sh.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

