Beatscope Visualizerのロゴ

Beatscope Visualizer

コミュニティ
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.

概要

公開者chosuicide
リポジトリbeatscope
スキル名beatscope-visualizer
スター
79
フォーク
5
同梱ファイル
36
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 36個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    chosuicideがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Beatscope Visualizer」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/chosuicide/beatscope/tree/main/beatscope/agent_skill
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBeatscope Visualizerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBeatscope Visualizerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Beatscope Visualizerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでBeatscope Visualizerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Beatscope Visualizerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBeatscope Visualizerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/chosuicide/beatscope/tree/main/beatscope/agent_skillを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Beatscope Visualizerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Beatscope Visualizerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBeatscope Visualizerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Beatscope Visualizer」は無料ですか?

はい。chosuicideがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