agentleFS
agno-agiagno-agi/agentos-azure/.agents/skills/create-agent/SKILL.md

create-agent

Skill2 starsChanged 18 days agoApache-2.0View on GitHub

Create and register a code-defined agent in this AgentOS from a concrete request or guided discovery, add its UI prompts, reload the development runtime, and verify a real run. Use when the user wants to build or add an agent.

  • Reads credentials
  • Sends data out

42 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-integration, create-tool and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ElasticSkill

    create-integration

    Use when creating a new Elastic integration package, scaffolding data streams, answering package layout or structure questions, or running the end-to-end integration build workflow. Covers package topology, scaffold commands, post-scaffold edits, and full orchestration of CEL/pipeline/test subagents.

    Also in 3 projects that use this

  • dwiziSkill

    create-tool

    Expertise in designing, scaffolding, and implementing new MCP tools using dzx conventions. Use when the user asks to "create a tool", "add a tool", "wire up a tool", or similar for MCP servers built with dzx.

    Also in 3 projects that use this

  • MicrosoftSkill

    create-hook

    Create a hook (.json) to enforce policy or automate agent lifecycle events.

    Also in 5 projects that use this

  • LinHao-citySkill

    setup-api-key

    Guides users through setting up an ElevenLabs API key for ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs. First checks whether ELEVENLABS_API_KEY is already configured and valid, and only runs full setup when needed.

    Also in 3 projects that use this

  • ElasticSkill

    create-skill

    Interactively create a new Claude Code skill and add it to the elastic-docs-skills catalog. Use when the user wants to generate a new skill, scaffold a slash command, or build automation for docs tasks.

    Also in 12 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 39 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Add one agent to this AgentOS as a source file in agents/, managed by git, registered with the platform and proven with a real run.

    line 10
  2. Very specific:

    Read AGENTS.md first. Build from what the user asked for and state your choices (name, ID, tools) as you go.

    line 14
  3. Very specific:

    Tools: look them up in the Agno docs (the agno-docs MCP in .mcp.json) and confirm the import works in the running API.

    line 57
  4. Very specific:

    Read the answer and the tool calls.

    line 86

“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create a New Agent

Coding-agent workflow: run as /create-agent or by describing the task.

Add one agent to this AgentOS as a source file in agents/, managed by git, registered with the platform and proven with a real run. Super Agent can also build agents at runtime; those live in the database, not the repo. Use this skill when the agent belongs in code.

Read AGENTS.md first. Build from what the user asked for and state your choices (name, ID, tools) as you go. Ask only when the job is unclear or a tool needs a key that .env lacks.

1. Write the agent

Create agents/<slug_underscore>.py:

"""
<Title>
=======
"""

from agno.agent import Agent

from app.registry import shared_learning
from app.settings import default_model
from db import get_postgres_db

INSTRUCTIONS = """\
You are <DisplayName>: <the agent's job, in one line>.

How you speak:
- <one rule per line: tone, length, what to confirm>

How you <work>:
- <one rule per line: which tool for what, what to refuse, what to hand off>\
"""

<slug_underscore> = Agent(
    id="<slug>",
    name="<DisplayName>",
    model=default_model(),
    db=get_postgres_db(),
    learning=shared_learning,
    tools=[...],
    instructions=INSTRUCTIONS,
    add_datetime_to_context=True,
    add_history_to_context=True,
    num_history_runs=5,
)
  • Tools: look them up in the Agno docs (the agno-docs MCP in .mcp.json) and confirm the import works in the running API. get_web_tools() in app/registry.py covers web search and fetch without a key.
  • User: inherit the caller's identity; do not set a fixed user_id. Anonymous runs have unowned sessions and no per-user learning.
  • ID: pick one no other agent uses. A code agent hides a Studio-built agent with the same ID. List them with curl -s http://localhost:8000/agents | jq -r '.[].id'.

2. Register it

  • app/main.py: import the agent and add it to the existing agents list.
  • app/config.yaml: add a manifest entry keyed by the agent ID, with a description and three quick prompts. The UI shows them, and Super Agent reads the description to decide when to run the agent, so state the job it does in one line under 120 characters.

Python changes reload on their own. Restart the API after editing YAML: docker compose restart agentos-api.

3. Run it

mkdir -p tmp
curl -sS -X POST http://localhost:8000/agents/<slug>/runs \
  --form-string "message=<one of the quick prompts>" \
  --form-string "user_id=create-agent-check" \
  --form-string "stream=false" --output tmp/create-agent-run.json
jq '{status, content, tools}' tmp/create-agent-run.json

Read the answer and the tool calls; a 200 alone is not a pass. If the run fails, read docker compose logs agentos-api, fix the cause and run it again. Then run ./scripts/validate.sh.

4. Hand over

Show the answer from the run, then where the agent lives:

  • The AgentOS UI at https://os.agno.com/?ref=azure-template (refresh the Agents list).
  • POST /agents/<slug>/runs and the run_agent MCP tool.
  • Super Agent, which can now run it by name and schedule it for recurring work.

Say what you verified and what you did not. Next steps: /extend-agent for a specific change, /improve to harden it, and /create-evals to keep the run above as its first eval.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.