agentleFS
sunflowermmsunflowermm/XRK-AGT/.cursor/skills/xrk-llm/SKILL.md

xrk-llm

Skill140 starsChanged 8 months agoMITView on GitHub

当你需要配置/新增/排查 LLM 提供商(OpenAI/Azure/Gemini/Anthropic/Ollama/各类兼容网关)时使用;确保 YAML/Schema/代码一致。

The file

Files
SKILL.md

读者:Coding Agent(工厂与配置三同步)。办事助手勿读本文件。

入口

docs/factory.md、src/factory/llm/LLMFactory.js、core/system-Core/http/ai.js、docs/harness-module-loop.md

外仓吸收三准则(必须同时满足)

  1. 本项目没有(无等价能力,不是「差一点」)
  2. 本产品有必要(QQ/多通道 AgentRuntime 真刚需,不是酷炫)
  3. 对方做得明显更好(可移植且更稳/更对)

不满足则不学、不融。

出站 / tool 环

slash/recipe → messages → contextWindow trim → harness continueTurn(MCP)
无 MCP 的 /v1 · 流式单次 → LLMFactory chat/chatStream(不执行工具)

并行:policies + security.toolScan(approval 默认关)+ SystemContext 指纹。

群聊入口:plugin/ai.js → ChatStream.process({ mergeWorkflows });见 docs/agent-context.md。

已吸收(过三准则)

能力来源落点
Agent loop / session 压缩XRK-Harness@xrkseek/harness · harness-module-loop
Policy + 威胁扫描 + 可选审批opencode/gooseruntime-policy · security.*
Recipe / slashgooserecipes/ · slash-commands
apply_edit / verify / PageRank mapaidertools MCP
triggers microagentsOpenHandstrigger-microagents
aux / variants / reasoning budget / 重试goose/cline/opencode既有 LLM 工厂(单次补全)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.