Runnable end-to-end examples and starter templates for MetaClaw.
This repo contains only example projects.
- includes: demo
agent.claw, sample bot code, example build/run scripts - excludes: engine internals, reusable skill library governance, registry backend services
| Repo | Primary Responsibility | URL |
|---|---|---|
metaclaw |
Engine core: compiler, runtime adapters, lifecycle/state | https://github.com/fpp-125/metaclaw |
metaclaw-examples |
Runnable end-to-end examples and starter templates | https://github.com/fpp-125/metaclaw-examples |
metaclaw-skills |
Reusable capabilities (SKILL.md + capability.contract) |
https://github.com/fpp-125/metaclaw-skills |
metaclaw-registry |
Publish/distribution backend for skill/capsule metadata | https://github.com/fpp-125/metaclaw-registry |
examples/obsidian-bot/- minimal Obsidian + LLM starter generated by
metaclaw wizard
- minimal Obsidian + LLM starter generated by
examples/obsidian-terminal-bot-advanced/- advanced terminal bot with image-layer business code, host-side TUI, scoped retrieval, controlled save flow, and optional Tavily web search
examples/capsule-release/- minimal release/verify sample
cd examples/obsidian-terminal-bot-advanced
# 1) edit mount source paths in agent.claw
# 2) build image and pin digest
./build_image.sh
# 3) run chat
export OPENAI_FORMAT_API_KEY=...
export TAVILY_API_KEY=... # optional
./chat.shTip: once in chat, run /llm setup to choose providers/models and (optionally) store keys into .env (gitignored).
# 0) Clone both repos
git clone https://github.com/fpp-125/metaclaw.git
git clone https://github.com/fpp-125/metaclaw-examples.git
# 1) Build the engine binary
cd metaclaw
go build -o ./metaclaw ./cmd/metaclaw
# 2) Enter the advanced Obsidian bot example
cd ../metaclaw-examples/examples/obsidian-terminal-bot-advanced
# 3) Prepare host data directories
BOT_DATA="$HOME/.metaclaw/obsidian-terminal-bot"
mkdir -p "$BOT_DATA"/{config,logs,runtime,workspace}Then do two things:
- Edit
agent.claw. - Replace
/ABS/PATH/TO/OBSIDIAN_VAULTwith your friend's vault path. - Replace
/ABS/PATH/TO/BOT_HOST_DATAwith the absolute path ofBOT_DATA. - Build and run:
# 4) Build image (choose one runtime)
RUNTIME_BIN=container ./build_image.sh
# RUNTIME_BIN=docker ./build_image.sh
# RUNTIME_BIN=podman ./build_image.sh
# 5) Set API keys and run
export OPENAI_FORMAT_API_KEY='...'
export TAVILY_API_KEY='...' # optional
METACLAW_BIN="/ABS/PATH/TO/metaclaw/metaclaw" \
RUNTIME_TARGET=apple_container \
./chat.sh
# or set RUNTIME_TARGET=docker / podmanIf metaclaw is already in your PATH, you can omit METACLAW_BIN=....
# Replace /ABS/PATH/TO/obsidian-bot/* in agent.claw first
export OPENAI_FORMAT_API_KEY=...
metaclaw run examples/obsidian-bot/agent.claw --llm-api-key-env=OPENAI_FORMAT_API_KEY./scripts/validate_examples.sh- engine: https://github.com/fpp-125/metaclaw
- skills: https://github.com/fpp-125/metaclaw-skills
- registry backend: https://github.com/fpp-125/metaclaw-registry