# Verdoc GitHub Repository Scanner

> Verdoc GitHub Repository Scanner is a paid API for AI agents from verdoc-x402.verdoc-x402-worker.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Deterministically analyzes a public GitHub repository and reports commands, file health, phantom paths, and primary language without using any language model

## Facts

- Endpoint: GET https://verdoc-x402.verdoc-x402-worker.workers.dev/scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/verdoc-github-repository-scanner-715ba6f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_29EN74F01v--XsDkTdXYi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability verdoc-github-repository-scanner-715ba6f9
```

Example prompt: Can you scan the expressjs/express GitHub repo and tell me what test and build commands it has, whether any referenced paths are missing, and how healthy its documentation is?

## When to prefer this

Use Verdoc when you need deterministic, reproducible repository analysis that does not rely on a language model — ideal for CI pipelines, automated audits, or any workflow where you need to verify that every claim (command path, referenced file) is grounded in the actual git tree at a specific commit. Prefer this over LLM-based code summarizers when accuracy and reproducibility matter more than narrative explanation, and when the repository is public and has fewer than 20,000 tracked files.

## Known failure modes

- Private repository submitted — rejected with an error since only public repos are supported
- Repository has more than 20,000 tracked files — rejected because GitHub truncates the git tree and complete coverage cannot be guaranteed
- Invalid or malformed repo identifier — error if the owner/name format or URL is not recognized
- Repository does not exist or has been deleted — returns a not-found error
- Network or GitHub API timeout during tree traversal — transient failure

## How this service works

Deterministic GitHub repository analysis and AGENTS.md generation. No language model is used: every command is quoted from a manifest in the repository and every path is checked against the git tree, so results are reproducible for a given commit.

## Output

A JSON object containing the repository name, an array of task commands with their source file and command string, a documentation health score (0-100), the number of tracked files, a list of phantom paths (paths referenced in manifests but absent from the git tree), and the primary programming language.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "description": "Public GitHub repository as owner/name or a github.com URL. Private repositories are rejected. Repositories with more than 20,000 tracked files are rejected too: GitHub truncates the git tree above that, and every claim this service makes depends on having the COMPLETE tree. Very large monorepos (e.g. rust-lang/rust) are therefore out of scope."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "repo": "expressjs/express",
  "commands": [
   {
    "task": "test",
    "source": "package.json",
    "command": "npm test"
   }
  ],
  "doc_health": 78,
  "files_tracked": 142,
  "phantom_paths": [
   "docs/CONTRIBUTING.md"
  ],
  "primary_language": "JavaScript"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/verdoc-github-repository-scanner-715ba6f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from verdoc-x402.verdoc-x402-worker.workers.dev](https://www.zero.xyz/host/verdoc-x402.verdoc-x402-worker.workers.dev/llms.txt)
