cli

cli is a skill for Claude Code, Codex from arcjet/arcjet-js. It costs 48 tokens per session (469 once invoked), scanned C, original, Apache-2.0.

A command-line tool for connecting a project to Arcjet, a service for protecting applications with request and security rules. It signs in, selects a team and site, and stores the site's key in an environment file.

In plain words
What is it for?
Use it to authenticate, list teams and sites, retrieve an Arcjet key, inspect activity, and create or promote remote rules after a dry run.
Why use it?
It avoids manually finding credentials and remote settings, while keeping the key out of source code. It also provides terminal commands for inspecting requests, guards, and rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to authenticate, list teams and sites, retrieve an Arcjet key, inspect activity, and create or promote remote rules after a dry run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arcjet/arcjet-js/cli
Install

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.

Any agent
npx skills add arcjet/arcjet-js --skill cli
Clone the repo
git clone --depth 1 https://github.com/arcjet/arcjet-js

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/arcjet/arcjet-js/cli/github.svg)](https://agentmods.dev/skills/arcjet/arcjet-js/cli)
Your own site
<a href="https://agentmods.dev/skills/arcjet/arcjet-js/cli"><img src="https://agentmods.dev/badge/skills/arcjet/arcjet-js/cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/arcjet/arcjet-js/cli"><img src="https://agentmods.dev/badge/skills/arcjet/arcjet-js/cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 469 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 7 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 34
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • medium MCP Rug Pull · line 5
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 21
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 23
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 25
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 26
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 27
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00469
Opus 5.5 $0.00019 $0.00188
Sonnet 5.5 $0.00010 $0.00094
Haiku 4.5 $0.00005 $0.00047

Measured 9d ago against content hash f0f0557742ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

cli scanned grade C with 2 findings 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 9d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

or `curl -sSfL https://arcjet.com/cli/install.sh | bash`.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

or `curl -sSfL https://arcjet.com/cli/install.sh | bash`.
arcjet-skills/skills/cli/SKILL.md · 45 lines

What it actually says

Arcjet CLI

Preferred way to get a real ARCJET_KEY before writing Arcjet code. Do not leave the key as a TODO.

npx -y @arcjet/cli@latest auth status
# if not signed in:
npx -y @arcjet/cli@latest auth login

npx -y @arcjet/cli@latest teams list --output json --fields id,name
npx -y @arcjet/cli@latest sites list --team-id <team_id> --output json --fields id,name
npx -y @arcjet/cli@latest sites get-key --site-id <site_id> --output json --fields key

Write key to the project's env file as ARCJET_KEY=ajkey_.... Match existing env-file conventions and .gitignore. Never hardcode the key.

Frequent use: npm install -g @arcjet/cli, brew install arcjet/tap/arcjet, or curl -sSfL https://arcjet.com/cli/install.sh | bash.

--output json and --fields keep agent context small. Confirm with the user before write or delete operations (--confirm).

Investigate: requests list / guards list / requests explain / guards explain / briefing. Remote rules: rules create (DRY_RUN) → analyze dry-run-impact → rules promote.

If the CLI cannot run, load @arcjet/skills#mcp or send the user to https://console.arcjet.com.

Changes

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.

  1. 9d ago Changed f0f0557742ca
  2. 14d ago Changed 6cd95615b010
  3. 29d ago Changed d5da9911e669
  4. 1mo ago Changed d03e4c550024
  5. 1mo ago First seen · 45 lines · 48 tokens per session scan C 413e9a4018fb

Subscribe to this mod's changes

cli is a skill published in the GitHub repository arcjet/arcjet-js (692 stars, last pushed today), licensed Apache-2.0. It adds 48 tokens to every session and 469 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

clinical-trial-protocol-skill

Generate clinical trial protocols for medical devices or drugs. This skill should be used when users say "Create a clinical trial protocol", "Generate protocol for [device/drug]", "Help me design a clinical study", "Research similar trials for [intervention]", or when developing FDA submission documentation for…

Agent-Threat-Rule/agent-threat-rules · 70 tokens

claude-d3js-skill

This skill provides guidance for creating sophisticated, interactive data visualisations using d3.js.

Agent-Threat-Rule/agent-threat-rules · 25 tokens

adr-skill

Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses…

Agent-Threat-Rule/agent-threat-rules · 89 tokens

linear-claude-skill

Manage Linear issues, projects, and teams.

Agent-Threat-Rule/agent-threat-rules · 15 tokens

playwright-skill

IMPORTANT - Path Resolution: This skill can be installed in different locations (plugin system, manual installation, global, or project-specific). Before executing any commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in all commands below.

Agent-Threat-Rule/agent-threat-rules · 60 tokens

terraform-skill

Terraform infrastructure as code best practices.

Agent-Threat-Rule/agent-threat-rules · 10 tokens