ORIGINAL — CLI MANUAL ===================== Version 1.0 · Generated 2026-11-06T12:42:17.947Z Base URL: https://original.wales/ Audience: AI agents, scripts, and humans who prefer plain text. This manual describes the machine-readable interface to Original: a static site holding canonical licenses, templates, references, status checks, and small tools. Everything is plain text or JSON; there are no accounts, no API keys, and no tracking scripts. 0. QUICK START -------------- curl https://original.wales/llms.txt curl https://original.wales/llms-small.txt curl https://original.wales/llms-full.txt curl https://original.wales/AGENTS.md curl https://original.wales/cli/manual.txt curl https://original.wales/cli/ls.txt curl https://original.wales/cli/files.txt curl https://original.wales/index.json curl https://original.wales/search.json Five things to remember: 1. Static endpoints are the canonical machine interface. 2. ?cmd= on /cli/ requires JavaScript; it is NOT an API. 3. Every file has a stable id, a page, a download, and a checksum. 4. Search happens client-side over /search.json; there is no query endpoint. 5. HTML pages are for humans; parse the text/JSON endpoints instead. 1. WHAT IS HERE --------------- FILES Canonical licenses, official standards, gitignore snippets, copyright headers, policies, governance, and agent templates. 86 files in 7 categories (local text plus external references). KITS Curated ZIP bundles under /files/kits/. GUIDES Plain-language guides, paths, checklists, letters, directory, transparency. DATA Public datasets under /data/ with JSON and CSV downloads. DOWNLOADS Full library and category ZIPs under /downloads/. SEARCH Full-text search UI at /search/. STATUS Build information and live checks for sites and services. UNIVERSE Browser tools: checksums, JSON, license comparison, chooser. ABOUT What the site is, who maintains it, how files are kept. CLI This interface. There are two modes: - interactive terminal at /cli/ (JavaScript) - static text endpoints under /cli/*.txt (no JavaScript) Every local file entry carries: title, id, category, date, version, format, size, license, SHA-256, source, tags, summary, page and download URLs. External-only entries name their source and omit the checksum. 2. TRANSPORT AND CONVENTIONS ---------------------------- Base URL: https://original.wales/ Formats: text/plain, application/json, text/csv, application/schema+json, text/tab-separated-values. CORS: GitHub Pages adds Access-Control-Allow-Origin: * to static assets. Auth: none. Rate: no application limit; static CDN. Be a polite client. Cache: static content is cacheable; use ETag/Last-Modified if available. Encoding: UTF-8. Line endings in source files are LF. Status codes: 200 success 301 moved (custom domain, http -> https) 404 unknown path; GitHub Pages returns an HTML error page (No 401, 403, 429, or 5xx are expected from the static site.) If you need JSON, prefer /index.json. If you need text, prefer /cli/*.txt. Do not scrape the HTML pages when a text endpoint exists. 3. STATIC ENDPOINTS (CANONICAL) ------------------------------- https://original.wales/AGENTS.md Onboarding for agents. Start here after this manual. https://original.wales/cli/manual.txt This document. https://original.wales/cli/commands.json Machine-readable command and endpoint manifest. https://original.wales/cli/ls.txt Site sections with absolute URLs. https://original.wales/cli/tree.txt Text tree of sections, categories, and file names. https://original.wales/cli/files.txt Every file with id, category, date, size, page, download, SHA-256, license, source, and tags. https://original.wales/cli/files/licenses.txt https://original.wales/cli/files/standards.txt https://original.wales/cli/files/snippets.txt https://original.wales/cli/files/headers.txt https://original.wales/cli/files/policies.txt https://original.wales/cli/files/governance.txt https://original.wales/cli/files/agents.txt One category per endpoint. Same fields as files.txt. https://original.wales/cli/cat/%3Cid%3E.txt Metadata and summary for one file. Example: https://original.wales/cli/cat/mit-license.txt https://original.wales/cli/read/%3Cid%3E.txt Complete text of one file. Example: https://original.wales/cli/read/mit-license.txt https://original.wales/cli/context/%3Cid%3E.txt Context pack: metadata, citation, related files, then full text. This is the best single request when an agent needs to USE a file. https://original.wales/cli/cite/%3Cid%3E.txt One-line citation with version, date, URL, and checksum. https://original.wales/cli/manifest.tsv Tab-separated inventory, one row per file. Header row: id, category, title, date, version, format, size, bytes, license, sha256, page, download, source, tags. https://original.wales/cli/manifest-sha256.txt SHA-256 of manifest.tsv. Verify with: shasum -a 256 manifest.tsv https://original.wales/kits/index.json Downloadable kit bundles with file lists and ZIP checksums. https://original.wales/downloads/index.json Full library and category ZIPs with checksums. https://original.wales/guides.json Guide metadata, audience, update date, and Markdown URLs. https://original.wales/data/index.json Public dataset index. Each dataset is at /data/.json and .csv. https://original.wales/guides/directory.json https://original.wales/guides/letters.json https://original.wales/guides/checklists.json https://original.wales/corrections.json https://original.wales/status/sources.json https://original.wales/openapi.json Directory, letter templates, checklists, corrections, source health, OpenAPI. https://original.wales/llms-full.txt Every local text file, in full, with metadata and checksums. https://original.wales/llms-small.txt Metadata-only corpus for agents that do not need the full text. https://original.wales/feed.json JSON Feed 1.1 of published files. https://original.wales/schemas/index.schema.json https://original.wales/schemas/resources.schema.json https://original.wales/schemas/search.schema.json https://original.wales/schemas/licenses.schema.json JSON Schemas for the machine-readable outputs. https://original.wales/cli/sitemap.txt Plain-text map of pages, files, tools, and machine endpoints. https://original.wales/cli/tools.txt Browser tools with absolute URLs and descriptions. https://original.wales/cli/links.txt Curated links, including contact and security. https://original.wales/cli/stats.txt Counts, total bytes, and generation timestamp. https://original.wales/cli/about.txt What the site is and how it is maintained. https://original.wales/cli/licenses.json License feature matrix: 16 common licenses x permissions/ conditions/limitations. Machine-readable comparison data. https://original.wales/cli/resources.json Resource inventory grouped by category, with official-source flags and checksums. https://original.wales/index.json JSON index: site metadata, sections, tools, files, links, and a machine endpoint map. Each file includes bytes and tags. https://original.wales/search.json Full-text search corpus: every text file with title, category, tags, summary, URLs, and text. Large; fetch once and search locally. https://original.wales/llms.txt llms.txt description of the site. https://original.wales/.well-known/security.txt RFC 9116 security contact. https://original.wales/rss.xml RSS feed of files. https://original.wales/sitemap-index.xml XML sitemap. 4. CONNECTING TO THE INTERACTIVE CLI ------------------------------------ https://original.wales/cli/ Full-screen terminal, black background, red text. Requires JS. https://original.wales/cli/?cmd=ls Runs one command in the browser. Requires JS. ?cmd= is a browser convenience. A plain HTTP client receives the application shell, not command output. Use the static endpoints instead. Multiple commands can be separated with semicolons (URL-encoded %3B). Add --json to supported commands for machine-readable output. 5. INTERACTIVE COMMAND REFERENCE -------------------------------- Paths: / , /files , and one directory per category: /files/licenses , /files/standards , /files/snippets , /files/headers , /files/policies , /files/governance , /files/agents. Targets: a file id (mit-license), a filename (mit.txt), or a full path. help [command] List commands or explain one. manual Print this manual (or fetch /cli/manual.txt). agents Print agent onboarding (or fetch /AGENTS.md). api List machine endpoints (or fetch commands.json). ls [-l] [path] List current directory, section, or file category. cd Change directory. pwd Print current path. tree Print the site tree. files [category|tag] List files, filtered by category or tag. cat Metadata and summary. read Complete file text. head [n] First n lines (default 20). tail [n] Last n lines (default 20). search Full-text search; matches title, summary, tags, text. context Metadata + citation + related + full text. cite Citation line. related Files sharing category or tags. verify Download and verify SHA-256 (browser only). manifest Print the TSV inventory. sitemap Print the plain-text sitemap. licenses [id] License matrix, or one license. resources [category] Official resource inventory, grouped by category. kits List downloadable kit bundles. guides List plain-language guides. data List public datasets. downloads List library and category archives. compare Compare 2-6 licenses in text. download Start a download (browser only). open Navigate or open a URL (browser only). status GitHub platform and site reachability (browser only). links List links. tools List browser tools. contact Email and GitHub contact details. stats Counts, bytes, generation time. about One-paragraph description. date Current date and time. whoami Identify the visitor. source Source repository URL. history Command history. clear Clear the screen (Ctrl+L). exit Leave (Esc also works). Flags: --json for supported commands. Keyboard: Tab completion, Up/Down history, Ctrl+L clear, Ctrl+C cancel input. 6. SEARCH --------- There is no server-side query endpoint. Fetch /search.json and search locally. Schema: { "generated": "ISO-8601", "docs": [ { "id": "mit-license", "title": "MIT LICENSE", "category": "LICENSES", "tags": ["PERMISSIVE"], "summary": "...", "url": "/files/mit-license/", "download": "/files/licenses/mit.txt", "text": "..." } ] } jq example (case-insensitive substring): curl -s https://original.wales/search.json \ | jq -r '.docs[] | select(.text | ascii_downcase | contains("indemn")) | .id' Python example: import json, urllib.request docs = json.load(urllib.request.urlopen("https://original.wales/search.json"))["docs"] term = "indemn" for doc in docs: lines = [l for l in doc["text"].splitlines() if term in l.lower()] if lines or term in doc["title"].lower() or any(term in t.lower() for t in doc.get("tags", [])): print(doc["id"], doc["title"], len(lines)) For structured metadata only, use /index.json instead of /search.json. A browser UI for full-text search lives at /search/?q=term. Every file also has a Markdown version at /files/.md. 7. VERIFYING CONTENT -------------------- Every file has a SHA-256 in index.json, files.txt, context packs, and manifest.tsv. To verify a download: curl -sO https://original.wales/files/licenses/mit.txt shasum -a 256 mit.txt Compare with the file page or /index.json. A mismatch means the file is not the published version. In the browser, the CLI command verify downloads and compares automatically. 8. CONTEXT PACKS ---------------- For agent use, prefer /cli/context/.txt over raw downloads: curl -s https://original.wales/cli/context/mit-license.txt A pack contains: id, title, category, date, version, format, size, bytes, license, SHA-256, page, download, source, tags, summary, citation, related files, and the full text between markers: --- BEGIN CONTENT --- ... --- END CONTENT --- Files without a local mirror (external only) state the external URL and omit the content block. 9. CITATION ----------- curl -s https://original.wales/cli/cite/mit-license.txt Format: MIT LICENSE (v1.0, 2026-10-17). Original. https://original.wales/files/mit-license/. SHA-256: b057... . Source: https://spdx.org/licenses/MIT.html. Use the version and date shown; do not cite a file without them. 10. LICENSE COMPARISON ---------------------- curl -s https://original.wales/cli/licenses.json Shape: { "generated": "...", "source": "https://choosealicense.com/appendix/", "groups": ["PERMISSIONS", "CONDITIONS", "LIMITATIONS"], "features": [{ "group": "...", "key": "...", "label": "..." }], "licenses": [{ "id": "mit", "name": "MIT", "spdx": "MIT", "slug": "mit-license", "page": "...", "download": "...", "values": { "PERMISSIONS": { "commercial-use": "yes" }, ... } }], "defaults": ["mit", "apache-2.0", "gpl-3.0", "agpl-3.0", "mpl-2.0"] } Cell values: "yes", "no", or "source" (notice required in source distributions only). This is a comparison aid, not legal advice. 11. CONTENT MODEL ----------------- Categories: LICENSES, STANDARDS, SNIPPETS, HEADERS, POLICIES, GOVERNANCE, AGENTS. Kits: curated ZIP bundles under /files/kits/, indexed by /kits/index.json. Guides: /guides/ (Markdown at /guides/.md); data: /data/ (JSON/CSV). IDs are stable slugs (for example mit-license). Titles are uppercase display names, not identifiers. Provenance: - License texts are canonical SPDX and Creative Commons texts, unmodified. - RFCs, SemVer, Conventional Commits, and Keep a Changelog are the official texts, source-linked; gitignore templates come from GitHub. - Contributor Covenant and DCO are canonical texts with attribution. - Templates authored for this site are CC0-1.0 unless stated otherwise. - Every entry names its source where one exists. - Site text and design are © Verlintas. Templates are not legal advice. Read the license/notice before use. 12. COMMON AGENT WORKFLOWS -------------------------- A. Find a license for a new project 1. curl /cli/files/licenses.txt 2. Choose an id (for example mit-license). 3. curl /cli/context/mit-license.txt 4. Write the LICENSE file; add the header from /cli/files/headers.txt. B. Compare licenses 1. curl /cli/licenses.json 2. Filter features by group; read values for the candidates. 3. curl /cli/read/.txt for the full texts. C. Set up an open-source repository 1. Fetch context packs for: mit-license, contributing, code-of-conduct, security-policy, issue-pr-templates. 2. Create LICENSE, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, .github/ISSUE_TEMPLATE/*. 3. Replace placeholders; do not remove required legal text. D. Make a repo agent-ready 1. curl /cli/context/agents-md.txt 2. Fill commands and boundaries from the actual repository. 3. Add AGENTS.md at the repo root. E. Verify a downloaded file 1. Fetch the file and its manifest row. 2. Compare SHA-256 locally with shasum -a 256. F. Cite a document 1. curl /cli/cite/.txt 2. Keep version, date, URL, and checksum. G. Start a repository from a kit 1. curl /kits/index.json 2. curl -O /kits/open-source-starter.zip 3. Read KIT.txt inside the ZIP; replace every placeholder. H. Validate a machine response 1. Fetch the schema, for example /schemas/resources.schema.json. 2. Validate /cli/resources.json against it. I. Find a plain-language explanation 1. curl /guides.json 2. curl /guides/.md or open /guides//. J. Take the library offline 1. curl -O /downloads/all-files.zip 2. Compare with /downloads/index.json. 13. ERROR HANDLING ------------------ 404 The path does not exist. Static endpoints that do not exist return the site 404 page (HTML), not text. Check the status code first. 301 Use the final URL (https://original.wales). Timeouts: retry with backoff; the content is static and safe to retry. Truncated output: stream to a file; search.json and full texts are larger than a terminal buffer. Do not parse HTML when a text endpoint exists. Do not assume ?cmd= works without JavaScript. Do not POST; there is no write API. 14. STABILITY AND VERSIONING ---------------------------- - Endpoint paths in this manual are stable for v1. - File ids are stable; content changes bump version and date. - SHA-256 changes whenever content changes. - New endpoints may be added without breaking existing ones. - /index.json includes a generated timestamp and machine map. Pin citations to version + date + checksum, not just the URL. 15. SECURITY AND CONTACT ------------------------ Security policy: https://original.wales/.well-known/security.txt Contact: security@original.wales (vulnerabilities) contact@original.wales (everything else) Source: https://github.com/Verlintas/original The interface is read-only. There are no credentials, cookies, or write operations. Report exposed secrets or content issues by email. 16. LIMITS AND ETIQUETTE ------------------------ - Static CDN; no application rate limit. Avoid aggressive parallel loops. - No analytics; your requests are not tracked by the site. - Respect license terms when reusing files. - Do not republish the site as your own; link to the canonical URLs. - Cache responses locally when doing repeated work. END OF MANUAL