{
  "schemaVersion": "1.0",
  "item": {
    "slug": "bat-cat",
    "name": "Bat Cat",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Arnarsson/bat-cat",
    "canonicalUrl": "https://clawhub.ai/Arnarsson/bat-cat",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/bat-cat",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=bat-cat",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/bat-cat"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/bat-cat",
    "agentPageUrl": "https://openagent3.xyz/skills/bat-cat/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bat-cat/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bat-cat/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "bat - Better cat",
        "body": "cat with syntax highlighting, line numbers, and Git integration."
      },
      {
        "title": "Basic usage",
        "body": "# View file with syntax highlighting\nbat README.md\n\n# Multiple files\nbat file1.js file2.py\n\n# With line numbers (default)\nbat script.sh\n\n# Without line numbers\nbat -p script.sh"
      },
      {
        "title": "Viewing modes",
        "body": "# Plain mode (like cat)\nbat -p file.txt\n\n# Show non-printable characters\nbat -A file.txt\n\n# Squeeze blank lines\nbat -s file.txt\n\n# Paging (auto for large files)\nbat --paging=always file.txt\nbat --paging=never file.txt"
      },
      {
        "title": "Language detection",
        "body": "# Auto-detect from extension\nbat script.py\n\n# Force specific language\nbat -l javascript config.txt\n\n# Show all languages\nbat --list-languages"
      },
      {
        "title": "Themes",
        "body": "# List available themes\nbat --list-themes\n\n# Use specific theme\nbat --theme=\"Monokai Extended\" file.py\n\n# Set default theme in config\n# ~/.config/bat/config: --theme=\"Dracula\""
      },
      {
        "title": "Line Ranges",
        "body": "# Show specific lines\nbat -r 10:20 file.txt\n\n# From line to end\nbat -r 100: file.txt\n\n# Start to specific line\nbat -r :50 file.txt\n\n# Multiple ranges\nbat -r 1:10 -r 50:60 file.txt"
      },
      {
        "title": "Git Integration",
        "body": "# Show Git modifications (added/removed/modified lines)\nbat --diff file.txt\n\n# Show decorations (Git + file header)\nbat --decorations=always file.txt"
      },
      {
        "title": "Output Control",
        "body": "# Output raw (no styling)\nbat --style=plain file.txt\n\n# Customize style\nbat --style=numbers,changes file.txt\n\n# Available styles: auto, full, plain, changes, header, grid, numbers, snip\nbat --style=header,grid,numbers file.txt"
      },
      {
        "title": "Common Use Cases",
        "body": "Quick file preview:\n\nbat file.json\n\nView logs with syntax highlighting:\n\nbat error.log\n\nCompare files visually:\n\nbat --diff file1.txt\nbat file2.txt\n\nPreview before editing:\n\nbat config.yaml && vim config.yaml\n\nCat replacement in pipes:\n\nbat -p file.txt | grep \"pattern\"\n\nView specific function:\n\nbat -r 45:67 script.py  # If function is on lines 45-67"
      },
      {
        "title": "Integration with other tools",
        "body": "As pager for man pages:\n\nexport MANPAGER=\"sh -c 'col -bx | bat -l man -p'\"\nman grep\n\nWith ripgrep:\n\nrg \"pattern\" -l | xargs bat\n\nWith fzf:\n\nfzf --preview 'bat --color=always --style=numbers {}'\n\nWith diff:\n\ndiff -u file1 file2 | bat -l diff"
      },
      {
        "title": "Configuration",
        "body": "Create ~/.config/bat/config for defaults:\n\n# Set theme\n--theme=\"Dracula\"\n\n# Show line numbers, Git modifications and file header, but no grid\n--style=\"numbers,changes,header\"\n\n# Use italic text on terminal\n--italic-text=always\n\n# Add custom mapping\n--map-syntax \"*.conf:INI\""
      },
      {
        "title": "Performance Tips",
        "body": "Use -p for plain mode when piping\nUse --paging=never when output is used programmatically\nbat caches parsed files for faster subsequent access"
      },
      {
        "title": "Tips",
        "body": "Alias: alias cat='bat -p' for drop-in cat replacement\nPager: Use as pager with export PAGER=\"bat\"\nOn Debian/Ubuntu: Command may be batcat instead of bat\nCustom syntaxes: Add to ~/.config/bat/syntaxes/\nPerformance: For huge files, use bat --paging=never or plain cat"
      },
      {
        "title": "Common flags",
        "body": "-p / --plain: Plain mode (no line numbers/decorations)\n-n / --number: Only show line numbers\n-A / --show-all: Show non-printable characters\n-l / --language: Set language for syntax highlighting\n-r / --line-range: Only show specific line range(s)"
      },
      {
        "title": "Documentation",
        "body": "GitHub: https://github.com/sharkdp/bat\nMan page: man bat\nCustomization: https://github.com/sharkdp/bat#customization"
      }
    ],
    "body": "bat - Better cat\n\ncat with syntax highlighting, line numbers, and Git integration.\n\nQuick Start\nBasic usage\n# View file with syntax highlighting\nbat README.md\n\n# Multiple files\nbat file1.js file2.py\n\n# With line numbers (default)\nbat script.sh\n\n# Without line numbers\nbat -p script.sh\n\nViewing modes\n# Plain mode (like cat)\nbat -p file.txt\n\n# Show non-printable characters\nbat -A file.txt\n\n# Squeeze blank lines\nbat -s file.txt\n\n# Paging (auto for large files)\nbat --paging=always file.txt\nbat --paging=never file.txt\n\nSyntax Highlighting\nLanguage detection\n# Auto-detect from extension\nbat script.py\n\n# Force specific language\nbat -l javascript config.txt\n\n# Show all languages\nbat --list-languages\n\nThemes\n# List available themes\nbat --list-themes\n\n# Use specific theme\nbat --theme=\"Monokai Extended\" file.py\n\n# Set default theme in config\n# ~/.config/bat/config: --theme=\"Dracula\"\n\nLine Ranges\n# Show specific lines\nbat -r 10:20 file.txt\n\n# From line to end\nbat -r 100: file.txt\n\n# Start to specific line\nbat -r :50 file.txt\n\n# Multiple ranges\nbat -r 1:10 -r 50:60 file.txt\n\nGit Integration\n# Show Git modifications (added/removed/modified lines)\nbat --diff file.txt\n\n# Show decorations (Git + file header)\nbat --decorations=always file.txt\n\nOutput Control\n# Output raw (no styling)\nbat --style=plain file.txt\n\n# Customize style\nbat --style=numbers,changes file.txt\n\n# Available styles: auto, full, plain, changes, header, grid, numbers, snip\nbat --style=header,grid,numbers file.txt\n\nCommon Use Cases\n\nQuick file preview:\n\nbat file.json\n\n\nView logs with syntax highlighting:\n\nbat error.log\n\n\nCompare files visually:\n\nbat --diff file1.txt\nbat file2.txt\n\n\nPreview before editing:\n\nbat config.yaml && vim config.yaml\n\n\nCat replacement in pipes:\n\nbat -p file.txt | grep \"pattern\"\n\n\nView specific function:\n\nbat -r 45:67 script.py  # If function is on lines 45-67\n\nIntegration with other tools\n\nAs pager for man pages:\n\nexport MANPAGER=\"sh -c 'col -bx | bat -l man -p'\"\nman grep\n\n\nWith ripgrep:\n\nrg \"pattern\" -l | xargs bat\n\n\nWith fzf:\n\nfzf --preview 'bat --color=always --style=numbers {}'\n\n\nWith diff:\n\ndiff -u file1 file2 | bat -l diff\n\nConfiguration\n\nCreate ~/.config/bat/config for defaults:\n\n# Set theme\n--theme=\"Dracula\"\n\n# Show line numbers, Git modifications and file header, but no grid\n--style=\"numbers,changes,header\"\n\n# Use italic text on terminal\n--italic-text=always\n\n# Add custom mapping\n--map-syntax \"*.conf:INI\"\n\nPerformance Tips\nUse -p for plain mode when piping\nUse --paging=never when output is used programmatically\nbat caches parsed files for faster subsequent access\nTips\nAlias: alias cat='bat -p' for drop-in cat replacement\nPager: Use as pager with export PAGER=\"bat\"\nOn Debian/Ubuntu: Command may be batcat instead of bat\nCustom syntaxes: Add to ~/.config/bat/syntaxes/\nPerformance: For huge files, use bat --paging=never or plain cat\nCommon flags\n-p / --plain: Plain mode (no line numbers/decorations)\n-n / --number: Only show line numbers\n-A / --show-all: Show non-printable characters\n-l / --language: Set language for syntax highlighting\n-r / --line-range: Only show specific line range(s)\nDocumentation\n\nGitHub: https://github.com/sharkdp/bat Man page: man bat Customization: https://github.com/sharkdp/bat#customization"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Arnarsson/bat-cat",
    "publisherUrl": "https://clawhub.ai/Arnarsson/bat-cat",
    "owner": "Arnarsson",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/bat-cat",
    "downloadUrl": "https://openagent3.xyz/downloads/bat-cat",
    "agentUrl": "https://openagent3.xyz/skills/bat-cat/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bat-cat/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bat-cat/agent.md"
  }
}