Logo Beatscope Visualizer

Beatscope Visualizer

Cộng đồng
chosuicide
beatscope-visualizer

Use BeatScope music facts, grouped edits and seek-safe motion for video with optional references. Read AGENT.md first; no fixed visual style.

Tổng quan

Nhà phát hànhchosuicide
Kho mãbeatscope
Tên kỹ năngbeatscope-visualizer
Sao
79
Bản fork
5
Tệp đi kèm
36
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 36 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được chosuicide công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Beatscope Visualizer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/chosuicide/beatscope/tree/main/beatscope/agent_skill
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chosuicide/beatscope.git /tmp/beatscope
mkdir -p .claude/skills
cp -r /tmp/beatscope/beatscope/agent_skill .claude/skills/beatscope-visualizer
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Beatscope Visualizer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Beatscope Visualizer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Beatscope Visualizer với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Query music and execute an edit

Read AGENT.md. Resume a matching project within scope, or create a new work. Query summaries, not whole maps: node query.mjs 81 103 --accents --stages. Exact meanings: BEATSCOPE.md/references/schema.md. Visual choices: references/directing.md. Identity, authorization and cached evidence: references/handoff-rules.md. End-to-end sample: references/complete-example.md. JSON imports need Node22+ or current Chromium over HTTP with JSON/JS MIME. Rendering dependencies and limits live in references/rendering.md. The brief's stages are resolved editor stages; automaticSections and measuredAnchorCandidates remain factual suggestions. cueEdits.shown is a bounded inspection list, not the full cue schedule. Resolve the plan for execution.

Facts

js
import * as music from './visual-state.js';
import {createTrack} from './beatscope-runtime.js';
const track = createTrack(music.RHYTHM_MAP);
const candidates = (start,end,budget) => typeof music.getResponseEvents === 'function'
  ? music.getResponseEvents(start,end,budget) : track.responseBetween(start,end,budget);
function frame(frameIndex,fps,excerptStart) {
  return music.getVisualState(excerptStart+frameIndex/fps);
}

State includes beat/bar phase, bands, onset/accent and optional structure/meanRms. The budget returns possible measured anchors, not musical functions or cut rules. Use ordinary beats and continuous activity alongside accent anchors.

Edit score: authored by Agent, executed by code

Resolve the supplied editor plan once before authoring:

js
import plan from './edit-plan.json' with {type:'json'};
import {resolveEditPlan} from './edit-plan.js';
const {stages,cues} = resolveEditPlan(music.RHYTHM_MAP, plan);

These stages define contiguous passage boundaries; add focus/change/rhythm to them in your score. Unchanged cues are measured candidates; manual:true cues are added/moved response anchors. Deleted cues are omitted. Use resolved cues for authored responses so overrides take effect. Keep sourceTime for citation; do not also fire the old time of a moved/deleted cue. A cue can drive several layers, a cut or a returning sequence. It does not specify one isolated action.

Keep one job-local score.json outside this package. Reuse it when present; preserve accepted shots, effects, asset bindings and unrelated timing during scoped edits. If it belongs to another song, reuse suitable visual definitions separately and author timing against this package. Users do not fill it in. For an MV set intent:"music-video". First author the musical passages and their visual rhythm, then shot setups/sequences, then motion inside shots. Import createEditScore from edit-score.js. The score contains:

  • stages: adjacent whole-song {id,start,end,focus,change,entry}. entry names a shot at that boundary; carry:true explicitly continues an earlier shot. Each MV stage has rhythm blocks covering it exactly, with {start,end,mode,music,reason,anchors,action?}. Anchors use the same time API. mode hold permits one shot identity and requires action describing its motion and destination; switch requires at least one identity change; alternate requires at least two. music describes the actual musical passage; reason connects its visual choices. anchors are increasing music cues inside it. These checks enforce declared edits, not taste or a universal cut frequency.
  • shots: reusable {id,relation,setup,values,tracks,clock,duration}. setup is renderer configuration; values are static named properties; optional tracks animate those properties in LOCAL seconds. relation describes why shots belong together. The renderer still provides actual footage/geometry/materials.
  • cuts: optional individual {at,shot} entries.
  • groups: {id,stage,anchors,sequence} binds one authored combination to several real music events. Sequence cells name shots; null holds the current shot while other music-linked tracks may act. Lengths match unless repeat:true explicitly repeats the supplied combination. No built-in combination or cut frequency.
  • moments and global tracks: shared music-time anchors and motion, as below. Global property writers cannot overlap shot-local property writers.

