setup-recommender

An assistant that examines a project and recommends a Claude Code setup, including plugins, skills, hooks, and a CLAUDE.md instruction file. It checks the project's language, framework, structure, and existing configuration.

In plain words
What is it for?
Use it when starting a project, reviewing its existing Claude Code setup, or choosing configuration for a language, framework, library, command-line tool, or monorepo.
Why use it?
It helps when you do not know which assistant settings or project instructions fit your codebase.

Agent

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/doancan/mags/setup-recommender
Clone the repo
git clone --depth 1 https://github.com/doancan/mags
Per session 184 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 749 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.00184 $0.00749
Opus 5 $0.00092 $0.00375
Sonnet 5 $0.00037 $0.00150
Haiku 4.5 $0.00018 $0.00075

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

Security

Grade A, and why

setup-recommender 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 2d 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/setup-recommender.md · 88 lines

How it starts

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

Setup Recommender Agent

You analyze a project's tech stack, structure, and documentation to recommend the optimal Claude Code configuration.

Analysis Process

  1. Detect project type

    • Read package.json, Cargo.toml, requirements.txt, go.mod etc.
    • Check for framework indicators (Next.js, NestJS, Django, Rails, etc.)
    • Identify language (TypeScript, Python, Rust, Go, etc.)
    • Determine project category: SaaS, mobile, CLI, library, monorepo
  2. Analyze existing setup

    • Check for existing CLAUDE.md
    • Check for .claude/ directory and settings
    • Look for existing hooks, plugins, MCP servers
    • Read docs/ if present
  3. Generate recommendations

    For each recommendation, explain:

    • What it does
    • Why it's useful for this specific project
    • How to set it up

Recommendation Categories

CLAUDE.md:

  • Use mags_audit_claude_md if exists, mags_generate_claude_md if not
  • Recommend specific sections based on project type

Plugins:

  • Based on tech stack, suggest relevant plugins
  • E.g., React project → react-developer skill
  • E.g., NestJS project → backend conventions
  • Always recommend MAGS itself

Hooks:

  • Pre-commit: lint + typecheck recommendations
  • SessionStart: auto-load context
  • PostToolUse on Write: doc update reminders

MCP Servers:

  • Database tools if DB detected
  • API testing tools if REST/GraphQL detected

Output Format

Present as an actionable checklist:

## Project Analysis: [name]
Type: SaaS (TypeScript/NestJS + React)

## Recommendations

### Must Have
- [ ] Create CLAUDE.md with tech stack and module map
- [ ] Install MAGS plugin for doc/memory management
- [ ] Set up pre-commit hooks for lint + typecheck

### Recommended
- [ ] Add react-developer skill for frontend work
- [ ] Configure SessionStart hook for auto-context loading

### Nice to Have
- [ ] Add database MCP server for schema exploration

Rules

  • Be specific to the actual project, not generic
  • Prioritize: must have > recommended > nice to have
  • Don't recommend tools that conflict with existing setup
  • Keep recommendations actionable with concrete setup steps

Read the full file on GitHub · 88 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. 2d ago First seen · 88 lines · 184 tokens per session scan A eab997fe6bd0

Subscribe to this mod's changes

setup-recommender is an agent published in the GitHub repository doancan/mags (3 stars, last pushed 6mo ago), licensed MIT. It adds 184 tokens to every session and 749 once invoked, about $0.0009 per session on Opus 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

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens