write-agent
Create or revise the core assets for an Agent Hub agent, including soul, bundle, and optional profile.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create or revise the core assets for an Agent Hub agent, including soul, bundle, and optional profile.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | write-agent |
| description | Create or revise the core assets for an Agent Hub agent, including soul, bundle, and optional profile. |
| when_to_use | Use when authoring a new agent role directly instead of going through the HR staffing lane. |
Author the asset set for a new Agent Hub agent role: a soul, a bundle, and optionally a profile. This skill handles direct asset authoring; HR handles staffing, sourcing, staging, and team assembly.
agenthub new soul, agenthub new bundle, agenthub new profile, and agenthub start <profile> --assemble-only.| Asset | What it does |
|---|---|
| soul | Defines identity, behavior, boundaries, and response style |
| bundle | Connects a soul to runtime settings, skills, permissions, and agent metadata |
| profile | Groups bundles into a launchable team and may set defaultAgent |
write-agent is for direct asset authoring outside the HR pipeline.defaultAgent.agenthub start <profile> --assemble-only when you need proof that composition succeeds.Safely edit an existing Agent Hub asset with asset-type-specific checks and follow-up verification.
Draft or update a portable Agent Hub skill with clean frontmatter and a practical workflow.
Use when implementation is complete on a normal feature branch and you need to verify, clean up commits, rebase, and either merge locally or create a PR without using a worktree-heavy workflow.
Use after implementing a feature, fixing a bug, or reaching a wave checkpoint when you need to actively test the behavior by running the app, exercising the flow, and confirming the change actually works.
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Use when you have a spec or requirements for a multi-step task, before touching code