opencues/opencues 预览 preview

opencues/opencues

将任何文本字段变成双向LLM通道:它读取你输入的内容,并填充你所请求的信息。边打字边标记错误,并以_结尾回答任何问题。支持Claude Code、OpenCode、Gemini CLI、shell、Chrome、DeepSeek Harness。模型无关,开放标准,无需聊天窗口。

Project Overview项目介绍

OpenCues is an open-source, platform- and model-agnostic inline AI framework that turns any standard text input field into a two-way LLM interaction channel. It supports automatic inline suggestions that fix typos or refine existing text as you type, without requiring you to switch to a separate chat window. It also offers on-demand text completion: end a line with an underscore, and the LLM will fill in the rest of your thought directly inline. It natively integrates with multiple AI agent tools including Claude Code, OpenCode, Gemini CLI, your shell, Chrome, and DeepSeek Harness (DSH).

Unlike most AI agent tools that require a dedicated chat interface for interactions, OpenCues keeps all your work in the text buffer you are already editing. Every AI-generated output is inserted directly into your working document, so you can review, edit, or reject any change before you submit your final text. This design eliminates context switching and copy-pasting between a chat window and your working file. It is built for developers and creators who want lightweight AI assistance embedded directly into their existing workflow.

OpenCues is released under the permissive Apache 2.0 open source license, with no associated cost or mandatory binding to a specific LLM provider. It includes a robust multi-layer security model that has closed off 23 out of 27 tracked attack classes, with protections including sandbox isolation for third-party code, capability access gates, resource quotas, and output sanitization. Users can run the built-in opencues review command to scan untrusted OpenCues extension packs before installing them. The project welcomes community contributions for new integrations and features.

OpenCues 是一个与模型和平台无关的内嵌AI开发框架,能够将任意文本输入框转换为双向大语言模型交互通道,它可以自动检测输入文本中的问题并提供修复建议,也支持用户在行末输入下划线来触发按需补全。它原生支持 Claude Code、OpenCode、Gemini CLI、Shell 和 Chrome,同时也可以集成到 DSH 中使用。

OpenCues 不需要独立的AI聊天窗口,所有AI输出都会直接插入到用户当前正在编辑的文本缓冲区中,用户可以在最终提交内容前随时审查、修改AI生成的输出,完全避免了跨窗口复制粘贴和工作流上下文切换。它适合希望在现有工作流中嵌入轻量AI辅助,不想切换到专门AI聊天界面的开发者与普通创作者。

OpenCues 采用 Apache 2.0 开源协议,内置多层安全防护机制,包括第三方代码沙箱隔离、能力访问门控、资源调用配额和输出内容净化,目前已经封堵了23类可追踪攻击,用户还可以通过内置命令检查不信任的扩展包。它完全开源免费,不强制绑定任何特定的大模型提供商。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
  • Not DSH-native: a multi-platform tool that may require Node / Electron or another runtime first非 DSH 原生,是多平台兼容工具:可能要先装 Node / Electron 等运行时
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:opencues/opencues

把 opencues/opencues 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

OpenCues



OpenCues



Associations:Mod of r/ClaudeAIOpenSourceIRLAnthropic AmbassadorCerebras Ambassador




Turn any text field into a two-way LLM channel. It reads what you write and fills what you ask: catching a slip as you type, or answering the moment you end a line with _. A drop-in for Claude Code, OpenCode, Gemini CLI, your shell, and Chrome. Model-agnostic, output you review before it sends, an open standard with no chat window.

The model comes to your cursor, both ways. Cues react to what you've already written and surface a fix or a sharper line inline, unprompted. Blanks act on demand: end a line with _ and the model fills in the rest. No chat window, no copy-paste, no context switch.

One prompt improved, rewritten as a senior engineer would, grown with a security paragraph, translated to Japanese - then an ffmpeg command answered on a fresh line

OpenCues is platform, model, and provider agnostic, engineered from the ground up to enable native inline AI.

You type You get
i keep having to approve every single git command ↳ 💡 Tired of approving? /permissions allow rules like Bash(git *), or Shift+Tab to auto mode
ok this is a mess, let's start over on the auth stuff ↳ 💡 Starting over? /clear wipes the conversation, CLAUDE.md stays
let's ship it Thursday the 19th ↳ ⚠ the 19th is a Friday
we should probably go ahead and refactor this ↳ we should refactor this
hey can u send me that report when u get a sec make this formal _ Could you please send me that report at your earliest convenience?
hello world translate to japanese _ こんにちは世界
draft an email to my landlord asking for a rent reduction _ (the email, written)
ffmpeg command to convert a video to web-ready mp4 _ ffmpeg -i input.mov -vcodec libx264 -crf 23 -pix_fmt yuv420p -acodec aac output.mp4

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-knowledge 下一个 Next deepseek-harness-desktop →