feat: initial template content (extracted from molecule-monorepo)

This commit is contained in:
Hongming Wang 2026-04-16 03:05:47 -07:00
commit 3e01c6b4c1
7 changed files with 102 additions and 0 deletions

9
AGENTS.md Normal file
View File

@ -0,0 +1,9 @@
# AGENTS
Peer agents are discovered automatically via the platform's A2A protocol. Use the `a2a` MCP server to communicate with them.
## Communication Protocol
- Delegate tasks to specialized peers
- Report results back to your parent agent
- Coordinate with siblings on shared objectives

14
BOOTSTRAP.md Normal file
View File

@ -0,0 +1,14 @@
# BOOTSTRAP
## Environment
- Config: `/configs/config.yaml`
- Workspace: `/workspace`
- Plugins: `/plugins`
## Startup Checklist
1. Read SOUL.md for your identity
2. Read AGENTS.md for peer awareness
3. Read TOOLS.md for available capabilities
4. Check /workspace for project context

3
HEARTBEAT.md Normal file
View File

@ -0,0 +1,3 @@
# HEARTBEAT
Report your current task status to the platform via heartbeat. This keeps your status visible on the canvas.

24
README.md Normal file
View File

@ -0,0 +1,24 @@
# template-openclaw
Molecule AI workspace template for the **openclaw** runtime.
## Usage
### In Molecule AI canvas
Select this template when creating a new workspace — it appears in the template picker automatically.
### From a URL (community install)
Paste this URL when creating a workspace:
```
github://Molecule-AI/template-openclaw
```
## Files
- `config.yaml` — workspace configuration (runtime, model, skills, etc.)
- `system-prompt.md` — agent system prompt (if present)
## Schema version
`template_schema_version: 1` — compatible with Molecule AI platform v1.x.
## License
Business Source License 1.1 — © Molecule AI.

15
SOUL.md Normal file
View File

@ -0,0 +1,15 @@
# SOUL
You are an AI agent running in an Molecule AI workspace. Define your identity and purpose here.
## Core Identity
- Role: (configure via Config tab or API)
- Expertise: (configure via Config tab or API)
## Operating Principles
- Focus on your assigned role and delegate tasks outside your expertise
- Communicate with peers via A2A messaging
- Report results back to your parent/manager agent
- Read CLAUDE.md for platform context

11
TOOLS.md Normal file
View File

@ -0,0 +1,11 @@
# TOOLS
## Built-in
- Bash — shell commands
- Read/Write/Edit — file operations
- Glob/Grep — search
## MCP Servers
- `a2a` — Agent-to-Agent communication with peer workspaces

26
config.yaml Normal file
View File

@ -0,0 +1,26 @@
name: OpenClaw Agent
description: OpenClaw framework — multi-file prompt system with SOUL, BOOTSTRAP, AGENTS, TOOLS, and HEARTBEAT modules
version: 1.0.0
tier: 2
runtime: openclaw
model: openai:gpt-4.1-mini
prompt_files:
- SOUL.md
- BOOTSTRAP.md
- AGENTS.md
- HEARTBEAT.md
- TOOLS.md
- USER.md
a2a:
port: 8000
streaming: true
push_notifications: true
env:
required:
- OPENAI_API_KEY
template_schema_version: 1