glm-consultant

glm-consultant is an agent for Claude Code from rube-de/cc-skills. It costs 314 tokens per session (2,972 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: shipped in a Claude Code plugin. 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, 1 command, 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, 1 command, 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 2,972 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.02972
Opus 5.5 $0.00126 $0.01189
Sonnet 5.5 $0.00063 $0.00594
Haiku 4.5 $0.00031 $0.00297

Measured 1mo ago against content hash 8247e6f8341b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 242 lines

How it starts

The opening of the file, as written. The whole thing — 242 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 · 242 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. 1mo ago Changed · -6 lines 8247e6f8341b
  2. 3mo 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 (11 stars, last pushed 2d ago), licensed MIT. It adds 314 tokens to every session and 2,972 once invoked, about $0.0013 per session on Opus 5.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

glm-consultant compared with agents from other repositories

glm-consultant next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
glm-consultantrube-de/cc-skillsAgent112d agoMITC314Claude Code
project-auditoravelikiy/great_ctoAgent11718d agoMITA41Claude Code
design-advisoravelikiy/great_ctoAgent11718d agoMITA86Claude Code
legal-revieweravelikiy/great_ctoAgent11718d agoMITA52Claude Code
accounting-revieweravelikiy/great_ctoAgent11718d agoMITA52Claude Code
cms-revieweravelikiy/great_ctoAgent11718d agoMITA39Claude Code
edtech-revieweravelikiy/great_ctoAgent11718d agoMITA112Claude Code