Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/jfrog/cursor-plugin/jfrog-initnpx skills add jfrog/cursor-plugin --skill jfrog-initgit clone --depth 1 https://github.com/jfrog/cursor-pluginWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00031 | $0.08189 |
| Opus 5 | $0.00015 | $0.04095 |
| Sonnet 5 | $0.00006 | $0.01638 |
| Haiku 4.5 | $0.00003 | $0.00819 |
Grade C, and why
jfrog-init scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
`~/.netrc` write (also unattended, no `AskUserQuestion` — see This is a copy
100% identical to jfrog-init — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 603 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/jfrog-init — verify and guide JFrog plugin readiness
First output must be a tool call, not text. No "I'll start..." preamble.
Walks a fixed, ordered checklist and stops at the first red result, guiding
the user through the matching fix before re-checking. Every detector in
scripts/ is idempotent, read-only, JSON-emitting, and implemented in
Node (.mjs), so the same detector runs unmodified on macOS, Linux, and
Windows. Step 3's web-login uses this skill's own local .mjs scripts,
same as every other step. The one interactive fix step that isn't a Node
script at all is Step 1's Node install itself — a missing Node can't run
a .mjs installer, so that one step branches on OS or shell directly.
Approval model — every user-approval point is detailed in its own Step
below (exact wording, AskUserQuestion payloads, forbidden phrases);
this is just the map:
node—AskUserQuestionYes/No before auto-installing (Step 1).jf(JFrog CLI) —AskUserQuestionYes/No before auto-installing (Step 2).jf config—AskUserQuestionpicker (web login, in-session, vs. access token, which never enters this conversation) (Step 3/4).- Project selection — the user answers with a project name or key;
an
AskUserQuestionpicker offers the first two enumerated projects plus "Other" (Step 6). - Everything else in the walk is read-only, except Step 5's placeholder
substitution (writes the plugin's
mcp.json, unattended by design — noAskUserQuestion, seereferences/script-invocation.md), Step 8's~/.netrcwrite (also unattended, noAskUserQuestion— seereferences/marketplace-setup.md), and the Final summary's state write below.
Step 1's nvm install and jfrog-install-jf-cli.mjs, Step 3's
web-login scripts, Step 8's jfrog-add-claude-marketplace.mjs call,
and the Final summary's jfrog-state-file.mjs set call are
deliberately not in allowed-tools and will raise the harness's
own approval prompt — intended, not a misconfiguration; see
references/script-invocation.md.
${CLAUDE_SKILL_DIR} below is this file's own directory. Claude Code
substitutes it automatically, identically, in both this text and the
allowed-tools Bash rules above — write it literally rather than
resolving it yourself, so the two stay byte-for-byte consistent
regardless of install depth (see references/script-invocation.md). On
a harness that doesn't perform this substitution (e.g. Cursor or Codex,
neither of which consults allowed-tools for approval — every command
below still raises its own prompt there), replace it with the real
absolute path of this file's directory yourself, same as before.
What ships with it
41 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/batch-walk.md 2.4 KB
- references/catalog-runtime-branches.md 3.7 KB
- references/flow-diagram.md 6.8 KB
- references/how-to-ask-user.md 1.2 KB
- references/jf-cli-install-internals.md 4.4 KB
- references/jf-cli-install-prompt.md 2.9 KB
- references/jf-cli-update-prompt.md 2.2 KB
- references/jf-config-auth-picker.md 9.5 KB
- references/marketplace-setup.md 1.3 KB
- references/mcp-plugin-config.md 7.5 KB
- references/node-install-prompt.md 3.2 KB
- references/project-matching.md 2.2 KB
- references/project-picker.md 5.9 KB
- references/project-resolution-branches.md 2.6 KB
- references/project-state-reuse.md 2.3 KB
- references/script-invocation.md 12 KB
- references/server-picker.md 2.6 KB
- scripts/jfrog-add-claude-marketplace.mjs 3.5 KB runs code
- scripts/jfrog-detect-all.mjs 11 KB runs code
- scripts/jfrog-detect-catalog-runtime.mjs 8.5 KB runs code
- scripts/jfrog-detect-jf-cli.mjs 5.4 KB runs code
- scripts/jfrog-detect-jf-config.mjs 1.5 KB runs code
- scripts/jfrog-detect-jfrog-mcp.mjs 6.2 KB runs code
- scripts/jfrog-detect-project.mjs 6.3 KB runs code
- scripts/jfrog-detect-server-ping.mjs 7.6 KB runs code
- scripts/jfrog-install-jf-cli.mjs 24 KB runs code
- scripts/jfrog-login-register-session.mjs 4.7 KB runs code
- scripts/jfrog-login-save-credentials.mjs 6.8 KB runs code
- scripts/jfrog-reinstall-jfrog-plugin.mjs 4.6 KB runs code
- scripts/jfrog-resolve-jf-server.mjs 4.2 KB runs code
- scripts/jfrog-resolve-mcp-config.mjs 17 KB runs code
- scripts/jfrog-state-file.mjs 11 KB runs code
- scripts/jfrog-substitute-mcp-placeholders.mjs 7.3 KB runs code
- scripts/lib/claude-config.mjs 2.4 KB runs code
- scripts/lib/claude.mjs 535 B runs code
- scripts/lib/command.mjs 4.2 KB runs code
- scripts/lib/jf-api.mjs 2.4 KB runs code
- scripts/lib/jf.mjs 19 KB runs code
- scripts/lib/netrc.mjs 2.2 KB runs code
- scripts/lib/project-cache.mjs 4.4 KB runs code
- scripts/lib/projects.mjs 7.2 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 603 lines · 31 tokens per session scan C 2dbca5ea7b04
jfrog-init is a skill published in the GitHub repository jfrog/cursor-plugin (5 stars, last pushed 2d ago), licensed Apache-2.0. It adds 31 tokens to every session and 8,189 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). It is 100% identical to jfrog-init, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…