fork: rename IronClaw → OptimClaw

Full rename of all identifiers, filenames, and references:
  ironclaw → optimclaw
  IronClaw → OptimClaw
  IRONCLAW → OPTIMCLAW
  ironclaw_common → optimclaw_common
  ironclaw_safety → optimclaw_safety

Upstream: nearai/ironclaw
This commit is contained in:
OutBack Dingo
2026-03-29 06:27:52 +07:00
parent 8a320ae9db
commit 6d9dbbb3b9
404 changed files with 2382 additions and 2382 deletions
+15 -15
View File
@@ -1,7 +1,7 @@
---
name: local-test
version: 0.1.0
description: Build, run, and test IronClaw locally using Docker containers and Chrome MCP browser automation.
description: Build, run, and test OptimClaw locally using Docker containers and Chrome MCP browser automation.
activation:
keywords:
- test locally
@@ -22,20 +22,20 @@ activation:
# Local Testing with Docker + Chrome MCP
Use this skill to build, run, and test IronClaw web gateway changes locally using `Dockerfile.test` and Chrome MCP browser automation tools.
Use this skill to build, run, and test OptimClaw web gateway changes locally using `Dockerfile.test` and Chrome MCP browser automation tools.
## Quick Start
```bash
# Build the test image (libsql-only, no PostgreSQL needed)
docker build --platform linux/amd64 -f Dockerfile.test -t ironclaw-test .
docker build --platform linux/amd64 -f Dockerfile.test -t optimclaw-test .
# Run on port 3003 (default)
docker run --rm -p 3003:3003 \
-e ONBOARD_COMPLETED=true \
-e CLI_ENABLED=false \
-e NEARAI_API_KEY=<key> \
ironclaw-test
optimclaw-test
# Open in browser
# http://localhost:3003/?token=test
@@ -46,7 +46,7 @@ docker run --rm -p 3003:3003 \
The test Dockerfile uses a two-stage build: Rust compilation with `--features libsql` (no PostgreSQL dependency), then a minimal Debian runtime image.
```bash
docker build --platform linux/amd64 -f Dockerfile.test -t ironclaw-test .
docker build --platform linux/amd64 -f Dockerfile.test -t optimclaw-test .
```
Build takes ~5-10 minutes on first run (cached subsequent builds are faster). The `--platform linux/amd64` flag avoids QEMU warnings on Apple Silicon but can be omitted if targeting native architecture.
@@ -70,7 +70,7 @@ docker run --rm -p 3003:3003 \
-e ONBOARD_COMPLETED=true \
-e CLI_ENABLED=false \
-e NEARAI_API_KEY=<your-key> \
ironclaw-test
optimclaw-test
```
**NEAR AI (session token mode):**
@@ -80,7 +80,7 @@ docker run --rm -p 3003:3003 \
-e CLI_ENABLED=false \
-e NEARAI_SESSION_TOKEN=<sess_xxx> \
-e NEARAI_BASE_URL=https://private.near.ai \
ironclaw-test
optimclaw-test
```
**OpenAI:**
@@ -90,7 +90,7 @@ docker run --rm -p 3003:3003 \
-e CLI_ENABLED=false \
-e LLM_BACKEND=openai \
-e OPENAI_API_KEY=<your-key> \
ironclaw-test
optimclaw-test
```
**Anthropic:**
@@ -100,7 +100,7 @@ docker run --rm -p 3003:3003 \
-e CLI_ENABLED=false \
-e LLM_BACKEND=anthropic \
-e ANTHROPIC_API_KEY=<your-key> \
ironclaw-test
optimclaw-test
```
**Dummy run (no LLM, just test the UI loads):**
@@ -109,7 +109,7 @@ docker run --rm -p 3003:3003 \
-e ONBOARD_COMPLETED=true \
-e CLI_ENABLED=false \
-e NEARAI_API_KEY=dummy \
ironclaw-test
optimclaw-test
```
### Common Overrides
@@ -119,7 +119,7 @@ docker run --rm -p 3003:3003 \
| `GATEWAY_PORT` | Change the listen port | `3003` (default) |
| `GATEWAY_AUTH_TOKEN` | Auth token for API | `test` (default) |
| `NEARAI_MODEL` | Override LLM model | `claude-3-5-sonnet-20241022` |
| `RUST_LOG` | Logging verbosity | `ironclaw=debug` |
| `RUST_LOG` | Logging verbosity | `optimclaw=debug` |
| `ROUTINES_ENABLED` | Enable routines | `true`/`false` |
| `SKILLS_ENABLED` | Enable skills system | `true` (default) |
@@ -128,8 +128,8 @@ docker run --rm -p 3003:3003 \
Run multiple containers on different host ports:
```bash
docker run --rm -d --name ic-test-a -p 3003:3003 -e ONBOARD_COMPLETED=true -e CLI_ENABLED=false -e NEARAI_API_KEY=dummy ironclaw-test
docker run --rm -d --name ic-test-b -p 3004:3003 -e ONBOARD_COMPLETED=true -e CLI_ENABLED=false -e NEARAI_API_KEY=dummy ironclaw-test
docker run --rm -d --name ic-test-a -p 3003:3003 -e ONBOARD_COMPLETED=true -e CLI_ENABLED=false -e NEARAI_API_KEY=dummy optimclaw-test
docker run --rm -d --name ic-test-b -p 3004:3003 -e ONBOARD_COMPLETED=true -e CLI_ENABLED=false -e NEARAI_API_KEY=dummy optimclaw-test
```
## Chrome MCP Testing Workflow
@@ -195,10 +195,10 @@ Click tabs, send messages, search skills — use `computer` tool with `action=cl
docker stop ic-test-a
# Stop all test containers
docker ps --filter ancestor=ironclaw-test -q | xargs -r docker stop
docker ps --filter ancestor=optimclaw-test -q | xargs -r docker stop
# Remove the test image
docker rmi ironclaw-test
docker rmi optimclaw-test
```
## Troubleshooting
@@ -1,9 +1,9 @@
---
name: ironclaw-workflow-orchestrator
description: "Install and operate a full GitHub issue-to-merge workflow in IronClaw using event-driven and cron routines. Use when setting up or tuning autonomous project orchestration: issue intake, planning, maintainer feedback handling, branch/PR execution, CI/comment follow-up, batched staging review every 8 hours, and memory updates from merge outcomes."
name: optimclaw-workflow-orchestrator
description: "Install and operate a full GitHub issue-to-merge workflow in OptimClaw using event-driven and cron routines. Use when setting up or tuning autonomous project orchestration: issue intake, planning, maintainer feedback handling, branch/PR execution, CI/comment follow-up, batched staging review every 8 hours, and memory updates from merge outcomes."
---
# IronClaw Workflow Orchestrator
# OptimClaw Workflow Orchestrator
## Overview
Use this skill to install and maintain a complete project workflow as routines, not core code changes. It maps GitHub webhook events plus scheduled checks into plan/update/implement/review/merge loops with explicit staging-batch analysis.
@@ -1,4 +1,4 @@
interface:
display_name: "IronClaw Workflow Orchestrator"
display_name: "OptimClaw Workflow Orchestrator"
short_description: "Install and run event-driven GitHub workflow routines"
default_prompt: "Set up the full issue-to-merge workflow using routines and event triggers."
+1 -1
View File
@@ -18,7 +18,7 @@ activation:
# Pre-Merge Review Checklist
Before merging, verify these items. They represent the most common issues caught by automated code reviewers (Copilot, Gemini) on IronClaw PRs.
Before merging, verify these items. They represent the most common issues caught by automated code reviewers (Copilot, Gemini) on OptimClaw PRs.
## Database Operations
- [ ] Multi-step DB operations are wrapped in transactions (INSERT+INSERT, UPDATE+DELETE, read-modify-write)
+5 -5
View File
@@ -1,7 +1,7 @@
---
name: web-ui-test
version: 0.1.0
description: Test the IronClaw web UI using the Claude for Chrome browser extension.
description: Test the OptimClaw web UI using the Claude for Chrome browser extension.
activation:
keywords:
- test web ui
@@ -19,11 +19,11 @@ activation:
# Web UI Testing with Claude for Chrome
Use this skill when manually testing the IronClaw web gateway UI via the Claude for Chrome browser extension.
Use this skill when manually testing the OptimClaw web gateway UI via the Claude for Chrome browser extension.
## Prerequisites
- IronClaw must be running with `GATEWAY_ENABLED=true`
- OptimClaw must be running with `GATEWAY_ENABLED=true`
- Note the gateway URL (default: `http://127.0.0.1:3000/`) and auth token
- The Claude for Chrome extension must be installed and connected
@@ -33,7 +33,7 @@ Use this skill when manually testing the IronClaw web gateway UI via the Claude
CLI_ENABLED=false GATEWAY_AUTH_TOKEN=<your-token> cargo run
```
Wait for "Agent ironclaw ready and listening" in the logs before proceeding.
Wait for "Agent optimclaw ready and listening" in the logs before proceeding.
## Test Checklist
@@ -94,7 +94,7 @@ Wait for "Agent ironclaw ready and listening" in the logs before proceeding.
After testing, remove any test-installed skills:
```bash
rm -rf ~/.ironclaw/installed_skills/<skill-name>
rm -rf ~/.optimclaw/installed_skills/<skill-name>
```
Stop the server with Ctrl+C or by killing the process.