browser-use/browser-use · error · ValueError

Skill {skill_id} not found in cache. Available skills: {list

Error message

Skill {skill_id} not found in cache. Available skills: {list(self._skills.keys())}

What it means

Error "Skill {skill_id} not found in cache. Available skills: {list(self._skills.keys())}" thrown in browser-use/browser-use.

Source

Thrown at browser_use/skills/service.py:192

			parameters: Either a dictionary or BaseModel instance matching the skill's parameter schema

		Returns:
			ExecuteSkillResponse with execution results

		Raises:
			ValueError: If skill not found in cache or parameter validation fails
			Exception: If API call fails
		"""
		# Auto-initialize if needed
		if not self._initialized:
			await self.async_init()

		assert self._client is not None, 'Client not initialized'

		# Check if skill exists in cache
		skill = await self.get_skill(skill_id)
		if skill is None:
			raise ValueError(f'Skill {skill_id} not found in cache. Available skills: {list(self._skills.keys())}')

		# Extract cookie parameters from the skill
		cookie_params = [p for p in skill.parameters if p.type == 'cookie']

		# Build a dict of cookies from the provided cookie list
		cookie_dict: dict[str, str] = {cookie['name']: cookie['value'] for cookie in cookies}

		# Check for missing required cookies and fill cookie values
		if cookie_params:
			for cookie_param in cookie_params:
				is_required = cookie_param.required if cookie_param.required is not None else True

				if is_required and cookie_param.name not in cookie_dict:
					# Required cookie is missing - raise exception with description
					raise MissingCookieException(
						cookie_name=cookie_param.name, cookie_description=cookie_param.description or 'No description provided'
					)

View on GitHub (pinned to 6c73fced2f)

Solutions

  1. Use one of the available skill ids listed in the error message.
  2. Refresh/reload the skill cache if the skill was recently added.

When it happens

Trigger: Requested skill_id is not present in the locally cached skills map.

Common situations: Typo'd skill id, stale cache, or skill removed from the account.


AI-assisted analysis of browser-use/browser-use@6c73fced2f (2026-08-14). Data as JSON: /api/errors/3b44d361cfdc4d71. Report an issue: GitHub.