{
  "name": "Original CLI",
  "version": "1.0",
  "generated": "2026-11-06T12:42:17.870Z",
  "site": "https://original.wales/",
  "interactive": "https://original.wales/cli/",
  "manual": "https://original.wales/cli/manual.txt",
  "agents": "https://original.wales/AGENTS.md",
  "note": "Static endpoints are the canonical machine interface. ?cmd= requires JavaScript and is not an API.",
  "commands": [
    {
      "name": "help",
      "usage": "help [command]",
      "description": "List commands or explain one.",
      "interactiveOnly": true
    },
    {
      "name": "manual",
      "usage": "manual",
      "description": "Print the agent CLI manual.",
      "endpoint": "/cli/manual.txt"
    },
    {
      "name": "agents",
      "usage": "agents",
      "description": "Print agent onboarding.",
      "endpoint": "/AGENTS.md"
    },
    {
      "name": "api",
      "usage": "api",
      "description": "List machine endpoints.",
      "endpoint": "/cli/commands.json"
    },
    {
      "name": "ls",
      "usage": "ls [-l] [path]",
      "description": "List a directory, section, or file category.",
      "endpoint": "/cli/ls.txt"
    },
    {
      "name": "cd",
      "usage": "cd <path>",
      "description": "Change the virtual directory.",
      "interactiveOnly": true
    },
    {
      "name": "pwd",
      "usage": "pwd",
      "description": "Print the current path.",
      "interactiveOnly": true
    },
    {
      "name": "tree",
      "usage": "tree",
      "description": "Print the site tree.",
      "endpoint": "/cli/tree.txt"
    },
    {
      "name": "files",
      "usage": "files [category|tag]",
      "description": "List files by category or tag.",
      "endpoint": "/cli/files.txt"
    },
    {
      "name": "cat",
      "usage": "cat <file>",
      "description": "Metadata and summary for one file.",
      "endpoint": "/cli/cat/<id>.txt"
    },
    {
      "name": "read",
      "usage": "read <file>",
      "description": "Complete text of one file.",
      "endpoint": "/cli/read/<id>.txt"
    },
    {
      "name": "head",
      "usage": "head <file> [n]",
      "description": "First n lines of a file.",
      "interactiveOnly": true
    },
    {
      "name": "tail",
      "usage": "tail <file> [n]",
      "description": "Last n lines of a file.",
      "interactiveOnly": true
    },
    {
      "name": "search",
      "usage": "search <term>",
      "description": "Full-text search over /search.json.",
      "endpoint": "/search.json",
      "interactiveOnly": true
    },
    {
      "name": "context",
      "usage": "context <file>",
      "description": "Metadata, citation, related files, and full text.",
      "endpoint": "/cli/context/<id>.txt"
    },
    {
      "name": "cite",
      "usage": "cite <file>",
      "description": "Citation line for one file.",
      "endpoint": "/cli/cite/<id>.txt"
    },
    {
      "name": "related",
      "usage": "related <file>",
      "description": "Files sharing category or tags.",
      "interactiveOnly": true
    },
    {
      "name": "verify",
      "usage": "verify <file>",
      "description": "Download and verify SHA-256 in the browser.",
      "interactiveOnly": true
    },
    {
      "name": "manifest",
      "usage": "manifest",
      "description": "Print the TSV inventory.",
      "endpoint": "/cli/manifest.tsv"
    },
    {
      "name": "sitemap",
      "usage": "sitemap",
      "description": "Print the plain-text sitemap.",
      "endpoint": "/cli/sitemap.txt"
    },
    {
      "name": "licenses",
      "usage": "licenses [id]",
      "description": "License feature matrix, or one license.",
      "endpoint": "/cli/licenses.json"
    },
    {
      "name": "resources",
      "usage": "resources [category]",
      "description": "Official resource inventory, grouped by category.",
      "endpoint": "/cli/resources.json"
    },
    {
      "name": "kits",
      "usage": "kits",
      "description": "Downloadable kit bundles.",
      "endpoint": "/kits/index.json"
    },
    {
      "name": "guides",
      "usage": "guides",
      "description": "Plain-language guides.",
      "endpoint": "/guides.json"
    },
    {
      "name": "data",
      "usage": "data",
      "description": "Public datasets.",
      "endpoint": "/data/index.json"
    },
    {
      "name": "downloads",
      "usage": "downloads",
      "description": "Library and category archives.",
      "endpoint": "/downloads/index.json"
    },
    {
      "name": "compare",
      "usage": "compare <id...>",
      "description": "Compare 2-6 licenses in text.",
      "endpoint": "/cli/licenses.json",
      "interactiveOnly": true
    },
    {
      "name": "download",
      "usage": "download <file>",
      "description": "Start a download (browser).",
      "interactiveOnly": true
    },
    {
      "name": "open",
      "usage": "open <section|file|url>",
      "description": "Navigate or open an external URL (browser).",
      "interactiveOnly": true
    },
    {
      "name": "status",
      "usage": "status",
      "description": "GitHub platform and site reachability (browser).",
      "interactiveOnly": true
    },
    {
      "name": "links",
      "usage": "links",
      "description": "List curated links.",
      "endpoint": "/cli/links.txt"
    },
    {
      "name": "tools",
      "usage": "tools",
      "description": "List browser tools.",
      "endpoint": "/cli/tools.txt"
    },
    {
      "name": "contact",
      "usage": "contact",
      "description": "Email and GitHub contact details.",
      "interactiveOnly": true
    },
    {
      "name": "stats",
      "usage": "stats",
      "description": "Counts, total bytes, generation time.",
      "endpoint": "/cli/stats.txt"
    },
    {
      "name": "about",
      "usage": "about",
      "description": "One-paragraph site description.",
      "endpoint": "/cli/about.txt"
    },
    {
      "name": "date",
      "usage": "date",
      "description": "Current date and time.",
      "interactiveOnly": true
    },
    {
      "name": "whoami",
      "usage": "whoami",
      "description": "Identify the visitor.",
      "interactiveOnly": true
    },
    {
      "name": "source",
      "usage": "source",
      "description": "Source repository URL.",
      "interactiveOnly": true
    },
    {
      "name": "history",
      "usage": "history",
      "description": "Command history.",
      "interactiveOnly": true
    },
    {
      "name": "clear",
      "usage": "clear",
      "description": "Clear the screen.",
      "interactiveOnly": true
    },
    {
      "name": "exit",
      "usage": "exit",
      "description": "Leave the shell (Esc also works).",
      "interactiveOnly": true
    }
  ],
  "endpoints": [
    {
      "path": "/AGENTS.md",
      "format": "text/markdown",
      "description": "Agent onboarding.",
      "url": "https://original.wales/AGENTS.md"
    },
    {
      "path": "/cli/manual.txt",
      "format": "text/plain",
      "description": "Complete CLI/AI manual.",
      "url": "https://original.wales/cli/manual.txt"
    },
    {
      "path": "/cli/commands.json",
      "format": "application/json",
      "description": "This manifest.",
      "url": "https://original.wales/cli/commands.json"
    },
    {
      "path": "/cli/ls.txt",
      "format": "text/plain",
      "description": "Sections with URLs.",
      "url": "https://original.wales/cli/ls.txt"
    },
    {
      "path": "/cli/tree.txt",
      "format": "text/plain",
      "description": "Site tree.",
      "url": "https://original.wales/cli/tree.txt"
    },
    {
      "path": "/cli/files.txt",
      "format": "text/plain",
      "description": "All files with metadata and checksums.",
      "url": "https://original.wales/cli/files.txt"
    },
    {
      "path": "/cli/files/<category>.txt",
      "format": "text/plain",
      "description": "One file category: licenses, standards, snippets, headers, policies, governance, agents.",
      "url": "/cli/files/<category>.txt"
    },
    {
      "path": "/cli/cat/<id>.txt",
      "format": "text/plain",
      "description": "File metadata and summary.",
      "url": "/cli/cat/<id>.txt"
    },
    {
      "path": "/cli/read/<id>.txt",
      "format": "text/plain",
      "description": "Full file text.",
      "url": "/cli/read/<id>.txt"
    },
    {
      "path": "/cli/context/<id>.txt",
      "format": "text/plain",
      "description": "Metadata, citation, related files, full text.",
      "url": "/cli/context/<id>.txt"
    },
    {
      "path": "/cli/cite/<id>.txt",
      "format": "text/plain",
      "description": "Citation line.",
      "url": "/cli/cite/<id>.txt"
    },
    {
      "path": "/cli/manifest.tsv",
      "format": "text/tab-separated-values",
      "description": "One row per file.",
      "url": "https://original.wales/cli/manifest.tsv"
    },
    {
      "path": "/cli/manifest-sha256.txt",
      "format": "text/plain",
      "description": "SHA-256 of manifest.tsv.",
      "url": "https://original.wales/cli/manifest-sha256.txt"
    },
    {
      "path": "/kits/index.json",
      "format": "application/json",
      "description": "Kit bundles with file lists and ZIP checksums.",
      "url": "https://original.wales/kits/index.json"
    },
    {
      "path": "/feed.json",
      "format": "application/feed+json",
      "description": "JSON Feed 1.1.",
      "url": "https://original.wales/feed.json"
    },
    {
      "path": "/files/<id>.md",
      "format": "text/markdown",
      "description": "Markdown version of a file entry.",
      "url": "/files/<id>.md"
    },
    {
      "path": "/llms-full.txt",
      "format": "text/plain",
      "description": "Full corpus with metadata and checksums.",
      "url": "https://original.wales/llms-full.txt"
    },
    {
      "path": "/llms-small.txt",
      "format": "text/plain",
      "description": "Metadata-only corpus.",
      "url": "https://original.wales/llms-small.txt"
    },
    {
      "path": "/schemas/index.schema.json",
      "format": "application/schema+json",
      "description": "Schema for index.json.",
      "url": "https://original.wales/schemas/index.schema.json"
    },
    {
      "path": "/schemas/resources.schema.json",
      "format": "application/schema+json",
      "description": "Schema for resources.json.",
      "url": "https://original.wales/schemas/resources.schema.json"
    },
    {
      "path": "/schemas/search.schema.json",
      "format": "application/schema+json",
      "description": "Schema for search.json.",
      "url": "https://original.wales/schemas/search.schema.json"
    },
    {
      "path": "/schemas/licenses.schema.json",
      "format": "application/schema+json",
      "description": "Schema for licenses.json.",
      "url": "https://original.wales/schemas/licenses.schema.json"
    },
    {
      "path": "/schemas/data.schema.json",
      "format": "application/schema+json",
      "description": "Schema for public datasets.",
      "url": "https://original.wales/schemas/data.schema.json"
    },
    {
      "path": "/guides.json",
      "format": "application/json",
      "description": "Guide metadata and Markdown URLs.",
      "url": "https://original.wales/guides.json"
    },
    {
      "path": "/data/index.json",
      "format": "application/json",
      "description": "Public dataset index.",
      "url": "https://original.wales/data/index.json"
    },
    {
      "path": "/data/<id>.json",
      "format": "application/json",
      "description": "One public dataset as records.",
      "url": "/data/<id>.json"
    },
    {
      "path": "/data/<id>.csv",
      "format": "text/csv",
      "description": "One public dataset as CSV.",
      "url": "/data/<id>.csv"
    },
    {
      "path": "/guides/<id>.md",
      "format": "text/markdown",
      "description": "One guide as Markdown.",
      "url": "/guides/<id>.md"
    },
    {
      "path": "/guides/directory.json",
      "format": "application/json",
      "description": "Public source directory.",
      "url": "https://original.wales/guides/directory.json"
    },
    {
      "path": "/guides/letters.json",
      "format": "application/json",
      "description": "Letter templates and fields.",
      "url": "https://original.wales/guides/letters.json"
    },
    {
      "path": "/guides/checklists.json",
      "format": "application/json",
      "description": "Public checklists.",
      "url": "https://original.wales/guides/checklists.json"
    },
    {
      "path": "/downloads/index.json",
      "format": "application/json",
      "description": "Library ZIPs and catalog.",
      "url": "https://original.wales/downloads/index.json"
    },
    {
      "path": "/corrections.json",
      "format": "application/json",
      "description": "Corrections log.",
      "url": "https://original.wales/corrections.json"
    },
    {
      "path": "/opensearch.xml",
      "format": "application/opensearchdescription+xml",
      "description": "OpenSearch description.",
      "url": "https://original.wales/opensearch.xml"
    },
    {
      "path": "/status/sources.json",
      "format": "application/json",
      "description": "Latest source health check.",
      "url": "https://original.wales/status/sources.json"
    },
    {
      "path": "/openapi.json",
      "format": "application/openapi+json",
      "description": "OpenAPI description of static endpoints.",
      "url": "https://original.wales/openapi.json"
    },
    {
      "path": "/embed/",
      "format": "text/html",
      "description": "Embeddable tool directory.",
      "url": "https://original.wales/embed/"
    },
    {
      "path": "/cli/sitemap.txt",
      "format": "text/plain",
      "description": "Plain-text site map.",
      "url": "https://original.wales/cli/sitemap.txt"
    },
    {
      "path": "/cli/tools.txt",
      "format": "text/plain",
      "description": "Browser tools.",
      "url": "https://original.wales/cli/tools.txt"
    },
    {
      "path": "/cli/links.txt",
      "format": "text/plain",
      "description": "Curated links and contacts.",
      "url": "https://original.wales/cli/links.txt"
    },
    {
      "path": "/cli/stats.txt",
      "format": "text/plain",
      "description": "Counts and total size.",
      "url": "https://original.wales/cli/stats.txt"
    },
    {
      "path": "/cli/about.txt",
      "format": "text/plain",
      "description": "Site description.",
      "url": "https://original.wales/cli/about.txt"
    },
    {
      "path": "/cli/licenses.json",
      "format": "application/json",
      "description": "License feature matrix.",
      "url": "https://original.wales/cli/licenses.json"
    },
    {
      "path": "/cli/resources.json",
      "format": "application/json",
      "description": "Resource inventory with official-source flags.",
      "url": "https://original.wales/cli/resources.json"
    },
    {
      "path": "/index.json",
      "format": "application/json",
      "description": "Full site index.",
      "url": "https://original.wales/index.json"
    },
    {
      "path": "/search.json",
      "format": "application/json",
      "description": "Full-text search corpus.",
      "url": "https://original.wales/search.json"
    },
    {
      "path": "/llms.txt",
      "format": "text/plain",
      "description": "llms.txt site description.",
      "url": "https://original.wales/llms.txt"
    },
    {
      "path": "/.well-known/security.txt",
      "format": "text/plain",
      "description": "RFC 9116 security contact.",
      "url": "https://original.wales/.well-known/security.txt"
    },
    {
      "path": "/rss.xml",
      "format": "application/rss+xml",
      "description": "RSS feed.",
      "url": "https://original.wales/rss.xml"
    },
    {
      "path": "/sitemap-index.xml",
      "format": "application/xml",
      "description": "XML sitemap.",
      "url": "https://original.wales/sitemap-index.xml"
    }
  ],
  "schemas": {
    "index": "https://original.wales/index.json",
    "search": "https://original.wales/search.json",
    "licenses": "https://original.wales/cli/licenses.json",
    "resources": "https://original.wales/cli/resources.json",
    "manifest": "https://original.wales/cli/manifest.tsv",
    "manifestHash": "https://original.wales/cli/manifest-sha256.txt",
    "kits": "https://original.wales/kits/index.json",
    "feed": "https://original.wales/feed.json",
    "llmsFull": "https://original.wales/llms-full.txt",
    "llmsSmall": "https://original.wales/llms-small.txt",
    "schemas": "https://original.wales/schemas/index.schema.json",
    "guides": "https://original.wales/guides.json",
    "data": "https://original.wales/data/index.json",
    "directory": "https://original.wales/guides/directory.json",
    "letters": "https://original.wales/guides/letters.json",
    "checklists": "https://original.wales/guides/checklists.json",
    "downloads": "https://original.wales/downloads/index.json",
    "corrections": "https://original.wales/corrections.json",
    "opensearch": "https://original.wales/opensearch.xml",
    "sourceHealth": "https://original.wales/status/sources.json",
    "openapi": "https://original.wales/openapi.json",
    "embed": "https://original.wales/embed/"
  },
  "schemaFiles": {
    "index": "https://original.wales/schemas/index.schema.json",
    "resources": "https://original.wales/schemas/resources.schema.json",
    "search": "https://original.wales/schemas/search.schema.json",
    "licenses": "https://original.wales/schemas/licenses.schema.json",
    "data": "https://original.wales/schemas/data.schema.json"
  },
  "conventions": {
    "encoding": "UTF-8",
    "lineEndings": "LF",
    "cors": "GitHub Pages sends Access-Control-Allow-Origin: *",
    "auth": "none",
    "readonly": true
  },
  "security": {
    "contact": "security@original.wales",
    "securityTxt": "https://original.wales/.well-known/security.txt"
  }
}