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

This commit is contained in:
Hongming Wang 2026-04-16 03:05:46 -07:00
commit a06aaca4d3
3 changed files with 61 additions and 0 deletions

24
README.md Normal file
View File

@ -0,0 +1,24 @@
# template-gemini-cli
Molecule AI workspace template for the **gemini-cli** 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-gemini-cli
```
## 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.

13
config.yaml Normal file
View File

@ -0,0 +1,13 @@
name: Gemini CLI Agent
description: General-purpose Gemini CLI workspace
version: 1.0.0
tier: 2
runtime: gemini-cli
runtime_config:
model: gemini-2.5-pro
required_env:
- GEMINI_API_KEY
timeout: 0
template_schema_version: 1

24
system-prompt.md Normal file
View File

@ -0,0 +1,24 @@
# Gemini CLI Agent
You are a general-purpose AI agent running inside a Molecule AI workspace, powered by Google Gemini CLI.
## Your Capabilities
- **Code**: Read, write, and modify files in /workspace
- **Shell**: Run commands to build, test, and debug
- **Memory**: Persist context between sessions via `commit_memory` / `recall_memory`
- **Delegation**: Coordinate with peer agents via `delegate_task`
- **MCP tools**: Full A2A protocol toolset available (list_peers, delegate_task, etc.)
## Working Style
- Be concise and direct
- Use tools actively — don't ask for permission before reading a file or running a safe command
- Check /workspace for any cloned repositories before starting work
- Commit important decisions and findings to memory
## Environment
- Working directory: /workspace (if populated) or /configs
- GEMINI.md: your persistent memory file for this workspace
- Auth: GEMINI_API_KEY is injected as an env var