{
  "id": "summarize",
  "name": "summarize",
  "homepage": "https://github.com/steipete/summarize",
  "description": "Point at any URL/YouTube/Podcast or file. Get the gist.",
  "executables": [
    "summarize"
  ],
  "dotfiles": {
    "paths": [
      "~/.summarize/config.json"
    ],
    "secret": [
      "~/.summarize/daemon.json"
    ],
    "secret_paths": [
      {
        "file": "~/.summarize/config.json",
        "match": {
          "key_path": [
            "env.*",
            "apiKeys.*"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Summarize a URL or file",
    "description": "Summarize or extract content from a URL or file. Model, length, daemon and other options from the command reference are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "s",
        "kind": "help",
        "url": "https://github.com/steipete/summarize",
        "revision": "2026-10-27",
        "evidence": "summarize \"https://example.com\" --extract --plain\nsummarize \"https://example.com\" --cli codex\nsummarize \"https://example.com\" --locale de --language japanese\nUse `--extract` when you only need clean content, `--json` for a stable automation envelope, and `--slides` for video frames.\n"
      }
    ],
    "field": [
      {
        "id": "input",
        "label": "URL or file",
        "type": "string",
        "position": 0,
        "sources": [
          "s"
        ]
      },
      {
        "id": "extract",
        "label": "Extract content only",
        "type": "boolean",
        "option": [
          "--extract"
        ],
        "sources": [
          "s"
        ]
      },
      {
        "id": "plain",
        "label": "Plain text output",
        "type": "boolean",
        "option": [
          "--plain"
        ],
        "sources": [
          "s"
        ]
      },
      {
        "id": "json",
        "label": "JSON envelope",
        "type": "boolean",
        "option": [
          "--json"
        ],
        "sources": [
          "s"
        ]
      },
      {
        "id": "slides",
        "label": "Include video slides",
        "type": "boolean",
        "option": [
          "--slides"
        ],
        "sources": [
          "s"
        ]
      },
      {
        "id": "cli",
        "label": "CLI provider",
        "type": "string",
        "option": [
          "--cli"
        ],
        "suggestions": [
          {
            "value": "codex",
            "label": "Codex"
          }
        ],
        "sources": [
          "s"
        ]
      },
      {
        "id": "locale",
        "label": "Interface locale",
        "type": "string",
        "option": [
          "--locale"
        ],
        "suggestions": [
          {
            "value": "de",
            "label": "German"
          }
        ],
        "sources": [
          "s"
        ]
      },
      {
        "id": "language",
        "label": "Summary language",
        "type": "string",
        "option": [
          "--language"
        ],
        "suggestions": [
          {
            "value": "japanese",
            "label": "Japanese"
          }
        ],
        "sources": [
          "s"
        ]
      }
    ],
    "task": [
      {
        "id": "summary",
        "label": "Summarize",
        "fields": [
          "input",
          "language"
        ],
        "required": [
          "input"
        ]
      },
      {
        "id": "extract",
        "label": "Extract clean text",
        "fields": [
          "input",
          "extract",
          "plain"
        ],
        "required": [
          "input",
          "extract"
        ],
        "set": {
          "extract": [
            true
          ],
          "plain": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "input",
          "extract",
          "plain",
          "json",
          "language"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "slides",
          "cli",
          "locale"
        ]
      }
    ]
  }
}
