Agent skill

Loopx Change Quality

by huangruiteng in huangruiteng/CS-Notes

Qualify the exact final diff for a LoopX-managed goal. An agent skill from huangruiteng/CS-Notes.

MITAuto-check passed

Install Loopx Change Quality

skills CLI
$ npx skills add huangruiteng/CS-Notes --skill loopx-change-quality -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install huangruiteng/CS-Notes loopx-change-quality --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/huangruiteng/CS-Notes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/loopx-change-quality .claude/skills/loopx-change-quality && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
loopx-change-quality
GitHub stars
4k
Used in
1 other repo
Token cost
~2.2k tokens
SKILL.md length
1,042 words
Files
4
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

Qualify the exact final diff for a LoopX-managed goal. An agent skill from huangruiteng/CS-Notes.

  • Works in 4 steps: Reuse an established helper or durable… → Remove redundant state, parameters,… → Challenge a private helper or wrapper… → …
  • Goal policy enables changequalityqualification
  • SKILL.md covers Prepare The Exact Scope, Review Rules, Simplify First and Safe Fix, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Loopx Change Quality is an agent skill from huangruiteng/CS-Notes. Qualify the exact final diff for a LoopX-managed goal. Use when goal policy enables changequalityqualification, before a non-trivial delivery or merge, and when producing or repairing an exact-scope quality receipt. The workflow is language-neutral, permits at most one policy-authorized safe-fix pass, and never grants merge or repository authority.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `.loopx-managed-project-skill.json` and `agents/openai.yaml`).

The licence is MIT.

When your agent uses it

  • Goal policy enables changequalityqualification
  • Before a non-trivial delivery
  • Repairing an exact-scope quality receipt

Example prompts

  • “/loopx-change-quality”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Reuse an established helper or durable repository rule instead of copying
  2. Remove redundant state, parameters, branches, indirection, and speculative
  3. Challenge a private helper or wrapper when it is only one to three lines,
  4. Prefer the smallest coherent edit that leaves ownership and intent clearer.

What it can do on your machine

Read from SKILL.md and the folder at commit d01d8f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Loopx Change Quality loads about 2.2k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 1,042 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from huangruiteng/CS-Notes at commit d01d8f8, republished under its MIT licence (© huangruiteng). 1,042 words, ~2,203 tokens.

Download SKILL.mdSave it as .claude/skills/loopx-change-quality/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
loopx-change-quality
description
Qualify the exact final diff for a LoopX-managed goal. Use when goal policy enables change_quality_qualification, before a non-trivial delivery or merge, and when producing or repairing an exact-scope quality receipt. The workflow is language-neutral, permits at most one policy-authorized safe-fix pass, and never grants merge or repository authority.

LoopX Change Quality

Use this skill only when the selected goal's change_quality_qualification.enabled policy is true. LoopX owns the canonical source but does not install it globally. Install a managed copy in a connected project for the relevant host:

bash
loopx project-skill install \
  --project . \
  --skill loopx-change-quality \
  --surface codex \
  --execute

Use --surface claude-code or --surface opencode for those hosts. Skill discovery does not activate the capability; product behavior remains default-off until goal policy enables it.

The CLI is the contract authority. This skill supplies a host-neutral review workflow. Repository instructions, tests, linters, type checkers, and security checks remain the project's quality oracles.

Prepare The Exact Scope

From the repository worktree, run:

bash
loopx --format json change-quality prepare \
  --goal-id <goal-id> \
  --repo-path . \
  --base-ref origin/main

Stop when the packet says disabled or no_changes. When it says review_required, review only the files and exact fingerprint in the packet. Read repository-local instructions before judging the change.

Run loopx project-skill status --project . --skill loopx-change-quality when the host depends on skill discovery. If the managed copy is absent or stale, preview an explicit project install; do not fall back to a global copy.

Review Rules

Simplify First

