II-Agent is an open-source framework and AI agent for building applications, conducting research, and automating workflows from natural-language prompts. Developers, research teams, and enterprises use it to create mobile apps, websites, illustrated books, media, research outputs, and integrations with external services. The catalogue skills and instructions provide workflows and integrations for using II-Agent.
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.
npx agentmods add instructions/intelligent-internet/ii-agent/claude-mdgit clone --depth 1 https://github.com/Intelligent-Internet/ii-agentWrote 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.
[](https://agentmods.dev/instructions/intelligent-internet/ii-agent/claude-md)<a href="https://agentmods.dev/instructions/intelligent-internet/ii-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/intelligent-internet/ii-agent/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.06044 | $0.06044 |
| Opus 5 | $0.03022 | $0.03022 |
| Sonnet 5 | $0.01209 | $0.01209 |
| Haiku 4.5 | $0.00604 | $0.00604 |
Grade A, and why
ii-agent CLAUDE.md 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 6d 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.
curl http://localhost:8000/health How it starts
The opening of the file, as written. The whole thing — 592 lines — stays where its author put it; the contents beside it link to each section on GitHub.
II-Agent Project Guide
Project Overview
II-Agent is an AI agent platform built with FastAPI and SQLAlchemy 2.0. The codebase follows a domain-driven architecture where business logic is organized into domain modules.
Architecture
Domain Structure
src/ii_agent/
├── app/ # FastAPI factory, router registration, lifespan, middleware
│
├── core/ # Shared infrastructure & configuration
│ ├── config/ # 13+ Pydantic settings classes (DB, Redis, Storage, Stripe, OAuth, LLM...)
│ ├── db/ # SQLAlchemy 2.0 Base (UUID PK, DateTime timestamps), engine, session deps
│ ├── llm/ # LLM billing service, execution service, base utilities
│ ├── middleware/ # CORS, request tracing, exception handling
│ ├── redis/ # Async Redis client, cache, cancel tokens
│ ├── storage/ # GCS/local file storage abstraction + path resolver
│ └── container.py # ApplicationContainer singleton (global + app.state)
│
├── auth/ # OAuth 2.0, JWT (uuid.UUID user_id), session management
├── users/ # User CRUD, API keys
│
├── billing/ # Stripe webhooks, payment transactions
├── credits/ # Credit balance, transactions
│
├── tasks/ # Unified run lifecycle tracker (RunTask + TaskLog) -- CANONICAL DOMAIN
│
├── sessions/ # Chat sessions (CRUD, state, fork, title, validation)
│ ├── pin/ # Session pins
│ └── wishlist/ # Session wishlists/bookmarks
│
├── chat/ # Chat API & LLM providers
│ ├── api/ # Chat REST endpoints
│ ├── application/ # Chat orchestration (chat_service, tool_service, context, turn loop)
│ ├── llm/ # LLM provider implementations (Anthropic, etc.)
│ ├── media/ # Media processing (handlers, modes, services, utils)
│ ├── messages/ # Chat message storage & history
│ ├── prompts/ # Chat system prompts
│ ├── providers/ # Provider containers, files, vector stores
│ ├── runs/ # Chat run management
│ ├── tools/ # Chat tools (code interpreter, tool registry)
│ └── vectorstore/ # Vector store integration (OpenAI)
│
├── agents/ # Agent execution framework
│ ├── models/ # LLM provider models (Anthropic, OpenAI, Google, Cerebras, VertexAI)
│ ├── runs/ # Agent run management (AgentRunTask)
│ ├── sandboxes/ # Sandbox environment management (E2B/Docker/local)
│ ├── skills/ # Skills framework (built-in + custom)
│ ├── tools/ # Tool implementations (13 categories, 100+ tools)
│ └── ... # connector, hooks, media, prompts, sessions, utils
│
├── content/ # Content generation
│ ├── media/ # Media templates & tools
│ ├── slides/ # Slide/presentation generation
│ └── storybook/ # Storybook generation
│
├── files/ # File upload/download, user & session assets
│
├── integrations/ # External integrations
│ ├── connectors/ # External connectors (GitHub, Google Drive, Composio)
│ ├── enhance_prompt/ # Prompt enhancement service
│ └── mobile/ # Mobile integrations (Apple credentials)
│
├── projects/ # Project & deployment management
│ ├── cloud_run/ # Google Cloud Run deployment
│ ├── databases/ # Database provisioning
│ ├── deployments/ # Deployment management
│ ├── design/ # Project design preview
│ ├── secrets/ # Project secrets management
│ └── subdomains/ # Subdomain management
│
├── realtime/ # Real-time communication
│ ├── events/ # Event handling & persistence
│ ├── handlers/ # Socket.IO command handlers (21 total)
│ └── pubsub/ # Async pub/sub (SioCallback + DatabaseCallback)
│
├── settings/ # Admin/user settings (LLM, MCP, skills)
│
└── workers/ # Background jobs
├── celery/ # Celery task definitions & decorators
└── cron/ # Scheduled jobs (credit refresh, sandbox timeout)
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.
- 6d ago First seen · 592 lines · 6,044 tokens per session scan A cd513a5f5c36
ii-agent CLAUDE.md is an instructions file published in the GitHub repository Intelligent-Internet/ii-agent (3,382 stars, last pushed 20d ago), licensed Apache-2.0. It adds 6,044 tokens to every session, about $0.0302 per session on Opus 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.
Other instructions, from other repositories
mcp-toolbox GEMINI.md
Gemini CLI instructions for googleapis/mcp-toolbox, covering mcp toolbox context & style guide, project overview, tech stack, key directories and development workflow.
mcp-toolbox AGENTS.md
AGENTS.md instructions for googleapis/mcp-toolbox, a project described as: MCP Toolbox for Databases is an open source MCP server for databases.
agentfield CLAUDE.md
Claude Code instructions for Agent-Field/agentfield, covering claude.md, project overview, development setup, prerequisites and initial setup.
connectonion AGENTS.md
AGENTS.md instructions for openonion/connectonion, covering agents.md, project overview, architecture, core components and key design patterns.
connectonion CLAUDE.md
Claude Code instructions for openonion/connectonion, covering claude.md, project overview, architecture, core components and key design patterns.
PPTAgent AGENTS.md
AGENTS.md instructions for icip-cas/PPTAgent, covering project and user background, purpose, ground truth, core philosophy and 1. good taste first.