with one click
gscore-ai-core-api
当用户要求"AI Core 给插件提供了哪些 API"、"@ai_tools 装饰器怎么用"、 "category='self'/'buildin'/'common'/'media'/'default' 有什么区别"、 "怎么把已有触发器改造成 AI 工具 to_ai / MockBot / ai_return 怎么用"、 "create_agent 怎么创建临时 Agent"、"ai_entity / ai_alias / ai_image 怎么注册"、 "Persona / Memory / Scheduled Task / MCP / 嵌入 Provider 怎么调"、 "ToolContext / ToolBase / KnowledgePoint / ImageEntity 是什么类型"、 "buildin 都有哪些内置工具"、"get_registered_tools / get_all_tools 怎么查"、 "send_meme / collect_meme / understand_image / web_search 怎么用"时触发此 SKILL。 对所有「插件作者要对接 AI Core 提供的 API」的任务都应优先读取此 SKILL。 GsCore(早柚核心 / gsuid-core)`gsuid_core/ai_core/` 模块的完整 API 速查手册。 涵盖:模块导入速查(完整 import 块)、@ai_tools 装饰器签名与四种函数模式、 工具分类系统(self/buildin/common/media/default/mcp 五类 + 保底池架构图)、 触发器→AI 工具桥接(to_ai / MockBot / ai_return / send_message_by_ai 资源ID 机制)、 create_agent 临时 Agent 与 GsCoreAIAgent.run() 全部参数、知识库注册(ai_entity / add_manual_knowledge 手动知识管理)、别名注册(含 C2 scope 变更)、 图片实体注册(ai_image)、内置工具大全(self/buildin/common/media/default 几十个 工具签名 + Kanban 任务编排 + Capability Agent 能力代理)、Persona 角色系统、 Memory 记忆
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.