zed-industries/zed · warning · ValueError

No eval-cli binary provided. Either pass…

Error message

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.

What it means

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.

Solutions

  1. Point the URL at the markdown file itself, e.g. .../blob/main/SKILL.md
  2. If the content is in another format, convert or copy it into a .md file in the repo first

Example fix

# before
https://github.com/acme/skills/blob/main/README

# after
https://github.com/acme/skills/blob/main/README.md
Defensive patterns

Strategy: validation

Validate before calling

let is_markdown = url.path_segments()
    .and_then(|s| s.last())
    .is_some_and(|name| name.to_ascii_lowercase().ends_with(".md"));
ensure!(is_markdown, "Paste a GitHub URL that points to a .md file");

Type guard

fn points_to_markdown(url: &url::Url) -> bool {
    url.path_segments()
        .and_then(|s| s.last())
        .map(|name| name.to_ascii_lowercase().ends_with(".md"))
        .unwrap_or(false)
}

Prevention

When it happens

Trigger: 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.

Common situations: 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.

Related errors


AI-assisted analysis of zed-industries/zed@f4178619ac (2026-08-20). Data as JSON: /api/errors/00cfba7a7fcfb2e6. Report an issue: GitHub.

Appendix: source

Thrown at crates/eval_cli/zed_eval/agent.py:127

            await self.exec_as_root(
                environment,
                command="chmod +x /usr/local/bin/eval-cli && eval-cli --help",
            )
            return

        if self._download_url:
            await self.exec_as_root(
                environment,
                command=(
                    f"curl -fsSL {shlex.quote(self._download_url)} "
                    "-o /usr/local/bin/eval-cli && "
                    "chmod +x /usr/local/bin/eval-cli && "
                    "eval-cli --help"
                ),
            )
            return

        raise ValueError(
            "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."
        )

    async def _install_node(self, environment: BaseEnvironment) -> None:
        """Install Node.js from official binary tarballs.

        Uses the musl build on Alpine and the glibc build elsewhere.
        Skips if node is already on PATH.
        """
        try:
            await self.exec_as_root(
                environment,
                command=(
                    "if command -v node >/dev/null 2>&1; then "
                    '  echo "Node.js already available: $(node --version)"; '

View on GitHub (pinned to f4178619ac)