Uniflo — AI skill for Claude Code
Unified live view of every local AI agent harness session: one daemon, one schema, one gateway (REST/SSE/NDJSON/WS).
How to install Uniflo
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Crosery/uniflo and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Uniflo does
Unified live view of every local AI agent harness session: one daemon, one schema, one gateway (REST/SSE/NDJSON/WS).
Alternatives in AI
- Image Use — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 373 ★
- ChatGPT Imagegen — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 333 ★
- Mnemos — Production-grade memory operating system for agentic AI 31 ★
README
Uniflo

[](https://crates.io/crates/uniflo) [](https://crosery.github.io/uniflo/) [](LICENSE)
本机常驻的守护进程:持续读取 Claude Code、Codex、Gemini CLI、OpenCode、omp 等 33 个 AI coding agent 的会话,实时归一成一套格式,经本地网关(REST / SSE / NDJSON / WebSocket)推给你的应用、网页和 agent。默认只读,只监听本机。
[开发者站](https://crosery.github.io/uniflo/) · [快速开始](#快速开始) · [网页控制台](docs/console.md) · [网关 API](docs/api.md) · [Rust SDK](docs/sdk.md) · [Agent 接入](docs/agents.md) · [llms.txt](https://crosery.github.io/uniflo/llms.txt)
[0.2.8 发布说明](docs/releases/v0.2.8.md):修复历史分页的工具结果跨页配对错误,「到最顶」直接打开会话开头。

为什么
每个 agent harness 都把会话存成自己的格式:JSONL、整份 JSON、SQLite,字段、回合标记、子代理布局各不相同。想做一个"看所有 agent 在干什么"的面板,就得写 N 套解析、处理流式改写、自己判断谁在工作。Uniflo 只做这一层:
- 统一格式:
Session+Event(user_message/assistant_message/reasoning/tool_call/tool_result/turn_start/turn_end/usage/system),一套解析对接全部 harness。见 `docs/schema.md`。 - 两态:每个会话只有
work和idle,规则统一,结合进程存活与超时。 - 实时:文件追加到客户端收到事件通常在 10–50 ms;SSE、NDJSON、WebSocket 三种传输,带全局
seq断线续传。 - 毫秒级查询:头尾摘要 + 游标跟随 + 索引缓存;本机 5600+ 会话、1.8 GB 数据,有缓存时启动约 0.2 s,REST 请求个位数毫秒。
- fd / fzf 式搜索:
s:work h:claude in:uniflo since:2h 'gateway。见 `docs/search.md`。 - 全文检索:按中文词或代码子串查所有会话的正文、思考、工具参数与输出,命中直达事件上下文:
uniflo grep 缓存击穿、/v1/search。索引在后台构建;近 7 天的会话放热层,更早的压缩成 zstd 块,结果无损,本机实测 6.1 GB → 1.9 GB。见 `docs/search.md#全文检索`、ADR-0011。 - 用量与费用:每次模型调用的 token 统一口径(input 不含缓存、output 含思考),按 harness / 模型 / 项目 / 目录 / 日期 / 会话聚合,按事件时间的价格段计算 API 等价成本;未知模型单独计数,不按 0 计。见 `docs/api.md`、ADR-0010。
- agent 也能用:stdio MCP 服务器 `unifl
Related Skills
Agent Board
Local-first Kanban for delegating and tracking tasks given to AI agents — Next.js + Prisma/SQLite, REST + SSE,
Overrail
Local LLM gateway that stitches severed SSE streams mid-generation, tool calls included. Zero deps, keys stay
Edu
Edu — installable, LLM-agnostic agentic harness: a self-improving second brain, an orchestrator with identity,
Firetv Agent Monitor
Your AI coding agents on a Fire TV: Claude Code, Codex, Muse Code and GoodVibes sessions with live status, act
Typed Agent Service
Typed AI agent service (TypeScript): Zod 4 tool schemas as the single source of truth (runtime validation, inf
Hub Cc
Local control plane for Claude Code on Windows and macOS: switch LLM gateways in one click behind a fixed endp
Related Agents
Retro Reviewer
Reviews one prior session through ax's normalized cross-harness Turn view and emits a structured retro (tried
API Exploratory Tester
Performs spec-aware, contract-aware session-based exploratory testing of a live API — REST or GraphQL — given
Orra
Orra — standing AI orchestrator for multi-worktree development. Rides on the Claude Code Agents View. Scans wo