创建Agent

创建Agent is a skill for Claude Code, Codex from jianchen08/Agent-os-open. It costs 58 tokens per session (2,475 once invoked), scanned A, original, Apache-2.0.

A guide for creating or changing agent configuration files. An agent is a configured software worker with a role, instructions, tools, limits, and status.

In plain words
What is it for?
Defining agent roles, required configuration fields, tool access, prompts, limits, and output templates.
Why use it?
It prevents incomplete or inconsistent agent definitions and helps decide which work belongs in the agent, its instructions, or its skills.

Skill for Claude CodeCodex

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

Good fit Defining agent roles, required configuration fields, tool access, prompts, limits, and output templates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jianchen08/agent-os-open/resource-agent-create
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 jianchen08/Agent-os-open --skill resource-agent-create
Clone the repo
git clone --depth 1 https://github.com/jianchen08/Agent-os-open

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 创建Agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/jianchen08/agent-os-open/resource-agent-create/github.svg)](https://agentmods.dev/skills/jianchen08/agent-os-open/resource-agent-create)
Your own site
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/resource-agent-create"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/resource-agent-create/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 创建Agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/resource-agent-create"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/resource-agent-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,475 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.00058 $0.02475
Opus 5.5 $0.00023 $0.00990
Sonnet 5.5 $0.00012 $0.00495
Haiku 4.5 $0.00006 $0.00248

Measured 9d ago against content hash 55bfe87d4c5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

创建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 9d 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.

skills/resource-agent-create/SKILL.md · 213 lines

How it starts

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

创建Agent

本技能是流程指引,不是逐条打勾清单:按场景判断使用,遇不适用情况保持裁量,不机械执行。

Agent 配置字段规范

必填字段

字段 类型 说明 规范
config_id string 唯一标识 snake_case,全局唯一,与文件名(去 .yaml)一致
name string 名称 日志/显示/内部引用用
description string 描述 说明职责、能力、适用场景,供上层搜索决策
agent_type enum 功能类型 main/orchestrator/specialized/atomic/system
category enum 功能分类 analysis/evaluation/search/code/generation/resource/modification/task/system/others
level enum 级别 L1(main)/L2(orchestrator)/L3(specialized/atomic)
system_prompt string 系统提示词 定义角色/职责/行为/流程(见下方"提示词写法")
tool_ids list 工具列表 ≤20 个直接加载;超出的放 static_vars 工具索引
version string 版本号 语义化版本
is_active bool 是否激活 true/false
status enum 状态 active/inactive/deprecated
max_iterations int 最大迭代 L1=-1或100,L2=40,L3=100,atomic=10
timeout_seconds int 超时秒 L1=-1,快速=300,常规=600,复杂=1800
tags list 标签 含层级标签(L1/L2/L3)

可选字段

字段 说明
display_name UI 显示名,未设用 name
model_tier large/medium/small;L1/L2 用 large,L3 用 small
model_name 直接指定模型,优先级高于 model_tier
max_reminders L1=10,L2=5,L3=3
static_vars / dynamic_vars 变量注入(见下方)
hard_constraints / soft_constraints 约束(见下方)
input_schema / output_schema JSON Schema
deliverables 产出物定义
recommended_metrics 评估指标
plugins 插件覆盖

agent_type 枚举

值 场景
main 主控,系统入口,接收需求/分配任务
orchestrator 编排,协调多个专业 Agent
specialized 专业领域任务(最常用)
atomic 单一原子任务(等价 specialized)
system 系统级功能(错误处理/恢复/审计)

提示词(system_prompt)写法

占位符变量(系统自动替换)

占位符 含义
{{workspace}} 当前工作空间路径
{{project_root}} 项目根目录
{{task_id}} 当前任务 ID
{{path:文件路径}} 注入文件内容
{{rules}} 注入硬约束和软约束

变量注入(static_vars / dynamic_vars)

type 作用
rules 注入约束
path 读取文件内容注入
reference 直接注入 content 文本
timestamp 时间戳
retrieval 按标签检索知识库

Read the full file on GitHub · 213 lines

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. 9d ago Changed 55bfe87d4c5f
  2. 14d ago Changed b3ff9e6fd9b8
  3. 2mo ago Changed 9a8638d03559
  4. 2mo ago Changed · +2 lines 385f6e413594
  5. 3mo ago First seen · 211 lines · 58 tokens per session scan A 30565f21c53a

Subscribe to this mod's changes

创建Agent is a skill published in the GitHub repository jianchen08/Agent-os-open (8 stars, last pushed 9d ago), licensed Apache-2.0. It adds 58 tokens to every session and 2,475 once invoked, about $0.0002 per session on Opus 5.5. 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

创建Agent compared with skills from other repositories

创建Agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
创建Agentjianchen08/Agent-os-openSkill89d agoApache-2.0A58Claude Code, Codex
background-taskvstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA62Claude Code
agent-toolvstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA66Claude Code
frontend-featurevstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA64Claude Code
pytest-suitevstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA59Claude Code
rag-knowledgevstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA76Claude Code
alembic-migrationvstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA56Claude Code