integrate-arcjet-guard-crewai

integrate-arcjet-guard-crewai is a skill for Claude Code from arcjet/arcjet-plugin. It costs 101 tokens per session (2,446 once invoked), scanned A, a copy of integrate-arcjet-guard-crewai, Apache-2.0.

A Python integration for Arcjet Guard, which checks tool calls made by CrewAI. It can protect tools across a crew or wrap a standalone tool that your code calls directly.

In plain words
What is it for?
Use it when adding Arcjet policies to official CrewAI crews, LiteAgent tools, MCP adapters, or standalone CrewAI tools.
Why use it?
It helps rate-limit tools, screen messages before a crew starts, and block unwanted or unsafe tool execution, including prompt-injection attempts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the arcjet plugin — 11 skills, 1 agent shipped together

Good fit Use it when adding Arcjet policies to official CrewAI crews, LiteAgent tools, MCP adapters, or standalone CrewAI tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arcjet/arcjet-plugin/integrate-arcjet-guard-crewai
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-plugin --skill integrate-arcjet-guard-crewai
Clone the repo
git clone --depth 1 https://github.com/arcjet/arcjet-plugin

Made for: Claude Code.

Or install arcjet, the plugin that ships this one along with the rest of its 11 skills, 1 agent.

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 integrate-arcjet-guard-crewai

README.md
[![agentmods](https://agentmods.dev/badge/skills/arcjet/arcjet-plugin/integrate-arcjet-guard-crewai/github.svg)](https://agentmods.dev/skills/arcjet/arcjet-plugin/integrate-arcjet-guard-crewai)
Your own site
<a href="https://agentmods.dev/skills/arcjet/arcjet-plugin/integrate-arcjet-guard-crewai"><img src="https://agentmods.dev/badge/skills/arcjet/arcjet-plugin/integrate-arcjet-guard-crewai/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 integrate-arcjet-guard-crewai

Your own site · 80×15
<a href="https://agentmods.dev/skills/arcjet/arcjet-plugin/integrate-arcjet-guard-crewai"><img src="https://agentmods.dev/badge/skills/arcjet/arcjet-plugin/integrate-arcjet-guard-crewai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,446 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.00101 $0.02446
Opus 5 $0.00051 $0.01223
Sonnet 5 $0.00020 $0.00489
Haiku 4.5 $0.00010 $0.00245

Measured 4d ago against content hash 0a2bd47cbe95, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

integrate-arcjet-guard-crewai scanned grade A with 0 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

97% identical to integrate-arcjet-guard-crewai — 2 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.

plugins/arcjet/skills/integrate-arcjet-guard-crewai/SKILL.md · 232 lines

How it starts

The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Integrate Arcjet Guard into CrewAI

arcjet.guard.crewai wraps the agent's existing Arcjet client. It never talks to the Arcjet API itself. Shared Guard fundamentals (client, rules, labels, decisions, capture, registration) live in ../arcjet/references/guards_python.md. Load that reference for anything that is not CrewAI-specific.

Official crewai only — not community forks, not LangChain Crew wrappers, not an npm CrewAI port. There is no arcjet[crewai] extra: CrewAI hard-depends on chromadb, which carries unpatched RCE CVE-2026-45829, so an Arcjet extra must not pull it in. Install CrewAI yourself. Importing arcjet.guard.crewai does not load LangChain.

Exports: register_arcjet_hooks, unregister_arcjet_hooks, ArcjetCrewAIHooks, guard_tool, ToolPolicy, sanitize_tool_name, free_text_arguments. There is no guard_crew.

Two surfaces, one decision rule:

  • A tool a crew, LiteAgent, MCP adapter, or crew-injected list executesregister_arcjet_hooks + ToolPolicy. Gate is process-wide PRE_TOOL_CALL only. DENY raises HookAborted(reason=..., source="arcjet").
  • A CrewAI BaseTool you call yourselfguard_tool. This is the only CrewAI path that raises ArcjetDeniedError / ArcjetUnavailableError. BaseTool.run never dispatches PRE_TOOL_CALL.

Docs: https://docs.arcjet.com/guards/crewai/.

The gate is process-wide PRE_TOOL_CALL, once

register_arcjet_hooks registers on CrewAI's dispatcher. A DENY (or unevaluated Guard under the default on_guard_error="deny") raises HookAborted(reason=..., source="arcjet") so the tool never runs. CrewAI swallows every other exception — raising ArcjetDeniedError / ArcjetUnavailableError from the hook would run the tool. The hook path is sync only — pass launch_arcjet_sync / ArcjetGuardSync. An async client is refused at registration (ArcjetMisconfiguration). A second register_arcjet_hooks in the same process is also ArcjetMisconfiguration (CrewAI's registry appends and would double-evaluate); call unregister() on the handle first.

Read the full file on GitHub · 232 lines

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. 4d ago Changed 0a2bd47cbe95
  2. 5d ago First seen · 232 lines · 101 tokens per session scan A f1588be90c14

Subscribe to this mod's changes

integrate-arcjet-guard-crewai is a skill published in the GitHub repository arcjet/arcjet-plugin (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 101 tokens to every session and 2,446 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to integrate-arcjet-guard-crewai, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

chief-financial-officer

Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on. Use this to build or challenge a budget, model a decision's financial consequence, assess unit economics or runway, evaluate an investment or spend request, set financial controls…

cbrock84/headcount · 88 tokens

chief-revenue-officer

Owns the revenue engine end to end: sales, monetization, pricing, customer success, retention, and partnerships. Use this for pricing and packaging decisions, sales strategy and coverage, forecast and pipeline health, churn and expansion, partner and channel strategy, or when marketing-sourced demand is not…

cbrock84/headcount · 80 tokens

chief-strategy-officer

Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…

cbrock84/headcount · 93 tokens

seo-strategy

Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…

cbrock84/headcount · 74 tokens

ceo-advisor

Pressure-tests a decision, plan, or idea before it is committed to — surfacing the assumption it rests on, the case against it, and what would have to be true for it to work. Use this when weighing options, when a plan needs challenging before commitment, when you have already decided and want a genuine gut check…

cbrock84/headcount · 106 tokens

customer-success-management

Runs the ongoing relationship with accounts after the sale — segmenting coverage against account value, building a health score that predicts rather than describes, running reviews customers find worth attending, forecasting renewals honestly, and finding expansion that follows usage instead of quota. Use this to…

cbrock84/headcount · 85 tokens