integrate-arcjet-guard-agent-framework-go

integrate-arcjet-guard-agent-framework-go is a skill for Claude Code from arcjet/arcjet-plugin. It costs 119 tokens per session (3,304 once invoked), scanned A, a copy of integrate-arcjet-guard-agent-framework-go, Apache-2.0.

A Go integration for Arcjet Guard, a service that checks whether agent actions or incoming text should be allowed. It connects those checks to Microsoft's Agent Framework for Go, including tools, agents, and ordinary Go functions.

In plain words
What is it for?
Use it to protect Go functions, function or MCP tools, and agent middleware with Arcjet Guard decisions.
Why use it?
It helps apply the same safety check before tools run or text is accepted, without writing separate checks for each integration point.

Skill for Claude Code

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

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

Good fit Use it to protect Go functions, function or MCP tools, and agent middleware with Arcjet Guard decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arcjet/arcjet-plugin/integrate-arcjet-guard-agent-framework-go
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-agent-framework-go
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 14 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-agent-framework-go

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arcjet/arcjet-plugin/integrate-arcjet-guard-agent-framework-go"><img src="https://agentmods.dev/badge/skills/arcjet/arcjet-plugin/integrate-arcjet-guard-agent-framework-go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,304 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 95% 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.00119 $0.03304
Opus 5.5 $0.00048 $0.01322
Sonnet 5.5 $0.00024 $0.00661
Haiku 4.5 $0.00012 $0.00330

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

Security

Grade A, and why

integrate-arcjet-guard-agent-framework-go 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 22d 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

95% identical to integrate-arcjet-guard-agent-framework-go — 4 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-agent-framework-go/SKILL.md · 292 lines

How it starts

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

Integrate Arcjet Guard into Microsoft Agent Framework for Go

github.com/arcjet/arcjet-go/agentframework wraps the application's existing arcjet.GuardClient. Shared Guard fundamentals (client, rules, labels, decisions, capture) live in ../arcjet/references/guards_go.md. Load that reference for anything that is not framework-specific.

Three surfaces, one decision rule:

  • Any Go function → arcjet.GuardAction in the root module. No framework dependency. Returns *arcjet.GuardDeniedError or *arcjet.GuardUnavailableError.
  • A tool.FuncTool you can name at wiring time (from functool.New, mcptool.ListTools, or agenttool.New) → agentframework.GuardTool, or GuardTools for a list. The result is still a tool.FuncTool.
  • An agent whose tools the model picks, or user text to screen → agentframework.GuardMiddleware in agent.Config.Middlewares.

This is the Go framework. The .NET and Python Microsoft Agent Framework implementations have no Arcjet adapter. Do not import @arcjet/guard or arcjet.guard here.

Denials are tool results, never errors

The framework replaces a tool error with Error: Function failed. and allows three consecutive rounds of failing tool calls before the fourth ends the run. GuardTool therefore returns arcjet.GuardDenialResult as a successful result. Do not "fix" this by returning an error, and do not set IncludeDetailedErrors to make errors carry the denial.

Fail closed by default

GuardTool, GuardTools, GuardMiddleware, and arcjet.GuardAction deny when policy cannot be evaluated. That is a different outcome from a policy DENY, and the two return different results to the model.

  • Policy could not be evaluated: arcjet.NewGuardUnavailableResult(), reason ERROR, five second retry hint.
  • Policy denied the call, such as an exhausted rate limit or detected prompt injection: arcjet.NewGuardDenialResult(decision), or whatever ToolPolicy.OnDeny returns in its place.

Read the full file on GitHub · 292 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. 22d ago Changed · +13 lines ff2ff9377500
  2. 2mo ago First seen · 279 lines · 119 tokens per session scan A 6f84769a8fd8

Subscribe to this mod's changes

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

Related

integrate-arcjet-guard-agent-framework-go compared with skills from other repositories

integrate-arcjet-guard-agent-framework-go next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
integrate-arcjet-guard-agent-framework-goarcjet/arcjet-pluginSkill13d agoApache-2.0A119Claude Code
integrate-arcjet-guard-agent-framework-goarcjet/skillsSkill63d agoApache-2.0A119Claude Code, Codex
go-concurrencyfusengine/agentsSkill341mo agoMITA40Claude Code
go-core-idiomsfusengine/agentsSkill341mo agoMITA37Claude Code
golang-documentationaiskillstore/marketplaceSkill510todaynoneA77Claude Code
golang-modernizeaiskillstore/marketplaceSkill510todaynoneA105Claude Code
golang-samber-slogaiskillstore/marketplaceSkill510todaynoneA123Claude Code