Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/xichan96/dinottynpx agentmods add skills/xichan96/dinotty/dinotty-tabsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xichan96/dinotty/dinotty-tabs)<a href="https://agentmods.dev/skills/xichan96/dinotty/dinotty-tabs"><img src="https://agentmods.dev/badge/skills/xichan96/dinotty/dinotty-tabs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xichan96/dinotty/dinotty-tabs"><img src="https://agentmods.dev/badge/skills/xichan96/dinotty/dinotty-tabs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.01714 |
| Opus 5.5 | $0.00042 | $0.00686 |
| Sonnet 5.5 | $0.00021 | $0.00343 |
| Haiku 4.5 | $0.00011 | $0.00171 |
Grade A, and why
dinotty-tabs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dinotty tab 与分屏管理
所有操作走 dinotty tabs ...,HTTP 层分别是 GET/POST /api/tabs、
DELETE /api/tabs/:id、/rename、/pane(split)、/pane/:pane/activate。
这些接口都不要求 Open API,只需要服务端 token。
何时使用
- 查看当前有哪些 tab、它们属于哪个 pane、在哪个目录
- 为并行任务创建独立 tab,并指定工作目录、标题、启动命令
- 关闭自己创建的 tab、重命名、分屏、把某个 tab 切到前台
- 多 tab 分派(配合
dinotty-sessions读屏/发输入)
只是观察 pane 内容用 dinotty-sessions;打开文件用 dinotty-viewer。
前置检查
dinotty --version可用;实例通常是DINOTTY_URL或http://127.0.0.1:8999dinotty tabs list能出结果(确认 token 和实例)- 创建 tab 前确认
cwd存在;否则服务端返回 400cwd must exist and be a directory
dinotty tabs list
dinotty tabs list --json
列出 tab
人类输出列:TAB ID / PANE ID / TITLE / CWD。标题来自 layout.title 或各叶子
的 title;多叶子用 | 连接。记住 tab_id——关闭、重命名、分屏都用它。
创建 tab
# 默认 shell,指定目录与标题
dinotty tabs create --cwd /path/to/worktree --title "agent-1"
# 直接启动命令;-- 之后全部原样传给服务端 argv
dinotty tabs create --cwd /path/to/repo --title "build" -- \
/bin/bash -lc 'cargo test && cargo clippy'
# 带环境变量启动 agent(POSIX)
dinotty tabs create --cwd /path/to/repo --title "claude" \
--env ANTHROPIC_BASE_URL=https://api.example.com \
--env ANTHROPIC_AUTH_TOKEN=sk-... \
-- /opt/homebrew/bin/claude --permission-mode acceptEdits "完成 README 校对"
约定:
cwd传绝对路径;不传时服务端用默认工作区title写短标题(tab 栏可读),不传时默认Terminalargv原样传给POST /api/tabs,不经过 shell;需要 shell 特性时显式用/bin/bash -lc '...'- agent/工具用绝对路径:Dinotty 的 PATH 注入只覆盖
/opt/homebrew/bin和/usr/local/bin,nvm 目录里的裸名可能 spawn 失败 --env KEY=VALUE会在 argv 前加/usr/bin/env KEY=VALUE ...(HTTP API 没有 env 字段,这是现有约定);必须同时给 argv,且仅 POSIX。服务端不重启进程的 情况下改不了 provider env,换供应商要重建 tab--之后的内容全部属于 argv,包括--json;全局选项要放在--前:dinotty --json tabs create --cwd /tmp -- /bin/sh -c 'sleep 60'
成功输出:
Created tab <tab_id>
pane_id: <pane_id>
cwd: <resolved cwd>
关闭 / 重命名 / 激活
dinotty tabs close <tab_id>
dinotty tabs rename <tab_id> "新标题"
dinotty tabs activate <tab_id> # 激活 tab 的第一个 pane
dinotty tabs activate <tab_id> <pane_id>
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 135 lines · 105 tokens per session scan A 57a3b8274bca
dinotty-tabs is a skill published in the GitHub repository xichan96/dinotty (741 stars, last pushed today), licensed MIT. It adds 105 tokens to every session and 1,714 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-20.
dinotty-tabs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dinotty-tabsxichan96/dinotty | Skill | 741 | today | MIT | A | 105 | Claude Code |
| batchQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 102 | Claude Code |
| batch-apiQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 51 | Claude Code |
| loopQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 66 | Claude Code |
| opencode-exportZelinZhou-THU/opencode-export | Skill | 2 | 5mo ago | MIT | A | 41 | Claude Code, Codex |
| herdrshahidshabbir-se/my-pi-setup | Skill | 1 | 1mo ago | MIT | A | 74 | Claude Code, Codex |
| repo-hygieneQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 48 | Claude Code, Codex |