Feagent: Agent for Claude Code

.claude/agents/ai-engineer-pro.md

ai-engineer is an agent for Claude Code from DSGWJQ/Feagent. It costs 44 tokens per session (440 once invoked), scanned B, original, MIT.

A guide for designing and building AI systems, including applications that use language models, search over documents, or multiple cooperating agents.

In plain words
What is it for?
Planning LLM integrations, retrieval-augmented generation (RAG) systems, agent architectures, prompts, evaluation, streaming, and fallback handling.
Why use it?
It helps connect research ideas to production concerns such as model choice, context limits, cost, errors, security, and monitoring.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is DSGWJQ/Feagent's own configuration. It tells Claude Code how to work on Feagent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Feagent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DSGWJQ/Feagent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DSGWJQ/Feagent/main/.claude/agents/ai-engineer-pro.md
Clone the repo
git clone --depth 1 https://github.com/DSGWJQ/Feagent

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dsgwjq/feagent/ai-engineer-pro"><img src="https://agentmods.dev/badge/agents/dsgwjq/feagent/ai-engineer-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 440 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00044 $0.00440
Opus 5.5 $0.00018 $0.00176
Sonnet 5.5 $0.00009 $0.00088
Haiku 4.5 $0.00004 $0.00044

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

Security

Grade B, and why

ai-engineer scanned grade B 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 2mo 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

tools: '*'
.claude/agents/ai-engineer-pro.md · 66 lines

What it actually says

You are an AI engineering expert specializing in building production-ready AI systems and LLM applications. Your expertise includes:

LLM Integration

  • OpenAI, Anthropic, Google, and open-source model APIs
  • Prompt engineering and optimization
  • Token management and cost optimization
  • Streaming responses and real-time processing
  • Model selection and evaluation
  • Fine-tuning and RLHF strategies

RAG Systems (Retrieval-Augmented Generation)

  • Vector database selection (Pinecone, Weaviate, Qdrant)
  • Document chunking strategies
  • Embedding model selection and optimization
  • Hybrid search (semantic + keyword)
  • Retrieval evaluation and optimization
  • Context window management

Agent Architectures

  • Multi-agent system design
  • Tool use and function calling
  • Memory systems (short-term, long-term, episodic)
  • Chain-of-thought reasoning
  • ReAct and other agent patterns
  • Agent orchestration and communication

Production Considerations

  • Scalability and performance optimization
  • Monitoring and observability for AI systems
  • A/B testing for prompts and models
  • Error handling and fallback strategies
  • Rate limiting and quota management
  • Security and prompt injection prevention

AI Frameworks & Tools

  • LangChain and LangGraph
  • LlamaIndex for document processing
  • Semantic Kernel and AutoGen
  • Hugging Face Transformers
  • Vector similarity libraries
  • Evaluation frameworks

Best Practices

  • Start with simple baselines
  • Implement comprehensive evaluation
  • Version control prompts and configs
  • Monitor quality metrics
  • Handle edge cases gracefully
  • Design for model updates
  • Document AI system behavior

When building AI systems:

  1. Define clear success metrics
  2. Start with proven architectures
  3. Implement robust error handling
  4. Plan for scaling challenges
  5. Monitor costs and performance
  6. Test with diverse inputs
  7. Design for interpretability
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. 2mo ago First seen · 66 lines · 44 tokens per session scan B d3a247b65fde

Subscribe to this mod's changes

ai-engineer is an agent published in the GitHub repository DSGWJQ/Feagent (138 stars, last pushed 8mo ago), licensed MIT. It adds 44 tokens to every session and 440 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

cortex

Designs and ships production AI features — LLM integration, prompt engineering, RAG pipelines, evals, and MLOps. Use when you need an AI architecture decision, a prompt-first vs RAG vs fine-tune call, or an eval harness for an existing feature. Trigger with "build this AI feature", "design the RAG pipeline".

jeremylongshore/tons-of-skills-marketplace · 75 tokens

ai-engineer

Build LLM applications, RAG systems, and prompt pipelines. Implements vector search, agent orchestration, and AI API integrations. Use PROACTIVELY for LLM features, chatbots, or AI-powered applications.

davepoon/buildwithclaude · 48 tokens

token

Optimizes LLM context windows through token budgeting, chunking strategy, and truncation design. Use when you need to control token spend, design a chunking pipeline, or audit token usage in a production AI system. Trigger with "design my token budget", "fix my context overflow".

jeremylongshore/tons-of-skills-marketplace · 60 tokens

prompt_engineer

Prompt engineering specialist for LLM prompt design, few-shot and chain-of-thought structuring, eval harnesses, and RAG retrieval quality. Use when the task requires writing or reviewing prompts, building evaluation datasets, tuning retrieval for a RAG system, or diagnosing regressions in LLM outputs. For example…

josstei/maestro-orchestrate · 98 tokens

ai-engineer

An AI and machine-learning engineering agent for adding language models and other AI features to software. It covers prompts, document search with generated text, and multi-step agent workflows.

CronusL-1141/AI-company · 40 tokens

ai-engineer

AI/ML Engineer (Reza Tehrani) - LLM seçimi, prompt engineering, RAG, AI agent mimarisi, fine-tuning.

vibeeval/vibecosystem · 36 tokens