Zum Inhalt springen
Denofy
Esc
  • Seiten

    Alle Pakete durchsuchen
  • Verifizierte Pakete
  • Neue Pakete
  • Sammlungen
  • Dokumentation
  • CLI-Referenz
  • So funktioniert die Prüfung
  • Skill veröffentlichen
↑↓ zum Navigieren · Enter zum Öffnen

REST API

Public read-only API under /api/v1 — endpoints, parameters, example requests and responses, errors and rate limits.

Nur auf Englisch verfügbar: Diese Seite ist noch nicht übersetzt und wird auf Englisch angezeigt.

The registry has a public, read-only JSON API. It is what the CLI uses, and you can use it for your own tools. No authentication is needed.

  • Base URL: https://denofy.com/api/v1
  • Responses are JSON (application/json) unless stated otherwise; timestamps are ISO 8601 in UTC.
  • Machine-readable description: /api/v1/openapi.json (OpenAPI 3.1, generated from the same schemas as this page).

Endpoints#

GET/api/v1/search

Lists public packages that have at least one checked version. Without q the result is the full catalogue in the chosen order.

ParameterInTypeDescription
qquerystringFree text. Prefix match on name, title, summary, tags, category and description (up to 8 words).
typequeryenumPackage type. One of: skill, rule, agents-md, subagent, command. Unknown values are ignored.
toolqueryenumOnly packages that support this tool. One of: claude-code, codex, cursor, gemini-cli, windsurf, copilot. Unknown values are ignored.
categoryqueryenumCategory slug. One of: coding, frontend, backend, mobile, design, database, data, ai-ml, api, testing, debugging, refactoring, code-review, performance, accessibility, security, git, devops, cloud, documentation, writing, planning, productivity, mcp, hooks, prompts, templates, other. Unknown values are ignored.
verifiedquery"0" | "1" | "true" | "false"1 or true: only packages whose latest version is verified.
officialquery"0" | "1" | "true" | "false"1 or true: only official packages (Denofy's own and those of verified organisations from their own repositories).
statusquery"verified" | "warning" | "failed"Verification status of the latest version: verified, warning or failed. One of: verified, warning, failed. Unknown values are ignored.
minGradequery"A" | "B" | "C" | "D" | "F"Only packages with this security grade or better (B = A or B). See /security/methodology. One of: A, B, C, D, F. Unknown values are ignored.
sortqueryenumSort order. Default: relevance with a query, otherwise downloads. trending ranks by installs in the last 7 days, grade by security grade (A first), quality by the Denofy quality grade (see /ranking/methodology). One of: relevance, downloads, newest, updated, rating, trending, grade, quality, upvotes, views, stars. Unknown values are ignored.
pagequeryinteger (≥ 1)
default 1
Page number, starting at 1.
limitqueryinteger (1–100)
default 20
Results per page (1–100, default 20). Larger values are capped at 100.
bash
curl "https://denofy.com/api/v1/search?q=commit&tool=cursor&verified=1"
200 One page of results.
json
{
  "total": 1,
  "page": 1,
  "limit": 20,
  "items": [
    {
      "name": "conventional-commits",
      "title": "Conventional Commits",
      "summary": "Writes commit messages that follow the Conventional Commits 1.0 spec from the staged diff.",
      "type": "skill",
      "category": "git",
      "tags": [
        "git",
        "commits"
      ],
      "tools": [
        "claude-code",
        "codex",
        "cursor"
      ],
      "author": "octo-dev",
      "downloads": 1284,
      "rating": {
        "average": 4.6,
        "count": 12
      },
      "latestVersion": "1.0.0",
      "status": "verified",
      "riskLevel": "none",
      "official": false,
      "org": null,
      "securityGrade": "A",
      "securityScore": 100,
      "qualityTier": "A",
      "qualityScore": 78,
      "updatedAt": "2026-10-01T09:30:00.000Z",
      "url": "https://denofy.com/p/conventional-commits"
    }
  ]
}

Package details#

GET/api/v1/packages/{name}

Metadata of a package: README (description), repository, license, rating and the latest version with its verification status.

ParameterInTypeDescription
namerequiredpathstringPackage name (slug), e.g. conventional-commits.
bash
curl https://denofy.com/api/v1/packages/conventional-commits
200 The package.
json
{
  "name": "conventional-commits",
  "title": "Conventional Commits",
  "summary": "Writes commit messages that follow the Conventional Commits 1.0 spec from the staged diff.",
  "description": "# Conventional Commits\n\nWrite commit messages that tools and humans can read…",
  "type": "skill",
  "category": "git",
  "tags": [
    "git",
    "commits"
  ],
  "tools": [
    "claude-code",
    "codex",
    "cursor"
  ],
  "author": {
    "username": "octo-dev",
    "name": "Octo Dev"
  },
  "repository": {
    "url": "https://github.com/octo-dev/agent-skills",
    "path": "skills/conventional-commits",
    "branch": "main"
  },
  "attribution": {
    "authors": [],
    "imported": false,
    "claimed": false
  },
  "license": "MIT",
  "icon": "https://denofy.com/api/media/icon/1f0c2b9e-mabc123.webp",
  "links": {
    "docs": "https://denofy.com/docs",
    "issues": "https://github.com/octo-dev/agent-skills/issues"
  },
  "downloads": 1284,
  "favorites": 37,
  "followers": 21,
  "rating": {
    "average": 4.6,
    "count": 12
  },
  "latestVersion": "1.0.0",
  "status": "verified",
  "riskLevel": "none",
  "securityGrade": "A",
  "securityScore": 100,
  "quality": {
    "tier": "A",
    "score": 78,
    "components": {
      "security": 100,
      "maintenance": 80,
      "docs": 70,
      "usage": 50,
      "ratings": 63
    }
  },
  "useWhen": [
    "Writing the message for staged changes"
  ],
  "avoidWhen": [
    "Squash merges where the PR title becomes the commit message"
  ],
  "archived": false,
  "deprecated": null,
  "premium": null,
  "createdAt": "2026-06-12T08:00:00.000Z",
  "updatedAt": "2026-10-01T09:30:00.000Z",
  "url": "https://denofy.com/p/conventional-commits"
}
404 The package does not exist, is private or was hidden by the moderators.
json
{
  "error": "Package \"nope\" not found"
}

List versions#

GET/api/v1/packages/{name}/versions

All versions, newest first, without the full verification report. Blocked versions are left out; yanked versions are included with yanked: true.

ParameterInTypeDescription
namerequiredpathstringPackage name (slug), e.g. conventional-commits.
bash
curl https://denofy.com/api/v1/packages/conventional-commits/versions
200 All versions.
json
{
  "name": "conventional-commits",
  "latestVersion": "1.0.0",
  "versions": [
    {
      "name": "conventional-commits",
      "type": "skill",
      "tools": [
        "claude-code",
        "codex",
        "cursor"
      ],
      "version": "1.0.0",
      "commitSha": "9f1c2e7d3b4a5c6d7e8f90a1b2c3d4e5f6a7b8c9",
      "gitRef": "v1.0.0",
      "changelog": "Support for scopes",
      "status": "verified",
      "riskLevel": "none",
      "securityGrade": "A",
      "securityScore": 100,
      "yanked": false,
      "downloads": 311,
      "createdAt": "2026-10-01T09:30:00.000Z",
      "verifiedAt": "2026-10-01T09:30:04.000Z",
      "files": [
        {
          "path": "SKILL.md",
          "size": 282,
          "sha256": "bda91a396ea1146144b9cdff5cf6def49dd3f4a56594edeafafaad29b91a23f1"
        }
      ],
      "tarball": {
        "url": "https://denofy.com/api/v1/packages/conventional-commits/versions/1.0.0/download",
        "sha256": "3b5d5c3712955042212316173ccf37be800ea6b9b4d2f3e6b3e1c3d2a1b0c9d8",
        "size": 742
      },
      "installTargets": {
        "claude-code": {
          "mode": "directory",
          "project": ".claude/skills/conventional-commits",
          "global": ".claude/skills/conventional-commits"
        },
        "codex": {
          "mode": "directory",
          "project": ".agents/skills/conventional-commits",
          "global": ".codex/skills/conventional-commits"
        },
        "cursor": {
          "mode": "skill-to-mdc",
          "project": ".cursor/rules",
          "global": null
        }
      },
      "summary": "All 8 checks passed.",
      "archived": false,
      "deprecated": null,
      "premium": null,
      "installable": true,
      "moderation": null
    }
  ]
}
404 The package does not exist, is private or was hidden by the moderators.
json
{
  "error": "Package \"nope\" not found"
}

Resolve a version#

GET/api/v1/packages/{name}/versions/{version}

Resolves latest, an exact version or a semver range and returns the version including the full verification report. This is what the CLI calls before downloading. installable: false marks versions graded F, with a critical finding, or scanner demos: their report is public, but downloads answer 403 and the CLI refuses them.

ParameterInTypeDescription
namerequiredpathstringPackage name (slug), e.g. conventional-commits.
versionrequiredpathstringExact version (1.0.0), latest, or a URL-encoded semver range (%5E1.0.0 for ^1.0.0). Ranges resolve to the highest matching version that is not yanked or blocked.
bash
curl https://denofy.com/api/v1/packages/conventional-commits/versions/%5E1.0.0
200 The resolved version with report.
json
{
  "name": "conventional-commits",
  "type": "skill",
  "tools": [
    "claude-code",
    "codex",
    "cursor"
  ],
  "version": "1.0.0",
  "commitSha": "9f1c2e7d3b4a5c6d7e8f90a1b2c3d4e5f6a7b8c9",
  "gitRef": "v1.0.0",
  "changelog": "Support for scopes",
  "status": "verified",
  "riskLevel": "none",
  "securityGrade": "A",
  "securityScore": 100,
  "yanked": false,
  "downloads": 311,
  "createdAt": "2026-10-01T09:30:00.000Z",
  "verifiedAt": "2026-10-01T09:30:04.000Z",
  "files": [
    {
      "path": "SKILL.md",
      "size": 282,
      "sha256": "bda91a396ea1146144b9cdff5cf6def49dd3f4a56594edeafafaad29b91a23f1"
    }
  ],
  "tarball": {
    "url": "https://denofy.com/api/v1/packages/conventional-commits/versions/1.0.0/download",
    "sha256": "3b5d5c3712955042212316173ccf37be800ea6b9b4d2f3e6b3e1c3d2a1b0c9d8",
    "size": 742
  },
  "installTargets": {
    "claude-code": {
      "mode": "directory",
      "project": ".claude/skills/conventional-commits",
      "global": ".claude/skills/conventional-commits"
    },
    "codex": {
      "mode": "directory",
      "project": ".agents/skills/conventional-commits",
      "global": ".codex/skills/conventional-commits"
    },
    "cursor": {
      "mode": "skill-to-mdc",
      "project": ".cursor/rules",
      "global": null
    }
  },
  "summary": "All 8 checks passed.",
  "archived": false,
  "deprecated": null,
  "premium": null,
  "installable": true,
  "moderation": null,
  "report": {
    "verifierVersion": "1.3.0",
    "status": "verified",
    "riskLevel": "none",
    "checkedAt": "2026-11-19T16:15:33.180Z",
    "summary": "All 8 checks passed.",
    "checks": [
      {
        "id": "files.limits",
        "category": "structure",
        "level": "pass",
        "message": "1 files, 282 B — within size limits."
      },
      {
        "id": "skill.frontmatter",
        "category": "structure",
        "level": "pass",
        "message": "SKILL.md has valid YAML frontmatter.",
        "file": "SKILL.md"
      },
      {
        "id": "skill.name",
        "category": "structure",
        "level": "pass",
        "message": "`name` is valid (\"conventional-commits\").",
        "file": "SKILL.md"
      },
      {
        "id": "skill.description",
        "category": "structure",
        "level": "pass",
        "message": "`description` is present.",
        "file": "SKILL.md"
      },
      {
        "id": "compat.claude-code",
        "category": "compatibility",
        "level": "pass",
        "message": "Installs correctly for Claude Code → .claude/skills/conventional-commits."
      },
      {
        "id": "compat.codex",
        "category": "compatibility",
        "level": "pass",
        "message": "Installs correctly for OpenAI Codex → .agents/skills/conventional-commits."
      },
      {
        "id": "compat.cursor",
        "category": "compatibility",
        "level": "pass",
        "message": "Installs correctly for Cursor → .cursor/rules."
      },
      {
        "id": "security.scan",
        "category": "security",
        "level": "pass",
        "message": "Security scan found no suspicious patterns."
      }
    ],
    "findings": [],
    "compatibility": [
      {
        "tool": "claude-code",
        "ok": true,
        "target": ".claude/skills/conventional-commits",
        "issues": []
      },
      {
        "tool": "codex",
        "ok": true,
        "target": ".agents/skills/conventional-commits",
        "issues": []
      },
      {
        "tool": "cursor",
        "ok": true,
        "target": ".cursor/rules",
        "issues": []
      }
    ],
    "files": [
      {
        "path": "SKILL.md",
        "size": 282,
        "sha256": "bda91a396ea1146144b9cdff5cf6def49dd3f4a56594edeafafaad29b91a23f1"
      }
    ],
    "stats": {
      "fileCount": 1,
      "totalSize": 282
    },
    "metadata": {
      "name": "conventional-commits",
      "description": "Writes commit messages that follow the Conventional Commits 1.0 spec from the staged diff. Use when the user asks to commit.",
      "license": "MIT"
    },
    "mainFile": "SKILL.md",
    "diff": null,
    "allowlist": null,
    "license": null,
    "grade": {
      "grade": "A",
      "score": 100,
      "deductions": [],
      "cappedBy": []
    }
  }
}
403 The version was blocked by the moderators and cannot be installed.
json
{
  "error": "conventional-commits@1.0.0 was blocked by the Denofy moderators and cannot be installed."
}
404 The package or a matching version does not exist, is private or was hidden by the moderators.
json
{
  "error": "Package \"nope\" not found"
}

Download the tarball#

GET/api/v1/packages/{name}/versions/{version}/download

Streams the immutable .tgz of a version. Compare its sha256 with tarball.sha256 from the version endpoint (the CLI does this automatically). Each download is counted unless count=0 is passed.

ParameterInTypeDescription
namerequiredpathstringPackage name (slug), e.g. conventional-commits.
versionrequiredpathstringExact version (1.0.0), latest, or a URL-encoded semver range (%5E1.0.0 for ^1.0.0). Ranges resolve to the highest matching version that is not yanked or blocked.
countquery"0" | "1"0: do not count this download (mirrors, tests).
Response headerDescription
x-denofy-versionResolved version
x-denofy-sha256sha256 of the tarball (hex)
x-denofy-commitGit commit the version was built from
x-denofy-statusVerification status
cache-controlpublic, max-age=31536000, immutable
bash
curl -LO https://denofy.com/api/v1/packages/conventional-commits/versions/1.0.0/download
200 The tarball.application/gzip
403 The version was blocked by the moderators.
json
{
  "error": "conventional-commits@1.0.0 was blocked by the Denofy moderators and cannot be installed."
}
403 Blocked: critical findings. Versions graded F, with a critical finding, and scanner demo packages cannot be downloaded (code: critical_findings).
json
{
  "error": "scanner-demo-12-pipe-to-shell@1.0.0 is blocked: the scanner found critical findings. It cannot be installed or downloaded.",
  "code": "critical_findings"
}
404 The package or version does not exist, is private or was hidden by the moderators.
json
{
  "error": "Package \"nope\" not found"
}
410 The tarball is missing from storage.
json
{
  "error": "Tarball is missing from storage"
}

Download as ZIP#

GET/api/v1/packages/{name}/versions/{version}/zip

The same files as the tarball as a deterministic ZIP with the files at the archive root, for manual installs (unzip -d <target>). The SHA-256 never changes for a version and is shown on the package page. Same access rules and counting as the tarball download.

ParameterInTypeDescription
namerequiredpathstringPackage name (slug), e.g. conventional-commits.
versionrequiredpathstringExact version (1.0.0), latest, or a URL-encoded semver range (%5E1.0.0 for ^1.0.0). Ranges resolve to the highest matching version that is not yanked or blocked.
countquery"0" | "1"0: do not count this download (mirrors, tests).
Response headerDescription
x-denofy-sha256sha256 of the ZIP (hex)
x-denofy-versionResolved version
bash
curl -O https://denofy.com/api/v1/packages/conventional-commits/versions/1.0.0/zip
200 The ZIP.application/zip
403 Blocked: critical findings. Versions graded F, with a critical finding, and scanner demo packages cannot be downloaded (code: critical_findings).
json
{
  "error": "scanner-demo-12-pipe-to-shell@1.0.0 is blocked: the scanner found critical findings. It cannot be installed or downloaded.",
  "code": "critical_findings"
}
404 The package or version does not exist, is private or was hidden by the moderators.
json
{
  "error": "Package \"nope\" not found"
}

Get a collection#

GET/api/v1/collections/{id}

A public or unlisted collection (by slug or id) with its packages in order and their version ranges. denofy add collection/<slug> installs all of them.

ParameterInTypeDescription
idrequiredpathstringCollection slug or id, e.g. pull-request-kit.
bash
curl https://denofy.com/api/v1/collections/pull-request-kit
200 The collection.
json
{
  "id": "2f1c7e64-5b0a-4f7e-9a51-3c1d2e4f5a6b",
  "slug": "pull-request-kit",
  "title": "Pull request kit",
  "description": "Commit messages, PR descriptions and reviews.",
  "owner": "octo-dev",
  "url": "https://denofy.com/collections/2f1c7e64-5b0a-4f7e-9a51-3c1d2e4f5a6b",
  "items": [
    {
      "name": "conventional-commits",
      "versionRange": "^1.0.0",
      "note": "",
      "type": "skill",
      "tools": [
        "claude-code",
        "codex",
        "cursor"
      ],
      "status": "verified",
      "securityGrade": "A"
    }
  ]
}
404 The collection does not exist, is private or was hidden by the moderators.
json
{
  "error": "Package \"nope\" not found"
}

README badge#

GET/api/v1/packages/{name}/badgenot rate limited

SVG badge with the verification status and latest version. Not rate limited (GitHub fetches badges through a few proxy IPs). Cached for 5 minutes; unknown packages get a grey "not found" badge with status 404, cached for 1 minute.

ParameterInTypeDescription
namerequiredpathstringPackage name (slug), e.g. conventional-commits.
bash
curl https://denofy.com/api/v1/packages/conventional-commits/badge
200 SVG badge.image/svg+xml
404 SVG badge "not found".image/svg+xml

Errors#

Errors use a JSON body with a human-readable message:

json
{ "error": "Package \"nope\" not found" }
StatusMeaning
400Malformed request.
403The version was blocked by the Denofy moderators, or it is blocked because of critical findings (code: critical_findings).
404Package or version not found (also private and hidden packages).
410The tarball is gone from storage (please report it).
429Rate limit exceeded (300 requests per 60 s and IP by default). Wait for Retry-After seconds.
500Unexpected server error.
503Temporarily unavailable (database down or maintenance).

Rate limits#

All /api/v1 endpoints except the badge are limited to 300 requests per 60 seconds and IP by default (fixed windows; a self-hosted instance can change this with RATE_LIMIT_API_IP). Every response carries the current state:

HeaderDescription
x-ratelimit-limitRequests allowed in the current window.
x-ratelimit-remainingRequests left in the current window.
retry-afterOnly on 429: seconds until the window resets.

When the limit is exceeded the API answers 429:

json
{ "error": "Too many requests. Try again in 42 seconds.", "retryAfter": 42 }

Wait for Retry-After seconds before the next request. The CLI waits once automatically for short limits (up to 10 seconds) and otherwise prints how long to wait. Other limits of the platform:

LimitDefault
REST API (/api/v1, CLI) per IP300 per 1 min
Sign-in attempts per IP10 per 10 min
New packages per user10 per 1 h
New packages per IP20 per 1 h
Syncs and re-verifications per user30 per 1 h
Syncs per package (manual and webhook)10 per 1 h
Reviews per user10 per 1 h
Reviews per IP30 per 1 h
Reports per user10 per 1 h
Reports per IP20 per 1 h
Follows and unfollows per user60 per 1 h
Favourites per user60 per 1 h
Collection changes per user30 per 1 h
Maintainer invitations per user20 per 1 h
Checkouts started per user10 per 1 h
Checkouts started per IP20 per 1 h
Verification e-mails per user5 per 1 h
Data exports per user5 per 1 h
Image uploads per user30 per 1 h
CLI sign-in requests per IP20 per 1 h
Organisation creation, GitHub and DNS checks per user20 per 1 h
Upvotes per user60 per 1 h
Upvotes per IP120 per 1 h
Newsletter sign-ups per IP5 per 1 h
Contact, notice and appeal forms per IP5 per 1 h
Contact, notice and appeal forms per IP and day20 per 24 h

Versioning of the API#

/api/v1 only gets backwards-compatible changes: new fields and new endpoints. Clients should ignore unknown fields. Breaking changes would get a new prefix.

Example: install without the CLI#

bash
# 1. resolve the version and read the tarball hash
curl -s https://denofy.com/api/v1/packages/conventional-commits/versions/latest \
  | jq -r '.tarball.url, .tarball.sha256'

# 2. download and verify
curl -sLo pkg.tgz https://denofy.com/api/v1/packages/conventional-commits/versions/1.0.0/download
echo "<sha256>  pkg.tgz" | sha256sum -c -

# 3. extract into the tool folder (the tarball has one top-level folder)
mkdir -p .claude/skills/conventional-commits
tar -xzf pkg.tgz -C .claude/skills/conventional-commits --strip-components=1