Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add xichan96/dinotty --skill dinotty-cligit clone --depth 1 https://github.com/xichan96/dinottyWrote 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-cli)<a href="https://agentmods.dev/skills/xichan96/dinotty/dinotty-cli"><img src="https://agentmods.dev/badge/skills/xichan96/dinotty/dinotty-cli/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-cli"><img src="https://agentmods.dev/badge/skills/xichan96/dinotty/dinotty-cli.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.00093 | $0.01570 |
| Opus 5.5 | $0.00037 | $0.00628 |
| Sonnet 5.5 | $0.00019 | $0.00314 |
| Haiku 4.5 | $0.00009 | $0.00157 |
Grade A, and why
dinotty-cli 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 — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
dinotty CLI 基础参考
所有 Dinotty 操作统一走 dinotty 命令,不再为每个 skill 写临时 Python/bash
脚本。本 skill 是命令、参数、鉴权和错误码的总入口。
何时使用
- 需要确认某个 Dinotty 操作有没有对应命令、参数怎么写
- 需要安装/升级
dinotty,或排查 token、端口、连接问题 - 其他 skill(viewer/sessions/tabs/workspace)里的命令报错,需要查错误码
具体任务优先看专用 skill:打开文件用 dinotty-viewer,管理 tab 用
dinotty-tabs,读屏/发输入用 dinotty-sessions,读写文件用
dinotty-workspace。
安装与自检
cargo install --path <dinotty-repo>/cli # 安装到 ~/.cargo/bin/dinotty
dinotty --version
dinotty --help
command -v dinotty 找不到时,先完成用户任务(可用 dinotty-html-viewer
的 legacy 脚本兜底),并提示用户安装 CLI。
运行环境
在 Dinotty 的终端 tab 里,Dinotty 自动注入:
DINOTTY_URL:当前实例地址,桌面默认http://127.0.0.1:8999DINOTTY_PANE_ID:当前 pane,viewer/workspace/screen可直接省略--pane
不在 Dinotty tab 里时,显式传 --url 和 --pane(或设置同名环境变量)。
全局参数
| 参数 | 环境变量 | 默认值 | 说明 |
|---|---|---|---|
--url <URL> |
DINOTTY_URL |
http://127.0.0.1:8999 |
无 scheme 自动补 http:// |
--pane <ID> |
DINOTTY_PANE_ID |
— | 默认 pane id |
--token <TOKEN> |
DINOTTY_TOKEN |
— | 鉴权 token |
--json |
— | 关 | 输出机器可读 JSON;错误走 stderr |
--ansi |
— | 关 | screen 保留 ANSI 转义 |
-h/--help |
— | — | 加在命令后看子命令帮助 |
-V/--version |
— | — | 版本 |
全局参数可以放在命令前后任意位置。-- 之后的参数不再当选项解析(用于
tabs create -- <argv...>)。
token 解析顺序
--tokenDINOTTY_TOKENGET /api/auto-token(仅回环地址)- 桌面 app 写的 token 文件:macOS
~/Library/Application Support/dinotty/token, Linux~/.local/share/dinotty/token(或$XDG_DATA_HOME),Windows%APPDATA%\dinotty\token - 设置了
DINOTTY_CONFIG_SUFFIX(如-skills)时优先找dinotty<suffix>/token
都没有时请求不带 Authorization;服务端无 token 或回环放行时仍可用。
命令表
| 命令 | 作用 | 需要 Open API |
|---|---|---|
viewer open <file> |
在主界面文件查看器打开文件(工作区外自动 staging) | 否 |
sessions list |
列出终端 session | 是 |
screen [pane_id] |
打印 pane 当前屏幕 | 是 |
input send <pane_id> <text> |
向 pane 写入文本 | 是 |
tabs list |
列出 tab(id/pane/title/cwd) | 否 |
tabs create [--cwd --title --env] [-- argv...] |
新建 tab | 否 |
tabs close <tab_id> |
关闭 tab(会结束其中 pane) | 否 |
tabs rename <tab_id> <title> |
重命名 tab | 否 |
tabs split <tab_id> --direction h|v |
分屏 | 否 |
tabs activate <tab_id> [pane_id] |
激活 tab/pane | 否 |
workspace list [path] |
列出工作区目录 | 否 |
workspace read <path> |
输出文件原始字节 | 否 |
workspace write <path> - |
从 stdin 写文件 | 否 |
workspace git status |
工作区 git 改动概览 | 否 |
workspace git diff <path> |
单文件 HEAD/工作区内容 | 否 |
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 · 112 lines · 93 tokens per session scan A a64a30bf15a1
dinotty-cli is a skill published in the GitHub repository xichan96/dinotty (741 stars, last pushed today), licensed MIT. It adds 93 tokens to every session and 1,570 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-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dinotty-clixichan96/dinotty | Skill | 741 | today | MIT | A | 93 | 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 |