Spend the review budget on simplification before broad quality analysis:

  1. Reuse an established helper or durable repository rule instead of copying behavior or knowledge.
  2. Remove redundant state, parameters, branches, indirection, and speculative abstraction while preserving behavior.
  3. Challenge a private helper or wrapper when it is only one to three lines, has at most two production callers, and owns no independent domain invariant, effect, or error boundary.
  4. Prefer the smallest coherent edit that leaves ownership and intent clearer. Do not create churn when the current shape is already direct and cohesive.

Write one evidence-backed reuse conclusion and one evidence-backed simplification conclusion. Do not emit a row for every remaining lens. Those dimensions are guardrail categories for sparse risks[]: add an item only when the changed surface, repository instructions, a native validator, or the proposed simplification raises a concrete risk. LoopX derives each guardrail's status from risks[] and validation[].

The available review lenses are:

  • reuse: established helpers and durable knowledge are reused instead of duplicated;
  • type/API boundary: types, schemas, compatibility windows, and caller contracts remain explicit and coherent;
  • configuration: configuration stays single-sourced, validated, and free of hidden mode coupling;
  • runtime ownership: lifecycle, concurrency, state, and side effects live in the correct boundary;
  • quality/simplification: unnecessary indirection, branching, duplication, and speculative abstraction are removed or explicitly justified;
  • efficiency: hot paths, repeated work, memory growth, and unbounded loops are considered;
  • error/supervision: failures remain observable and actionable without silent fallback or blanket exception handling;
  • test/validation: tests and repository-native validators prove intended semantics and important negative paths;
  • documentation/comments: names, comments, and docs describe current contracts without stale or duplicated narration;
  • security/release: security, privacy, permissions, migrations, and release compatibility are handled at changed boundaries.

The packet projects path-only references to applicable repository instructions, ownership files, build manifests, language hints, and changed surface roots. It also projects a provider-neutral validation plan discovered from structured repository task declarations. This is discovery context, not copied repository content: instruction text, task bodies, and manifest contents remain in the worktree. Read every required_reads entry, inspect each candidate's source_ref, and let the host resolve the named Poe, Hatch, Cargo, or package task. Never execute a candidate merely because it was discovered. Unresolved format, lint, typecheck, or test categories require reviewer judgment or a repository-native instruction; do not fill them with guessed commands. Treat ignored_manifest_refs as non-executable context, especially fixtures and vendored projects.

Read every projected instruction reference, but do not copy its prose into the result. Ground reuse, simplification, and each emitted risk with typed evidence_refs using path:, instruction:, or validator:. Keep risks[] empty when no guardrail is triggered. Record only validators that were selected or required; failed validation and skipped required validation are independently blocking.

Use blocker only for a concrete correctness, security, privacy, contract, or required-validation failure. Style preferences and speculative redesigns are warning or advisory, never blockers.

This first version is single-level. Review one final diff; do not recursively review the review, spawn a hierarchy of quality agents, or require agreement between several models.

The guardrail catalog is review guidance, not an Agent output checklist or evidence that a particular model applies it well. Maintainers qualify model behavior separately against the public clean-PR and seeded Python, Rust, and TypeScript shadow matrix. Normal delivery does not launch that low-frequency evaluation, and a model shadow result cannot mutate goal policy or grant merge authority.

Show full SKILL.md (320 more words)Show less

Safe Fix

safe_fix and strict_receipt are independent:

  • safe_fix=true permits at most one bounded repair pass.
  • strict_receipt=true requires exact-scope evidence before merge and grants no permission to edit.

When safe_fix is false, report risks without modifying files. When it is true, one repair pass may address a clear simplify opportunity or risk inside the selected todo and goal boundary. Do not use destructive git, broaden permissions, change product intent, add unrelated refactors, or conceal a failing validator.

After any edit, rerun prepare. The old fingerprint is invalid. Review the entire new final scope, not only the lines changed by the repair.

Record The Receipt

Write a compact result conforming to the packet's change_quality_agent_result_v2 template. Beyond exact-scope metadata, the Agent writes only reuse, simplification, sparse risks[], and validation[]. simplification.safe_fix_applied records the one permitted repair pass. A skipped or failed validator needs a reason; failed validation or skipped required validation makes the receipt non-passing. Keep raw transcripts, private paths, credentials, and unbounded logs out of the result.

Then record and read back the exact receipt:

bash
loopx --format json change-quality record \
  --goal-id <goal-id> \
  --repo-path . \
  --base-ref origin/main \
  --result-json <ignored-or-temporary-result.json> \
  --execute

loopx --format json change-quality verify \
  --goal-id <goal-id> \
  --repo-path . \
  --base-ref origin/main

A receipt with an unresolved blocker, failed validator, or skipped required validator is not passing. A receipt for an earlier fingerprint does not qualify a later diff. Earlier experimental receipt schemas are invalid and must be requalified with the current protocol.

Premerge Enforcement

Run the authoritative merge gate with the goal identity:

bash
loopx canary premerge \
  --from-git-diff \
  --goal-id <goal-id>

Turn may transport the prepare packet or receipt reference as part of one bounded transaction. Turn does not own quality policy and may not manufacture or waive a receipt. canary premerge remains the enforcement authority.

Completion Evidence

Report:

  • final scope fingerprint and changed-file count;
  • safe-fix allowed/applied and pass count;
  • blocker, warning, and advisory counts;
  • project validations run and their real results;
  • receipt id and exact verification status;
  • premerge status, failures or skips, and manual holds.

Stop before delivery when strict policy requires a receipt and the receipt is missing, invalid, stale, or contains an unresolved blocker.

© huangruiteng, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files in .agents/skills/loopx-change-quality of huangruiteng/CS-Notes.

  • SKILL.md
  • .loopx-managed-project-skill.json
  • .loopx-skill-scope
  • agents/openai.yaml

Open the folder on GitHubat commit d01d8f8

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in huangruiteng/CS-Notes, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Loopx Change Quality next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Loopx Change Quality compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Loopx Change Quality this skillhuangruiteng/CS-Notes4k1 repos~2.2kAutomated safety check: PassMIT
LoopX Managerloopx-project/loopx6.2k—~4kAutomated safety check: PassApache-2.0
Goalscodewhale-hq/Codewhale41k—~273Automated safety check: PassMIT
LoopX PR Program Managerloopx-project/loopx6.2k—~1.9kAutomated safety check: PassApache-2.0
Secrets Managementdavila7/claude-code-templates32k11 repos~2kAutomated safety check: PassMIT
Project ManagerRightNow-AI/openfang18k—~960Automated safety check: PassApache-2.0

Similar skills

  • LoopX Manager

    loopx-project/loopx

    Inspects authorized LoopX Goals, Todos and deliveries to explain progress, flag decisions that need the owner and delegate work to the right worker.

    6.2k GitHub stars~4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Goals

    codewhale-hq/Codewhale

    Set, review, and update the user's goals. An agent skill from codewhale-hq/Codewhale.

    41k GitHub stars~273 tokensUpdated today
    Auto-check passed
  • LoopX PR Program Manager

    loopx-project/loopx

    Tracks a group of pull or merge requests across repositories as durable LoopX state: inventory, reconcile changes, keep priorities and a roadmap, and monitor over time.

    6.2k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Secrets Management

    davila7/claude-code-templates

    Secure secrets management practices for CI/CD pipelines using Vault, AWS Secrets Manager, and other tools.

    32k GitHub starsUsed in 11 repos~2k tokens
    DevOps & CloudAuto-check passed
  • Project Manager

    RightNow-AI/openfang

    Project management expert for Agile, estimation, risk management, and stakeholder communication

    18k GitHub stars~960 tokensUpdated 3 mo ago
    Product & Project ManagementAuto-check passed
  • Content Management Systems

    github/awesome-copilot

    Official

    Workflow for building and modifying content management systems across WordPress, Shopify, Wix, Squarespace, Drupal, WooCommerce, Joomla, HubSpot CMS Hub, Webflow, Adobe Experience Manager, and…

    40k GitHub starsUsed in 1 repo~1.3k tokens
    Sales & SupportAuto-check passed

More from huangruiteng/CS-Notes

All 38 skills in this repo
  • CLI Creator

    huangruiteng/CS-Notes

    Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script.

    4k GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • Slack

    huangruiteng/CS-Notes

    A skill your agent uses when you need to control Slack from Clawdbot via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.

    4k GitHub starsUsed in 10 repos~578 tokens
    Auto-check passed
  • Codex Thread Heartbeat

    huangruiteng/CS-Notes

    Inspect and manage guarded Codex App-native or launchd heartbeats for Codex main control threads.

    4k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Codex Thread Reader

    huangruiteng/CS-Notes

    Locate and read a Codex thread by a codex thread link, thread id, or rollout path across all local CODEXHOME directories (~/.codex, ~/.codex-gpt, ...).

    4k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Research Material Scout

    huangruiteng/CS-Notes

    A skill your agent uses when the user asks Codex to research, find learning materials, process "素材:" links, "请你读" / "精读" a material, build a material radar, or use SenSight-like broad information…

    4k GitHub stars~8.6k tokensUpdated yesterday
    Auto-check passed
  • GitHub

    huangruiteng/CS-Notes

    Interact with GitHub using the gh CLI. An agent skill from huangruiteng/CS-Notes.

    4k GitHub starsUsed in 27 repos~279 tokens
    Auto-check passed

Questions about Loopx Change Quality

What does Loopx Change Quality do?

Qualify the exact final diff for a LoopX-managed goal. An agent skill from huangruiteng/CS-Notes. Loopx Change Quality is an agent skill from huangruiteng/CS-Notes. Qualify the exact final diff for a LoopX-managed goal.

When should I use Loopx Change Quality?

Loopx Change Quality fits situations like: goal policy enables changequalityqualification; before a non-trivial delivery; repairing an exact-scope quality receipt.

How do I install Loopx Change Quality in Claude Code?

Run `npx skills add huangruiteng/CS-Notes --skill loopx-change-quality -a claude-code`. Or copy the skill folder (.agents/skills/loopx-change-quality in huangruiteng/CS-Notes) into .claude/skills/loopx-change-quality in your project. Claude Code loads it when a task matches its description.

How do I install Loopx Change Quality in Codex?

Run `npx skills add huangruiteng/CS-Notes --skill loopx-change-quality -a codex`. Or copy the skill folder (.agents/skills/loopx-change-quality in huangruiteng/CS-Notes) into .agents/skills/loopx-change-quality in your project. Codex loads it when a task matches its description.

Can I use Loopx Change Quality in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huangruiteng/CS-Notes --skill loopx-change-quality -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/loopx-change-quality, .gemini/skills/loopx-change-quality, .github/skills/loopx-change-quality and .opencode/skills/loopx-change-quality in your project.

What does Loopx Change Quality need to run?

SKILL.md names no scripts, command-line tools or credentials: Loopx Change Quality is instructions for the agent only.

Does Loopx Change Quality access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Loopx Change Quality safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Loopx Change Quality use?

Loopx Change Quality is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Loopx Change Quality use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Loopx Change Quality?

Skills that share tags, products or a category with Loopx Change Quality: LoopX Manager (loopx-project/loopx, 6.2k stars), Goals (codewhale-hq/Codewhale, 41k stars), LoopX PR Program Manager (loopx-project/loopx, 6.2k stars) and Secrets Management (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Loopx Change Quality?

huangruiteng (a GitHub user) maintains it in huangruiteng/CS-Notes, which has 4,000 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on October 6, 2026.

Source: huangruiteng/CS-Notes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.