lynxai-team/agent-smith/create-agent
Claude Code and agent skill by lynxai-team/agent-smith
- community
Checking that the SKILL.md file is still in the repository.
use when asked to create, define, or modify an agent in YAML for Agent Smith, optionally exposes it as a subagent tool
Install
npx vskill@latest install lynxai-team/agent-smith/create-agentSKILL.md
Create an Agent in YAML
Define, register, and verify an AI agent from a YAML file in the Agent Smith framework.
Workflow
- Ensure a registered features directory (first time only) — edit the conf file to add your
features/root path, then runlm conf. The conf file lists the directories the framework scans for feature files; it is the source of truth for feature paths. - Write the agent YAML — create
<name>.ymlinfeatures/agents/. The filename becomes the agent's default name (e.g.,my-agent.yml→ agentmy-agent). Fill in the required fields (description,prompt,model) plus any optional ones from the field reference below. - Register — run
lm update. This triggers feature discovery: it scans registered directories, parses agent metadata, and upserts into theagentSQLite table (and createsToolSpecentries in thetooltable). - (Optional) Expose as a subagent — add a
tool:section to the YAML so other agents can call it, then runlm updateagain. - Verify:
Field reference
Required: name (from filename), prompt (system prompt template; {prompt} = user input), description, model (e.g., qwen4b).
Optional: category (UI navigation), template (system prompt, stop sequences), inferParams (sampling: temperature, top_p, top_k, min_p, repetition_penalty), variables (input variable definitions with required:/optional:), toolsList (references to registered tools by name), tools (inline tool definitions), models (alternative models for UI selection), shots (few-shot examples), skills, workflow (pre/post steps), mcp.
Examples
Minimal agent:
Full annotated example:
Subagent (callable by other agents) — add a tool: section defining the interface:
Other agents reference it by its tool name in their toolsList (e.g., - my-search), then run lm update.
Gotchas
- Simply running
lm confwithout first editing the conf file will NOT add a new features directory — the conf file is the source of truth for feature paths. - Every change to an agent's tool list requires re-registration: after adding, removing, or modifying entries in
toolsList(or inlinetools), runlm updateagain — the agent will not see new tools until then. - A subagent is NOT usable until registered: the
tool:section only defines the interface;lm updatecreates theToolSpecentry in thetooltable that makes it callable. Without this step, parent agents referencing it in theirtoolsListget a "tool not found" error. - Renaming the YAML file changes the agent's default name — keep filenames stable or update references in other agents'
toolsList.
References (load when needed)
- Full schema and field-by-field guide:
agent-smith/docsite/public/doc/reference/1.howto-agents.md - Minimal example agent:
agent-smith/examples/features/agents/general-agent.yml - Complex real-world example with template, variables, tools:
lynx-coder/dist/agents/lx-coder.yml - Feature discovery pipeline internals:
agent-smith/docsite/public/doc/libraries/core/3.feature-discovery.md
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 repositoryCheckingpackages/core/src/features/skills/create-agent/SKILL.md
Popularity
- 7-day trend score
- 0
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/lynxai-team/agent-smith/create-agent)