plugins/khuym/skills/agent-creator/SKILL.md
Use when the user asks to create a persistent repo-local Codex agent, scaffold `.codex/agents/*.toml`, define a reusable specialist role, or match an agent to existing local skills and MCP servers.
npx skillsauth add hoangnb24/skills agent-creatorInstall 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 when the user wants a new reusable agent added to the current repository, not just a one-off spawned subagent for the current turn.
Create repo-local agent definitions under .codex/agents that match the patterns already used in the target codebase.
Before you write or patch an agent definition, you MUST check the current repo for:
.codex/agentsDo not invent a skill path or MCP server name from memory when the repo can prove what exists. If no existing skill or MCP server is a strong fit, leave that block out.
.codex/agents/<slug>.toml.name inside the file.name, description, model, model_reasoning_effort, sandbox_mode, and developer_instructions.nickname_candidates when the role is collaborative or likely to be spawned often.[[skills.config]] only when the agent has a repeatable workflow that should load a repo-local skill automatically.[mcp_servers.*] blocks only when the role truly depends on an MCP server.gpt-5.4-mini with medium reasoning for focused specialists.gpt-5.4 when judgment quality matters more than speed, such as reviews or research-heavy roles.read-only for QA, exploration, docs, and review agents.workspace-write only for builder or repair agents that are expected to edit files.developer_instructions short, imperative, and role-specific.Check these surfaces in order:
.codex/agents/*.toml
Copy the style of the nearest existing agent, especially naming, reasoning level, sandbox choice, and whether the repo prefers nickname candidates..codex/skills/*/SKILL.md first in app repos.
In plugin repos, check the canonical skill source tree for the repo.
Add [[skills.config]] only when the skill is already present and is the clearest repeatable fit for the user's request..codex/config.toml, repo plugin manifests such as .mcp.json, and any existing agent TOML files that already use MCP blocks.
Add [mcp_servers.*] only when the requested agent truly depends on that server for its normal path.Map user intent to concrete repo assets:
.codex/agents and copy its style.scripts/init_agent.mjs.Use the real TOML block shapes that existing agents use:
[[skills.config]]
path = ".codex/skills/qa-browser-verify"
enabled = true
[mcp_servers.gkg]
url = "http://localhost:27495/mcp"
[mcp_servers.MCP_DOCKER]
command = "docker"
args = ["mcp", "gateway", "run"]
Rules:
[[skills.config]] block per skill.[mcp_servers.<name>] blocks, not a nested array or inline JSON.url = "..."command = "..." plus args = [...]MCP_DOCKER.env or tool filters unless the repo already proves they belong.Run this from the skill directory:
node scripts/init_agent.mjs \
--repo-root /path/to/repo \
--slug qa-helper \
--name "QA Helper" \
--description "Browser-first QA assistant for lightweight smoke tests." \
--model gpt-5.4-mini \
--reasoning medium \
--sandbox read-only \
--nicknames "QA,Helper" \
--skill-path .codex/skills/qa-browser-verify \
--mcp-server-url gkg=http://localhost:27495/mcp \
--mcp-server-command 'MCP_DOCKER=docker|mcp|gateway|run' \
--instructions "Act as a lightweight QA helper.\nCheck key routes, capture evidence, and avoid code edits unless asked."
.codex/agents/<slug>.toml under the current working directory.--repo-root /path/to/repo when running the script from outside the target repo, such as from this installed skill directory.--skill-path .codex/skills/<skill-name> once per matched skill to add enabled [[skills.config]] blocks.--mcp-server-url name=http://host/mcp for HTTP MCP servers.--mcp-server-command 'NAME=command|arg1|arg2' for stdio MCP servers.--dry-run to print the TOML without writing files.--force is passed.Return the new agent file path, the matched skills and MCP servers you chose, the main behavior choices you encoded, and any assumptions you made while filling in missing details.
tools
Use when the user asks to commit everything, smart commit, group commits, organize staged or unstaged changes, create logical commits, push current work, or preserve a clean commit stack from an existing working tree.
development
Use when starting or resuming any Khuym project session, choosing the next Khuym skill, running go mode, checking onboarding/scout state, or enforcing workflow gates. Bootstrap meta-skill for routing across the Khuym agentic development ecosystem.
development
Use when the user wants to turn a rough idea, vague task, feature wish, bug-fix intent, or Codex /goal objective into a clear verifiable goal prompt. Use when the user mentions goal mode, /goal, set_goal, long-running autonomous Codex work, or asks to be interviewed/grilled before creating a goal.
tools
Use when Codex should turn a concept, topic, tutorial, lesson, algorithm, system, workflow, or abstract idea into a playable browser game that teaches through interaction. Use for planning or implementing educational web games with the Game Studio plugin, including concept-to-mechanic translation, gameplay loop design, learning progression, and browser-game QA.