KimiK3Manim: Instructions file for Claude Code

CLAUDE.md

KimiK3Manim CLAUDE.md is an instructions file for Claude Code from HarleyCoops/KimiK3Manim. It costs 2,144 tokens per session, scanned A, original, MIT.

Project instructions for KimiK3Manim, a Python project that uses Manim, a tool for creating mathematical animations, and the UV package manager to install and run it.

In plain words
What is it for?
Use them when installing dependencies, running tests, configuring the Moonshot API, or rendering low- and high-quality Manim scenes.
Why use it?
They define the required Python version, dependency commands, environment settings, tests, and rendering commands so development follows the repository's setup.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is HarleyCoops/KimiK3Manim's own configuration. It tells Claude Code how to work on KimiK3Manim itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything KimiK3Manim configures →

Reuse

Borrowing it

Nothing to install: this file belongs to HarleyCoops/KimiK3Manim. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/HarleyCoops/KimiK3Manim/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/HarleyCoops/KimiK3Manim

Made for: Claude Code.

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 KimiK3Manim CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/harleycoops/kimik3manim/claude-md/github.svg)](https://agentmods.dev/instructions/harleycoops/kimik3manim/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/harleycoops/kimik3manim/claude-md"><img src="https://agentmods.dev/badge/instructions/harleycoops/kimik3manim/claude-md/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 KimiK3Manim CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/harleycoops/kimik3manim/claude-md"><img src="https://agentmods.dev/badge/instructions/harleycoops/kimik3manim/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,144 This file is loaded in full into every session.
When invoked 2,144 The same file — it is already loaded in full.
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.02144 $0.02144
Opus 5 $0.01072 $0.01072
Sonnet 5 $0.00429 $0.00429
Haiku 4.5 $0.00214 $0.00214

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

Security

Grade A, and why

KimiK3Manim CLAUDE.md 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 10d 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.

CLAUDE.md · 293 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Communication Style

  • Never use emojis in any responses, code, or documentation unless explicitly requested by the user

Development Commands

Package Management (UV)

# Install Python 3.13+ and dependencies
uv python install 3.13
uv sync

# Run Python scripts with uv
uv run python script.py

# Run with specific Python version
uv run --python 3.13 python script.py

Testing

# Run all tests (requires MOONSHOT_API_KEY)
pytest examples/ -v

# Run specific test file
uv run python examples/test_kimi_integration.py
uv run python examples/test_qft_pipeline.py

Manim Rendering

# Preview quality (-pql)
manim -pql manim_scenes/harmonic_theorem.py HarmonicDivisionTheorem

# High quality (-pqh)
manim -pqh manim_scenes/epic_rhombicosidodecahedron.py EpicRhombicosidodecahedron

# List all scenes in a file
manim -pql manim_scenes/SlowFastNetwork.py --list_scenes

Environment Setup

# Copy environment template
cp .env.template .env

# Edit .env and add:
# MOONSHOT_API_KEY=sk-your-key-here
# KIMI_ENABLE_THINKING=heavy
# KIMI_USE_TOOLS=true

High-Level Architecture

K3 Agent Swarm (current)

The current pipeline is k3_agents/: six specialist agents, all running on kimi-k3, exchanging strict json_schema artifacts defined in schemas/artifacts.py, orchestrated by a deterministic supervisor that renders with Manim and drives a coder/critic repair loop.

uv run python -m k3_agents.supervisor "your concept here"

K3 API notes (differ from K2):

  • temperature/top_p are fixed server-side on kimi-k3; the client strips them
  • thinking is always on; effort via KIMI_REASONING_EFFORT (only "max" today)
  • structured output via response_format json_schema strict mode
  • responses may include reasoning_content alongside content

Read the full file on GitHub · 293 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. 10d ago First seen · 293 lines · 2,144 tokens per session scan A c5b555db869a

Subscribe to this mod's changes

KimiK3Manim CLAUDE.md is an instructions file published in the GitHub repository HarleyCoops/KimiK3Manim (143 stars, last pushed 1mo ago), licensed MIT. It adds 2,144 tokens to every session, about $0.0107 per session on Opus 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-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens