omnigent-ai/omnigent/build-omnigent
Claude Code and agent skill by omnigent-ai/omnigent
- community
Checking that the SKILL.md file is still in the repository.
Patterns and templates for generating valid Omnigent agent directories. Load when ready to create files.
Install
npx vskill@latest install omnigent-ai/omnigent/build-omnigentSKILL.md
The same SKILL.md was published earlier as omnigent-ai/omnigent/build-omnigent.
Agent Generation
Use these patterns to generate a valid agent directory. Always generate the minimal set of files needed — don't over-engineer.
Every template below has been validated with the same parser/validator that omnigent server uses. If your environment exposes the validate_agent tool (the dedicated agent-authoring environment does), run it after generating files to confirm the spec loads. Load the `omnigent-knowledge` skill if you need the deeper field reference (executor types, os_env, guardrails, sandboxing).
Step 1: Choose a directory name
Use the agent name in kebab-case: my-research-agent/
Step 2: Generate config.yaml
Always include:
spec_version: 1name(lowercase, hyphens OK)description(one sentence)instructions— path to a file (defaultAGENTS.md) or inline text.
(prompt: is an accepted alias; instructions: wins if both are set.)
executor— how the agent runs. See Step 2a.
Include if needed:
tools.builtins— built-in tools. The current set isexport_agent,
search_conversations, web_fetch, web_search. If the list_builtin_tools tool is available, call it for the authoritative live set rather than trusting this list. File sharing needs no entry here: an agent gets sys_files_upload, sys_files_list and sys_files_download by setting tool_groups.files: true; they are off by default.
tools.agents— sub-agents, by thenameeach declares underagents/
(a sub-agent's directory name may differ from its name).
os_env— filesystem/shell access for harness agents (see the
shell-capable template).
interaction.modalities— if the agent handles images or files.guardrails— runtime policy gates (seeomnigent-knowledge).
Step 2a: Choose an executor
executor.type must be one of `claude_sdk`, `agents_sdk`, or `omnigent`. There is no `llm` executor — do not use it.
| Need | executor | |
|---|---|---|
| A fresh, simple LLM agent (default) | claude_sdk (Anthropic) or agents_sdk (OpenAI), in-process | |
| Existing Claude SDK / OpenAI Agents SDK code | claude_sdk / agents_sdk | |
| A CLI/coding harness, shell + file tools, sub-agents | omnigent + a config.harness |
When executor.type: omnigent, `config.harness` is required and must be one of: claude-native (Claude Code, full coding tools), claude-sdk, codex-native, codex, openai-agents, open-responses, pi. (claude is an alias for claude-native.)
Model selection is optional — if omitted, the executor resolves the provider's default model from the configured credentials (e.g. an Anthropic key, a Claude subscription, or a Databricks profile). Pin one only when asked; see omnigent-knowledge for executor.model / auth.
Step 3: Generate AGENTS.md
Write a focused system prompt:
- Identity: "You are a [role] that [does what]."
- Capabilities: what tools/skills are available
- Constraints: what NOT to do
- Style: how to communicate
Keep it under 500 words for a starter agent. The user can expand later.
Step 4: Generate skills (optional)
Only generate skills if the agent has distinct modes of operation. Each skill needs:
The directory name is free-form and need not match the skill's name — the runtime identifies a skill by its frontmatter name and loads its files from whatever directory it sits in.
With YAML frontmatter:
Templates
Minimal agent (simplest — in-process SDK)
config.yaml:
AGENTS.md:
Agent with web search
config.yaml:
Harness agent with shell + filesystem access
Use the omnigent executor with a coding harness when the agent needs to run commands and read/write files. os_env grants OS access; the harness exposes sys_os_read / sys_os_write / sys_os_edit / sys_os_shell.
config.yaml:
Agent with MCP server integration
Directory structure:
config.yaml:
tools/mcp/github.yaml:
Multi-agent system with sub-agents
The parent needs the omnigent executor — that's what provides the spawn tools. Each sub-agent is a full agent and may use any executor.
Directory structure:
Directory names are free-form. A sub-agent's identity is the name in its own config.yaml, and that is what the parent lists in tools.agents — {sub_agent_1_dir} and {sub_agent_1} may differ.
Parent config.yaml:
Sub-agent config (agents/{sub_agent_1_dir}/config.yaml):
Parent AGENTS.md should reference sub-agents:
Environment variable naming conventions
When pinning credentials with ${ENV_VAR}, map providers to their standard env var names:
openai→OPENAI_API_KEYanthropic→ANTHROPIC_API_KEYgemini→GEMINI_API_KEYorGOOGLE_API_KEYgroq→GROQ_API_KEYdeepseek→DEEPSEEK_API_KEYxai→XAI_API_KEYmistral→MISTRAL_API_KEYdatabricks→DATABRICKS_TOKEN(or anauth.profile)
Validation checklist
Before presenting the generated files to the user, verify (and if validate_agent is available, run it to confirm):
- [ ]
spec_version: 1is present - [ ]
nameis set and uses lowercase + hyphens - [ ]
executor.typeis one ofclaude_sdk,agents_sdk,omnigent - [ ] If
executor.type: omnigent,executor.config.harnessis set to a
valid harness
- [ ]
instructions(orprompt) points to a file that exists or is
inline text
- [ ] When declaring
tools.agents, the parent uses `executor.type:
omnigent, and each entry is the declared name of a sub-agent under agents/` (its directory name may differ; sub-agents may use any executor)
- [ ]
tools.builtinsnames are from the known set (Step 2) — or, if
list_builtin_tools is available, were confirmed against it
- [ ] Skill names use the
[a-z0-9-]+pattern (they need not match their
directory names)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingomnigent/onboarding/agent/skills/build-omnigent/SKILL.md
Popularity
- Repository stars
- 10,378
- Repository forks
- 1,659
- 7-day trend score
- 46
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/omnigent-ai/omnigent/build-omnigent)