agentflow

Project guidance for AgentFlow, a framework for building applications where AI agents, tools, stored state, and workflows work together. A workflow is a defined series of connected steps.

In plain words
What is it for?
Setting up AgentFlow projects, defining agents and tools, connecting model providers, managing state and storage, and working with its API, command line tools, or TypeScript client.
Why use it?
It helps the agent use the correct AgentFlow packages, commands, and documented interfaces when creating or debugging such projects.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/10xhub/agentflow-cli/claude
Any agent
npx skills add 10xHub/agentflow-cli --skill claude
Clone the repo
git clone --depth 1 https://github.com/10xHub/agentflow-cli

Made for: Claude Code, Codex.

Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,882 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00145 $0.01882
Opus 5 $0.00072 $0.00941
Sonnet 5 $0.00029 $0.00376
Haiku 4.5 $0.00015 $0.00188

Measured 2d ago against content hash 940cbb0689e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agentflow 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 2d 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

Copies of this mod

1 near-identical copy found in the catalogue:

  • agentflow — 88% identical, 66 lines differ
agentflow_cli/cli/templates/skills/claude/SKILL.md · 84 lines

How it starts

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

Agentflow Project Skill

Use this skill when working in an Agentflow project. Agentflow is a multi-agent framework that wraps official OpenAI and Google SDK capabilities behind a unified graph, agent, tool, state, storage, API, CLI, and TypeScript client interface.

Treat https://agentflow.10xscale.ai/ as the first source of truth for public package names, install commands, and user-facing behavior. Use implementation source after the docs establish the intended API.

Workflow

  1. Identify the published package or docs surface involved:

  2. Read the matching reference file before changing behavior:

    Core Python SDK

    • Architecture and package flow: .claude/skills/agentflow/references/architecture.md
    • Agent constructor, provider, reasoning, retry, fallback, output_schema: .claude/skills/agentflow/references/agents-and-tools.md
    • Graph construction, nodes, edges, compile, interrupts, config keys: .claude/skills/agentflow/references/state-graph.md
    • State, messages, and content blocks: .claude/skills/agentflow/references/state-and-messages.md
    • Threads and checkpointing: .claude/skills/agentflow/references/checkpointing-and-threads.md
    • Dependency injection (InjectQ): .claude/skills/agentflow/references/dependency-injection.md
    • Multimodal files and media stores: .claude/skills/agentflow/references/media-and-files.md
    • Long-term memory stores (MemoryConfig, QdrantStore, Mem0Store): .claude/skills/agentflow/references/memory-and-store.md
    • Streaming, StreamChunk, SSE, ResponseGranularity: .claude/skills/agentflow/references/streaming.md
    • Stream emitter for tool progress updates: .claude/skills/agentflow/references/stream-emitter.md
    • Observability hooks, validators, and runtime jumps: .claude/skills/agentflow/references/callbacks-and-command.md
    • Prebuilt agents (ReactAgent, PlanActReflectAgent, StructuredOutputAgent, SupervisorTeamAgent, SwarmAgent, RAGAgent) and tools: .claude/skills/agentflow/references/prebuilt-agents-and-tools.md
    • Event publishers and A2A/ACP runtime protocols: .claude/skills/agentflow/references/publishers-and-runtime-protocols.md
    • Context management, ID generation, and background tasks: .claude/skills/agentflow/references/context-id-background.md
    • Provider internals and adapters: .claude/skills/agentflow/references/providers-and-adapters.md
    • Prompt-injection and validation safety: .claude/skills/agentflow/references/security-and-validators.md
    • Realtime audio-to-audio voice agents (AudioAgent, Gemini Live, arealtime, WebSocket bridge): .claude/skills/agentflow/references/realtime.md

Read the full file on GitHub · 84 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. 2d ago First seen · 84 lines · 0 tokens per session scan A 940cbb0689e9

Subscribe to this mod's changes

agentflow is a skill published in the GitHub repository 10xHub/agentflow-cli (5 stars, last pushed 15d ago), licensed MIT. It adds 145 tokens to every session and 1,882 once invoked, about $0.0007 per session on Opus 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-31.

Related

Other skills, from other repositories

turborepo-monorepo

Configure pipelines, set up local/remote caching, and run scoped tasks in a Turborepo monorepo. Use when you say: 'enable remote caching', 'optimize pipeline inputs/outputs', or 'filter builds to affected packages'.

monkilabs/opencastle · 58 tokens

vitest-testing

Vitest unit and integration testing patterns, commands, mocking (vi.mock), and coverage. Use when writing .test.ts files, configuring the test runner, or adding coverage thresholds.

monkilabs/opencastle · 40 tokens

vercel-deployment

Vercel deployment workflows, environment management, domain configuration, and build troubleshooting. Use when deploying, checking deployment status, reviewing build logs, or managing environments.

monkilabs/opencastle · 37 tokens

agent-hooks

Four lifecycle hooks every agent runs: on-session-start scans LESSONS-LEARNED.md, resumes checkpoints; on-pre-delegate verifies tracker issues, file partitions; on-post-delegate runs fast-review, CI checks; on-session-end runs the health checks, writes logs. Use when starting a new session, running pre-flight checks…

monkilabs/opencastle · 122 tokens

decomposition

Resolves task dependencies, generates machine-actionable delegation specs, structures phased subtask plans for multi-agent work. Use when writing delegation specs, resolving task dependencies, building phased subtask plans for multi-agent work, assigning work to sub-agents, or partitioning a feature into…

monkilabs/opencastle · 62 tokens

jira-management

Create and update Jira issues, epics, and sprints; manage backlog and sprint transitions. Use when you say: 'create a ticket', 'open a story', 'link an epic', 'start a sprint', or 'search the backlog'.

monkilabs/opencastle · 53 tokens