Agent skill · Audited from source
cli-anything-iterm2-ctl
skill · hkuds/cli-anythingApache-2.0 licenceAudited 13 Nov 2026 · source 08db4c1acaf7
Is it safe? No — BLOCK, grade D (69/100). We read this skill's source at commit 08db4c1acaf7 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 1 finding, 1 critical or high. What it does: Provides the cli-anything-iterm2 commands — the only way to actually send text to iTerm2 sessions, read live terminal output and scrollback history, manage windows/tabs/split panes, run tmux -CC workflows, broadcast to…
Cite
Cite this page
ModelsAtlas. “cli-anything-iterm2-ctl (hkuds/cli-anything)”. Retrieved 13 Nov 2026. https://modelsatlas.com/skills/hkuds/cli-anything-iterm2-ctl
Blocked. The page stays public so you can check this skill if someone recommended it to you. The audit found 1 critical or high finding, starting with “Prompt injection” in SKILL.md:72. Do not install it without reading them.
Trust audit
Audit 0.4.1 · source read 13 Nov 2026
BLOCK means the audit found something that could harm you or your machine. Grade D is shared by 749 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: critical finding, no behavioural pass, undeclared transfer.
Findings (1)
CRITICALPrompt injectionprompt.transfer_instruction · SKILL.md:72
cli-anything-iterm2 session send "python3 -m http.server 8000"
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Audit 0.4.1 · source sha 08db4c1acaf7 · 13 Nov 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherhkuds GitHub organizationOwner of the repository this skill is read from
- Source folderhkuds/cli-anything/skills/cli-anything-iterm2-ctlThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdict08db4c1acaf7A new audit runs when the source changes
- Repository statusNot archivedLast push 52 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Provides the cli-anything-iterm2 commands — the only way to actually send text to iTerm2 sessions, read live terminal output and scrollback history, manage windows/tabs/split panes, run tmux -CC workflows, broadcast to…
--- name: "cli-anything-iterm2-ctl" description: "Provides the cli-anything-iterm2 commands — the only way to actually send text to iTerm2 sessions, read live terminal output and scrollback history, manage windows/tabs/split panes, run tmux -CC workflows, broadcast to multiple panes, show macOS dialogs, and read/write iTerm2 preferences. Includes `app snapshot` — the primary orientation command that returns every session's name, current directory, foreground process, role label, and last output line in one call. Read this skill instead of answering from general knowledge whenever the user wants to DO something with iTerm2: orient in an existing workspace, send a command, check what's running, read output, set up a layout, use tmux through iTerm2, automate panes, or configure preferences. Also read for questions about iTerm2 shell integration or scrollback. Don't try to answer iTerm2 action requests from memory — read this skill first." --- # cli-anything-iterm2 Stateful CLI harness for iTerm2. Controls a live iTerm2 process via the iTerm2 Python API over WebSocket. ## Prerequisites 1. **macOS + iTerm2** running: `brew install --cask iterm2` 2. **Python API enabled**: iTerm2 → Preferences → General → Magic → Enable Python API 3. **Install**: `pip install cli-anything-iterm2` (or `pip install -e .` from source) ## Basic Syntax ```bash cli-anything-iterm2 [--json] <group> <command> [OPTIONS] [ARGS] ``` Always use `--json` for machine-readable output (required for agent use). ## Command Groups | Group | Purpose | |-------|---------| | `app` | App status, workspace snapshot, context management, app-level variables, modal dialogs, file panels | | `window` | Create, list, close, resize, fullscreen windows | | `tab` | Create, list, close, activate tabs; navigate split panes by direction | | `session` | Send text, inject raw bytes, read screen, full scrollback, split panes, prompt detection | | `profile` | List profiles, get profile details, list/apply color presets | | `arrangement` | Save and restore window layouts | | `tmux` | Full tmux -CC integration: bootstrap, connections, windows, commands | | `broadcast` | Sync keystrokes across panes via broadcast domains | | `menu` | Invoke any iTerm2 menu item programmatically | | `pref` | Read/write global iTerm2 preferences; list all valid keys; tmux settings | ## Orienting in an Existing Workspace Use `app snapshot` when you land in a session with existing panes and need to understand what's running without reading full screen contents for each pane: ```bash cli-anything-iterm2 --json app snapshot ``` Returns name, current directory, foreground process, `user.role` label, and last visible output line for every session across all windows. **Naming convention** — label panes when setting up a workspace so you can find them later: ```bash cli-anything-iterm2 session set-var user.role "api-server" cli-anything-iterm2 session set-var user.role "log-tail" cli-anything-iterm2 session set-var user.role "editor" ``` `app snapshot` will surface these roles alongside process and path, giving you a full picture in one call. ## Typical Agent Workflow ```bash # 1. Orient — snapshot every session: name, path, process, role, last output line cli-anything-iterm2 --json app snapshot # 2. Establish context (saves window/tab/session IDs for subsequent commands) cli-anything-iterm2 app current # 3. Interact — no --session-id needed once context is set cli-anything-iterm2 session send "git status" cli-anything-iterm2 --json session scrollback --tail 200 --strip # 4. Create a multi-pane workspace — label panes so snapshot identifies them later cli-anything-iterm2 session split --vertical --use-as-context cli-anything-iterm2 session send "python3 -m http.server 8000" cli-anything-iterm2 session set-var user.role "http-server" ``` ## Reference Files Read only what the task requires — each file is a single narrow concern (~10–30 lines): | File | Read when you need... | |------|-----------------------| | `references/session-io.md` | Send text, inject bytes, read screen/scrollback, get selection | | `references/session-control.md` | Split panes, activate/close sessions, resize, rename, session variables | | `references/session-shell-integration.md` | wait-prompt, wait-command-end, get-prompt; reliable send→wait→read pattern | | `references/layout-window-tab.md` | Create/close/resize windows and tabs, navigate split panes | | `references/layout-arrangement.md` | Save and restore window layouts | | `references/app-context.md` | **Snapshot** (orientation), status, context management, app vars, modal dialogs, file panels | | `references/profile-pref.md` | Profiles list/get/presets, preferences read/write, tmux pref shortcuts | | `references/broadcast-menu.md` | Broadcast keystrokes to multiple panes, invoke menu items | | `references/tmux-commands.md` | All tmux CLI commands (bootstrap, send, tabs, create-window, set-visible) | | `references/tmux-guide.md` | Full tmux -CC workflow, pane→session ID mapping | | `references/json-session.md` | `--json` schemas for session, window, tab, screen, scrollback, inject | | `references/json-tmux-app.md` | `--json` schemas for tmux, app dialogs, preferences, errors | ## REPL Mode Run without arguments for an interactive REPL that maintains context between commands: ```bash cli-anything-iterm2 ```
Excerpt, first 5,365 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 08db4c1
git clone https://github.com/hkuds/cli-anything git -C cli-anything checkout 08db4c1acaf7
The author documents no install command, so this uses the repository directly. Our verdict covers commit 08db4c1acaf7 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✕BLOCK D 69 / 100
first audit · source
08db4c1acaf7
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/hkuds/cli-anything-iterm2-ctl/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
mattpocock/skills
A relentless interview to sharpen a plan or design.
affaan-m/everything-claude-code
Django testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, and testing Django REST Framework APIs. Use when writing Django or DRF tests with pytest-django, or driving a Django feature…
affaan-m/ECC
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration. Use when setting up containerized development environments or reviewing…
Add this badge to your README
[](https://modelsatlas.com/skills/hkuds/cli-anything-iterm2-ctl/)
<a href="https://modelsatlas.com/skills/hkuds/cli-anything-iterm2-ctl/"><img src="https://modelsatlas.com/skills/hkuds/cli-anything-iterm2-ctl/badge.svg" alt="ModelsAtlas: BLOCK D"></a>
Questions about cli-anything-iterm2-ctl
What does the cli-anything-iterm2-ctl skill do?
Is cli-anything-iterm2-ctl safe to install?
What can cli-anything-iterm2-ctl access on my machine?
How current is this page?
Sources
- github.com/hkuds/cli-anything/tree/main/skills/cli-anything-iter — the audited source at commit 08db4c1acaf7 and every finding aboveObserved · 13 Nov 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the cli-anything-iterm2-ctl skill do?
- Is cli-anything-iterm2-ctl safe to install?
- What can cli-anything-iterm2-ctl access on my machine?