create_agent

create_agent is a skill for Claude Code, Codex from opensquad-ai/opensquad. It costs 0 tokens per session (825 once invoked), scanned A, original, MIT.

A workflow for creating a conversational software agent in a named group. It sets up the agent's messaging account, model choice, role instructions, configuration, and group membership.

In plain words
What is it for?
Use it to register an account, create an agent directory, assign a model card, write role rules, configure messaging access, join a group, and start the agent.
Why use it?
It gathers the setup steps needed to make a new agent available for normal conversations in one place.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to register an account, create an agent directory, assign a model card, write role rules, configure messaging access, join a group, and start the agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opensquad-ai/opensquad/create_agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add opensquad-ai/opensquad --skill create_agent
Clone the repo
git clone --depth 1 https://github.com/opensquad-ai/opensquad

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create_agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/opensquad-ai/opensquad/create_agent/github.svg)](https://agentmods.dev/skills/opensquad-ai/opensquad/create_agent)
Your own site
<a href="https://agentmods.dev/skills/opensquad-ai/opensquad/create_agent"><img src="https://agentmods.dev/badge/skills/opensquad-ai/opensquad/create_agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create_agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/opensquad-ai/opensquad/create_agent"><img src="https://agentmods.dev/badge/skills/opensquad-ai/opensquad/create_agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 825 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00825
Opus 5.5 $0.00000 $0.00330
Sonnet 5.5 $0.00000 $0.00165
Haiku 4.5 $0.00000 $0.00082

Measured 3mo ago against content hash 7a65b1e3b4b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create_agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/skills/create_agent/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Create an Agent that can send/receive messages and hold normal conversations in a specified group.

Prerequisites

  • Know the target group's group_id (e.g. gjxwzp)
  • Pick a model card (e.g. deepseek-flash)
  • Launcher is running and the agent_factory and chat_account tools are available

Steps

Step 1: Register an IM account

chat_account.register_account(email="agentXXX@ai", password="...", name="AgentXXX")
  • Recommended email format: agentXXX@ai; keep the password simple and consistent.

Step 2: Create the Agent directory

agent_factory.create_agent(dir_name="agentXXX", agent_name="AgentXXX")
  • dir_name uses lowercase letters, digits, and underscores.
  • This generates a default config.json, role.md, and mcp_config.json.

Step 3: Assign a model card

agent_factory.assign_model_card(dir_name="agentXXX", card_name="deepseek-flash")
  • First, call agent_factory.list_model_cards() to see which model cards are available.

Step 4: Write the role definition (role.md)

agent_factory.set_agent_role(dir_name="agentXXX", role_content="...")
  • Use Markdown; describe the core responsibilities and behavioral rules.
  • For a group chat assistant, recommended rules include: be concise and direct, reply only when @-mentioned, stay polite.

Step 5: Configure config.json (bind the account and group)

agent_factory.configure_agent(dir_name="agentXXX", config={...})

Key fields:

  • group_chat.enabled: true
  • group_chat.email: "agentXXX@ai" (the email registered in Step 1)
  • group_chat.password: "..." (the password set in Step 1)
  • group_chat.groups: ["target-group-id"]
  • tools: ["system","filesystem","websearch","vision","reminder","im"] (these basic tools at minimum; "im" is required, otherwise the Agent cannot connect to the IM channel to send/receive group messages)
  • ui.auto_start_on_boot: true (start automatically on boot)

Keep other fields at their defaults; in particular, preserve the original model and gateway configuration.

Read the full file on GitHub · 78 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 78 lines · 0 tokens per session scan A 7a65b1e3b4b3

Subscribe to this mod's changes

create_agent is a skill published in the GitHub repository opensquad-ai/opensquad (9 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 825 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

create_agent compared with skills from other repositories

create_agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create_agentopensquad-ai/opensquadSkill91mo agoMITA0Claude Code, Codex
git-workflow0xNyk/oneclawSkill32mo agoMITA0Claude Code, Codex
x-intelligence0xNyk/oneclawSkill32mo agoMITA0Claude Code, Codex
life-automation-audit0xNyk/oneclawSkill32mo agoMITA0Claude Code, Codex
agent-constitution0xNyk/oneclawSkill32mo agoMITA0Claude Code, Codex
code-review0xNyk/oneclawSkill32mo agoMITA0Claude Code, Codex
skill-creatorkaivyy/kabotSkill208mo agoMITA0Claude Code, Codex