{"record":{"id":"00cfba7a7fcfb2e6","repo":"zed-industries/zed","slug":"no-eval-cli-binary-provided-either-pass-binary-pa","errorCode":null,"errorMessage":"No eval-cli binary provided. Either pass binary_path=/path/to/target/release/eval-cli, set download_url=/EVAL_CLI_DOWNLOAD_URL, or set --ae EVAL_CLI_CONTAINER_PATH=/path/inside/container.","messagePattern":"No eval-cli binary provided\\. Either pass binary_path=/path/to/target/release/eval-cli, set download_url=/EVAL_CLI_DOWNLOAD_URL, or set --ae EVAL_CLI_CONTAINER_PATH=/path/inside/container\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"warning","filePath":"crates/eval_cli/zed_eval/agent.py","lineNumber":127,"sourceCode":"            await self.exec_as_root(\n                environment,\n                command=\"chmod +x /usr/local/bin/eval-cli && eval-cli --help\",\n            )\n            return\n\n        if self._download_url:\n            await self.exec_as_root(\n                environment,\n                command=(\n                    f\"curl -fsSL {shlex.quote(self._download_url)} \"\n                    \"-o /usr/local/bin/eval-cli && \"\n                    \"chmod +x /usr/local/bin/eval-cli && \"\n                    \"eval-cli --help\"\n                ),\n            )\n            return\n\n        raise ValueError(\n            \"No eval-cli binary provided. \"\n            \"Either pass binary_path=/path/to/target/release/eval-cli, \"\n            \"set download_url=/EVAL_CLI_DOWNLOAD_URL, \"\n            \"or set --ae EVAL_CLI_CONTAINER_PATH=/path/inside/container.\"\n        )\n\n    async def _install_node(self, environment: BaseEnvironment) -> None:\n        \"\"\"Install Node.js from official binary tarballs.\n\n        Uses the musl build on Alpine and the glibc build elsewhere.\n        Skips if node is already on PATH.\n        \"\"\"\n        try:\n            await self.exec_as_root(\n                environment,\n                command=(\n                    \"if command -v node >/dev/null 2>&1; then \"\n                    '  echo \"Node.js already available: $(node --version)\"; '","sourceCodeStart":109,"sourceCodeEnd":145,"githubUrl":"https://github.com/zed-industries/zed/blob/f4178619acd0d47ea1f76a2025c42962c6d6638c/crates/eval_cli/zed_eval/agent.py#L109-L145","documentation":"ensure_markdown_path checks that the last path segment ends with '.md' (case-insensitively), because a Zed skill is defined by a markdown file. Any other extension — or no extension — is rejected before the fetch happens.","triggerScenarios":"The URL's final segment does not end with .md (after lowercasing): README.txt, SKILL.md.j2, docs.adoc, install.sh, or a path that ends at a directory-like segment with no extension.","commonSituations":"The skill instructions live in README (no extension) or .adoc/.rst; the user points at a template or a wrapper script instead of the skill markdown.","solutions":["Point the URL at the markdown file itself, e.g. .../blob/main/SKILL.md","If the content is in another format, convert or copy it into a .md file in the repo first"],"exampleFix":"# before\nhttps://github.com/acme/skills/blob/main/README\n\n# after\nhttps://github.com/acme/skills/blob/main/README.md","handlingStrategy":"validation","validationCode":"let is_markdown = url.path_segments()\n    .and_then(|s| s.last())\n    .is_some_and(|name| name.to_ascii_lowercase().ends_with(\".md\"));\nensure!(is_markdown, \"Paste a GitHub URL that points to a .md file\");","typeGuard":"fn points_to_markdown(url: &url::Url) -> bool {\n    url.path_segments()\n        .and_then(|s| s.last())\n        .map(|name| name.to_ascii_lowercase().ends_with(\".md\"))\n        .unwrap_or(false)\n}","tryCatchPattern":null,"preventionTips":["Check the .md suffix client-side and disable the import button until it holds","Keep skills authored as SKILL.md so the convention always satisfies the check"],"tags":["url-validation","file-extension","markdown"],"backgroundTag":"file-extension-validation","analyzedSha":"f4178619acd0d47ea1f76a2025c42962c6d6638c","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}