Sign inTry it

Search Windows packages on Chocolatey.

Searches the Chocolatey Community Repository for Windows software packages like its packages page: package id, title, version, download count, description, author and package page link. First page of results (up to 30 packages).

No reports yetRead-only, no login
Site
Chocolatey Community Repository, United States
Version
v1
Runs, last 7 days
No reports yet
sha256
5115ed72ba3f…

Run it with your agent

after installing Wield

Ask in plain words. Your agent finds this recipe and calls it:

“Search Windows packages on Chocolatey.”

Read-only: it changes nothing on the site. No login needed.

{
  "tool": "run",
  "arguments": {
    "recipe_id": "community.chocolatey.org/search-packages",
    "params": {
      "query": "7zip"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/packages?qServer-rendered packages search page /packages?q=...; read-only GET. Each package is an li.package-listing with data-package-id, the title and version in h5 a, the download count, description and author.

Parameters

from your agent
querystringrequiredPackage name or keyword, e.g. '7zip', 'notepad++', 'git'

Returns

to your agent
packagesobject[]author, description, downloads, id, title, url, version
querystring

Where it can send

  • community.chocolatey.org

Anything else is blocked by the extension.

Reads from your session

Nothing. Your browser attaches the site's cookies by itself.

Used only in requests to the addresses on the left. Never sent to wield.run or your agent.

Checks

a run passes when
  • length(output.packages) > `0`
  • length(output.packages[?starts_with(url, 'https://community.chocolatey.org/packages/')]) == length(output.packages)
  • length(output.packages[?title != `null`]) == length(output.packages)

Raw recipe

Served as canonical JSON from /api/v1/recipes/community.chocolatey.org/search-packages, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/community.chocolatey.org/search-packages | shasum -a 256
# 5115ed72ba3fba76e367a1ab580568d109c5cc752ec9af725a48c44903828855
community.chocolatey.org/search-packages.json, v1
{
  "description": "Searches the Chocolatey Community Repository for Windows software packages like its packages page: package id, title, version, download count, description, author and package page link. First page of results (up to 30 packages).",
  "effect": "read",
  "id": "community.chocolatey.org/search-packages",
  "keywords": [
    "chocolatey",
    "windows",
    "packages",
    "software",
    "install",
    "choco",
    "nuget",
    "package manager",
    "download",
    "apps",
    "open source",
    "community"
  ],
  "output": {
    "schema": {
      "properties": {
        "packages": {
          "items": {
            "properties": {
              "author": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "downloads": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "id": {
                "type": "string"
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "type": "string"
              },
              "version": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query",
        "packages"
      ],
      "type": "object"
    },
    "value": "{query: params.query, packages: steps.search.packages[?id != `null` && href != `null`].{id: id, title: title || `null`, version: version || `null`, downloads: (downloads && to_number(replace(downloads, ',', ''))) || `null`, description: description || `null`, author: author || `null`, url: join('', ['https://community.chocolatey.org', href])}}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Package name or keyword, e.g. '7zip', 'notepad++', 'git'",
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "GET /packages?q=<query> returns server-rendered HTML with the first page of packages as li.package-listing elements (data-package-id, h5 link to /packages/<id>, version and download count spans, description, author link). Relative links are made absolute on community.chocolatey.org. No hashed CSS classes are used. The recipe does not call other hosts.",
    "recorded_at": "2026-11-08T16:40:23.000Z",
    "recorded_by": "wield-forge (claude-haiku agent)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "US",
    "id": "community.chocolatey.org",
    "language": "en",
    "name": "Chocolatey Community Repository",
    "origin": "https://community.chocolatey.org",
    "origins": [
      "https://community.chocolatey.org"
    ]
  },
  "steps": [
    {
      "description": "Server-rendered packages search page /packages?q=...; read-only GET. Each package is an li.package-listing with data-package-id, the title and version in h5 a, the download count, description and author.",
      "expect": {
        "content_type": "html",
        "status": [
          200
        ]
      },
      "extract": {
        "html_items": {
          "packages": {
            "fields": {
              "author": {
                "attr": "title",
                "selector": "li.package-listing-author a"
              },
              "description": {
                "selector": "p.package-listing-description"
              },
              "downloads": {
                "selector": "span.package-listing-downloads"
              },
              "href": {
                "attr": "href",
                "selector": "h5 a[href^='/packages/']"
              },
              "id": {
                "attr": "data-package-id",
                "selector": ":scope"
              },
              "title": {
                "selector": "span.package-listing-title"
              },
              "version": {
                "selector": "span.package-listing-version"
              }
            },
            "max": 50,
            "selector": "li.package-listing"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "query": {
          "q": "{{params.query}}"
        },
        "url": "/packages"
      }
    }
  ],
  "task": "Search Windows packages on Chocolatey",
  "tos": {
    "notes": "Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.",
    "reviewed": false
  },
  "verify": {
    "checks": [
      "length(output.packages) > `0`",
      "length(output.packages[?starts_with(url, 'https://community.chocolatey.org/packages/')]) == length(output.packages)",
      "length(output.packages[?title != `null`]) == length(output.packages)"
    ],
    "example_params": {
      "query": "7zip"
    },
    "max_ms": 5000
  },
  "version": 1
}