agentleFS
nordinitnordinit/agent-hq/skills/create-agent/SKILL.md

create-agent

Skill1 starsChanged 2 months agoMITView on GitHub

Create and provision a durable Agent HQ agent, including its identity, role, runtime, provider/model selection, project association, instructions, capabilities, workspace documents, and assignment rules. Use when adding a recurring project role such as a project manager, engineer, QA reviewer, operator, or system administrator.

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use deploy-platform, eval-and-improve and 10 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.
  • agno-agiSkill

    deploy-platform

    Deploy this AgentOS to production with this template's deploy scripts — preflight the provider CLI and account, run the up.sh script, complete the JWT key step, verify the live platform on its public URL, then hand over the redeploy/logs/teardown instructions. Use this skill when the user asks to deploy, ship to production, go live, or take the platform to prod.

    Also in 3 projects that use this

  • agno-agiSkill

    eval-and-improve

    Run the eval suite (python -m evals), diagnose every failure, fix what's in scope, and loop until all cases pass. Use when evals are failing — including overnight run-evals schedule failures — or when the user wants to run, diagnose, or repair the eval suite. To author new coverage, use create-evals instead.

    Also in 3 projects that use this

  • tovrleafSkill

    create-evals

    Generate diverse evaluation scenarios that test whether an agent using a skill produces correct output, including happy-path cases, edge cases, and failure scenarios across varying complexity levels. Produces structured scenario directories containing task prompts, weighted scoring checklists, and optional input fixtures for each scenario. Use when the user says "create evals", "generate eval scenarios", "write evals", "test this skill", or before publishing a skill.

    Also in 3 projects that use this

  • timominkusSkill

    create-command

    Also in 3 projects that use this

  • MicrosoftSkill

    create-hook

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

    Also in 4 projects that use this

  • subarnasaikiaSkill

    improve-agent

    Use when asked to improve, iterate, or build a better version of an existing Kaggle simulation/agent competition bot. Triggers on "improve the agent", "make a better version", "vN", "iterate on agent", "what should we try next", or any request to advance beyond the current best submission.

    Also in 3 projects that use this

  • +3 more from agno-agi

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. 0 are common, 14 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a durable role in Agent HQ and let Agent HQ provision the runtime-owned state.

    line 8
  2. Very specific:

    Follow the workflow in this file.

    line 10
  3. Distinctive:

    Check existing agents before choosing the name.

    line 18
  4. Very specific:

    Use one memorable name, not a role label such as Backend Bot or a project-role identifier such as acme-backend.

    line 19
  5. Distinctive:

    Keep the name stable across projects, prompts, workspace documents, and audit records.

    line 20
  6. Very specific:

    Avoid vague labels such as Helper, Worker, or Agent when a real function is known.

    line 29
  7. Very specific:

    Put stable role behavior in job_instructions.

    line 30
  8. Distinctive:

    Create a new agent only for a recurring owner.

    line 32
  9. Distinctive:

    Use Agent HQ MCP tools when available.

    line 51
  10. Distinctive:

    Read the current agents, projects, workflows, providers, and capabilities.

    line 53
  11. Very specific:

    Create or verify Assignment Rules through Agent HQ MCP.

    line 59
  12. Distinctive:

    Verify the stored agent, workspace documents, capabilities, and effective routing.

    line 60
  13. Distinctive:

    Do not recreate platform provisioning manually.

    line 62
  14. Distinctive:

    Check existing agent names first and choose an unused short name.

    line 76
  15. Distinctive:

    Use only a connected provider and a model allowed for that provider.

    line 79
  16. Distinctive:

    Keep repository fields off the agent payload and configure them on workflows.

    line 80
  17. Distinctive:

    Prefer atomic provisioning for OpenClaw and Hermes agents.

    line 81
  18. Distinctive:

    Use Assignment Rules, not direct database writes, for dispatch ownership.

    line 82
  19. Distinctive:

    Verify the structured provisioning report and read back the created configuration before reporting success.

    line 83

“Common” is measured: kept by at least 6 in 10 of the 18 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 Agent

Create a durable role in Agent HQ and let Agent HQ provision the runtime-owned state.

Follow the workflow in this file. When the bundled references are available, use references/checklist.md for execution detail and references/templates.md only when customizing generated workspace documents.

Agent Design

Name

