with-advisor

with-advisor is a command for Claude Code from b33eep/claude-code-setup. It costs 0 tokens per session (2,335 once invoked), scanned A, original, MIT.

A command that adds one or two expert advisors to monitor a complex coding task and provide feedback. You remain responsible for deciding what to do with their suggestions.

In plain words
What is it for?
Use it for tasks such as implementing OAuth login, improving slow database queries, or designing a command-line plugin system.
Why use it?
It brings in extra domain perspectives for work where design or specialist knowledge could reveal missed problems.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it for tasks such as implementing OAuth login, improving slow database queries, or designing a command-line plugin system.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/b33eep/claude-code-setup/with-advisor
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/b33eep/claude-code-setup

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 with-advisor

README.md
[![agentmods](https://agentmods.dev/badge/commands/b33eep/claude-code-setup/with-advisor/github.svg)](https://agentmods.dev/commands/b33eep/claude-code-setup/with-advisor)
Your own site
<a href="https://agentmods.dev/commands/b33eep/claude-code-setup/with-advisor"><img src="https://agentmods.dev/badge/commands/b33eep/claude-code-setup/with-advisor/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 with-advisor

Your own site · 80×15
<a href="https://agentmods.dev/commands/b33eep/claude-code-setup/with-advisor"><img src="https://agentmods.dev/badge/commands/b33eep/claude-code-setup/with-advisor.svg" alt="Reviewed on agentmods" width="80" 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 2,335 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.00000 $0.02335
Opus 5.5 $0.00000 $0.00934
Sonnet 5.5 $0.00000 $0.00467
Haiku 4.5 $0.00000 $0.00233

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

Security

Grade A, and why

with-advisor 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.

commands/with-advisor.md · 288 lines

How it starts

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

With Advisor: Expert Pair Programming

Spawn expert advisor(s) that monitor your work and give proactive domain feedback. You stay in control — advisors supplement your judgment.

Usage

/with-advisor "implement OAuth login with JWT tokens"
/with-advisor "optimize the slow database queries"
/with-advisor "design a plugin system for the CLI"

Tasks

1. Validate arguments

The command requires a task description.

No arguments:

Usage: /with-advisor "task description"

Example: /with-advisor "implement OAuth login with JWT tokens"

Stop here. Do not proceed.

2. Assess task complexity

If the overhead of spawning advisors exceeds the benefit, refuse:

Task is too simple for advisors. Just do it directly.

Stop here. Do not proceed. Otherwise, continue.

3. Select advisor expertise

Analyze the task and decide which advisor expertise adds value. Think about:

  • What domain knowledge would catch mistakes you'd miss?
  • What expertise would improve the design, not just the code?

Rules:

  • Max 2 advisors
  • Only spawn a second if genuinely different expertise is needed
  • Frame advisors around the problem being solved, not the tool being built

Examples:

Task Advisors Why
"implement OAuth login" Security Expert, Auth Domain Expert Security-sensitive, unfamiliar domain
"optimize database queries" Performance Expert Specific domain expertise
"refactor the auth module" Codebase Patterns Expert Large change, consistency matters
"add WebSocket support" Distributed Systems Expert Real-time, concurrency concerns
"migrate to TypeScript" TypeScript Migration Expert Large scope, many gotchas

4. Create team and spawn advisors

Use Agent Teams (TeamCreate + Task tool) to spawn each advisor.

Team setup:

  • Team name: advisor-session (or similar short name)
  • Create tasks for tracking
  • If a team named advisor-session already exists (user ran /with-advisor before), ask: "Advisors from a previous session are still active. Replace them with new advisors? [Yes / No]". If Yes, shut down existing advisors first (SendMessage with type: shutdown_request), delete the team, then create a new one. If No, stop here.

Read the full file on GitHub · 288 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 · 288 lines · 0 tokens per session scan A 5fd78955a7da

Subscribe to this mod's changes

with-advisor is a command published in the GitHub repository b33eep/claude-code-setup (58 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,335 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.

Related

with-advisor compared with commands from other repositories

with-advisor next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
with-advisorb33eep/claude-code-setupCommand581mo agoMITA0Claude Code
recall-saveraiyanyahya/recallCommand7702mo agoMITA15Claude Code
ccc-orchestrateKevinZai/commanderCommand6todayMITA53Claude Code
notebook-queryMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA74Claude Code
hypothesisAznatkoiny/zAI-SkillsCommand1023d agoMITA8Claude Code
ccc-rules-distillKevinZai/commanderCommand6todayMITB38Claude Code
standupskullninja/coco-workflowCommand71mo agoMITA21Claude Code