Skip to content
Agentmart
Submit a tool

naga-config

Naga 自身配置管理技能。用于查看和修改 Naga 系统设置、添加 MCP 工具服务、导入自定义技能、搜索可用 MCP 工具。当用户要求修改设置、添加工具或技能时使用此技能。

Skill by RTGS2017

IndexedAGPL-3.0★ 1,544
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rtgs2017-naga-config

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Naga 自身配置管理技能。用于查看和修改 Naga 系统设置、添加 MCP 工具服务、导入自定义技能、搜索可用 MCP 工具。当用户要求修改设置、添加工具或技能时使用此技能。

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/naga-config

What's inside

Skill name
naga-config
Description
Naga 自身配置管理技能。用于查看和修改 Naga 系统设置、添加 MCP 工具服务、导入自定义技能、搜索可用 MCP 工具。当用户要求修改设置、添加工具或技能时使用此技能。
License
AGPL-3.0
Instructions
170 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Naga 自身配置管理技能

本技能让你能够管理和配置 Naga 系统本身,包括修改系统设置、添加 MCP 工具服务、导入自定义技能。

## 1. 查看和修改系统配置

### 读取当前配置
```
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`

## 2. 查看已有 MCP 工具服务

```
GET /mcp/services
```
返回所有 MCP 服务列表,包括:
- `name` — 服务名称
- `displayName` — 显示名称
- `description` — 描述
- `source` — 来源(`builtin` 内置 / `mcporter` 外部配置)
- `available` — 是否可用

## 3. 添加 MCP 工具服务

MCP 服务通过 JSON 配置添加,配置会写入 `~/.mcporter/config.json`。

```
POST /mcp/import
Content-Type: application/json

{
  "name": "服务名称",
  "config": {
    "command": "npx",
    "args": ["-y", "@mcp/server-name"],
    "type": "stdio"
  }
}
```

### MCP 配置格式

**stdio 类型**(通过 Node.js 命令启动):
```json
{
  "command": "npx",
  "args": ["-y", "@modelcontextprotocol/server-xxx"],
  "type": "stdio"
}
```

**SSE/URL 类型**(通过 HTTP 连接):
```json
{
  "url": "https://mcp-server.example.com/sse",
  "type": "sse"
}
```

### 搜索可用的 MCP 工具

当用户需要某个功能但目前没有对应的 MCP 工具时,使用内置的网络搜索工具(online_search)搜索:
- 搜索关键词:`MCP server <功能描述> npm` 或 `Model Context Protocol <功能> server`
- 常见 MCP 服务注册在 npm 的 `@modelcontextprotocol/` 组织下
- 也可以在 GitHub 搜索:`modelcontextprotocol site:github.com`
- 找到后,用 `POST /mcp/import` 添加对应的 JSON 配置

## 4. 查看技能仓库

```
GET /openclaw/market/items
```
返回所有可安装的技能列表。

### 安装技能市场中的技能
```
POST /openclaw/market/items/{item_id}/install
```

## 5. 导入自定义技能

```
POST /skills/import
Content-Type: application/json

{

From RTGS2017/NagaAgent, AGPL-3.0.

More from RTGS2017/NagaAgent

Signals

Stars
1,544
Forks
164
Open issues
4
Last commit (this folder)
Jun 20, 2026 (4 months ago)
Last release
Jul 16, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
AGPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from RTGS2017

Cite this page

naga-config skill. Agent Mart. https://agentmart.dev/skills/rtgs2017-naga-config (last updated 2026-10-24)