Choose a short, distinctive, realistic name such as Kepler, Atlas, Rook, Nova, or Cinder.

  • Check existing agents before choosing the name.
  • Use one memorable name, not a role label such as Backend Bot or a project-role identifier such as acme-backend.
  • Keep the name stable across projects, prompts, workspace documents, and audit records.
  • Let Agent HQ derive the runtime slug and session key unless a compatibility constraint requires explicit overrides.

Role

Describe the durable job or function the agent fulfills.

  • Broad roles are valid when the scope is broad: Project Manager, Backend Engineer, QA Engineer.
  • Specific roles are valid when the project needs a narrow owner: XYZ System Administrator, Payments API Maintainer, Production Release Engineer.
  • Avoid vague labels such as Helper, Worker, or Agent when a real function is known.
  • Put stable role behavior in job_instructions; put task-specific objectives and acceptance criteria in the task.

Create a new agent only for a recurring owner. Reuse an existing agent when the work is one-off or already fits an established role.

Configuration Ownership

ConcernOwner
Name, role, runtime, provider, model, project, timeout, instructions, skills, toolsAgent
Repository access mode, local repo path, clone URLWorkflow
Task type/status to agent mappingAssignment Rules
Objective, scope, acceptance criteria, verificationTask
Scheduled workRecurring Task Series

Repository configuration is workflow-owned. Never send repo_path, repo_url, or repo_access_mode in an agent create, provision, or update payload; Agent HQ rejects those fields. For code-bearing work, configure each relevant workflow with:

  • repo_access_mode=worktree plus repo_path, or
  • repo_access_mode=clone plus repo_url.

Preferred Creation Path

Use Agent HQ MCP tools when available.

  1. Read the current agents, projects, workflows, providers, and capabilities.
  2. Design the name, role, runtime, provider/model, instructions, and routing intent.
  3. For an OpenClaw agent, call agent_hq_provision_full_agent once. This is the MCP path over POST /api/v1/agents/provision-full.
  4. For a Hermes agent, use the same atomic REST endpoint when direct API access is appropriate; the current MCP provisioning schema is OpenClaw-only. Direct calls must carry your MCP key (x-api-key) or the operator token; the API refuses requests without a credential.
  5. For Claude Code, webhook, or custom runtimes, use agent_hq_create_agent with the runtime-specific configuration supported by Agent HQ.
  6. Configure workflow repository settings separately when needed.
  7. Create or verify Assignment Rules through Agent HQ MCP. Use the task-routing-rules skill for scoped defaults or workflow overrides.
  8. Verify the stored agent, workspace documents, capabilities, and effective routing.

Do not recreate platform provisioning manually. Agent HQ owns workspace scaffolding, runtime registration, provider credential materialization, capability assignment, and generated runtime paths.

Instruction Layers

  • job_instructions: stable role identity, execution style, quality bar, and critical constraints. Keep it concise and role-focused.
  • SOUL.md / IDENTITY.md: persona, mandate, role, and project identity.
  • AGENTS.md: startup behavior, process rules, memory discipline, and durable operating constraints.
  • TOOLS.md: stable environment facts and tool notes. Do not use it as repository configuration.
  • Task dispatch: objective, scope, acceptance criteria, and task-specific verification details.

For implementation agents, instruct them to use the task working directory supplied by dispatch. Repository isolation comes from the workflow's access mode; agents should not assume or modify a canonical production checkout.

Critical Rules

  1. Check existing agent names first and choose an unused short name.
  2. Make the role describe the actual recurring job.
  3. Associate project-specific agents with the correct project_id.
  4. Use only a connected provider and a model allowed for that provider.
  5. Keep repository fields off the agent payload and configure them on workflows.
  6. Prefer atomic provisioning for OpenClaw and Hermes agents.
  7. Use Assignment Rules, not direct database writes, for dispatch ownership.
  8. Verify the structured provisioning report and read back the created configuration before reporting success.

Verification Standard

Provisioning is complete only when:

  • the response reports ok: true and successful validation/verification phases;
  • the agent readback has the intended name, normalized role, runtime, project, provider/model, instructions, and enabled state;
  • the generated workspace and required identity documents are present for provisioned local runtimes;
  • requested skills, tools, and MCP servers are assigned and materialized;
  • workflow repository configuration is correct for code-bearing work; and
  • Assignment Rules route the intended workflow statuses and task types to the new agent.

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.