general-purpose

general-purpose is an agent for Claude Code from daffy0208/ai-dev-standards. It costs 0 tokens per session (1,448 once invoked), scanned A, original, MIT.

A general coding agent for broad development work, including searching, understanding, researching, and editing files across a project. It is the standard default agent described in the source.

In plain words
What is it for?
Use it for codebase analysis, architecture investigation, bug fixes, feature work, refactoring, file edits, and multi-step research.
Why use it?
It provides one general option when a task does not require a specialist. It can follow relationships across files and handle work that spans several steps.

Agent for Claude Code

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 agents/daffy0208/ai-dev-standards/general-purpose
Clone the repo
git clone --depth 1 https://github.com/daffy0208/ai-dev-standards

Made for: Claude Code.

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 general-purpose

README.md
[![agentmods](https://agentmods.dev/badge/agents/daffy0208/ai-dev-standards/general-purpose.svg)](https://agentmods.dev/agents/daffy0208/ai-dev-standards/general-purpose)
Your own site
<a href="https://agentmods.dev/agents/daffy0208/ai-dev-standards/general-purpose"><img src="https://agentmods.dev/badge/agents/daffy0208/ai-dev-standards/general-purpose.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,448 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.00000 $0.01448
Opus 5 $0.00000 $0.00724
Sonnet 5 $0.00000 $0.00290
Haiku 4.5 $0.00000 $0.00145

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

Security

Grade A, and why

general-purpose 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 5d 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.

.claude/agents/general-purpose.md · 324 lines

How it starts

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

General-Purpose Agent

The standard Claude Code agent for comprehensive development tasks.

Overview

The general-purpose agent is Claude Code's default mode, optimized for:

  • Multi-file analysis and editing
  • Complex codebase exploration
  • Research and investigation
  • Comprehensive development tasks

Core Capabilities

1. Code Search & Analysis

  • Search across large codebases efficiently
  • Pattern recognition and matching
  • Analyze code relationships
  • Identify dependencies

Tools Used:

  • Grep: Content search with regex support
  • Glob: File pattern matching
  • Read: File content analysis

2. System Architecture Understanding

  • Analyze multiple files simultaneously
  • Map component relationships
  • Understand system design
  • Identify architectural patterns

3. Multi-Step Research

  • Break down complex questions
  • Gather information across multiple sources
  • Synthesize findings
  • Generate comprehensive reports

4. File Operations

  • Read, write, and edit files
  • Safe file modifications
  • Batch operations
  • Preserve file formatting

Strengths

Comprehensive Analysis

  • Can analyze entire directories
  • Tracks relationships between files
  • Builds complete mental models
  • Provides thorough explanations

Flexibility

  • Adapts to any development task
  • Works with any programming language
  • Handles any file type
  • Scales to any codebase size

Accuracy

  • Verifies before acting
  • Checks dependencies
  • Validates changes
  • Maintains consistency

Usage Patterns

Code Investigation

Task: Find all uses of deprecated API
Agent: General-Purpose (default)
Approach:
1. Grep for API references
2. Read affected files
3. Analyze usage patterns
4. Generate replacement plan

Refactoring

Task: Rename component across codebase
Agent: General-Purpose (default)
Approach:
1. Find all component references
2. Identify import statements
3. Update all occurrences
4. Verify no broken references

Feature Implementation

Task: Add authentication to application
Agent: General-Purpose (default)
Skills: security-engineer, frontend-builder
Approach:
1. Analyze existing auth patterns
2. Design authentication flow
3. Implement auth components
4. Add security validation

Read the full file on GitHub · 324 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. 5d ago First seen · 324 lines · 0 tokens per session scan A 7fa2671d144f

Subscribe to this mod's changes

general-purpose is an agent published in the GitHub repository daffy0208/ai-dev-standards (36 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,448 tokens. 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.