Skip to content
Skillpedia
Agents394k · #51

create-template

What it does

It guides an AI agent through packaging its working role, instructions, and relevant files into a reusable template. It is for people who want to share a well-working agent setup with others.

When to use it

  • ✓When you want to share a working agent setup with a colleague.
  • ✓When you want to turn an agent's job into a reusable template for a new person.
  • ✓When you need to remove personal details from an agent before sharing it.

Skill link

https://github.com/openclaw/openclaw/blob/main/skills/create-template/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/create-template/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Turn this research assistant into a template I can share with my team, leaving out my personal notes.”

5 new skills a week. 1 minute to read.

How it works

The skill reads the agent's current draft and picks out the parts that form one clear role, leaving out personal context. It then selects the portable files, and the Control UI handles the review and publishing step.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Create a Template

The Control UI invokes this manual skill in the agent's existing main conversation. It prepares a private draft before sending the message and attaches that request's draftId as working context. Use the draftId attached to this turn and edit only .openclaw/template-drafts/<draftId>.json; never search for a latest draft or use a shared pointer. The attached context is request-specific, so overlapping Template creations stay isolated. Keep internal paths and IDs out of your reply. Work in this same conversation; the Control UI opens package review when the draft is ready and owns package assembly and publication.

  1. Capture the reusable agent. Read the current draft JSON. Use this conversation and the agent's durable instructions to identify its coherent reusable role, input, job, output, and authority. Preserve useful behavior and settings; leave out personal context. If the responsibilities do not form one coherent Template, ask which responsibility to share before writing. Complete when the four scope fields describe an agent a new person can use.
  2. Inventory only relevant material. Select portable workspace instructions and files that implement that role. Locate this SKILL.md and use its scripts/cli.mjs for inventory so the CLI matches the running OpenClaw installation; invoke it with an absolute path when outside the skill directory. Run node scripts/cli.mjs skills list --agent <this agent's id> --json and node scripts/cli.mjs plugins list --enabled --json. Compare the results with tools actually available in this session and capabilities used in the role. Inspect a candidate with node scripts/cli.mjs plugins inspect <id> --json for its source and exact version. Declare a skill or plugin only when you can ground it in a current ClawHub package reference and exact version; plugin availability alone is not a requirement. Put package references in packages, MCP requirements in mcpServers, and useful schedules in cronJobs. Their declarations are dependencies, not files copied into the archive. Complete when every included file and declaration has a reason tied to the reusable role.
  3. Author the proposal. Follow the draft format. Rewrite instructions for a new owner. Include input, job, output, and authority in the draft scope, and describe the portable behavior in CLAW.md. Place only newly authored portable text in files, mapping included workspace files by source in the manifest. Exclude raw conversations, memories, USER.md, credentials, secret values, private URLs, local paths, and personal facts. Never copy the source workspace tree. Complete when the JSON at this turn's draft path is valid and contains no private source material.
  4. Hand off for review. Briefly tell the person what the Template does, which optional files/dependencies you included, and any capability you could not port. Do not print internal draft paths or IDs, generate a review link, upload, or publish. The Control UI opens a review of the exact built archive; the person can remove optional items and explicitly publish there. Complete when the review opens.
FAQ

Will my personal details be included?

The skill is set to leave out personal context and keep only the reusable parts of the agent.

What if the agent does several unrelated jobs?

The skill asks which responsibility to share, so the template covers one coherent role.

Who publishes the template?

The Control UI opens a review step and handles packaging and publishing.

Details

Original description by the author

Turn this agent into a shareable Template for a person to review.

repo: openclaw/openclaw

Popularity

GitHub stars
394k
Ranking position
#51
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills