sugar-quality-guardian

sugar-quality-guardian is a skill for Claude Code from roboticforce/sugar. It costs 104 tokens per session (1,684 once invoked), scanned A, original, no licence file.

A pre-completion code review guide covering code quality, tests, security, and performance.

In plain words
What is it for?
It is for reviewing diffs and pull requests, checking tests and standards, finding injection risks or exposed secrets, and spotting code smells and performance problems.
Why use it?
It helps catch defects and unsafe or inefficient changes before a code change or pull request is finished.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sugar plugin — 4 skills, 13 commands, 3 agents, 2 hooks, 1 MCP server shipped together

Good fit It is for reviewing diffs and pull requests, checking tests and standards, finding injection risks or exposed secrets, and spotting code smells and performance problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roboticforce/sugar/sugar-quality-guardian
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.

Any agent
npx skills add roboticforce/sugar --skill sugar-quality-guardian
Clone the repo
git clone --depth 1 https://github.com/roboticforce/sugar

Made for: Claude Code.

Or install sugar, the plugin that ships this one along with the rest of its 4 skills, 13 commands, 3 agents, 2 hooks, 1 MCP server.

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 sugar-quality-guardian

README.md
[![agentmods](https://agentmods.dev/badge/skills/roboticforce/sugar/sugar-quality-guardian/github.svg)](https://agentmods.dev/skills/roboticforce/sugar/sugar-quality-guardian)
Your own site
<a href="https://agentmods.dev/skills/roboticforce/sugar/sugar-quality-guardian"><img src="https://agentmods.dev/badge/skills/roboticforce/sugar/sugar-quality-guardian/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 sugar-quality-guardian

Your own site · 80×15
<a href="https://agentmods.dev/skills/roboticforce/sugar/sugar-quality-guardian"><img src="https://agentmods.dev/badge/skills/roboticforce/sugar/sugar-quality-guardian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,684 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 unknown 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.00104 $0.01684
Opus 5.5 $0.00042 $0.00674
Sonnet 5.5 $0.00021 $0.00337
Haiku 4.5 $0.00010 $0.00168

Measured 1mo ago against content hash de7c72d1a7d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sugar-quality-guardian 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 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.

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.

skills/sugar-quality-guardian/SKILL.md · 247 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 247 lines · 104 tokens per session scan A de7c72d1a7d0

Subscribe to this mod's changes

sugar-quality-guardian is a skill published in the GitHub repository roboticforce/sugar (98 stars, last pushed 10d ago), with no licence file. It adds 104 tokens to every session and 1,684 once invoked, about $0.0004 per session on Opus 5.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-09-17.

Related

Other skills, from other repositories

code-review

Perform a structured code review of changes, checking for correctness, style, tests, and potential issues.

langchain-ai/deepagents · 23 tokens

cli-command

Design, implement, or review Composio CLI commands under ts/packages/cli using Effect, effect/cli, services, output conventions, configuration and environment variables, and local vendor references. Use for CLI command UX, command wiring, service changes, or CLI source edits. Do not use for CLI E2E-only work; use…

ComposioHQ/composio · 76 tokens

red-team-review

Unified adversarial review, two modes. Strategic Matrix v4.3 (MTA-004) for arguments/plans/decisions: Priors → Rubric → Adversarial Lenses → SWOT/TOWS → MCDA → Blind Spot/Kill Switch → Summary. Deliverable Audit for built artefacts (assignments, reports, code outputs): isolated fresh-context hunt against the brief…

winstonkoh87/Athena-Public · 103 tokens

qa-frontend

Internal PostHog developer frontend/browser QA skill. Use only when a PostHog developer explicitly asks to run frontend QA, browser-test a PR, verify a UI flow against the local PostHog stack, use qa-frontend, or QA current frontend changes with browser/runtime evidence, or to make a feature reel (see reel mode…

PostHog/posthog · 216 tokens

extending-hobby-smoke-tests

Design, extend, review, or debug PostHog Hobby end-to-end smoke tests in bin/hobby-ci.py and .github/workflows/ci-hobby.yml. Use when adding an ingestion round trip, deciding whether a product belongs in Hobby CI, changing the CI Hobby service topology or API-key scopes, or diagnosing a smoke test that captures data…

PostHog/posthog · 83 tokens

hogli

PostHog developer CLI and repo tooling reference. Use when the user mentions hogli, asks about repo CLI tools, bin scripts, Makefiles, how to run/build/test/lint, or any dev environment commands.

PostHog/posthog · 47 tokens