{"record":{"id":"3b44d361cfdc4d71","repo":"browser-use/browser-use","slug":"skill-skill-id-not-found-in-cache-available-ski","errorCode":null,"errorMessage":"Skill {skill_id} not found in cache. Available skills: {list(self._skills.keys())}","messagePattern":"Skill (.+?) not found in cache\\. Available skills: (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"browser_use/skills/service.py","lineNumber":192,"sourceCode":"\t\t\tparameters: Either a dictionary or BaseModel instance matching the skill's parameter schema\n\n\t\tReturns:\n\t\t\tExecuteSkillResponse with execution results\n\n\t\tRaises:\n\t\t\tValueError: If skill not found in cache or parameter validation fails\n\t\t\tException: If API call fails\n\t\t\"\"\"\n\t\t# Auto-initialize if needed\n\t\tif not self._initialized:\n\t\t\tawait self.async_init()\n\n\t\tassert self._client is not None, 'Client not initialized'\n\n\t\t# Check if skill exists in cache\n\t\tskill = await self.get_skill(skill_id)\n\t\tif skill is None:\n\t\t\traise ValueError(f'Skill {skill_id} not found in cache. Available skills: {list(self._skills.keys())}')\n\n\t\t# Extract cookie parameters from the skill\n\t\tcookie_params = [p for p in skill.parameters if p.type == 'cookie']\n\n\t\t# Build a dict of cookies from the provided cookie list\n\t\tcookie_dict: dict[str, str] = {cookie['name']: cookie['value'] for cookie in cookies}\n\n\t\t# Check for missing required cookies and fill cookie values\n\t\tif cookie_params:\n\t\t\tfor cookie_param in cookie_params:\n\t\t\t\tis_required = cookie_param.required if cookie_param.required is not None else True\n\n\t\t\t\tif is_required and cookie_param.name not in cookie_dict:\n\t\t\t\t\t# Required cookie is missing - raise exception with description\n\t\t\t\t\traise MissingCookieException(\n\t\t\t\t\t\tcookie_name=cookie_param.name, cookie_description=cookie_param.description or 'No description provided'\n\t\t\t\t\t)\n","sourceCodeStart":174,"sourceCodeEnd":210,"githubUrl":"https://github.com/browser-use/browser-use/blob/6c73fced2f6d45a11d88622fe56365a5fe18f28b/browser_use/skills/service.py#L174-L210","documentation":"Error \"Skill {skill_id} not found in cache. Available skills: {list(self._skills.keys())}\" thrown in browser-use/browser-use.","triggerScenarios":"Requested skill_id is not present in the locally cached skills map.","commonSituations":"Typo'd skill id, stale cache, or skill removed from the account.","solutions":["Use one of the available skill ids listed in the error message.","Refresh/reload the skill cache if the skill was recently added."],"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"}