AGENT SKILL

pc-agent

Use PC-Agent current and v1 desktop automation workflows with Mac/Windows routing, SoM/OCR/accessibility configuration, safe command building, and config validation.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
pc-agent
license
MIT
metadata
{ "disco-role": "operating" }
description
Use PC-Agent current and v1 desktop automation workflows with Mac/Windows routing, SoM/OCR/accessibility configuration, safe command building, and config validation.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

PC-Agent

Use this sub-skill when a task names PC-Agent, desktop automation, Mac/Windows screenshots, SoM, OCR, accessibility, coordinate ratio, font paths, PC-Agent/config.json, run.py, or run_v1.py.

Route map

Prompt signal Workflow Read / run
Current PC-Agent run.py, config.json model/token/url Current PC-Agent references/configuration.md, scripts/validate_pc_agent_config.py, scripts/build_pc_agent_command.py
PC-Agent v1, run_v1.py, --api_url, --api_token, --qwen_api PC-Agent v1 references/configuration.md, command builder with --version v1
Clicks offset, font issues, Mac vs Windows, SoM/A11y/OCR settings Action/perception tuning references/action-space.md
Headless CI, screenshot errors, accessibility permissions, OCR credentials Troubleshooting references/troubleshooting.md

Safe workflow

  1. Validate the private config without printing secrets:
python sub-skills/pc-agent/scripts/validate_pc_agent_config.py --config pc_config.json
  1. Build a current PC-Agent command:
python sub-skills/pc-agent/scripts/build_pc_agent_command.py \
  --version current \
  --os windows \
  --instruction "Open the browser and search project docs" \
  --ratio 1.0 \
  --ocr-api 1 \
  --use-a11y 1
  1. Build a v1 command only for legacy PC-Agent v1 workflows:
python sub-skills/pc-agent/scripts/build_pc_agent_command.py \
  --version v1 \
  --os mac \
  --instruction "Summarize the active webpage" \
  --api-token-env PC_AGENT_API_TOKEN
  1. Run live commands only on a user-approved Mac/Windows GUI session with screen and accessibility permissions.

Important facts

  • Current run.py reads model endpoint fields from config.json: vl_model_name, llm_model_name, url, token.
  • Current flags include --instruction, --use_som, --draw_text_box, --font_path, --add_info, --disable_reflection, --clear_history_each_subtask, --ratio, --use_a11y, --num_step_limit, --mac, --ocr_api, and --use_perception_info.
  • v1 flags include --pc_type, --api_url, --api_token, --qwen_api, --location_info, --icon_caption, and --disable_reflection.
  • Mac defaults usually need ratio 2; Windows defaults usually need ratio 1 and a Windows font path.

Boundaries

Do not run PC-Agent from a headless CI shell or paste raw config tokens into answers.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351