You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/jfrog/skills/jfrog/SKILL.md
+41-72Lines changed: 41 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
name: jfrog
3
3
description: >-
4
-
Interact with the JFrog Platform via the JFrog CLI, JFrog MCP server and REST/GraphQL APIs.
4
+
Interact with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs.
5
5
Use this skill when the user wants to manage Artifactory repositories,
6
6
upload or download artifacts, manage builds, configure permissions,
7
7
manage users and groups, work with access tokens, configure JFrog CLI
@@ -17,36 +17,19 @@ compatibility: >-
17
17
Requires jq on PATH.
18
18
metadata:
19
19
role: base
20
-
version: "0.11.0"
20
+
version: "0.10.0"
21
21
---
22
22
23
23
# JFrog Skill
24
24
25
25
The foundational skill for all JFrog agent interactions. Covers JFrog Platform concepts, `jf` CLI setup and authentication, and intent routing to workflow skills.
26
26
27
-
Interact with the JFrog Platform through three tool tiers — see
28
-
[Tool selection strategy](#tool-selection-strategy). In code examples below,
27
+
Interact with the JFrog Platform through the JFrog CLI (`jf`) and, where the
28
+
CLI falls short, through REST APIs and GraphQL. In code examples below,
29
29
`<skill_path>` refers to this skill's directory and is resolved automatically
30
30
by the agent. If the agent does not resolve it, determine the path by locating
31
31
this SKILL.md file and using its parent directory.
32
32
33
-
## Tool selection strategy
34
-
35
-
Try the tiers in order; move to the next only when the current does not
36
-
cover the operation or fails:
37
-
38
-
1.**JFrog MCP tools** (preferred): `CallMcpTool` against the JFrog MCP
39
-
server. Discover available tools from the server's tool list; never
40
-
guess tool names.
41
-
2.**`jf` CLI subcommands** (fallback): dedicated commands such as
42
-
`jf rt upload`, `jf rt dl`, `jf build-publish`.
43
-
3.**`jf api`** (last resort): REST/GraphQL endpoints with no dedicated
44
-
subcommand. Validate the path first — see rule 6 in
45
-
[Cautious execution](#cautious-execution).
46
-
47
-
MCP and the CLI may use different token scopes. If one tier returns 403,
48
-
try the alternate tier before reporting the operation blocked.
49
-
50
33
## Prerequisites
51
34
52
35
The following tools must be available on `PATH`:
@@ -55,7 +38,7 @@ The following tools must be available on `PATH`:
55
38
|------|---------|
56
39
|`jq`| JSON parsing of CLI and API output |
57
40
58
-
All JFrog HTTP traffic from Tiers 2 and 3 goes through the `jf` CLI itself
41
+
All HTTP traffic to JFrog Platform APIs goes through the `jf` CLI itself
59
42
(`jf api`, see [Invoking platform APIs with `jf api`](#invoking-platform-apis-with-jf-api) below) —
60
43
no standalone `curl` is required for any JFrog interaction.
61
44
@@ -75,10 +58,8 @@ thing to check — re-run with the appropriate escalation above.
75
58
76
59
## Environment check
77
60
78
-
MCP (Tier 1) operations do not require this check and can proceed immediately.
79
-
Before your first Tier 2 or Tier 3 (`jf`) operation in a session, run the
80
-
environment check and **remember its stdout** as `<UA>` for the rest of the
81
-
session:
61
+
Before your first JFrog operation in a session, run the environment check
62
+
and **remember its stdout** as `<UA>` for the rest of the session:
-**Stored packages, package versions, version locations, or the metadata layer over Artifactory (concepts)**: read `references/stored-packages-entities.md` (~165 lines)
247
-
-**Repo, file, build, permission, user/group, or replication operations**: if the JFrog MCP server exposes a tool for the operation, prefer it. For CLI/API fallback, read `references/artifactory-operations.md` (for **listing builds** use AQL with `limit`/`offset` — see § *Listing build names*; for **full build detail** use `GET /api/build/<name>/<number>?project=` — see § *Retrieving full build info*)
210
+
-**Repo, file, build, permission, user/group, or replication operations**: read `references/artifactory-operations.md` (for **listing builds** use AQL with `limit`/`offset` — see § *Listing build names*; for **full build detail** use `GET /api/build/<name>/<number>?project=` — see § *Retrieving full build info*)
-**Artifactory REST beyond the CLI, structured JSON templates (replacing interactive wizards), or any Artifactory API gap**: read `references/artifactory-api-gaps.md` (~220 lines)
250
213
@@ -261,8 +224,8 @@ below.
261
224
262
225
### Catalog
263
226
264
-
-**Public or custom catalog, package metadata, vulnerability advisories, licenses, OpenSSF, or MCP services (concepts)**: if the JFrog MCP server exposes a catalog tool, prefer it for single-package lookups. For deeper queries, read `references/catalog-entities.md` (~190 lines)
265
-
-**CVE details, vulnerability lookup by CVE ID, or severity/affected-packages/fix-versions for a specific CVE**: prefer an MCP vulnerability-lookup tool if the JFrog MCP server exposes one. Otherwise read`references/onemodel-query-examples.md` § *Public security domain* for the `searchVulnerabilities` query shape — this is self-contained; do not load the `jfrog-package-safety-and-download` skill for pure CVE lookups
227
+
-**Public or custom catalog, package metadata, vulnerability advisories, licenses, OpenSSF, or MCP services (concepts)**: read `references/catalog-entities.md` (~190 lines)
228
+
-**CVE details, vulnerability lookup by CVE ID, or severity/affected-packages/fix-versions for a specific CVE**: go directly to`references/onemodel-query-examples.md` § *Public security domain* for the `searchVulnerabilities` query shape — this is self-contained; do not load the `jfrog-package-safety-and-download` skill for pure CVE lookups
266
229
267
230
### OneModel (GraphQL)
268
231
@@ -289,6 +252,16 @@ below.
289
252
-**Standalone HTML report with JFrog-aligned styling**: read `references/jfrog-brand-html-report.md`
290
253
-**Reusable gotchas from past tasks**: read or extend `references/general-use-case-hints.md`
291
254
255
+
## Server management
256
+
257
+
Server configuration is always read live from `jf config` (never cached).
258
+
259
+
-**List servers**: `jf config show` (local operation, no network needed)
260
+
-**Use a specific server**: pass `--server-id <id>` to any command
261
+
-**Switch default**: `jf config use <server-id>`
262
+
-**Add a new server**: read `references/jfrog-login-flow.md` for the full
263
+
login procedure (web login or manual token setup)
264
+
292
265
## Command discovery
293
266
294
267
Use the commands listed below as your primary reference. Run `--help` to
0 commit comments