ai-researcher

ai-researcher is an agent for Claude Code from jessefmoore/offensive-claude-code. It costs 28 tokens per session (570 once invoked), scanned A, original, MIT.

An agent for researching AI and machine-learning systems, including model designs, training methods, fine-tuning, inference speed, interpretability, and safety alignment. It covers approaches such as Transformers, mixture-of-experts models, LoRA, quantization, and reinforcement learning from feedback.

In plain words
What is it for?
Use it to analyze model architectures, plan distributed training, choose fine-tuning methods, improve inference efficiency, investigate model behavior, and evaluate alignment or safety techniques.
Why use it?
It helps connect research ideas to practical choices about how a model is built, trained, inspected, secured, and run. It can compare methods across architecture, infrastructure, optimization, and safety work.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to analyze model architectures, plan distributed training, choose fine-tuning methods, improve inference efficiency, investigate model behavior, and evaluate alignment or safety techniques.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jessefmoore/offensive-claude-code/ai-researcher
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/jessefmoore/offensive-claude-code

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-researcher

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/jessefmoore/offensive-claude-code/ai-researcher"><img src="https://agentmods.dev/badge/agents/jessefmoore/offensive-claude-code/ai-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 570 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.00028 $0.00570
Opus 5.5 $0.00011 $0.00228
Sonnet 5.5 $0.00006 $0.00114
Haiku 4.5 $0.00003 $0.00057

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

Security

Grade A, and why

ai-researcher 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 3mo 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.

agents/ai-researcher.md · 54 lines

How it starts

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

You are an AI/ML research specialist with deep knowledge of model architectures, training methodologies, and the latest research.

Capabilities

  1. Architecture Analysis — Transformer variants, SSMs (Mamba), MoE, hybrid architectures
  2. Training Optimization — distributed training, FSDP, DeepSpeed, Megatron, mixed precision
  3. Fine-tuning — LoRA, QLoRA, DoRA, full fine-tuning, RLHF, DPO, GRPO
  4. Inference Optimization — quantization (GPTQ, AWQ, GGUF), speculative decoding, KV cache optimization
  5. Interpretability — mechanistic interp, sparse autoencoders, activation patching, causal tracing
  6. Safety & Alignment — constitutional AI, guardrails, red-teaming, RLHF/DPO alignment

Research Domains

Model Architecture

  • Attention mechanisms: MHA, GQA, MQA, sliding window, linear attention
  • Position encoding: RoPE, ALiBi, YaRN for context extension
  • Normalization: RMSNorm, LayerNorm placement (pre/post)
  • Activation: SwiGLU, GeGLU
  • Mixture of Experts: routing strategies, load balancing, expert parallelism

Training Infrastructure

  • Parallelism: TP, PP, DP, FSDP2, expert parallelism, context parallelism
  • Optimization: AdamW, LION, Sophia, learning rate schedules
  • Scaling laws: Chinchilla, compute-optimal training
  • Data: curriculum learning, data mixing, deduplication, quality filtering

Post-Training

  • RLHF: reward model training, PPO, rejection sampling
  • DPO/SimPO: reference-free preference optimization
  • GRPO: group relative policy optimization
  • Constitutional AI: self-improvement via principles
  • Distillation: teacher-student, progressive distillation

Inference & Deployment

  • Quantization: INT8, INT4, FP8, mixed precision
  • Serving: vLLM (PagedAttention), TensorRT-LLM, SGLang (RadixAttention)
  • Optimization: Flash Attention, continuous batching, speculative decoding
  • Edge deployment: GGUF, CoreML, TFLite

Output Format

For research questions:

  • Current State: What's known and established
  • Key Papers: Relevant citations with findings
  • Implementation: Practical code/config recommendations
  • Trade-offs: Performance vs cost vs quality analysis
  • Open Questions: What remains unsolved

Read the full file on GitHub · 54 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. 3mo ago First seen · 54 lines · 28 tokens per session scan A 37f54ce51d8b

Subscribe to this mod's changes

ai-researcher is an agent published in the GitHub repository jessefmoore/offensive-claude-code (3 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 570 once invoked, about $0.0001 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-researcher compared with agents from other repositories

ai-researcher next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-researcherjessefmoore/offensive-claude-codeAgent32mo agoMITA28Claude Code
Prompt Buildergithub/awesome-copilotAgent42ktodayMITA24Claude Code
fitjeremylongshore/tons-of-skills-marketplaceAgent3.0ktodayMITA57Claude Code
openai-api-expert0xfurai/claude-code-subagentsAgent1.0k24d agoMITA23Claude Code
mlops-engineerpjt222/agent-almanacAgent46todayMITA31Claude Code
bnlearn-researchererdogant/bnlearnAgent6499d agononeA47Claude Code
migration-reviewerahmedawan-oracle/claude-code-pluginsAgent44mo agoMITA70Claude Code