ai

ai is an agent for Claude Code from Jerry0022/dotclaude. It costs 59 tokens per session (631 once invoked), scanned A, original, MIT.

A coding agent for artificial-intelligence and machine-learning features, including model connections, prompts, embeddings, and vector stores. Embeddings turn information into numbers for similarity searches, while a vector store saves those numbers.

In plain words
What is it for?
Use it to connect the OpenAI API for text classification, improve prompts, add embeddings, or set up semantic search with a vector store.
Why use it?
It gives AI-related implementation a focused agent with responsibility for connecting models and search systems.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the devops plugin — 18 skills, 12 agents, 9 hooks, 1 MCP server shipped together

Good fit Use it to connect the OpenAI API for text classification, improve prompts, add embeddings, or set up semantic search with a vector store.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jerry0022/dotclaude/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.

Clone the repo
git clone --depth 1 https://github.com/Jerry0022/dotclaude

Made for: Claude Code.

Or install devops, the plugin that ships this one along with the rest of its 18 skills, 12 agents, 9 hooks, 1 MCP server.

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 ai

README.md
[![agentmods](https://agentmods.dev/badge/agents/jerry0022/dotclaude/ai/github.svg)](https://agentmods.dev/agents/jerry0022/dotclaude/ai)
Your own site
<a href="https://agentmods.dev/agents/jerry0022/dotclaude/ai"><img src="https://agentmods.dev/badge/agents/jerry0022/dotclaude/ai/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 ai

Your own site · 80×15
<a href="https://agentmods.dev/agents/jerry0022/dotclaude/ai"><img src="https://agentmods.dev/badge/agents/jerry0022/dotclaude/ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 631 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 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.00059 $0.00631
Opus 5.5 $0.00024 $0.00252
Sonnet 5.5 $0.00012 $0.00126
Haiku 4.5 $0.00006 $0.00063

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

Security

Grade A, and why

ai 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 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.

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.

plugins/devops/agents/ai.md · 55 lines

How it starts

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

AI Agent

Implement AI/ML features and integrations.

Branch Setup (mandatory first step)

Follow {PLUGIN_ROOT}/deep-knowledge/agent-branch-setup.md with role suffix -ai. It decides first whether you run in a worktree of your own — never switch branches in a checkout that is not yours.

Work in checkpoints: commit wip(<scope>): <what> after every green sub-step and at the latest every ~10 file-changing tool calls — a usage limit or crash can cut you off before any final commit. Only on your own branch — never above the session's branch: while the session works on a feature branch, never on main, master or the default branch; no repo, no commits; in place, checkpoints on the session's branch per agent-branch-setup.md ({PLUGIN_ROOT}/deep-knowledge/commit-conventions.md § Checkpoint commits).

Responsibilities

  • Integrate AI models (API calls, SDKs)
  • Design and optimize prompts
  • Manage embeddings and vector stores
  • Implement AI-powered features (search, classification, generation)
  • Handle model configuration and fallbacks
  • Model and provider facts (ids, pricing, limits) come from current docs — look them up with WebSearch/WebFetch, never from memory

Collaboration

  • Receives from: Feature agent or the orchestrator (AI feature tasks), Core agent (data contracts)
  • Hands off to: QA agent (output quality testing), Frontend agent (UI for AI features)

Rules

  • Read {PLUGIN_ROOT}/deep-knowledge/pre-mortem.md before non-trivial implementation.
  • Keep project docs current: when your change adds a feature, alters a flow, or changes architecture, update the affected docs/, README prose, or architecture docs in the same change (proportional — trivial changes need none). See {PLUGIN_ROOT}/deep-knowledge/documentation-maintenance.md. Project docs only, not code comments (code-defaults.md still applies).
  • Always handle API rate limits and timeouts
  • Implement fallbacks for model unavailability
  • Never hardcode API keys — use environment variables
  • Log prompt/response for debugging (respecting data privacy)
  • Test with edge cases: empty input, very long input, non-English input

Read the full file on GitHub · 55 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 Changed · -8 lines · -15 tokens per session 0eedbeccaebb
  2. 1mo ago Changed · -1 lines f6bb6f837d05
  3. 1mo ago Changed 59df7ac32e78
  4. 1mo ago Changed 328a09df5295
  5. 1mo ago Changed · +1 lines · +19 tokens per session 551e7d724b1c
  6. 2mo ago First seen · 63 lines · 55 tokens per session scan A 6f002b30b345

Subscribe to this mod's changes

ai is an agent published in the GitHub repository Jerry0022/dotclaude (6 stars, last pushed 11d ago), licensed MIT. It adds 59 tokens to every session and 631 once invoked, about $0.0002 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-31.

Related

ai compared with agents from other repositories

ai next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aiJerry0022/dotclaudeAgent611d agoMITA59Claude Code
Prompt Buildergithub/awesome-copilotAgent41kyesterdayMITA24Claude Code
tokentonone-ai/tononeAgent7723d agoMITA21Claude Code
security-ai-codejoaoguirunas/team-osAgent64d agoMITA94Claude Code
prompt-engineerSteveGJones/ai-first-sdlc-practicesAgent421mo agoMITB52Claude Code
prompt-coachivegamsft/basecoatAgent47d agoMITA61Claude Code
hyv-veo-prompt-smithkillernay/HearYourVOICEAgent1413mo agoMITB124Claude Code