agentfield-use

agentfield-use is a skill for Claude Code, Codex from Agent-Field/agentfield. It costs 259 tokens per session (9,434 once invoked), scanned A, original, Apache-2.0.

A rule for sending delegated tasks to installed AgentField subharnesses, which are separate worker agents managed by an AgentField control plane. Their work is recorded and can run outside the main conversation.

In plain words
What is it for?
Use it to decide whether a task should be offloaded, find the matching installed worker, and run or monitor that worker through AgentField.
Why use it?
It prevents the main agent from doing every small task itself and gives each job to an available specialist when one matches it. The rule also explains when nested dispatch must be avoided.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to decide whether a task should be offloaded, find the matching installed worker, and run or monitor that worker through AgentField.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agent-field/agentfield/agentfield-use
About the project

AgentField is an open-source control plane that turns AI-agent code into callable APIs and coordinates its execution across workflows. Developers use it to route, queue, retry, trace, and scale agents written in Python, Go, or TypeScript, from individual agents to large fan-outs. Catalogue add-ons support working with AgentField and its agent-building workflow.

Agent-Field/agentfield · 2,614 stars · on GitHub · agentfield.ai

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 Agent-Field/agentfield --skill agentfield-use
Clone the repo
git clone --depth 1 https://github.com/Agent-Field/agentfield

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 agentfield-use

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent-field/agentfield/agentfield-use/github.svg)](https://agentmods.dev/skills/agent-field/agentfield/agentfield-use)
Your own site
<a href="https://agentmods.dev/skills/agent-field/agentfield/agentfield-use"><img src="https://agentmods.dev/badge/skills/agent-field/agentfield/agentfield-use/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 agentfield-use

Your own site · 80×15
<a href="https://agentmods.dev/skills/agent-field/agentfield/agentfield-use"><img src="https://agentmods.dev/badge/skills/agent-field/agentfield/agentfield-use.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 259 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,434 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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: 4 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 Privilege Escalation · line 116
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Tool Misuse · line 556
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Excessive Agency · line 219
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Data Exfiltration · line 556
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00259 $0.09434
Opus 5.5 $0.00104 $0.03774
Sonnet 5.5 $0.00052 $0.01887
Haiku 4.5 $0.00026 $0.00943

Measured 1mo ago against content hash 3724dc056934, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentfield-use scanned grade A 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 1mo 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.

Makes network callslowCapability

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

`-H 'X-API-Key: <key>'` for curl. Do not export `AGENTFIELD_SERVER` yourself to
control-plane/internal/skillkit/skill_data/agentfield-use/SKILL.md · 641 lines

How it starts

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

AgentField subharnesses — offload work instead of doing it inline

If AGENTFIELD_HARNESS_DEPTH is set, you are running inside an AgentField harness session: do not dispatch to AgentField agents unless explicitly asked.

A machine with AgentField has one or more control planes — a local one (default http://localhost:8080) and possibly a cloud deployment configured in AgentField Desktop — plus agent nodes installed under ~/.agentfield. Each node exposes reasoners: typed functions you call through the control plane, which routes the call, records the run, and returns the result. You never talk to an agent's own port.

Those installed agents are subharnesses: workers you offload to. They run on smaller, cheaper models, they run in parallel, they run off your context, and every run is recorded on the control plane and watchable in its web UI. A review that would cost you 40k tokens of reading costs you one dispatch and one result.

Vocabulary rule. Internally — commands, API fields, discovery output — everything stays agent / reasoner / node, exactly matching the CLI and API. In what you SAY TO THE USER, call them subharnesses: "your AgentField subharnesses", "the pr-af subharness". Never let the wording cost clarity: if the user needs a command or a node name, give the literal one.

Offload by default

Whenever you have a discrete task — one the user delegated, or one that arose inside your own work — the first question is not "how do I do this?" but "does an installed subharness cover this?" When one does, dispatching to it is the default path, not an option to offer.

Coverage is the test, not size. A small job a subharness covers still goes to the subharness; a large job nothing covers stays with you. This skill carries no list of offloadable task types and cannot: users install new subharnesses at any time, so runtime discovery (§1) is the only source of truth about what your fleet does.

The check is cheap — that is the whole design. One af ls -e (or one capabilities call) answers "does anything cover this?". Discover once per session, remember the roster, and match later tasks against what you learned; re-discover only when something suggests the fleet changed — an install, a start, or a miss you doubt. Consulting this skill on a task nothing covers costs one cheap lookup. That is the trade, deliberately.

Read the full file on GitHub · 641 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. 1mo ago First seen · 641 lines · 259 tokens per session scan A 3724dc056934

Subscribe to this mod's changes

agentfield-use is a skill published in the GitHub repository Agent-Field/agentfield (2,614 stars, last pushed today), licensed Apache-2.0. It adds 259 tokens to every session and 9,434 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

review-prs

Review a GitHub pull request in the googleapis/mcp-toolbox repo against the team's reviewer checklist: PR title/description conventions, linked issue, logic errors and unhandled edge cases, breaking changes, test coverage, docs updates, security (input handling), and new dependencies. Use whenever a maintainer asks…

googleapis/mcp-toolbox · 162 tokens

stale-sweep

Sweep the googleapis/mcp-toolbox repo for issues and PRs with no real activity in N days (default 60), sort each by whose silence it is (the author's, ours, or nobody's), and draft the nudge or close comment. Use whenever a maintainer asks for a stale sweep, backlog cleanup, or an SLO check, e.g. "stale sweep", "find…

googleapis/mcp-toolbox · 159 tokens

triage-issues

Triage GitHub issues in the googleapis/mcp-toolbox repo: propose the correct labels (type / priority / product / status), check for duplicates, verify a bug has enough info to act on, and draft a triage comment. Use whenever a maintainer asks you to triage, label, categorize, prioritize, or "look at" an issue (or a…

googleapis/mcp-toolbox · 164 tokens

docsite-link-sweep

Sweep the googleapis/mcp-toolbox docs for broken and non-canonical links, report each finding with its cause, and apply the safe class of internal link fixes. CI does not check links on this repo, so this skill is the only link check that runs. Use when a maintainer asks for a link sweep or a docs health check, before…

googleapis/mcp-toolbox · 148 tokens

agentscope-java

Expert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or…

agentscope-ai/agentscope-java · 91 tokens

apply-patch

Apply multi-file or tricky edits atomically with git apply instead of many fragile editfile calls. Use when changing several files at once or when editfile fails to match.

agentscope-ai/agentscope-java · 38 tokens