jfrog/ai-agent-examples/jfrog-cli
Claude Code and agent skill by jfrog/ai-agent-examples
- community
Checking that the SKILL.md file is still in the repository.
Use when working with the JFrog CLI (jf command) -- uploading/downloading artifacts, running security scans, managing builds, creating release bundles, configuring the JFrog Platform from the command line, or invoking platform REST APIs via jf api. Triggers on mentions of jf command, jfrog cli, jf api, jf rt, jf audit, jf scan, jf docker, file spec, or jf config.
Install
npx vskill@latest install jfrog/ai-agent-examples/jfrog-cliSKILL.md
JFrog CLI Skill
Installation
See Install JFrog CLI.
Requires JFrog CLI 2.100.0+ for `jf api` (platform REST). Other jf commands need a recent v2.x CLI.
Authentication
Follow login-flow.md to resolve the active JFrog environment. The jf CLI is required and will be installed automatically if missing. The flow supports multiple environments and persists credentials via jf config (encrypted at rest):
- Ensure `jf` is installed at 2.100.0+ (required for
jf api). - Check saved credentials -- runs
jf config showto list configured servers. If multiple are saved, asks the user which environment to use. - Confirm platform URL -- show URLs from
jf config show; user confirms or switches server. - Readiness --
jf api /artifactory/api/v1/system/readinessafter confirmation. - Agent-driven web login -- if no credentials exist, asks the user for their JFrog URL, drives the REST-based login flow (user clicks a link, authenticates in browser), and saves the resulting token via
jf config add.
After login, credentials are saved with a server ID derived from the hostname (e.g. mycompany from mycompany.jfrog.io) so the user can switch between environments with jf config use <server-id>.
Platform REST via jf api
Prefer `jf api <path>` for JFrog Platform HTTP APIs (path only; auth from jf config). See [jf-api-patterns.md](jf-api-patterns.md) for session start (confirm URL → readiness), status/body capture, and `curl` fallback rules.
Configuration
Environment Variables
| Variable | Description | |
|---|---|---|
JFROG_URL | JFrog instance hostname (no https://). Used across all JFrog skills | |
JFROG_ACCESS_TOKEN | Access token. Used across all JFrog skills and for direct REST API calls | |
JF_URL | JFrog Platform URL (CLI-native alternative to JFROG_URL) | |
JF_ACCESS_TOKEN | Access token (CLI-native alternative to JFROG_ACCESS_TOKEN) | |
JF_USER / JF_PASSWORD | Basic auth credentials | |
JFROG_CLI_BUILD_NAME | Default build name | |
JFROG_CLI_BUILD_NUMBER | Default build number | |
JFROG_CLI_BUILD_PROJECT | Default project key |
File Specs
JSON format for specifying upload/download/search patterns:
Use with: jf rt upload --spec=filespec.json, jf rt download --spec=filespec.json
Command Groups Overview
| Group | Prefix | Description | Reference | |
|---|---|---|---|---|
| Artifactory | jf rt | Artifact operations, repos, builds | artifactory-commands.md | |
| Security | jf audit, jf scan | Vulnerability scanning, SBOM | security-commands.md | |
| Platform | jf ds, jf worker, jf evd | Distribution, workers, evidence | platform-commands.md |
Most Common Commands
Parallelization
When building and pushing multiple Docker images, run the builds concurrently using parallel subagents or background processes. Docker builds are independent of each other and are typically the most time-consuming step in onboarding workflows. Each docker build + jf docker push pair can run in its own subagent. Publish build info (jf rt build-publish) only after all image pushes for that build are complete.
Reference Files
- jf-api-patterns.md -- `jf api` (REST), confirm platform, readiness, safe captures
- artifactory-commands.md -- All
jf rtand package manager commands - security-commands.md -- All scanning and audit commands
- platform-commands.md -- Distribution, workers, evidence, config commands
Official Documentation
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplatform-features/skills/jfrog-cli/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jfrog/ai-agent-examples/jfrog-cli)