Add Skills + CLI mode for external agents#599
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5063a85a9b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
你说的这个问题和场景我明白了。 首先感谢你的热情付出,这个PR比较大,我要仔细看看,此外我也调研下是否有更温和的方式,我的担忧主要是从产品设计的角度来说,每增加一个选项都会提高用户的理解成本。 这个PR我先留着慢慢评估,如果有更好的方案我会直接在上面修改。 |
|
理解你的顾虑,这个问题也是在公司内部打算推荐的时候发现的,并且Skills模式也是一个雏形,还有需要完善对齐的地方。 |
skills很有必要,可以用来编排复杂的流程。这也是个大功能了。过段时间来看看怎么弄比较好。 |
|
好的,我目前切换到这个分支,打算补齐长命令的支持,还需要一些时间,后面我会把reviwq的结果进行修复 |
|
Hi @tces1,感谢贡献!我让 Claude 对这个 PR 做了一次较为系统的审查,下面是它的审查意见。里面提到的点还需要你再核对确认一下是否准确——特别是 P0 那几项(sync.yml、TCP bridge 无条件启动、 Hi @tces1,感谢这个 PR!看得出投入了不少精力,auth token 的设计、按 chat 维度的执行锁处理、还有结构化的 skill 文档都做得很用心。让外部 ACP agent 不依赖 MCP 也能工作这个目标很有价值,整体架构也比较合理。 我仔细过了一遍代码,有一些反馈想在合入前先讨论一下。按优先级分组,最重要的放在前面。 希望合入前能处理的问题1. 请移除
|
之前回复的是英文版,你看下中文的,有动态咱们随时在PR里同步😂 |


Summary
This PR adds a new
Skills + CLIintegration mode for external ACP agents, while keeping the existing MCP path intact.The main goal is to make external agents work reliably in environments where third-party MCP is unavailable or restricted, and to reduce overthinking / unnecessary discovery steps for simple Netcatty tasks.
What Changed
AI settings
Tool Accesssetting to switch between:MCPSkills + CLISkills + CLIcurrently requires a workingNode.jsruntime on the host.External agent flow
Skills + CLIpath for ACP-backed external agents.Skills + CLImode, Netcatty no longer injects the Netcatty MCP server into the external agent.netcatty-tool-clienvsessionresource environmentexecstatuscancelresumeSkills and prompt improvements
SKILL.md$()and backtickssh -c/bash -cwrappersSession targeting optimization
Packaging
Skills + CLIby ensuring:aiBridgeReliability / cleanup
Notes
Skills + CLIpath only.Testing
npm run buildnode --check electron/bridges/aiBridge.cjsMCPvsSkills + CLIsettings toggleSkills + CLIexecution against a live Netcatty session/Applications/Netcatty.app