CAST Imaging Structural Quality Advisor Agent

CAST Imaging Structural Quality Advisor Agent is an agent for Claude Code from archubbuck/workspace-architect. It costs 26 tokens per session (798 once invoked), scanned A, a copy of CAST Imaging Structural Quality Advisor Agent, ISC.

An assistant for finding and analysing structural code-quality problems reported by CAST Imaging, a tool that maps software structure and quality issues.

In plain words
What is it for?
Use it to analyse technical debt, understand where quality issues occur, prioritise remediation by risk, plan fixes, and identify related testing work.
Why use it?
It adds context around each reported issue and connects remediation advice with testing needs and the available source code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to analyse technical debt, understand where quality issues occur, prioritise remediation by risk, plan fixes, and identify related testing work.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/cast-imaging-structural-quality-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/archubbuck/workspace-architect

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 CAST Imaging Structural Quality Advisor Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/cast-imaging-structural-quality-advisor.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/cast-imaging-structural-quality-advisor)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/cast-imaging-structural-quality-advisor"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/cast-imaging-structural-quality-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 798 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 100% copy Near-identical to another mod 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.00026 $0.00798
Opus 5 $0.00013 $0.00399
Sonnet 5 $0.00005 $0.00160
Haiku 4.5 $0.00003 $0.00080

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

Security

Grade A, and why

CAST Imaging Structural Quality Advisor Agent 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 8d 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.

Origin

This is a copy

100% identical to CAST Imaging Structural Quality Advisor Agent — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/agents/cast-imaging-structural-quality-advisor.agent.md · 86 lines

How it starts

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

CAST Imaging Structural Quality Advisor Agent

You are a specialized agent for identifying, analyzing, and providing remediation guidance for structural quality issues. You always include structural context analysis of occurrences with a focus on necessary testing and indicate source code access level to ensure appropriate detail in responses.

Your Expertise

  • Quality issue identification and technical debt analysis
  • Remediation planning and best practices guidance
  • Structural context analysis of quality issues
  • Testing strategy development for remediation
  • Quality assessment across multiple dimensions

Your Approach

  • ALWAYS provide structural context when analyzing quality issues.
  • ALWAYS indicate whether source code is available and how it affects analysis depth.
  • ALWAYS verify that occurrence data matches expected issue types.
  • Focus on actionable remediation guidance.
  • Prioritize issues based on business impact and technical risk.
  • Include testing implications in all remediation recommendations.
  • Double-check unexpected results before reporting findings.

Guidelines

  • Startup Query: When you start, begin with: "List all applications you have access to"
  • Recommended Workflows: Use the following tool sequences for consistent analysis.

Quality Assessment

When to use: When users want to identify and understand code quality issues in applications

Tool sequence: quality_insightsquality_insight_occurrencesobject_details | → transactions_using_objectdata_graphs_involving_object

Sequence explanation:

  1. Get quality insights using quality_insights to identify structural flaws.
  2. Get quality insight occurrences using quality_insight_occurrences to find where the flaws occur.
  3. Get object details using object_details to get more context about the flaws' occurrences. 4.a Find affected transactions using transactions_using_object to understand testing implications. 4.b Find affected data graphs using data_graphs_involving_object to understand data integrity implications.

Read the full file on GitHub · 86 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. 8d ago First seen · 86 lines · 26 tokens per session scan A d05ece6494fe

Subscribe to this mod's changes

CAST Imaging Structural Quality Advisor Agent is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed 4d ago), licensed ISC. It adds 26 tokens to every session and 798 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to CAST Imaging Structural Quality Advisor Agent, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

refactor-cleaner

An agent for finding and safely removing dead code, unused exports, unused dependencies, and duplicate implementations.

sangrokjung/claude-forge · 109 tokens

code-analyst

Mid-cost interpretation — trace how code works across files, reproduce and analyze test failures, research dependency changelogs and upgrade impact, run code-graph and architecture queries. Use when the answer requires reading between files, interpreting command output, or external research. Also the escalation target…

rhawk117/agentmaster · 65 tokens

adversarial-reviewer

Independent read-only checker for behavioural changes. Runs in a fresh context that did not author the change, reproduces the claim against the goal, spec, diff and execution evidence, and returns exactly one verdict — APPROVE, REQUESTCHANGES or UNVERIFIED — as a forge.review/v1 envelope. MUST BE USED before claiming…

sangrokjung/claude-forge · 102 tokens

Codebase Archaeologist

Multi-session, multi-tool drift detection specialist who audits codebases touched by several AI coding tools (Claude, Cursor, Copilot, Windsurf, etc.) over time, finding silent logic mismatches, dead code, and doc-vs-code divergence that no single session would ever notice on its own.

SHAdd0WTAka/Zen-Ai-Pentest · 65 tokens

al-review-subagent

Internal quality assurance subagent for Business Central AL code. Only invoked by al-conductor via Task tool. Reviews implementation against AL best practices, test coverage, and BC patterns.

javiarmesto/ALDC-AL-Development-Collection · 40 tokens

retrospective

Reflective analyst who extracts learnings through structured retrospective frameworks, diagnosing agent performance, identifying error patterns, and documenting success strategies. Uses Five Whys, timeline analysis, and learning matrices. Use when you need root-cause analysis, atomicity scoring, or to transform…

rjmurillo/ai-agents · 62 tokens