agentleFS
zinan92zinan92/agent-core/skills/agent-onboarding/SKILL.md

agent-onboarding

Skill1 starsChanged 8 months agoMITView on GitHub

Use when Wendy is onboarding a brand-new OpenClaw agent, defining a fresh role before first use, or preparing a new agent environment with canonical profile files, SOP ownership, skills assignment, and runtime setup. Use for new agent initialization only. Do not use for re-onboarding, legacy migration, or historical cleanup.

8 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a clean, standardized environment for a brand-new agent.

    line 8
  2. Very specific:

    Use spec-template.md as the intake form.

    line 54
  3. Distinctive:

    Create one clear role, not a blended job title.

    line 58
  4. Distinctive:

    Put canonical definitions under Wendy, not inside the target workspace.

    line 60
  5. Distinctive:

    Do not invent memory or usage history for unused agents.

    line 61
  6. Distinctive:

    Do not create fake work logs, fake learnings, or fake user context.

    line 62
  7. Distinctive:

    If scope or access is unclear, stop and resolve that before scaffolding.

    line 64
  8. Distinctive:

    Do not create independent copies of profile markdown files in the target workspace.

    line 65
  9. Distinctive:

    Every new agent workspace must contain:

    line 77
  10. Very specific:

    Do not fabricate a heartbeat schedule if the agent is event-driven.

    line 140
  11. Distinctive:

    Leave as a blank, real-use placeholder.

    line 168
  12. Distinctive:

    When onboarding is complete, report in this structure:

    line 181

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

Agent Onboarding

Create a clean, standardized environment for a brand-new agent.

This skill is for new agent initialization only. It does not migrate old workspaces, reconstruct memory, or retrofit legacy agents.

Core Model

Split onboarding into two layers:

  • agent-runtime-spec = canonical operating definition stored under Wendy
  • agent-runtime-state = live execution surface stored in the target agent workspace

Wendy owns the single source of truth for:

  • agent profiles
  • SOPs
  • skills management
  • runtime specs

The target agent workspace only owns:

  • .openclaw/workspace-state.json
  • inbox/
  • active/
  • handoff/
  • archive/
  • symlinks to canonical profile files

Required Input Spec

Collect and freeze these fields before creating anything:

  1. Agent Name
  2. Job Title
  3. Company
  4. Reports To
  5. Workspace Path
  6. Responsibilities
  7. Requirements
  8. KPIs
  9. Scope Boundary
  10. Tools & Access
  11. Model Tier
  12. Schedule
  13. Interaction Protocol
  14. Escalation Rules

Use spec-template.md as the intake form.

Core Rules

  • Create one clear role, not a blended job title.
  • Allow only one direct manager in Reports To.
  • Put canonical definitions under Wendy, not inside the target workspace.
  • Do not invent memory or usage history for unused agents.
  • Do not create fake work logs, fake learnings, or fake user context.
  • Standardize the environment first; personality and SOP nuance can be refined later.
  • If scope or access is unclear, stop and resolve that before scaffolding.
  • Do not create independent copies of profile markdown files in the target workspace.

Canonical Paths Under The System Owner

For agent slug <agent-slug>, store canonical definitions here:

  • agent-profiles/<agent-slug>/
  • agent-runtime-specs/<agent-slug>.md
  • sops/<agent-slug>/

Target Workspace Structure

Every new agent workspace must contain:

  • symlinked AGENTS.md
  • symlinked IDENTITY.md
  • symlinked SOUL.md
  • symlinked HEARTBEAT.md
  • symlinked TOOLS.md
  • symlinked USER.md
  • .openclaw/workspace-state.json
  • inbox/
  • active/
  • handoff/
  • archive/

File Mapping

AGENTS.md

This is the operating contract. It must contain:

  • Agent Name
  • Job Title
  • Company
  • Reports To
  • Responsibilities
  • Requirements
  • KPIs
  • Scope Boundary
  • Tools & Access
  • Model Tier
  • Schedule
  • Interaction Protocol
  • Escalation Rules

IDENTITY.md

Keep it short:

  • Name
  • Creature / role label
  • Vibe
  • Emoji
  • Focus

SOUL.md

Define:

  • who the agent is
  • what it owns
  • how it works
  • what it does not do
  • relationship to neighboring roles

HEARTBEAT.md

Define recurring operating rhythm only:

  • daily checks
  • scheduled tasks
  • queue hygiene
  • escalation checks

Do not fabricate a heartbeat schedule if the agent is event-driven. Write event-driven instead.

TOOLS.md

Record:

  • role-specific skills
  • standard baseline skills
  • access rules
  • writable directories
  • readable directories
  • channels / threads / systems the agent may use

agent-runtime-spec

This lives under Wendy and defines:

  • workspace path
  • model tier
  • schedule
  • required skills
  • SOP references
  • writable/readable paths
  • channels / systems
  • escalation expectations

USER.md

Leave as a blank, real-use placeholder. Do not prefill personal memory.

Workflow

  1. Freeze the onboarding spec in spec-template.md format.
  2. Choose an agent-slug.
  3. Run ./scaffold_agent_workspace.sh <agent-slug> <workspace_path>.
  4. Fill the canonical profile files, SOP placeholder, and runtime spec under Wendy.
  5. Run ./validate_agent_workspace.sh <agent-slug> <workspace_path>.
  6. Install or link required skills and report remaining manual setup.

Output Format

When onboarding is complete, report in this structure:

## New Agent
- Name:
- Job Title:
- Canonical Profile:
- Runtime Spec:
- Workspace:
- Reports To:

## Installed Structure
- canonical profile: complete / incomplete
- runtime spec: complete / incomplete
- runtime state: complete / incomplete
- skills: installed / pending
- SOP placeholders: complete / incomplete

## Open Items
- [remaining manual step]

Anti-Patterns

  • Treating re-org migration as onboarding
  • Creating memory files for an unused agent
  • Leaving Scope Boundary vague
  • Giving the agent multiple bosses
  • Installing skills without documenting access boundaries
  • Creating a workspace before deciding the owner and path
  • Treating workspace-local markdown files as the source of truth

Quick Reference

  • Spec template: spec-template.md
  • Scaffold script: scaffold_agent_workspace.sh
  • Validation script: validate_agent_workspace.sh
  • Eval prompts: evals.json

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.