perfect-loop

perfect-loop is a skill for Claude Code, Codex from cafe3310/public-agent-skills. It costs 24 tokens per session (912 once invoked), scanned A, original, Apache-2.0.

A Blender camera animation that turns a product through 360 degrees and connects its final frame to its first frame. This creates a loop that can repeat without a visible jump.

In plain words
What is it for?
Use it for looping product displays on websites, social media, or product pages.
Why use it?
It avoids a break when the animation repeats, so you do not need to edit the start and end together manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for looping product displays on websites, social media, or product pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cafe3310/public-agent-skills/perfect-loop
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 cafe3310/public-agent-skills --skill perfect-loop
Clone the repo
git clone --depth 1 https://github.com/cafe3310/public-agent-skills

Made for: Claude Code, Codex.

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 perfect-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/perfect-loop/github.svg)](https://agentmods.dev/skills/cafe3310/public-agent-skills/perfect-loop)
Your own site
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/perfect-loop"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/perfect-loop/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 perfect-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/perfect-loop"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/perfect-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 912 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 original 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.00024 $0.00912
Opus 5.5 $0.00010 $0.00365
Sonnet 5.5 $0.00005 $0.00182
Haiku 4.5 $0.00002 $0.00091

Measured 25d ago against content hash 63a40d1a28eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

perfect-loop 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 25d 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/blender-skills/subskills/perfect-loop/SKILL.md · 108 lines

How it starts

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

Perfect Loop Camera Animation

A seamless 360-degree turntable where the last frame connects perfectly to the first frame, creating an infinite loop. Ideal for website backgrounds, social media, and product page embeds.

When to Use

  • User wants a "looping" or "seamless" animation
  • User says "perfect loop", "infinite loop", "GIF", "looping turntable"
  • Website product embed, social media loop

Parameters

Parameter Default Description
duration 5 Video length in seconds
fps 24 Frames per second
camera_distance 4.0 Distance from object
camera_height 2.0 Camera height
camera_lens 50 Focal length

Flow

Step 1: Set Up Camera Rig

import bpy, math

bpy.ops.object.empty_add(type='PLAIN_AXES', location=(0, 0, 0))
tgt = bpy.context.active_object
tgt.name = 'PerfectLoopTarget'

bpy.ops.object.camera_add(location=(0, -CAMERA_DISTANCE, CAMERA_HEIGHT))
cam = bpy.context.active_object
cam.name = 'PerfectLoopCam'
cam.data.lens = CAMERA_LENS

trk = cam.constraints.new(type='TRACK_TO')
trk.target = tgt
trk.track_axis = 'TRACK_NEGATIVE_Z'
trk.up_axis = 'UP_Y'

bpy.ops.object.select_all(action='DESELECT')
cam.select_set(True)
tgt.select_set(True)
bpy.context.view_layer.objects.active = tgt
bpy.ops.object.parent_set(type='OBJECT', keep_transform=True)

bpy.context.scene.camera = cam

Step 2: Animate Seamless Loop

Critical: Keyframe 360 degrees at frame N+1 (one past the last rendered frame). This way frame N and frame 1 are adjacent in the loop, not duplicated.

TOTAL_FRAMES = DURATION * FPS  # 120

scene = bpy.context.scene
scene.frame_start = 1
scene.frame_end = TOTAL_FRAMES  # render 1-120
scene.render.fps = FPS

tgt.rotation_euler = (0, 0, 0)
tgt.keyframe_insert(data_path='rotation_euler', frame=1)

# 360 at frame 121 — frame 121 is NOT rendered, but ensures
# frame 120 is one step before frame 1, creating seamless loop
tgt.rotation_euler = (0, 0, math.radians(360))
tgt.keyframe_insert(data_path='rotation_euler', frame=TOTAL_FRAMES + 1)

# LINEAR interpolation is CRITICAL for perfect loop
action = tgt.animation_data.action
strip = action.layers[0].strips[0]
for cb in strip.channelbags:
    for fc in cb.fcurves:
        for kp in fc.keyframe_points:
            kp.interpolation = 'LINEAR'

Read the full file on GitHub · 108 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. 25d ago First seen · 108 lines · 24 tokens per session scan A 63a40d1a28eb

Subscribe to this mod's changes

perfect-loop is a skill published in the GitHub repository cafe3310/public-agent-skills (260 stars, last pushed 14d ago), licensed Apache-2.0. It adds 24 tokens to every session and 912 once invoked, about $0.0001 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-11-05.

Related

perfect-loop compared with skills from other repositories

perfect-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
perfect-loopcafe3310/public-agent-skillsSkill26014d agoApache-2.0A24Claude Code, Codex
expertsflc1125/skillsSkill39todayMITA62Claude Code, Codex
asyncflc1125/skillsSkill39todayMITA52Claude Code, Codex
github-release-pr-writerflc1125/skillsSkill39todayMITA80Claude Code, Codex
yuqueflc1125/skillsSkill39todayMITA72Claude Code, Codex
getnoteflc1125/skillsSkill39todayMITA83Claude Code, Codex
opentelemetry-go-reviewerflc1125/skillsSkill39todayMITA34Claude Code, Codex