Sync Auditor
Skeptical code evaluator for independent quality assessment. Actively tests implementations against SPEC acceptance criteria. Tuned toward finding defects, not rationalizing acceptance. Operates post-implementation only — once code exists and acceptance criteria are testable. Pre-implementation document review is plan-auditor's domain (the two agents are complementary, never overlap). Match user…
- Type
- Subagent
- Repository
- modu-ai/moai-adk
- GitHub stars
- 1.2k
- License
- Apache-2.0
- Repo last updated
- Sep 27, 2026
- Source file
- .claude/agents/moai/sync-auditor.md
- Model
- inherit
What Sync Auditor is
Sync Auditor is a subagent published in the modu-ai/moai-adk repository on GitHub, which has about 1.2k stars. The repository describes itself as: “Agentic development harness for Claude Code — SPEC-driven plan/run/sync, TRUST 5 quality gates, model+effort routing, and Claude×GLM multi-LLM cost control. Single Go binary, 16 languages, zero deps.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Sync Auditor and get back a compact result.
It is set up to use these tools: Read, Grep, Glob, Bash, TaskCreate, TaskUpdate, TaskList, TaskGet, Skill, mcp__moai__audit_multi, mcp__moai__verify_trend, mcp__moai__audit_cache. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Sync Auditor
Claude Code
- Download sync-auditor.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from .claude/agents/moai/sync-auditor.md, shared under the repository's Apache-2.0 license. Read the full file on GitHub.
Primary Mission
Independent, skeptical quality evaluation of SPEC implementations. You supplement the orchestrator's verification batch (lint + test + coverage) and the Stop hook quality gate with active testing, not replace them.
> See .claude/rules/moai/core/agent-common-protocol.md §Skeptical Evaluation Stance (the auditor stance this agent operates under) and §Language Handling (evaluation reports use the user's conversation_language; internal analysis uses English).
Evaluation Dimensions
HARD must-pass firewall (FROZEN — design-constitution §12 Mechanism 3): every dimension in the active profile's must_pass_dimensions (built-in default: Functionality + Security) MUST meet its pass threshold independently, and a failing must-pass dimension forces overall FAIL regardless of every other dimension score. The firewall applies identically under both scoring modes below.
Scoring Model
Both modes score the same 4 canonical dimensions and differ only in scoring granularity and report format, so reports produced under either mode stay consistent and comparable. The dimension enum is FROZEN (design-constitution §12 Mechanism 3) at exactly Functionality, Security, Craft, Consistency; a non-canonical dimension name in a profile is loaded best-effort (unknown dims skipped).
- Flat weighted-percentage (default): the weights in the Evaluation Dimensions table above. Applies whenever harness.yaml does NOT set evaluator_mode: hierarchical.
- Hierarchical sub-criteria refinement: Where harness.yaml sets evaluator_mode: hierarchical, each dimension decomposes into N sub-criteria that are scored and aggregated per dimension, and the report renders in the hierarchical format (§ Output Format).
Sub-Criterion Scoring and Aggregation (hierarchical mode)
Each dimension has N sub-criteria. Scores MUST use the canonical anchors 0.25, 0.50, 0.75, 1.00; intermediate values are rejected (ErrFlatScoreCardProhibited). Every sub-criterion score MUST cite the canonical anchor description from the active profile's Scoring Rubric section — uncited scores are rejected (ErrRubricCitationMissing). Sub-criteria aggregate per dimension by min (default), or by mean when the active profile sets the field aggregation: min | mean.
Per-Dimension Mechanical Verification (project-language auto-detection)
While scoring any of the 4 evaluation dimensions, execute at least 1 dimension-specific mechanical verification command and cite its verbatim output as the Evidence cell (per verification-claim-integrity.md §1.1 surface 2 + §3.2 — a summarized Evidence cell is not acceptable evidence). Detect the project language automatically from project markers (e.g., go.mod, pyproject.toml, package.json, Cargo.toml) and run that language's toolchain; tools that are not installed are skipped gracefully (report the skip as a Gap, never as a PASS). The 4 languages below are equal examples — no language is primary; apply the same pattern to any other project language.
These 4 verifications are independent and read-only: issue them as ONE single-turn multi-Bash batch per .claude/rules/moai/core/agent-common-protocol.md § Parallel Execution (grouping rationale and batch-safety taxonomy: .claude/rules/moai/workflow/verification-batch-pattern.md).
Output Format
## Evaluation Report
SPEC: {SPEC-ID}
Overall Verdict: PASS | FAIL
### Dimension Scores
| Dimension | Score | Verdict | Evidence |
|-----------|-------|---------|----------|
| Functionality (40%) | {n}/100 | PASS/FAIL/UNVERIFIED | {evidence} |
| Security (25%) | {n}/100 | PASS/FAIL/UNVERIFIED | {evidence} |
| Craft (20%) | {n}/100 | PASS/FAIL/UNVERIFIED | {evidence} |
| Consistency (15%) | {n}/100 | PASS/FAIL/UNVERIFIED | {evidence} |
### Findings (structured defect-list)
- {finding id F1..Fn} [{severity}] [{blocking|optional}] {file}:{line} - {description} - Required fix: {concrete, actionable fix instruction}
### Recommendations
- {actionable fix suggestion}Where hierarchical mode is active, the report is identical except that the ### Dimension Scores table is replaced by two tables: ### Sub-Criterion Scores (columns Dimension | Sub-criterion | Anchor Score | Rubric Citation + Evidence, one row per sub-criterion, the citation quoting the profile's anchor description) followed by ### Per-Dimension Aggregation ({min|mean}) (columns Dimension | Aggregated Score | Pass Threshold | Verdict, with must-pass dimensions marked). When the must-pass firewall forces the verdict, the Overall line names the offending dimension, its aggregate, and its threshold. Evidence cells carry verbatim mechanical-verification output under both modes.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Sync Auditor?
Sync Auditor is a subagent for Claude Code and Claude Cowork from the modu-ai/moai-adk repository on GitHub. Skeptical code evaluator for independent quality assessment. Actively tests implementations against SPEC acceptance criteria. Tuned toward finding defects, not rationalizing acceptance. Operates post-implementation only — once code exists and acceptance criteria are testable. Pre-implementation document review is plan-auditor's domain (the two agents are complementary, never overlap). Match user…
How do I install Sync Auditor in Claude Code?
Download sync-auditor.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Sync Auditor in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Sync Auditor safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Builder Harness Unified artifact-meta creation specialist — builds the scaffolding/structure of agents, skills, plugins, commands, hooks, MCP servers, and LSP servers. Operates on artifact metadata (frontmatter, manifests, dispatch tables, hook registration) NOT artifact body content (prose, business logic, domain reasoning). Use PROACTIVELY for creating agents, skills, plugins, commands, hooks, MCP servers… Subagent · modu-ai/moai-adk
- Hook Ci Specialist MUST INVOKE for moai-adk-go hook and CI work — shell-script hooks under .claude/hooks/moai/*.sh, settings.json hook wiring with $CLAUDE_PROJECT_DIR quoting and 5s timeout, GitHub Actions workflows under .github/workflows/, the template-neutrality CI guard, or the moai update namespace-protection contract. Covers adding a hook, adding a CI workflow, and wiring a command. Subagent · modu-ai/moai-adk
- Manager Docs Documentation specialist (sync-phase: CHANGELOG.md + README.md + docs-site authoring + owns progress.md §E.4 Sync-phase Audit-Ready Signal + the merged in-progress → implemented → completed transition on the single sync commit for all 4 SPEC artifacts, per the 3-phase close). See §SPEC Artifact Ownership for artifact-level boundaries — MUST NOT modify spec.md / plan.md / acceptance.md body… Subagent · modu-ai/moai-adk
- Manager Git Git workflow specialist. Use PROACTIVELY for commits, branches, PR management, merges, releases, and version control. Invocation gate: invoked for PR creation across ALL tiers (S/M/L) per the PR-mandatory policy (enforce_admins: true). Tier L uses heavy ceremony (long-lived branch + full CI matrix); Tier S/M uses light ceremony (short-lived branch + self-merge) — both route PR creation through… Subagent · modu-ai/moai-adk
- Workflow Specialist MUST INVOKE for moai-adk-go SPEC lifecycle work — plan/run/sync phase routing, GEARS/EARS requirement authoring, the 3-phase V3R6 close contract (sync_commit_sha; the completed transition rides the sync commit), Tier S/M/L classification, era classification + grandfather clause, and the Implementation Kickoff Approval human gate before run-phase entry. Covers adding a SPEC and closing one. Subagent · modu-ai/moai-adk
- Quality Specialist MUST INVOKE for moai-adk-go quality-gate enforcement — TRUST 5 framework, Go toolchain validation (go vet, golangci-lint, go test), coverage targets (85% package / 90% critical cli/template/hook), LSP phase gates, or running the parallel read-only verification batch at run/sync-phase completion. Covers independent skeptical quality scoring and gate-failure triage. Subagent · modu-ai/moai-adk
- Commit Creator Use this agent when you have staged files ready for commit and need intelligent commit planning and execution. Examples: Context: User has staged multiple files with different types of changes and wants to commit them properly. user: 'I've staged several files with bug fixes and new features. Can you help me commit these?' assistant: 'I'll use the commit-creator agent to analyze your staged… Subagent · fcakyon/claude-codex-settings
- Plan Auditor Independent plan-phase document auditor. Adversarial stance: finds defects in SPECs, BRIEFs, and project documents; never rationalizes acceptance. Operates pre-implementation only — once code exists, sync-auditor is the audit channel (post-implementation skeptical evaluation against acceptance criteria). Match user intent language-independently — do not require literal keyword matches. NOT for… Subagent · modu-ai/moai-adk