Skip to content

docs: /agent-setup/prompt.md is a dead link on the agent setup page #344

Closed

Description

@nc9

The agent setup page tells a user to paste a prompt that fetches https://docs.squirrelscan.com/agent-setup/prompt.md, and the CopyPrompt button links to /agent-setup/prompt.md. No such file exists in docs/.

docs/agent-setup/index.mdx lines 21 and 25.

tangly check --strict passes, because it treats an id it does not recognise as an external route rather than a dead link. A filesystem check over the .mdx tree plus the static files under docs/ finds it: it is the only dead internal link in 2,785 across the whole docs tree.

This is the one page where a dead link costs the most, since the instruction is for an agent to fetch that exact URL, and the failure is silent from the user's side.

Either the file was never committed or it is expected to be generated at build time and is not. Found while adding the entity map docs pages; not fixing it there because I do not know which of the two it is.

Activity

  1. nc9 commented on Sep 23, 2026

    @nc9
    ContributorAuthor

    The link works. docs/agent-setup/prompt.mdx (added in #131) is served as markdown at https://docs.squirrelscan.com/agent-setup/prompt.md (HTTP 200, text/markdown, the page's own content), and a non-existent .md path returns 404. The filesystem check looked for a literal prompt.md file, so it missed the .mdx source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions