360 Secure SkillHub
360 安全技能中心

Get Agent Prompt

该 Skill 说明如何经由 mcporter 路由调用名为 get-agent-prompt 的 MCP 服务器,列出其工具并传入键值参数,以获取预设的 Agent 系统提示词和角色配置;文中给出配置文件位置、查询命令和连接失败时的重试提示,但未列出具体工具清单与参数格式。

分类:知识
2020必胜
2020必胜
热度 0.00
最近更新 2026-04-02 21:48:55

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add 3127743018/get-agent-prompt
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
get-agent-prompt
description
获取 Agent 提示词工具,支持获取预设的 Agent 系统提示词和角色设定。当用户需要获取特定 Agent 的提示词、查询 Agent 配置、获取角色扮演提示词时使用此 skill。触发关键词:Agent提示词、系统提示词、获取提示词、Agent配置、角色提示词。
compatibility
[{"server":"get-agent-prompt","tools":[]}]

get-agent-prompt — Agent 提示词获取

纳米AI Agent 提示词服务,提供预设的 Agent 系统提示词和角色配置获取能力。


MCP Access: Use mcporter

你必须通过 mcporter skill 来操作 MCP,完成本 skill 的所有提示词获取任务。 不得直接调用 MCP 工具;所有 MCP 操作都必须经由 mcporter 路由。

  • 配置:全局 MCP 配置文件位于 ~/.openclaw/workspace/config/mcporter.json。在使用 mcporter 之前,你必须读取该文件,并仅使用本 skill 声明的 MCP 服务器/工具对应的配置(服务器名:get-agent-prompt)。不得使用配置文件中其他 MCP;只能使用本 skill 明确声明的那些。
  • 列出服务器/工具:mcporter list get-agent-prompt --schema 查看工具详情。
  • 调用工具:mcporter call get-agent-prompt.<tool> key=value
  • 本 skill 的工具列表定义了可用的 MCP 服务器/工具;请仅通过 mcporter 调用它们,并使用全局配置文件中对应的配置项。

使用方式

首先通过 mcporter 查询可用工具:

mcporter list get-agent-prompt --schema

然后根据返回的工具列表调用相应工具:

mcporter call get-agent-prompt.<tool_name> key=value

注意事项

  • 调用工具前,请先读取 ~/.openclaw/workspace/config/mcporter.json,仅使用 get-agent-prompt 的配置
  • 如连接失败(HTTP 502),服务可能暂时不可用,请稍后重试
  • 使用前建议先执行 mcporter list get-agent-prompt --schema 确认服务状态和可用工具