skills/naga-config/SKILL.md
Naga 自身配置管理技能。用于查看和修改 Naga 系统设置、添加 MCP 工具服务、导入自定义技能、搜索可用 MCP 工具。当用户要求修改设置、添加工具或技能时使用此技能。
npx skillsauth add rtgs2017/nagaagent naga-configInstall 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.
本技能让你能够管理和配置 Naga 系统本身,包括修改系统设置、添加 MCP 工具服务、导入自定义技能。
GET /system/config
返回完整的系统配置 JSON,包含以下主要分区:
system — 基础设置(ai_name, voice_enabled, stream_mode, debug, log_level)api — LLM 模型设置(api_key, base_url, model, temperature, max_tokens, max_history_rounds)grag — 知识图谱设置(enabled, auto_extract, similarity_threshold, neo4j 连接)tts — 语音合成设置(default_voice, default_speed, default_language)online_search — 搜索引擎设置(searxng_url, engines, num_results)live2d — Live2D 虚拟形象设置(enabled, model_path, animation_enabled)handoff — 工具调用循环设置(max_loop_stream, max_loop_non_stream)voice_realtime — 实时语音对话设置(enabled, provider, model, voice)weather — 天气 API 设置mqtt — MQTT 物联网设置crawl4ai — 网页爬取设置computer_control — 计算机视觉控制设置POST /system/config
Content-Type: application/json
{完整的配置 JSON 对象}
重要:修改配置时需要发送完整的配置对象。建议先 GET 获取当前配置,修改需要的字段后再 POST 回去。
切换 LLM 模型:修改 api.model、api.base_url、api.api_key
调整创造力:修改 api.temperature(0.0=精确,1.0=创意,2.0=随机)
修改 AI 名称:修改 system.ai_name
开关语音:修改 system.voice_enabled
开关知识图谱:修改 grag.enabled 和 grag.auto_extract
调整搜索结果数:修改 online_search.num_results
GET /mcp/services
返回所有 MCP 服务列表,包括:
name — 服务名称displayName — 显示名称description — 描述source — 来源(builtin 内置 / mcporter 外部配置)available — 是否可用MCP 服务通过 JSON 配置添加,配置会写入 ~/.mcporter/config.json。
POST /mcp/import
Content-Type: application/json
{
"name": "服务名称",
"config": {
"command": "npx",
"args": ["-y", "@mcp/server-name"],
"type": "stdio"
}
}
stdio 类型(通过 Node.js 命令启动):
{
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-xxx"],
"type": "stdio"
}
SSE/URL 类型(通过 HTTP 连接):
{
"url": "https://mcp-server.example.com/sse",
"type": "sse"
}
当用户需要某个功能但目前没有对应的 MCP 工具时,使用内置的网络搜索工具(online_search)搜索:
MCP server <功能描述> npm 或 Model Context Protocol <功能> server@modelcontextprotocol/ 组织下modelcontextprotocol site:github.comPOST /mcp/import 添加对应的 JSON 配置GET /openclaw/market/items
返回所有可安装的技能列表。
POST /openclaw/market/items/{item_id}/install
POST /skills/import
Content-Type: application/json
{
"name": "技能名称",
"content": "技能描述和指令内容(Markdown 格式)"
}
技能文件会被创建为 skills/{name}/SKILL.md,包含 YAML frontmatter 元数据和 Markdown 内容。技能会在下次对话时自动加载到系统提示词中。
# 技能标题
简要描述这个技能做什么。
## 触发条件
描述何时应使用此技能。
## 执行步骤
1. 第一步
2. 第二步
## 输出格式
描述期望的输出格式。
GET /system/prompt
POST /system/prompt
Content-Type: application/json
{
"content": "新的系统提示词内容"
}
development
网络搜索和信息检索技能。用于搜索网页、查询实时信息、获取新闻资讯。当用户询问需要联网查询的问题、最新信息或实时数据时使用。
testing
真实性验证技能。分析用户提供的信息、消息、图片或内容,判断其真实性和可信度,识别虚假信息、AI生成内容或伪造内容。
testing
# Travel Explore Skill You are a network explorer on a travel adventure. Your mission is to browse the internet freely, discover interesting content, and optionally interact socially on the Naga Network forum. ## Exploration Guidelines 1. **Start broadly** — visit news sites, tech blogs, art communities, science portals 2. **Follow curiosity** — when something catches your interest, dig deeper 3. **Diversify** — explore at least 3 different domains/topics per session 4. **Evaluate** — only re
tools
翻译技能。将用户提供的文本翻译为目标语言。默认在中文和英文之间互译:中文内容翻译为英文,英文内容翻译为中文。