glm-consultant

glm-consultant is an agent for Claude Code from rube-de/cc-skills. It costs 314 tokens per session (3,013 once invoked), scanned C, original, MIT.

An external code-review consultant that asks Z.AI's GLM-5.3 model for feedback through the omp command-line tool.

In plain words
What is it for?
It helps analyse algorithms, review pull-request changes, assess architecture, and provide alternative technical opinions.
Why use it?
It adds another model's perspective when reviewing code, algorithms, architecture, or pull requests.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; names the TodoWrite tool.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/me/My.

Part of the council plugin — 3 skills, 7 agents shipped together

Good fit It helps analyse algorithms, review pull-request changes, assess architecture, and provide alternative technical opinions.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rube-de/cc-skills
Claude Code
/plugin install council

Made for: Claude Code.

Or install council, the plugin that ships this one along with the rest of its 3 skills, 7 agents.

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 glm-consultant

README.md
[![agentmods](https://agentmods.dev/badge/agents/rube-de/cc-skills/glm-consultant/github.svg)](https://agentmods.dev/agents/rube-de/cc-skills/glm-consultant)
Your own site
<a href="https://agentmods.dev/agents/rube-de/cc-skills/glm-consultant"><img src="https://agentmods.dev/badge/agents/rube-de/cc-skills/glm-consultant/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 glm-consultant

Your own site · 80×15
<a href="https://agentmods.dev/agents/rube-de/cc-skills/glm-consultant"><img src="https://agentmods.dev/badge/agents/rube-de/cc-skills/glm-consultant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 314 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,013 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00314 $0.03013
Opus 5 $0.00157 $0.01507
Sonnet 5 $0.00063 $0.00603
Haiku 4.5 $0.00031 $0.00301

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

Security

Grade C, and why

glm-consultant scanned grade C 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 11d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

trap 'rm -rf "$sandbox"' EXIT # remove the sandbox even on error/interrupt
plugins/council/agents/glm-consultant.md · 248 lines

How it starts

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

You are a senior technical consultant who leverages Z.AI's GLM-5.3 model via the omp CLI for code review, PR review, architecture analysis, and alternative perspectives. GLM-5.3 offers unique viewpoints and strong algorithmic reasoning.

omp CLI Usage

The omp CLI (omp) provides access to GLM-5.3 through the zai provider. Key patterns:

  • -p runs non-interactively (print result and exit).
  • --model zai/glm-5.3:max selects the model.
  • --no-tools disables omp's built-in read/bash/edit/write tools, so the model cannot inspect or modify the workspace through them. It does not make the session report-only on its own: --no-tools does not disable custom-tool discovery. omp still scans its working directory's .omp/tools/ and .claude/tools/ and import()s those modules at startup, executing their code regardless of --no-tools. A reviewed branch that ships a .omp/tools/*.ts file would run during the review.
  • Run omp from an isolated sandbox directory (see "Report-Only Sandbox" below) whenever the reviewed content is untrusted. Project-level custom-tool discovery (<cwd>/.claude/tools, <cwd>/.omp/tools) is keyed to omp's cwd, so a throwaway cwd outside the repo starves the untrusted repo's own tools — that closes the main vector (a reviewed branch shipping its own .omp/tools/*.ts, which would run at import() time with no model involvement). Attach the real files by absolute @path. Caveat: user-level tools (~/.claude/tools, ~/.omp/plugins/*) resolve from $HOME, not cwd, so the sandbox does not starve them — see "What the sandbox does and doesn't cover" below.
  • Attach files by writing @path inside the prompt; each referenced file's contents are read into the message context. Multiple @path tokens (and multi-line prompts) work. Use absolute paths so attachment still works from the sandbox cwd. Quote any mention that interpolates a path@\"$repo/file\" — because omp's unquoted-mention parser stops at the first space ([^\s@]+), so an absolute path containing a space (e.g. a repo under /Users/me/My App) is truncated and the file is silently skipped.
  • omp does not read piped stdin — git diff | omp … silently drops the diff and the model answers from nothing. To review a diff or any command output, write it to a file first and attach it with @.

Read the full file on GitHub · 248 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. 11d ago First seen · 248 lines · 314 tokens per session scan C 1de80feec753

Subscribe to this mod's changes

glm-consultant is an agent published in the GitHub repository rube-de/cc-skills (10 stars, last pushed 4d ago), licensed MIT. It adds 314 tokens to every session and 3,013 once invoked, about $0.0016 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

project-auditor

Use for /audit or when no PROJECT.md exists. Auditor + Architect hybrid — stack detection, vulnerability analysis, outdated dependency scan, architectural debt, and a concrete refactoring plan.

avelikiy/great_cto · 41 tokens

design-advisor

Use after architect, before/parallel to pm, for any UI-bearing feature (landing pages, dashboards, admin panels, web apps, React Native apps). Picks a design system, enumerates the component inventory, writes text-form wireframes, and locks the a11y + responsive + (mobile) platform-integration contract. Outputs…

avelikiy/great_cto · 89 tokens

insurance-reviewer

Insurance / InsurTech specialist pre-implementation reviewer for insurance archetype. Specialises in NAIC Model Acts (50-state filing matrix), the NAIC AI Model Bulletin 2023 (AIS Program, unfair-discrimination testing, DOI market-conduct readiness), Colorado SB 21-169 + NY DFS AI circular (insurance-specific…

avelikiy/great_cto · 153 tokens

accounting-reviewer

Bookkeeping / general-ledger / financial-close specialist pre-implementation reviewer for fintech and enterprise-saas archetypes. Outputs threat model TM-accounting-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

legal-reviewer

Legal-services / legal-tech specialist pre-implementation reviewer for legal archetype (law firms, solo practitioners, legal-SaaS). Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

msp-reviewer

Managed Service Provider (MSP) / IT-services specialist pre-implementation reviewer for enterprise-saas and devtools archetypes. Outputs threat model TM-msp-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 54 tokens