agent-factory

agent-factory is a skill for Claude Code, Codex from ObolNetwork/obol-stack. It costs 94 tokens per session (807 once invoked), scanned A, original, Apache-2.0.

A tool for creating separate, long-running child agents inside Obol Stack, the agent service environment described by the add-on. Each child can have its own namespace, stored state, optional wallet, secrets, and paid-service listing.

In plain words
What is it for?
Use it to create a sub-agent with a chosen model, skills, objective, optional wallet and secrets, and—when configured—an x402 payment offer.
Why use it?
It provides a way to run a child agent as an isolated service instead of keeping every task in one agent.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions subagents; built for openclaw.

Good fit Use it to create a sub-agent with a chosen model, skills, objective, optional wallet and secrets, and—when configured—an x402 payment offer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/obolnetwork/obol-stack/agent-factory
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 ObolNetwork/obol-stack --skill agent-factory
Clone the repo
git clone --depth 1 https://github.com/ObolNetwork/obol-stack

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 agent-factory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/obolnetwork/obol-stack/agent-factory"><img src="https://agentmods.dev/badge/skills/obolnetwork/obol-stack/agent-factory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 807 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00094 $0.00807
Opus 5.5 $0.00038 $0.00323
Sonnet 5.5 $0.00019 $0.00161
Haiku 4.5 $0.00009 $0.00081

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

Security

Grade A, and why

agent-factory 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/factory.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

internal/embed/skills/agent-factory/SKILL.md · 68 lines

How it starts

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

Agent Factory

Create durable child Hermes agents from a permissioned mother agent.

Use this when the user wants a separate long-lived service agent with isolated Kubernetes namespace, PVC-backed Hermes state, optional child wallet, optional injected environment secrets, and optional x402 ServiceOffer.

Quick Start

python3 scripts/factory.py create medical-advisor \
  --model antangelmed \
  --skills medical-safety,privacy-filter,citations \
  --objective "Answer medical education questions with emergency escalation and no diagnosis." \
  --create-wallet \
  --price 0.05 \
  --pay-to 0xYourProviderWallet \
  --network base-sepolia \
  --register-name "Medical Advisor"

Multiple currencies / networks (one agent, one offer)

Use repeatable --accept instead of --price/--network to advertise several payment options on a single offer (the buyer picks one). token=<symbol> pulls the asset metadata from the built-in registry; for an unlisted token supply it inline with asset=0x..,decimals=..,transfer=eip3009|permit2,eip712-name=..,eip712-version=..,symbol=..:

python3 scripts/factory.py create bankr-analyst \
  --model openrouter/auto --skills bankr-token-analysis --create-wallet \
  --accept token=OBOL,network=ethereum,price=10 \
  --accept token=USDC,network=base,price=1,pay-to=0xColdVault \
  --description "Paid token-analysis agent"

Each --accept may carry its own pay-to; otherwise it inherits --pay-to, which defaults to the master Hermes agent's own wallet — so a sub-agent needn't provision its own wallet just to take payment (pass --create-wallet only when it genuinely needs to hold/sign funds). For an unlisted token the asset=0x.. escape hatch needs only the address: decimals, symbol, and the EIP-712 domain (eip712-name/eip712-version) are read from the chain (EIP-5267) when omitted, and transfer defaults to permit2; the factory errors and asks you to specify them if they can't be read. ERC-8004 registration uses the first option's network.

Read the full file on GitHub · 68 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 68 lines · 94 tokens per session scan A 34071bc05ed3

Subscribe to this mod's changes

agent-factory is a skill published in the GitHub repository ObolNetwork/obol-stack (12 stars, last pushed today), licensed Apache-2.0. It adds 94 tokens to every session and 807 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-factory compared with skills from other repositories

agent-factory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-factoryObolNetwork/obol-stackSkill12todayApache-2.0A94Claude Code, Codex
securing-helm-chart-deploymentsxalgorix/xalgorixSkill1.5ktodayApache-2.0A34Claude Code, Codex
nvca-self-managed-installNVIDIA/nvcfSkill25327d agoApache-2.0A55Claude Code, Codex
cloud-native-kubernetes-masteryj4flmao/agent-skillsSkill4613d agoMITA85Claude Code, Codex
helmalivirgo/Major-AI-SkillsSkill6yesterdayMITA22Claude Code
bazel-k8s-expertkinhluan/rules-quarkus-skillsSkill35mo agoMITA45Claude Code, Codex
kubernetes-reviewcamilooscargbaptista/cto-toolkitSkill98mo agoMITA104Claude Code