Skip to content

About

Reusable Codex and Claude agent skills for VRM avatar polish: Blender/MMD inspection, SpringBone hair and skirt physics, clipping QA, backups, and evidence-driven review loops.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

VRM Avatar Polish Loop - Blender, SpringBone and MMD Physics QA Skills

vrm-avatar-polish-loop is an open-source pair of agent skills for creators and technical artists working on VRM avatar polish in Blender, three-vrm SpringBone, or MMD/Ammo pipelines. It provides a structured way to investigate hair physics, skirt physics, collider routing, mesh clipping QA, bust motion, mouth visemes, accessory toggles, and candidate-versus-control visual QA.

The companion review-loop skill adds a bounded, evidence-backed review process that preserves originals and stops after two clean passes over one frozen artifact. Install both skills together for the intended workflow.

These are procedural Codex/Claude agent skills, not an avatar editor, physics solver, model asset, or promise that a visual problem will be fixed automatically.

Included skills

Skill Purpose
vrm-avatar-polish-loop Audits VRM, MMD/Ammo, and Blender-authored avatars; builds reversible candidates; separates hair, cloth, collision, clipping, expression, and toggle evidence; and keeps promotion behind explicit approval.
review-loop Reviews code, documents, models, or other artifacts with frozen scope, explicit evidence, bounded rounds, and two-pass convergence.

The avatar skill asks review-loop for a read-only preflight and a final evidence gate when it is installed. Both skills also define conservative fallbacks, so either can still be used alone.

What the avatar workflow covers

  • VRM SpringBone and three-vrm joints, centers, colliders, groups, reset behavior, and expression bindings.
  • MMD/Ammo rigid bodies, joints, collision masks, solver reset, PMX morphs, and material ownership.
  • Blender armatures, constraints, modifiers, vertex groups, shape keys, cloth caches, and copy-on-write .blend candidates.
  • Hair physics for bangs, long hair, and twin tails without assuming that more bones are always better.
  • Skirt physics and hand/cloth interaction without treating a geometric crossing as proof of physical response.
  • Mesh clipping, bust deformation, mouth/viseme output, outfit toggles, props, and integrated interference checks.
  • Matched control/candidate captures, negative controls, rollback or teardown evidence, and explicit stop rules.

Tests are not visual acceptance

The workflow deliberately keeps these claim levels separate:

Evidence What it can support What it cannot establish by itself
Skill/schema validation Folder structure, frontmatter, metadata, and text integrity Avatar correctness or appearance
Offline tests Deterministic parsing, ownership, rollback/reopen, reset, and cleanup contracts Live solver behavior or natural motion
Telemetry and geometry Measured behavior from one exact run or capture epoch Whether hair, cloth, or clipping looks acceptable
Static-frame or motion review Findings from the reviewed renders or live capture The model owner's acceptance
User/model-owner acceptance Approval of one exact candidate Production deployment
Promotion A separate, explicit replacement transaction Permission inferred from earlier tests

This repository contains workflow text, references, and agent metadata. It does not include a VRM/PMX/Blender model, model-specific fixtures, screenshots, or live visual-acceptance evidence.

Install

Download or clone the repository, open a shell in its root, and copy both clean skill folders into your agent's skill directory.

Codex on Windows PowerShell

$SkillsRoot = Join-Path $HOME '.codex\skills'
$SkillNames = @('review-loop', 'vrm-avatar-polish-loop')

New-Item -ItemType Directory -Force -Path $SkillsRoot | Out-Null

foreach ($Name in $SkillNames) {
    $Source = Join-Path $PWD "skills\$Name"
    $Destination = Join-Path $SkillsRoot $Name
    if (Test-Path -LiteralPath $Destination) {
        throw "Skill already exists; review or back it up before updating: $Destination"
    }
    Copy-Item -LiteralPath $Source -Destination $Destination -Recurse
}

Codex on macOS or Linux

skills_root="${CODEX_HOME:-$HOME/.codex}/skills"
mkdir -p "$skills_root"

for name in review-loop vrm-avatar-polish-loop; do
  test ! -e "$skills_root/$name" || {
    echo "Skill already exists; review or back it up before updating: $skills_root/$name" >&2
    exit 1
  }
  cp -R "skills/$name" "$skills_root/$name"
done

For a Claude setup that discovers directory skills under ~/.claude/skills, use that directory as SkillsRoot instead. The core workflow lives in each SKILL.md; agents/openai.yaml supplies Codex-facing interface metadata and can be ignored by clients that do not use it.

Use

Audit and repair an avatar while preserving the current model:

Use $vrm-avatar-polish-loop to audit this VRM avatar first. Preserve the
original, diagnose the stiff SpringBone hair and skirt clipping separately,
build a reversible candidate, and stop before promotion until I visually
approve the exact candidate.

Run a generic read-only review:

Use $review-loop in review-only mode. Freeze the artifact and scope, inspect
the available evidence, and stop after two clean passes or an honest bounded
checkpoint. Do not modify files.

Run a bounded review-and-fix pass:

Use $review-loop in improve mode. Preserve the original, apply only the
smallest authorized reversible fixes, rerun relevant verification, and keep
automated checks separate from human or live-runtime acceptance.

If your client does not use $skill-name syntax, mention the skill name explicitly in the request.

Evidence-led workflow

  1. Inventory the complete relevant artifact before proposing edits.
  2. Ask only questions that change scope, privacy, accepted appearance, production target, or promotion.
  3. Freeze source and control identities, then create verified backups or additive candidates.
  4. Map each complaint to exact meshes, bones, joints, colliders, materials, morphs, or expressions.
  5. Define telemetry, visual gates, negative controls, trial limits, and stop rules before seeing the candidate.
  6. Run offline verification, then one bounded matched live or rendered comparison where applicable.
  7. Record issue-level verdicts without inflating tests into visual acceptance.
  8. Run the final review gate and keep promotion as a separate user-approved action.

Repository layout

skills/
  review-loop/
    SKILL.md
    agents/openai.yaml
    references/evidence-and-state.md
  vrm-avatar-polish-loop/
    SKILL.md
    agents/openai.yaml
    references/evidence-contracts.md
    references/field-guide.md
docs/skills/
  review-loop.md
  vrm-avatar-polish-loop.md
LICENSE
README.md

Skill folders intentionally contain no extra README, private case study, local path, model hash, asset, screenshot, or project history.

Safety and limitations

  • Preserve accepted models and use additive or copy-on-write candidates.
  • Treat third-party .blend files and embedded scripts as untrusted until they are isolated and reviewed.
  • Keep proprietary or licence-restricted models local unless the owner explicitly authorizes an exact destination and payload.
  • Treat real-world hair and cloth constants as starting hypotheses; engine scale, time step, topology, and authoring differ.
  • A code or documentation review is not automatically a frame, motion, physical, hardware, or user review.
  • An evidence program may correctly finish with candidate-only, rejected, unsupported, or not converged rather than a false success claim.

Documentation

License

MIT. See LICENSE.

About

Reusable Codex and Claude agent skills for VRM avatar polish: Blender/MMD inspection, SpringBone hair and skirt physics, clipping QA, backups, and evidence-driven review loops.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors