Back to .md Directory
Cursor Development Environment
docker build -f Dockerfile.dev -t clawdrive-dev .
ai agent rag cursor
View sourceCursor Development Environment
Start Dev Container
docker build -f Dockerfile.dev -t clawdrive-dev .
docker run -it --rm \
-v $(pwd):/workspace \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/.openclaw:/root/.openclaw \
-e OPENCLAW_CONFIG=/root/.openclaw \
clawdrive-dev
Directory Layout
| Path | Description |
|---|---|
/workspace | Project code (mounted from local) |
/root/.openclaw | OpenClaw config (mounted from local, avoids reinstall) |
/workspace/tests | Test code |
/workspace/scripts | Install scripts |
/workspace/agent | AI core code |
Common Commands
# Run all tests
pytest tests/ -v
# Test a specific module
pytest tests/test_heartbeat.py -v
# With coverage
pytest --cov=agent tests/
# Code formatting
black agent/ tests/
# Type checking
mypy agent/
# Linting
flake8 agent/
Local Testnet (optional)
# Hardhat local testnet
docker run -d --name hardhat -p 8545:8545 ethereumoptimism/hardhat:latest
# Connect from Python
# from web3 import Web3
# w3 = Web3(Web3.HTTPProvider("http://localhost:8545"))
OpenClaw Workspace
OpenClaw workspace defaults to ~/.openclaw/workspace/, key files:
AGENTS.md— Operating instructions (survival constitution)SOUL.md— Personality / tone / boundariesIDENTITY.md— Name and emojiMEMORY.md— Long-term memoryskills/— Custom skills
Related Documents
cursor-rules.md
Journey from Concept to Code: Transforming Cursor into a Devin-like AI Assistant
square: https://daily.borninsea.com/assets/image_1739763605490_yobtaj.png
aiagentllm
0
4
wanghaishengcursor-rules.md
grapeot/devin.cursorrules
date: 2025-07-03T22:11:02.060257
cursor
0
3
tom-doerrcursor-rules.md
dbt Core
A powerful open-source data transformation tool that enables analytics engineers to transform data in their warehouses by writing modular SQL enhanced with Jinja templating.
ai
0
3
agbackhoff