commit a06aaca4d372c385d505a82c9af02836d8076be0 Author: Hongming Wang Date: Thu Apr 16 03:05:46 2026 -0700 feat: initial template content (extracted from molecule-monorepo) diff --git a/README.md b/README.md new file mode 100644 index 0000000..d8f9300 --- /dev/null +++ b/README.md @@ -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. diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..09153c8 --- /dev/null +++ b/config.yaml @@ -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 diff --git a/system-prompt.md b/system-prompt.md new file mode 100644 index 0000000..32facf7 --- /dev/null +++ b/system-prompt.md @@ -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