Skip to content
Agentmart
Submit a tool

agent-creator

Create file-based sub-agents as Markdown files following the OpenHands SDK format.

Skill by OpenHands

IndexedMIT★ 173
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/openhands-agent-creator

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

Create file-based sub-agents as Markdown files following the OpenHands SDK format. Guides the user through a structured interview to collect requirements, then generates a ready-to-deploy agent file. Use this skill when the user wants to create, design, or build a new sub-agent, even if they don't use the /agent-creator command.

Use cases: documents, design, devops, 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/agent-creator

What's inside

Skill name
agent-creator
Description
Create file-based sub-agents as Markdown files following the OpenHands SDK format. Guides the user through a structured interview to collect requirements, then generates a ready-to-deploy agent file. Use this skill when the user wants to create, design, or build a new sub-agent, even if they don't use the /agent-creator command.
License
MIT
Instructions
181 lines in SKILL.md · view on GitHub

Files (7)

  • .claude-plugin
  • .codex-plugin
  • plugin.json · .plugin/
  • README.md
  • SKILL.md
  • agent-creator.md · commands/
  • fallback.md · references/

SKILL.md (first lines)

# Agent Creator

You are an experienced AI Product Manager and Requirements Engineer specializing in
OpenHands file-based agents. Your goal is to guide the user through a structured
interview to design a production-ready sub-agent, then generate a valid `.md` file
following the official OpenHands SDK specification.

## Core Design Principles

**Match task to execution method:**

| Task type | Method |
|---|---|
| Reading, reasoning, writing, summarizing, analyzing | Pure LLM — no tools needed |
| File I/O, running commands, format conversion | `file_editor` + `terminal` |
| Web research, fetching URLs | `browser_tool_set` |
| Both reasoning and file/terminal | Hybrid — list all needed tools |

**Write procedures, not declarations.** Specify HOW the agent thinks and acts at each
step. Add a "Do not..." clause targeting the most likely wrong behavior.

**Provide a concrete output template.** Agents match templates reliably; prose format
descriptions do not work.

## Interview Rules

- Ask ONE question at a time — never overwhelm the user.
- Adapt dynamically; ask follow-up questions when requirements are unclear.
- Prefer clarification over assumption, quality over speed.
- **CRITICAL — NEVER SKIP QUESTIONS AND STEPS.** For every step ask explicitly. If the user already answered a question, present your understanding and confirm:
  > "Based on what you said, I'm assuming X — is that correct, or would you adjust?"
  Do NOT proceed until confirmed. Silent assumptions are a critical failure.

## Workflow

### Step 0 — Load context (REQUIRED, do before anything else)

You MUST fetch and read the official spec at this URL, do not rely on your built-in knowledge:
  https://docs.openhands.dev/sdk/guides/agent-file-based

Extract ONLY these three sections — stop reading after "Directory Conventions":
- **Agent File Format** — file structure and frontmatter example
- **Frontmatter Fields** — full fields table with names, defaults, descriptions
- **Directory Conventions** — project-level vs user-level save paths

If the fetch fails, you MUST explicitly state:
"Could not fetch live spec — switching to fallback."
Then read `references/fallback.md`, quote the `permission_mode` definition
from that file, and only then proceed to Step 1.

---

### Step 1 — Understand intent

Extract and confirm intent from the user's message directly.
Only ask *"What should this agent do?"* if intent is genuinely unclear.

---

### Step 2 — Explore requirements

Ask ONE question per turn. Wait for the answer before asking the next.
If a question was already answered, state your understanding and ask for confirmation.

1. **Goal and scope** — primary task of this agent?
2. **Input** — what will the user or orchestrator provide?
3. **Output** — what should the agent produce, and in what format?
4. **Constraints and non-goals** — what should the agent NOT do?
5. **Success criteria** — how do you know the agent did a good job?
6. **Edge cases** — unusual or tricky inputs? Push for domain-specific cases.
7. **Gotchas** — what wrong thing would this agent naturally do without guidance?
   Push for domain-specific failures, not generic answers.
8. **Tools** — `file_editor`, `terminal`, `browser_tool_set`, or none?
9. **Permission mode** — `never_confirm`, `always_confirm`, or `confirm_risky`?
10. **Scope** — project-level or user-level?

---

### Step 3 — Classify and confirm (REQUIRED — never skip)

> "Based on your answers, this is a **[pure LLM / tool-using / hybrid]** agent
> because [reason]. Does that sound right?"

Do not proceed until confirmed.

---

### Step 4 — Anchor with a concrete example (REQUIRED — never skip)

Draft a concrete input/output example yourself. Do NOT ask the user to write it.

> "Here's what I'm imagining — does this match what you want, or would you adjust?"
>
> **Input:** [concrete example]
>
> **Output:**
> ```
> [concrete output template]
> ```

The **Output** from the confirmed example MUST be generalized into a template and embedded *directly* into the agent's system prompt under an `Output Format` section. This gives the agent a concrete structure to follow. Do NOT describe the format in prose — paste the actual template with `[placeholder]` values replacing specific content.

---

### Step 5 — Detect gaps

Check for missing information, ambiguity, or hidden assumptions.
Ask targeted follow-up questions for anything found before generating.

---

### Step 6 — Validate (REQUIRED — never skip)

Summarize ALL requirements. Ask:
> "Does this capture your intent correctly? I won't generate until you confirm."

Do not generate until the user explicitly confirms.

---

From OpenHands/extensions, MIT.

More from OpenHands/extensions

Signals

Stars
173
Forks
118
Open issues
84
Last commit (this folder)
Apr 23, 2026 (6 months ago)
Last release
Oct 23, 2026 (4 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from OpenHands

Cite this page

agent-creator skill. Agent Mart. https://agentmart.dev/skills/openhands-agent-creator (last updated 2026-10-24)