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,130 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 — 12 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 12 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,130 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.03130
Opus 5.5 $0.00048 $0.01252
Sonnet 5.5 $0.00024 $0.00626
Haiku 4.5 $0.00012 $0.00313

Measured 29d ago against content hash 6f84769a8fd8, 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 29d 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 — 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.

plugins/arcjet/skills/integrate-arcjet-guard-agent-framework-go/SKILL.md · 279 lines

How it starts

The opening of the file, as written. The whole thing — 279 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 · 279 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. 29d 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 25d ago), licensed Apache-2.0. It adds 119 tokens to every session and 3,130 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 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

go-concurrency

Use when writing or reviewing Go concurrency — goroutines, channels, errgroup, context cancellation, or goroutine leaks. Not for sequential idioms (go-core-idioms).

fusengine/agents · 40 tokens

go-core-idioms

Use when writing or reviewing idiomatic sequential Go — error handling, slog logging, generics, interfaces, style. Not for concurrency (go-concurrency).

fusengine/agents · 37 tokens

go-testing-quality

Use when writing or reviewing Go tests, adding coverage, benchmarking, or profiling a Go program. Not for CI/lint wiring (go-tooling-security) or non-Go tests.

fusengine/agents · 40 tokens

integrate-arcjet-guard-agent-framework-go

Integrate Arcjet Guard into Microsoft Agent Framework for Go (github.com/microsoft/agent-framework-go). Wrap a functool or MCP tool with GuardTool, guard every tool an agent can see and screen inbound text with GuardMiddleware, or guard any Go function with arcjet.GuardAction. Use when asked to add Arcjet to a Go…

arcjet/skills · 119 tokens

golang-documentation

Comprehensive documentation guide for Golang projects, covering godoc comments, README, CONTRIBUTING, CHANGELOG, Go Playground, Example tests, API docs, and llms.txt. Use when writing or reviewing doc comments, documentation, adding code examples, setting up doc sites, or discussing documentation best practices.…

aiskillstore/marketplace · 77 tokens

golang-modernize

Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns. Use when reviewing Go code with old-style patterns, when encountering a deprecation warning, or when the user asks for modernization, a Go version upgrade (e.g. to Go 1.27), or a CI/tooling refresh. Not for…

aiskillstore/marketplace · 105 tokens