packages/extension-agent/resources/skills/agent-config-admin/SKILL.md
Use this for agent admin work done through the dedicated `agentcli` tool: inspect or change its own skills, sub-agents, tools, MCP servers, MCP tools, permissions, routing, or sandbox-to-local sync. Also use it when a task needs to create or edit a skill or sub-agent together with config changes, but remember that `agentcli` cannot author those files directly and the agent must load `skill-creator` or `sub-agent-creator` first.
npx skillsauth add chatlunalab/chatluna agent-config-adminInstall 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.
Use this skill for any request that inspects or changes the agent's own admin state. That includes skill enablement, sub-agent permissions, tool routing, MCP config, and syncing sandbox-authored skills or sub-agents back to local storage.
agentcli tool for commands that start with agentcli.agentcli as a dedicated tool that accepts the same CLI syntax.agentcli work with normal shell commands in the same tool call.agentcli --help or agentcli <command> --help when you need the exact command shape.agentcli show ....agentcli preview ....agentcli preview ... commands in the same session append to the same pending preview until agentcli apply last or agentcli cancel pending.agentcli preview set tool <name...> authority <0-5>.agentcli apply last.agentcli cancel pending.agentcli cannot create a skill folder or a sub-agent markdown file by itself.skill-creator first and follow that skill while authoring the files.sub-agent-creator first and follow that skill while authoring the file.agentcli to inspect paths, preview config, and sync sandbox-authored files. Use normal file tools or normal shell commands only for the actual file creation or editing work.local, the sandbox may not already contain the target skills or sub-agents directory. Create the missing directory first before writing files.agentcli sync, agentcli sync skills, or agentcli sync subagents so the files are staged back to the local instance paths.agentcli apply last.agentcli belong to the current instance, not to your own computer environment.local, write directly to those local instance paths.local, write into the sandbox paths shown in the prompt or returned by agentcli show overview, then sync those files back to the local instance paths.builtin:plan for sub-agents when possible.agentcli show subagent <selector> effective or another matching show command.agentcli tool is unavailable, say so instead of inventing results.agentcli show skills
agentcli show subagents
agentcli show tools
agentcli show mcp servers
agentcli show mcp tools
agentcli --help
agentcli show overview
agentcli show skills
agentcli show skill coding-agent
agentcli show subagents
agentcli show subagent builtin:plan effective
agentcli show tools
agentcli show tool bash
agentcli show mcp servers
agentcli show mcp server filesystem
agentcli show mcp tools
agentcli show pending
agentcli sync
agentcli sync skills
agentcli sync subagents
agentcli preview enable skill coding-agent onboard delight
agentcli preview enable skill coding-agent
agentcli preview disable tool bash file_edit file_write --main
agentcli preview disable tool bash --main && agentcli preview disable tool file_edit file_write --main
agentcli preview disable subagent builtin:plan
agentcli preview set subagent builtin:plan builtin:general tools allow file_read glob grep
agentcli preview set subagent builtin:plan tools allow file_read glob grep
agentcli preview set tool bash grep authority 3
agentcli preview set tool bash grep subagents allow builtin:general
agentcli preview set mcp tool filesystem_read filesystem_write enabled false
agentcli preview remove mcp server filesystem browser
agentcli preview save mcp server filesystem json '{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","."]}'
agentcli preview remove mcp server filesystem
agentcli apply last
agentcli cancel pending
agentcli show overview and inspect the exact target with agentcli show ....skill-creator or sub-agent-creator first.local, make sure the sandbox skills or sub-agents directory exists before writing files.agentcli preview ... and append more preview calls if the task needs multiple staged changes.agentcli sync to create a preview for the local write-back.agentcli apply last.agentcli command lines may contain &, &&, |, |&, ||, and ;.| and |& as command separators for multiple agentcli calls on one line. They do not provide stdin piping between agentcli tool commands.<name...> or <selector...>.agentcli preview enable tool and agentcli preview disable tool accept multiple tool names before --main.agentcli preview set tool <name...> authority <0-5> updates required Koishi authority for one or more tools.tools
Use this skill to inspect or change ChatLuna agent admin state — skills, sub-agents, tools, MCP servers, MCP tools, or permission rules. The skill edits a working copy of the agent config inside the sandbox; the user must run `chatluna.agent sync` to write changes back to the host instance.
tools
Create, edit, convert, or audit ChatLuna sub-agent markdown files. Use when adding a new sub-agent, refining a sub-agent prompt, choosing a sub-agent's goal and output contract, restricting tools, skills, MCP, or computer permissions, pinning or omitting a model, setting maxTurns, placing agents under local `data/chatluna/agents`, writing them into a remote sandbox before `agentcli sync`, or converting Claude or OpenCode agent files into ChatLuna-compatible sub-agents.
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
tools
Delegate coding tasks to Codex, Claude Code, or Pi agents via background process. Use when: (1) building/creating new features or apps, (2) reviewing PRs (spawn in temp dir), (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit), reading code (use read tool), thread-bound ACP harness requests in chat (for example spawn/run Codex or Claude Code in a Discord thread; use sessions_spawn with runtime:"acp"), or any work in ~/clawd workspace (never spawn agents here). Claude Code: use --print --permission-mode bypassPermissions (no PTY). Codex/Pi/OpenCode: pty:true required.