agent-creator

Scaffolds Kimi Code expert agents with frontmatter, hooks, and marketplace registration.

1|Updated Jul 29, 2026
One-click install
npx skills add https://github.com/fusengine/kimi-code --skill agent-creator-fusengine
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agent-creator
Source: https://github.com/fusengine/kimi-code/tree/main/plugins/ai-pilot/skills/agent-creator
Command: npx skills add https://github.com/fusengine/kimi-code --skill agent-creator-fusengine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Creating a new expert agent for Kimi Code requires coordinating many pieces: YAML frontmatter with tools and skills, mandatory workflow sections, executable hook scripts, and marketplace.json registration. Missing any one of these means the agent silently fails to load or behaves incorrectly. ## Core Features & Use Cases - Three creation flows: Create a brand-new domain expert, adapt an existing agent to a new stack (e.g., Next.js to React), or update an agent's skills and hooks. - Structured references: Detailed guides for architecture, frontmatter fields, required sections, hook configuration, and marketplace registration, plus copy-paste templates for agent files and bash validation scripts. - Built-in validation workflow: Delegates research to explore-codebase and research-expert agents in parallel, then runs a sniper validation pass against a checklist (English-only content, complete frontmatter, executable hooks, marketplace registration). - Use Case: You need a Laravel expert agent. The skill walks you through copying the template, filling in frontmatter (model, tools, skills like solid-php), writing a validate-php-solid.sh hook script, and registering the plugin in marketplace.json. ## Quick Start Ask the agent to create a new expert agent for your framework, specifying the stack name and the skills it should reference.

Frequently Asked Questions about agent-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new expert agent for Kimi Code?▼

Create an agent markdown file with complete YAML frontmatter (name, description, model, tools, skills, hooks), add the mandatory Agent Workflow section, write executable hook scripts under scripts/, and register the plugin in marketplace.json. Finish by running the sniper validation pass.

How to adapt an existing agent to a different framework stack?▼

Copy a similar agent file, then use sed to replace stack identifiers (for example nextjs to your new stack) throughout the file. Update the skills list, tools, and hook script paths, then register the adapted plugin in marketplace.json.

What frontmatter fields are required for a Kimi Code agent?▼

Required fields are name, description, model (sonnet, opus, or haiku), tools, and skills. Hooks are optional but recommended for PreToolUse validation such as SOLID rule checks on Write and Edit operations.

Why is my agent not loading after creation?▼

The most common cause is missing or incorrect registration in marketplace.json. Verify the plugin entry uses relative paths with ./ prefix, the agent filename matches exactly, all referenced skills are listed, and the local .kimi-plugin/plugin.json is also updated.

Does agent-creator also create the skills an agent references?▼

No, agent-creator only wires the agent frontmatter and workflow around skills that already exist. Use the separate skill-creator skill to create new skills first, then reference them in the agent's skills list.

What hook script requirements exist for agent validation?▼

Hook scripts must be executable (chmod +x), live in the plugin's scripts/ directory, use $KIMI_PLUGIN_ROOT instead of hard-coded paths, and return exit code 0 on success with non-zero to block the tool call.