Skip to content

Commit a437341

Browse files
Vendor official jfrog-skills v0.11.0, bump to v0.5.0 (#14)
## Summary - **Vendor official skills.** Replaces the previously bundled, hand-maintained skill content with the official [jfrog-skills](https://github.com/jfrog/jfrog-skills) v0.11.0. The old plugin was created as a single-team initiative using non-official skills; this PR brings it back to the official track, using the same skill content shared across all JFrog AI integrations (Cursor, Claude, etc.). - **New package safety skill.** Adds `jfrog-package-safety-and-download` for checking whether packages are safe, curated, or allowed before downloading through Artifactory. ## What changed | Area | Change | |------|--------| | Skills | 22 old flat reference/pattern files removed, replaced by 24 structured `references/` files + 3 shell scripts from jfrog-skills v0.11.0 | | Skills | `SKILL.md` rewritten: three-tier tool routing (MCP, CLI, `jf api`), lazy reference loading, cautious execution, server selection rules | | Skills | New `jfrog-package-safety-and-download/SKILL.md` (286 lines) | | Skills | `VENDOR.md` added to track vendored source (v0.11.0, commit `66e7d1d`) | | Config | `plugin.json`: version 0.4.0 -> 0.5.0, second skill registered, duplicate `mcp` keyword removed | | Config | `marketplace.json`: version 0.4.0 -> 0.5.0 | | Docs | Outer README: "What's new in v0.5.0" section, updated auth (jf login instead of jf config add) | | Docs | Inner README: updated auth, updated skill descriptions | ## Old-to-new file mapping The old skill had flat files at the skill root (`artifactory-reference.md`, `security-reference.md`, `cli-reference.md`, etc.). The new skill organizes content under `references/` by domain (`artifactory-entities.md`, `artifactory-operations.md`, `xray-entities.md`, etc.). The jfrog-skills repo content is a superset of the old reference files. ## Test plan - [ ] Verify plugin installs cleanly in Cursor - [ ] Confirm MCP connection works with `JFROG_PLATFORM_URL` - [ ] Test JFrog skill triggers on relevant mentions - [ ] Test package-safety skill triggers on package safety queries - [ ] Verify Agent Guard hook still functions --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent a42b428 commit a437341

56 files changed

Lines changed: 6791 additions & 6432 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cursor-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"metadata": {
88
"description": "JFrog Platform plugins for Cursor",
9-
"version": "0.4.0",
9+
"version": "0.5.0",
1010
"pluginRoot": "plugins"
1111
},
1212
"plugins": [

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
JFrog plugin for [Cursor](https://cursor.com): artifact management, security scanning, supply-chain best practices, and Agent Guard.
44

5+
## What's new in v0.5.0
6+
7+
- **Official skills.** The plugin now uses the official [jfrog-skills](https://github.com/jfrog/jfrog-skills) v0.11.0, replacing the previously bundled skill content. This brings structured reference files, automation scripts, and a three-tier tool selection strategy (MCP, CLI, REST/GraphQL).
8+
- **Package safety skill.** New `jfrog-package-safety-and-download` skill for checking whether packages are safe, curated, or allowed before downloading them through Artifactory.
9+
---
10+
511
## Features
612

713
The JFrog plugin provides the following capabilities, grouped by component:
@@ -21,7 +27,7 @@ Before installing, make sure you have:
2127
- **JFrog host URL and access token** — Your JFrog platform URL and a valid access token.
2228
- **Cursor** — Installed with AI features enabled.
2329
- **Node.js** (≥ 14) — with `npx` on your `PATH`.
24-
- **JFrog CLI** (≥ 2.x, optional) — Recommended for `jf config add` authentication (see [Authentication](#authentication)).
30+
- **JFrog CLI** (≥ 2.x, optional) — If missing, the agent will attempt to install it. Recommended for CLI-based operations (see [Authentication](#authentication)).
2531
- **JFrog Platform access** (optional) — If you want to use the Agent Guard feature, your JFrog subscription needs to include the AI Catalog entitlement. Contact your JFrog account team if you're unsure whether it's enabled.
2632
- **JFrog project** (optional) — If you want to use the Agent Guard feature.
2733

@@ -46,19 +52,12 @@ Use either the marketplace link from the [Configure Cursor](https://docs.jfrog.c
4652

4753
| Variable | Description |
4854
| --- | --- |
49-
| `JFROG_URL` | Your JFrog platform URL, e.g. `https://mycompany.jfrog.io` |
55+
| `JFROG_PLATFORM_URL` | Your JFrog platform URL, e.g. `mycompany.jfrog.io` |
5056
| `JFROG_ACCESS_TOKEN` | Your JFrog access token |
5157

5258
### 2. Configure the JFrog CLI
5359

54-
If you have never configured the JFrog CLI on this machine:
55-
56-
1. Open your terminal.
57-
2. Run:
58-
```bash
59-
jf config add
60-
```
61-
3. Follow the interactive prompts to enter the same JFrog platform URL and access token.
60+
Run `jf login` for browser-based setup, or set the `JFROG_ACCESS_TOKEN` environment variable. MCP-based workflows authenticate via OAuth and require no additional configuration.
6261

6362
---
6463

plugins/jfrog/.cursor-plugin/plugin.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jfrog",
33
"displayName": "JFrog Platform",
4-
"version": "0.4.0",
4+
"version": "0.5.0",
55
"description": "JFrog Platform integration with MCP, security skills, supply-chain best practices, and JFrog Agent Guard governance for adding, removing, and listing MCP servers.",
66
"author": {
77
"name": "JFrog",
@@ -18,10 +18,12 @@
1818
"supply-chain",
1919
"devops",
2020
"artifacts",
21-
"mcp",
2221
"ai-catalog"
2322
],
2423
"logo": "assets/logo.svg",
25-
"skills": ["skills/jfrog/SKILL.md"],
24+
"skills": [
25+
"skills/jfrog/SKILL.md",
26+
"skills/jfrog-package-safety-and-download/SKILL.md"
27+
],
2628
"hooks": "hooks/hooks.json"
2729
}

plugins/jfrog/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# jfrog
22

3-
JFrog Platform integration for Cursor — artifact management, security scanning, and supply-chain best practices.
3+
JFrog Platform integration for Cursor — artifact management, security scanning, supply-chain best practices, and Agent Guard.
44

55
## Prerequisites
66

@@ -9,9 +9,9 @@ JFrog Platform integration for Cursor — artifact management, security scanning
99
- Navigate to **Administration > General > Settings** in the JFrog UI.
1010
- Toggle the **MCP Server** option ON and save.
1111
3. Set the `JFROG_PLATFORM_URL` environment variable to your JFrog instance (e.g., `mycompany.jfrog.io`).
12-
4. **JFrog CLI** (`jf`) is used by several skills for authentication and REST API operations. It will be installed automatically if missing. Install manually via `brew install jfrog-cli` or the [official install script](https://jfrog.com/help/r/jfrog-cli/install-the-jfrog-cli).
12+
4. **JFrog CLI** (`jf`) is used by the skills for authentication and REST/GraphQL API operations. If missing, the agent will attempt to install it. You can also install manually via `brew install jfrog-cli` or the [official install script](https://jfrog.com/help/r/jfrog-cli/install-the-jfrog-cli).
1313

14-
Authentication is handled automatically — **OAuth** for MCP-based workflows, **browser-based login** (`jf config`) for CLI/REST-based skills. No manual API keys or tokens required.
14+
CLI authentication options: run `jf login` for browser-based setup, or set the `JFROG_ACCESS_TOKEN` environment variable. MCP-based workflows authenticate via **OAuth** and require no additional configuration.
1515

1616
## Included
1717

@@ -20,14 +20,18 @@ Authentication is handled automatically — **OAuth** for MCP-based workflows, *
2020
| **MCP** | `mcp.json` | Remote JFrog MCP server (OAuth, no API keys) |
2121
| **Rule** | `rules/jfrog-security.mdc` | Supply-chain security practices for dependency files |
2222
| **Agent** | `agents/supply-chain-security.md` | Dependency audit for CVEs, licenses, and curation |
23+
| **Hook** | `hooks/hooks.json` | Agent Guard — MCP server governance via JFrog AI Catalog |
2324

2425
### Skills
2526

2627
| Skill | Triggers when you mention... |
2728
|-------|------------------------------|
28-
| **jfrog** | any JFrog product, artifactory, xray, security, access token, curation, distribution, release bundle, apptrust, runtime, mission control, worker, jf command, pattern, best practice |
29+
| **jfrog** | any JFrog product, artifactory, xray, security, access token, curation, distribution, release bundle, apptrust, runtime, mission control, worker, jf command, or best practice |
30+
| **jfrog-package-safety-and-download** | package safety, curation, allowed/blocked packages, downloading packages via JFrog |
2931

30-
Single unified skill (`skills/jfrog/`) with a router (`SKILL.md`) and 22 supporting reference and pattern files covering Artifactory, Security/Xray, Access, Distribution, Curation, AppTrust, Runtime, Mission Control, Workers, CLI, and architectural patterns.
32+
The **jfrog** skill (`skills/jfrog/`) provides platform-wide coverage via MCP tools, JFrog CLI commands, and `jf api` REST/GraphQL. It includes 24 reference files under `references/` and 3 automation scripts under `scripts/` covering Artifactory, Security/Xray, Access, Distribution, Curation, AppTrust, Mission Control, Workers, and architectural patterns.
33+
34+
The **jfrog-package-safety-and-download** skill (`skills/jfrog-package-safety-and-download/`) handles package safety checks — querying the JFrog Public Catalog, interpreting security signals, checking curation policies, and downloading packages through Artifactory remote caches.
3135

3236
## MCP Capabilities
3337

plugins/jfrog/skills/VENDOR.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Vendored skills
2+
3+
The skill packages in this directory are vendored from **[jfrog/jfrog-skills](https://github.com/jfrog/jfrog-skills)**.
4+
5+
| | |
6+
| --- | --- |
7+
| **Repository** | https://github.com/jfrog/jfrog-skills |
8+
| **Release** | [v0.11.0](https://github.com/jfrog/jfrog-skills/releases/tag/v0.11.0) |
9+
| **Source commit** | `66e7d1d1e7b762bbf9e356d680511c4fb4ce231c` |
10+
11+
Included directories: `jfrog/`, `jfrog-package-safety-and-download/`.
12+
13+
To refresh: take the [latest release tarball](https://github.com/jfrog/jfrog-skills/releases/latest), replace those skill trees under `skills/`, and update this file with the new tag and commit SHA.

0 commit comments

Comments
 (0)