English | 简体中文
A source-verified engineering knowledge base for AI coding agents and engineers—distilling commit-anchored open-source repository audits, failure-mode postmortems, and cross-project architectural patterns into an agent-ready playbook.
Language note: Top-level documentation (
README.md,CONTRIBUTING.md,PLAYBOOK.md) is maintained in English (with a full Chinese mirror atREADME.zh-CN.md). Deep-dive engineering guides, patterns, and repository audits underguides/,patterns/, andrepos/are primarily written in Chinese alongside English technical terms, exact file paths, and symbol/line citations (path#Lxx-Lyy).
Designed for token efficiency and prompt-cache preservation when wired into coding agents:
- Tier 1 — Compact Index (
PLAYBOOK.md)- High-signal, one-line architectural pointers and hard guardrails (
<= 200lines). Agents read this upfront without blowing context budgets.
- High-signal, one-line architectural pointers and hard guardrails (
- Tier 2 — Domain Guides & Reusable Patterns (
guides/*.md,patterns/*.md)guides/: Problem-first engineering syntheses linking concrete rules of thumb to audited repositories.patterns/: Cross-repository design blueprints covering triggers, minimal implementation skeletons, edge-case trade-offs, and anti-patterns.
- Tier 3 — Commit-Anchored Repository Audits (
repos/*.md)- Source-level analyses bound to exact
owner/repo@<short-sha>revisions—documenting entry points, state machines, tool schemas, licensing boundaries, hidden telemetry, and real bugs.
- Source-level analyses bound to exact
Clone the repository locally:
git clone https://github.com/IMYin/agent-knowledge-base.gitReference PLAYBOOK.md inside your project or global AGENTS.md, CLAUDE.md, GEMINI.md, or .cursorrules so your agent loads compact pointers first and lazily reads deep dives only when relevant:
## Engineering Knowledge Base
Before designing new modules, selecting open-source agent tools, or building 3D/video pipelines:
1. Read `/path/to/agent-knowledge-base/PLAYBOOK.md`.
2. Lazily open only the specific `guides/*.md`, `patterns/*.md`, or `repos/*.md` files matching the current task to avoid bloating the system prompt.Validate structure, frontmatter, and relative links locally at any time (zero external dependencies):
python3 scripts/check-kb.py- Guide: Anti-AI-Slop Frontend Design: Numeric Constraints, Stateful Dealing & Pixel Linting
- Pattern: Anti-AI-Slop & Numeric Prompting
- Audited Repos:
Nutlope/hallmark·MengTo/Skills·google-gemini/demolab·pbakaus/impeccable
- Guide: Anti-Self-Deception Agent Review: Context Isolation, Debiased Councils & Claim Ledgers
- Pattern: Cross-Vendor LLM Council & Sandboxed CLI Review
- Audited Repos:
google/elephant-goldfish-model·karpathy/llm-council·2akouwu/reverify
- Guide: Zero-Asset Procedural 3D Dioramas: Papercraft Hinges, Hardware Clipping & WebCodecs Capture
- Patterns: Papercraft 3D & WebCodecs Capture · Cutaway 3D Diorama, Metal ANGLE Safety & A/B Arena · Zero-Asset Procedural Architecture
- Audited Repos:
xikhar/papercraft·drashyakuruwa/Google-I-O-2026-Journey·finiking/model-lab·mrdoob/three.js
- Guide: Deterministic Video Reverse Engineering: Box Forensics, 3-Stem Audio,
VIDEO.md& Frame QA - Patterns: Video Reverse Engineering &
VIDEO.mdLayered Context · Hand-Drawn/Pixel Stylization & Animation Remake Loop · Agentic Video, 3D & Skill Toolchain Matrix - Audited Repos:
JuneYaooo/rea-video·0xpratzyy/dissect·NiazMorshed2007/reanimate·browser-use/video-use
- Guide: Local-First Agent Memory & Prefix Caching: Verbatim Ledgers, Bidirectional Graphs & CJK/AGPL Guardrails
- Pattern: Local Agent Memory, Second Brain & Prefix Caching
- Audited Repos:
MemPalace/mempalace·basicmachines-co/basic-memory·huytieu/COG-second-brain
- Guide: Cloud GPU Offload & 4K60 Mastering: Inverted-Funnel Cuts, In-VRAM Downscaling & Forced Teardown
- Patterns: Low-Cost AI Video Assembly & Cloud 4K60 Mastering · Headless Colab GPU Offload & ComfyUI Video Relay
- Audited Repos:
FFmpeg/FFmpeg·xinntao/Real-ESRGAN·hzwer/Practical-RIFE·googlecolab/google-colab-cli
- Guide: Deterministic Code-to-Cinema Rendering: Pure Frame Functions, Virtual Clocks, Seek Verification & Zero-Disk Piping
- Pattern: Deterministic Code-Film Contract & Lossless Streaming Pipeline
- Audited Repos:
remotion-dev/remotion·heygen-com/hyperframes·sarpstar/cinecode·motion-canvas/motion-canvas
| Repository | Pinned Commit | Engineering Summary | Source Audit |
|---|---|---|---|
0xpratzyy/dissect |
66993ef |
Video reverse-engineering toolkit with frame-exact CV/audio measurement, contradiction-checked blueprints, and 100-point rebuild scoring. | Audit |
2akouwu/reverify |
f32ea84 |
Zero-dep Python MCP/CLI claim verifier with CORE anti-gaming weights, Unicorn/Z3/angr tiers, SHA-256 ledger, and summary-free context rollover. | Audit |
FFmpeg/FFmpeg |
64b26fd |
Core multimedia engine powering frame-boundary cuts, qsin crossfades, Lanczos scaling, h264_nvenc piping, EBU R128 loudness QA, and tmix motion blur. |
Audit |
JuneYaooo/rea-video |
0d0d1e1 |
Video-forensics planner fusing kinematics checks and Bayesian VLM scoring to classify 11 visual sources into tiered VIDEO.md packs. |
Audit |
MemPalace/mempalace |
87ae502 |
Local-first verbatim AI memory (sqlite_exact, 3-tool light MCP, temporal KG); audited for Antigravity JSONL & CJK tokenization gaps. |
Audit |
MengTo/Skills |
8b526e8 |
223 Markdown frontend and motion skills enforcing anti-slop subtraction gates, quantitative design tokens, and sandboxed demo checks. | Audit |
NiazMorshed2007/reanimate |
3f7a55a |
Frame-accurate web and WebGL motion-cloning skill combining deterministic virtual clocks, 5 engine scene probes, easing fits, and pixel QA. | Audit |
Nutlope/hallmark |
04977e1 |
Zero-dependency frontend anti-slop system pairing anti-convergence theme dealing and OKLCH scaffolds with pixel linting and cold subagent review. | Audit |
basicmachines-co/basic-memory |
9a99b36 |
AGPL-3.0 Markdown knowledge graph & 17-tool MCP server with CJK script_ngrams FTS5, sqlite-vec hybrid search, and watchfiles sync. |
Audit |
browser-use/video-use |
43cfc56 |
Conversational video-editing agent skill using audio-first word indexing, on-demand frame verification, and lossless FFmpeg segment assembly. | Audit |
drashyakuruwa/Google-I-O-2026-Journey |
0a92c98 |
Zero-asset React Three Fiber isometric 3D chronicle with a 13×13 grid, 10 parametric landmarks, timeline lighting, and Web Audio synth. | Audit |
finiking/model-lab |
71e379c |
Single-file WebGL A/B benchmark arena plus source audits of Chongqing 8D dioramas covering Metal ANGLE NaN guards and draw-call batching. | Audit |
google-gemini/demolab |
6a5e364 |
13-file Apache-2.0 multi-host plugin tuning Gemini 4 research and anti-slop UI via 16KB Markdown budgets, without scripts or linters. | Audit |
google/elephant-goldfish-model |
4693375 |
Google's Elephant-Goldfish plugin separating stateful builder context from zero-history read-only reviewers across 7+ hosts via trace probes. | Audit |
googlecolab/google-colab-cli |
7370b25 |
Official Apache-2.0 CLI exposing Colab GPUs/TPUs over Jupyter & SSH WebSocket tunnels with idempotent retry backoff and guaranteed _teardown(). |
Audit |
heygen-com/hyperframes |
71228e0 |
HTML-first video engine injecting VIRTUAL_TIME_SHIM, 13 deterministic adapters, interleaved FrameReorderBuffer, and zero-disk image2pipe. |
Audit |
huytieu/COG-second-brain |
144c7a3 |
Pure-Markdown Obsidian+Git vault & 43-skill/10-agent multi-host pack (not an MCP server); strong V-model/CRM patterns, heavy bloat & doc drift. | Audit |
hzwer/Practical-RIFE |
bbfd2ea |
Arbitrary-timestep IFNet optical-flow interpolator supporting 2-frame 2:3 60fps cadence, SSIM cut protection, and 256px mirror padding. |
Audit |
karpathy/llm-council |
92e1fcc |
Karpathy's 3-stage LLM council (FastAPI + React + OpenRouter); audit flags missing Stage 2 shuffling/self-eval filter and Stage 3 name leaks. | Audit |
motion-canvas/motion-canvas |
7b91435 |
Procedural 2D Canvas animation engine pairing TS generator coroutines (time/fixedTime dual tracks) with direct RGBA rawvideo FFmpeg piping. |
Audit |
mrdoob/three.js |
940edbc |
JavaScript 3D engine offering ping-pong animation mixers, glTF spline interpolation, and WebGL2/WebGPU backends for deterministic code films. | Audit |
pbakaus/impeccable |
2fc5e14 |
20-crate Rust engine delivering cross-22-harness design linting with 62 deterministic anti-slop rules, dual-agent critique, and live edit hooks. | Audit |
remotion-dev/remotion |
53975c8 |
Deterministic React video engine mapping frames to pure trees via useCurrentFrame, mulberry32, delayRender barriers, and Rust/FFmpeg. |
Audit |
sarpstar/cinecode |
c8a3e75 |
Zero-dependency CDP capture harness with k->0->k SHA --verify determinism gate, staggered headless rendering, BT.709 & -14 LUFS mastering. |
Audit |
xikhar/papercraft |
30e9aaf |
Agent skill building Three.js r187 pop-up papercraft worlds (matte BRDF, FlapSpring hinges, PCSS shadows) rendered via Playwright WebCodecs. |
Audit |
xinntao/Real-ESRGAN |
a4abfb2 |
Blind super-resolution framework with SRVGGNetCompact, DNI denoising interpolation, Py3.12 runtime shims, and in-VRAM 4K downscaling. |
Audit |
- Source-First Verification: Every
repos/*.mdaudit inspects actual source files (runtime loops, prompts, hooks, schemas, build scripts), never marketing claims or README summaries alone. - Exact Revision Pinning: Findings bind to
owner/repo@<short-sha>and citepath#Lxx-Lyyso readers can inspect or challenge any detail. - License, Telemetry & Failure Transparency: Audits call out non-permissive licenses (
AGPL-3.0,PolyForm Noncommercial, Source-Available), silent outbound telemetry/auto-updaters, CJK tokenization blind spots, and cross-platform graphics pitfalls.
- See CONTRIBUTING.md for note templates, source-citation standards, and running
python3 scripts/check-kb.pybefore opening a PR. - Released under the MIT License.