SMF Forgewright is an AI-guided browser-automation and self-tuning workbench. It packages a Webwright-style reproducible browser workflow with a SkillOpt-style local tuning loop so an AI assistant such as OpenClaw, Hermes, ClawPilot, Claude Code, Codex, or another coding agent can set up a repeatable web automation, present sample use cases, guide configuration, run it, score it, tune it, and prepare dashboards.
Forgewright is designed for cross-platform use on Windows, macOS, and Linux.
- A clear
AGENTS.mdbootstrap contract. - OpenClaw and Hermes specific onboarding guides.
- Cross-platform setup scripts.
- A Python CLI wizard for use-case intake and scaffolding.
- Playbook, source registry, SkillOpt rubric, fixture, and dashboard templates.
- Sample public-source use cases.
- A static dashboard pattern with JSON payload injection.
- Safety guardrails for credentials, private data, and outbound actions.
git clone https://github.com/smfworks/smf-forgewright.git
cd smf-forgewright
python -m venv .venv
# Windows PowerShell: .\.venv\Scripts\Activate.ps1
# macOS/Linux: source .venv/bin/activate
pip install -e .
playwright install firefox
forgewright doctor
forgewright bootstrap
forgewright examples
forgewright init-use-caseOr use the setup script for your platform:
# Windows PowerShell
.\scripts\setup.ps1# macOS/Linux
bash scripts/setup.shTell your AI assistant:
Read AGENTS.md in this repository. Set up Forgewright, run `forgewright bootstrap`, show me the sample use cases, ask me which one I want, then walk me through configuration, first run, SkillOpt tuning, and dashboard setup.
- Select or define a use case.
- Capture source boundaries, auth requirements, evidence needs, output shape, and dashboard goals.
- Generate a playbook and source registry.
- Run a Webwright-style collection that produces
plan.md,final_script.py, screenshots, logs, Markdown, and JSON. - Freeze local fixtures from playbook and run artifacts.
- Run a SkillOpt-style tuning pass with bounded edits.
- Human-review the promotion packet.
- Promote the tuned playbook if approved.
- Wire JSON output into a dashboard.
AGENTS.md AI bootstrap contract
OPENCLAW.md OpenClaw-specific instructions
HERMES.md Hermes-specific instructions
docs/ Engineering and safety docs
scripts/ Cross-platform setup and dashboard helpers
src/forgewright/ Python CLI wizard and utilities
templates/ Playbook, source registry, rubric, fixtures, dashboard templates
playbooks/ Example playbooks
playbooks/sources/ Example source registries
examples/ Sample use-case kits
skillopt/ SkillOpt-style harness templates
dashboards/ Static dashboard templates
Forgewright defaults to public/frozen/local sources. It does not authorize private workspace reads, confidential data access, credentials in code, outbound messages, posts, purchases, scheduling, or state-changing actions. Those require explicit user authorization and should remain human-reviewed.
The default public-facing demo is open-source-project-watchtower. It uses only public unauthenticated sources and avoids internal company material, real organization names beyond public open-source projects, and confidential data.
MIT. See LICENSE.