Install
openclaw skills install avenir-webExecute and improve Avenir-Web autonomous web tasks end-to-end with mode selection, instruction validation, single or batch runs, and next-step recommendations.
openclaw skills install avenir-webThis skill operates Avenir-Web for reliable web-task execution and iteration.
Responsibilities:
headless / headed / demo)Use this skill for requests like:
Single task:
python example.py --task "<instruction>" --website "<url>" --mode headless
Atomic action:
python scripts/atomic_action.py --action CLICK --website "<url>" --coords "500,500"
Read page:
python scripts/read_page.py --website "<url>" --question "<question>"
Batch:
cd src
python run_agent.py -c config/batch_experiment.toml
Prefer these scripts over ad-hoc commands.
Single task:
python example.py \
--task "On openrouter.ai, list image-input-capable distillable models sorted by price ascending." \
--website "https://openrouter.ai/" \
--mode demo
Batch:
cd src
python run_agent.py -c config/batch_experiment.toml
Atomic action:
python scripts/atomic_action.py \
--action TYPE \
--website "https://example.com/" \
--coords "500,420" \
--value "hello"
Read page:
python scripts/read_page.py \
--website "https://openrouter.ai/" \
--question "What models or prices are visible on this page?"
| mode | behavior | best for |
|---|---|---|
headless | no visible browser window | fast, reproducible runs and large batch jobs |
headed | visible browser window | manual observation without demo overlay |
demo | visible window + overlay/dashboard controls | live debugging and demonstrations |
Notes:
headlessdemo improves observability, not model intelligenceMode selection:
headlessheadeddemoconfirmed_task should include:
Template:
On <website>, <objective>. Apply constraints: <constraints>. Finish when <observable completion state>.Keep it single-goal, specific, and verifiable.
Input:
taskwebsitemode, task-id, output-dirSteps:
example.pyRecommended report fields:
task_idsuccess / partial / failedUse scripts/atomic_action.py when you need exactly one browser operation and do not want strategist/checklist generation.
Typical uses:
Properties:
Use scripts/read_page.py when you want to inspect the current page by screenshot and ask the main model a direct question.
Properties:
[
{
"task_id": "example_task_001",
"confirmed_task": "Find image-input-capable distillable models sorted by price ascending.",
"website": "https://openrouter.ai/"
}
]
Required per task:
task_idconfirmed_taskwebsitesrc/config/batch_experiment.toml)[basic].save_file_dir[experiment].task_file_path[experiment].max_op[playwright].mode[model].namemax_opRecommended batch report fields:
Required credential:
OPENROUTER_API_KEY (preferred)Resolution order:
OPENROUTER_API_KEY[api_keys].openrouter_api_key in TOML (fallback)Rules:
If adding helper scripts:
scripts/Before running:
pip install -e src)python -m playwright install chromium)Each run summary should include:
Avenir-Web execution and reliability skill: mode selection + instruction design + run analysis + iteration planning.