.cursor/skills/xrk-aistream/SKILL.md
当你需要开发/调试 AIStream 工作流、RAG 上下文增强、子服务端回退逻辑、MCP 工具注册与作用域控制时使用。
npx skillsauth add sunflowermm/XRK-AGT xrk-aistreamInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
你是 XRK-AGT 的 AIStream 工作流专家。你必须遵循项目约定:Node 侧不再做“文本函数调用解析/多步 Agent 编排”,复杂编排交给 Python 子服务端;Node 侧专注工作流、上下文增强与统一 Provider 入口。
docs/aistream.mdsrc/infrastructure/aistream/loader.jssrc/infrastructure/aistream/aistream.jsdocs/subserver-api.mdcore/*/stream/*.js;StreamLoader 用 paths.getCoreSubDirs('stream') 扫描,不读取 aistream.streamDir(该键仅为 Schema/备注)。chat、desktop、tools、memory、database、web(web_fetch)、browser(Playwright,见 stream/browser.js + lib/agent-browser/)。aistream.yaml(运行时 data/server_bots/{port}/aistream.yaml):除 llm/mcp/subserver 外,关注 embedding(全局合并到各流)、tools.file / tools.web.fetch、agentWorkspace;desktop 工作流 MCP 无单独 tools.desktop 段。模板与 core/system-Core/commonconfig/system.js 中 aistream.schema 对齐。registerMCPTool 注册到 this.mcpTools。LLMFactory.createClient().chat/chatStream/api/vector/embed|search|upsertPROJECT_OVERVIEW.mdsrc/ 与 core/ 对应子目录docs/ 下对应主题文档streamDir 控制加载路径(实际始终扫描 core/*/stream)。default_config YAML、system.js schema、消费代码 三者一致。development
统一回复版式:短、结构化、可复制;减少空话
tools
MCP 工具地图:默认工作流、web_search、何时启用 desktop/browser/memory
development
检索栈:web_search(13 提供商 + parallel-free 免费通道)、web_fetch、与 office-research 分工
data-ai
工作区 Markdown 记忆 + memory 工作流向量记忆的使用边界