{
  "schemaVersion": "1.0",
  "item": {
    "slug": "qmd-cli",
    "name": "QMD CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/dpaluy/qmd-cli",
    "canonicalUrl": "https://clawhub.ai/dpaluy/qmd-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/qmd-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=qmd-cli",
    "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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.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/qmd-cli"
    },
    "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/qmd-cli",
    "agentPageUrl": "https://openagent3.xyz/skills/qmd-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/qmd-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/qmd-cli/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": "QMD - Local Markdown Search",
        "body": "Search and retrieve documents from locally indexed markdown knowledge bases."
      },
      {
        "title": "Installation",
        "body": "bun install -g https://github.com/tobi/qmd"
      },
      {
        "title": "Setup",
        "body": "# Add a collection\nqmd collection add ~/notes --name notes --mask \"**/*.md\"\n\n# Generate embeddings (required for vsearch/query)\nqmd embed"
      },
      {
        "title": "Usage Rules",
        "body": "Always use --json flag for structured output when invoking qmd commands."
      },
      {
        "title": "search (BM25 keyword search - fast)",
        "body": "qmd search \"authentication flow\" --json\nqmd search \"error handling\" --json -n 10\nqmd search \"config\" --json -c notes"
      },
      {
        "title": "vsearch (vector semantic search)",
        "body": "qmd vsearch \"how does login work\" --json\nqmd vsearch \"authentication best practices\" --json -n 20"
      },
      {
        "title": "query (hybrid with LLM re-ranking - best quality)",
        "body": "qmd query \"implementing user auth\" --json\nqmd query \"deployment process\" --json --min-score 0.5"
      },
      {
        "title": "Search Options",
        "body": "OptionDescription-n NUMNumber of results (default: 5, or 20 with --json)-c, --collection NAMERestrict to specific collection--min-score NUMMinimum score threshold--fullReturn complete document content in results--allReturn all matches"
      },
      {
        "title": "get (single document)",
        "body": "qmd get docs/guide.md --json\nqmd get \"#a1b2c3\" --json\nqmd get notes/meeting.md:50 -l 100 --json"
      },
      {
        "title": "multi-get (multiple documents)",
        "body": "qmd multi-get \"docs/*.md\" --json\nqmd multi-get \"api.md, guide.md, #abc123\" --json\nqmd multi-get \"notes/**/*.md\" --json --max-bytes 20480"
      },
      {
        "title": "Maintenance Commands",
        "body": "qmd update              # Re-index changed files\nqmd status              # Check index health\nqmd collection list     # List all collections"
      },
      {
        "title": "Search Mode Selection",
        "body": "ModeSpeedQualityBest ForsearchFastGoodExact keywords, known termsvsearchMediumBetterConceptual queries, synonymsquerySlowBestComplex questions, uncertain terms\n\nPerformance note: vsearch and query have ~1 minute cold start latency for vector initialization. Prefer search for interactive use."
      },
      {
        "title": "MCP Server",
        "body": "qmd can run as an MCP server for direct integration:\n\nqmd mcp\n\nExposes tools: qmd_search, qmd_vsearch, qmd_query, qmd_get, qmd_multi_get, qmd_status"
      }
    ],
    "body": "QMD - Local Markdown Search\n\nSearch and retrieve documents from locally indexed markdown knowledge bases.\n\nInstallation\nbun install -g https://github.com/tobi/qmd\n\nSetup\n# Add a collection\nqmd collection add ~/notes --name notes --mask \"**/*.md\"\n\n# Generate embeddings (required for vsearch/query)\nqmd embed\n\nUsage Rules\n\nAlways use --json flag for structured output when invoking qmd commands.\n\nSearch Commands\nsearch (BM25 keyword search - fast)\nqmd search \"authentication flow\" --json\nqmd search \"error handling\" --json -n 10\nqmd search \"config\" --json -c notes\n\nvsearch (vector semantic search)\nqmd vsearch \"how does login work\" --json\nqmd vsearch \"authentication best practices\" --json -n 20\n\nquery (hybrid with LLM re-ranking - best quality)\nqmd query \"implementing user auth\" --json\nqmd query \"deployment process\" --json --min-score 0.5\n\nSearch Options\nOption\tDescription\n-n NUM\tNumber of results (default: 5, or 20 with --json)\n-c, --collection NAME\tRestrict to specific collection\n--min-score NUM\tMinimum score threshold\n--full\tReturn complete document content in results\n--all\tReturn all matches\nRetrieval Commands\nget (single document)\nqmd get docs/guide.md --json\nqmd get \"#a1b2c3\" --json\nqmd get notes/meeting.md:50 -l 100 --json\n\nmulti-get (multiple documents)\nqmd multi-get \"docs/*.md\" --json\nqmd multi-get \"api.md, guide.md, #abc123\" --json\nqmd multi-get \"notes/**/*.md\" --json --max-bytes 20480\n\nMaintenance Commands\nqmd update              # Re-index changed files\nqmd status              # Check index health\nqmd collection list     # List all collections\n\nSearch Mode Selection\nMode\tSpeed\tQuality\tBest For\nsearch\tFast\tGood\tExact keywords, known terms\nvsearch\tMedium\tBetter\tConceptual queries, synonyms\nquery\tSlow\tBest\tComplex questions, uncertain terms\n\nPerformance note: vsearch and query have ~1 minute cold start latency for vector initialization. Prefer search for interactive use.\n\nMCP Server\n\nqmd can run as an MCP server for direct integration:\n\nqmd mcp\n\n\nExposes tools: qmd_search, qmd_vsearch, qmd_query, qmd_get, qmd_multi_get, qmd_status"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/dpaluy/qmd-cli",
    "publisherUrl": "https://clawhub.ai/dpaluy/qmd-cli",
    "owner": "dpaluy",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/qmd-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/qmd-cli",
    "agentUrl": "https://openagent3.xyz/skills/qmd-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/qmd-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/qmd-cli/agent.md"
  }
}