{"record":{"id":"3ededbae49cd9999","repo":"browser-use/browser-use","slug":"failed-to-read-skill-from-exe-skill-error","errorCode":null,"errorMessage":"Failed to read skill from `{exe} skill`: {error}","messagePattern":"Failed to read skill from `(.+?) skill`: (.+?)","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"browser_use/skills/install.py","lineNumber":83,"sourceCode":"def _install_browser_use_tool() -> None:\n\tuv = shutil.which('uv')\n\tif not uv:\n\t\traise RuntimeError('Installing the Browser Use skill requires `uv`. Install uv, then rerun `browser-use skill install`.')\n\n\tresult = subprocess.run([uv, 'tool', 'install', '--python', '3.12', '--upgrade', '--force', 'browser-use'])\n\tif result.returncode != 0:\n\t\traise RuntimeError('Failed to install browser-use with `uv tool install --python 3.12 --upgrade --force browser-use`.')\n\n\ndef _load_skill_text_from_browser_harness_cli() -> str:\n\texe = _browser_harness_executable()\n\tif exe is None:\n\t\treturn _load_skill_text_from_package()\n\n\tresult = subprocess.run([exe, 'skill'], capture_output=True, text=True)\n\tif result.returncode != 0:\n\t\terror = result.stderr.strip() or result.stdout.strip() or 'unknown error'\n\t\traise RuntimeError(f'Failed to read skill from `{exe} skill`: {error}')\n\n\tfrom browser_use.skills.browser_use import as_browser_use_skill\n\n\treturn as_browser_use_skill(result.stdout)\n\n\ndef _build_parser() -> argparse.ArgumentParser:\n\tparser = argparse.ArgumentParser(\n\t\tprog='browser-use skill',\n\t\tdescription='Print or install the Browser Use skill.',\n\t)\n\tsubparsers = parser.add_subparsers(dest='command')\n\n\tsubparsers.add_parser('show', help='Print the skill text to stdout')\n\n\tinstall = subparsers.add_parser('install', help='Install the skill')\n\tinstall.add_argument(\n\t\t'--target',","sourceCodeStart":65,"sourceCodeEnd":101,"githubUrl":"https://github.com/browser-use/browser-use/blob/6c73fced2f6d45a11d88622fe56365a5fe18f28b/browser_use/skills/install.py#L65-L101","documentation":"Error \"Failed to read skill from `{exe} skill`: {error}\" thrown in browser-use/browser-use.","triggerScenarios":"Reading the installed skill via `{exe} skill` fails or returns unexpected output.","commonSituations":"The installed browser-use CLI is broken, wrong version, or not on PATH.","solutions":["Verify the executable path `{exe}` exists and supports the `skill` subcommand.","Check the reported error for details (permissions, corrupted install)."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6c73fced2f6d45a11d88622fe56365a5fe18f28b","analyzedAt":"2026-08-14T19:42:40.557Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}