A shot clock uses {mode,offset:0,rate:1}: continuous (MV default) advances since first visit including offscreen time; visible (other scores' default) advances only while onscreen; restart resets on every explicit visit. Choose visible/restart when a pause/replay has a purpose. Returning can continue an action, pause it or deliberately replay it. duration bounds sampled local tracks; view.localTime reports raw clock and view.sampleTime reports bounded time. Footage decoding/looping remains the renderer's job.

Abstract example; replace relationships, views and anchors for the actual job:

js
import * as music from './package/visual-state.js';
import {createEditScore} from './package/edit-score.js';
const score = {
  intent:'music-video',
  stages:[{id:'first',start:0,end:music.RHYTHM_MAP.duration,entry:'wide',
    focus:'chosen subject',change:'detail changes our reading of the whole',
    rhythm:[{start:0,end:music.RHYTHM_MAP.duration,mode:'alternate',
      music:'example repeated attacks; replace with actual passages',
      reason:'whole and detail reveal the same subject',anchors:[{beat:1},{beat:3}]}]}],
  shots:[
    {id:'wide',relation:'whole subject',clock:{mode:'visible'},
      values:{'camera.z':10},setup:{sourceId:'chosen-source'}},
    {id:'detail',relation:'detail of that subject',clock:{mode:'continuous'},
      values:{'camera.z':2},setup:{sourceId:'chosen-source'}}
  ],
  groups:[{id:'phrase',stage:'first',
    anchors:[{beat:1},{beat:2},{beat:3}],
    sequence:['detail',null,'wide']}],
  tracks:[]
};
const edit = createEditScore(score,music);
function seek(localTime,excerptStart=0) {
  const state = edit.at(excerptStart+localTime);
  // Select state.view.id/setup; apply state.values through one adapter.
  // Use view.sampleTime for local motion/media; decode before final rendering.
  return state;
}

A view is a complete shot setup, not automatically a photo card or a slide. Repeated visits do not require a new object. Combine cuts, holds and continuous shots according to the reference and musical phrase. at(t) is independent of query order. cuts exposes resolved times; frameWarnings(fps) identifies visits with no output frame. These warnings never silently shift measured anchors.

Optional picture tools

Reuse existing framing/bindings when suitable. Read references/picture-tools.md only if needed: frame2D fits a 2D target, frame3D fits a perspective target, createPictureBindings connects compiled shots/properties to native setters. They add no production step. Read the relevant API section for the chosen renderer; helpers provide no style or automatic camera path.

Shared motion

createChoreography(score,music) remains available for motion-only work. moments are named anchors; tracks are unique {id,keys} property writers. Keys: {at,value,ease}; value is a number, numeric vector, string or boolean. Outgoing ease: linear, smooth, in-cubic, out-cubic, hold. Discrete changes need hold. The destination value is exact on its key; last values persist. Anchor: seconds, {beat:index} (zero-based array index), {onset:id} (measured instant), or {moment:name}. Object anchors accept offsetBeats then offset seconds. Real local beat spacing preserves fractional onset phase; no quantizing. Several tracks can share one moment with different preparation/aftermath. Optional pace:{from,to,every,step,mode} adds a scalar/vector increment per beat interval; step advances discretely, travel continuously. Final advance persists. Optional activity:{band,amount} adds selected low/mid/high/all activity to that same property writer. No default pump, shake, particles or slow easing.

For travel that must survive cuts, add one GLOBAL progress track to score.tracks:

js
{id:'world.travel',keys:[{at:0,value:0,ease:'hold'}],
 pace:{from:{moment:'enter'},to:{moment:'arrival'},every:1,step:1,mode:'travel'}}

Define enter/arrival from the actual job's anchors. This value interpolates real beat spacing, keeps advancing across cuts and retains its result at arrival. The adapter uses the SAME value for camera path and supporting depth layers; shot setup chooses the viewpoint. Do not substitute view.sinceCut for world progress: it restarts each cut. Use sinceCut only for deliberate cut-local settling. Short impact/arrival easing may finish while travel continues. Once the journey ends, author the next process or an intentional rest; continuous agitation is not required. If the candidate grid is unsuitable, use a linear global track between chosen measured seconds instead of claiming beat-locked motion.

One technical check

Run node package/music-brief.mjs --score score.json --mv once after MV changes. It checks spans, anchors, cut conflicts, writers, return clocks and reverse query order and declared rhythm without rendering. It reports switches and longest visit per passage, plus unsampled visits at30fps; inspect with the actual output fps. It does not prove beauty, reference fidelity or listening. For a dense interval node music-brief.mjs --groups start end maxGap [minEvents] reports numerical onset runs (bounded output, explicitly marked truncation). They are not confirmed phrases or an automatic cut schedule. Programmatic groupOnsets(map,start,end,{maxGap,minEvents}) returns complete runs when needed.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Beatscope Visualizer làm được gì?

Use BeatScope music facts, grouped edits and seek-safe motion for video with optional references. Read AGENT.md first; no fixed visual style.

Vì sao nên dùng Beatscope Visualizer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Beatscope Visualizer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Beatscope Visualizer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/chosuicide/beatscope/tree/main/beatscope/agent_skill. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Beatscope Visualizer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Beatscope Visualizer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Beatscope Visualizer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Beatscope Visualizer có miễn phí không?

Có. Kỹ năng này được chosuicide phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