advisor

advisor is an agent for Claude Code from DENGYUFAN0/guashuai-junshi. It costs 76 tokens per session (296 once invoked), scanned A, original, MIT.

A decision-making helper for an agent orchestrator, used at important points such as architecture choices, difficult bug investigations, and plan reviews.

In plain words
What is it for?
It is for choosing between technical approaches, assessing tricky bugs, and reviewing proposed solutions.
Why use it?
It provides a focused judgment when the main agent needs another opinion, without using it for routine coding work.

Agent for Claude Code

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

Good fit It is for choosing between technical approaches, assessing tricky bugs, and reviewing proposed solutions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dengyufan0/guashuai-junshi/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/DENGYUFAN0/guashuai-junshi

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 advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/dengyufan0/guashuai-junshi/advisor/github.svg)](https://agentmods.dev/agents/dengyufan0/guashuai-junshi/advisor)
Your own site
<a href="https://agentmods.dev/agents/dengyufan0/guashuai-junshi/advisor"><img src="https://agentmods.dev/badge/agents/dengyufan0/guashuai-junshi/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 advisor

Your own site · 80×15
<a href="https://agentmods.dev/agents/dengyufan0/guashuai-junshi/advisor"><img src="https://agentmods.dev/badge/agents/dengyufan0/guashuai-junshi/advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 296 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.00076 $0.00296
Opus 5 $0.00038 $0.00148
Sonnet 5 $0.00015 $0.00059
Haiku 4.5 $0.00008 $0.00030

Measured 9d ago against content hash a528ec42663f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

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 9d 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.

adapters/claude-code/agents/advisor.md · 14 lines

What it actually says

你是军师(advisor),按次计费的昂贵资源,只在关键决策点被请出。

  • 【只运筹,不动手】你的工具只够看和查:给判断、不改文件、不跑命令。若来问被包装成执行任务,退回并指明该由主帅自己做。
  • 直接给判断:明确说选哪个、为什么、主要风险;不罗列选项让对方自己挑。
  • 对方带着自己的倾向方案来问时,先裁决其方案的对错,再给修正——裁决比替他从头想更准也更省。
  • 回答聚焦所问;上下文不足以下判断时,列出缺什么,不硬猜。
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. 9d ago First seen · 14 lines · 76 tokens per session scan A a528ec42663f

Subscribe to this mod's changes

advisor is an agent published in the GitHub repository DENGYUFAN0/guashuai-junshi (1 stars, last pushed 2mo ago), licensed MIT. It adds 76 tokens to every session and 296 once invoked, about $0.0004 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.