Optimization Cron Builderのロゴ

Optimization Cron Builder

コミュニティ
weiyangzen
optimization-cron-builder

Improves a system against a declared objective. Design mode writes one research doc per refinement item; measured mode compares candidates serially under a frozen oracle. Use for performance work such as CUDA kernels, or for design refinement. 性能优化、串行比较、架构优化。

概要

公開者weiyangzen
リポジトリb3ehive
スキル名optimization-cron-builder
スター
39
フォーク
6
同梱ファイル
9
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 9個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/weiyangzen/b3ehive.git /tmp/b3ehive
mkdir -p .claude/skills
cp -r /tmp/b3ehive/optimization-cron-builder .claude/skills/optimization-cron-builder
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Optimization

For a user-facing choice guide, read docs/skill-selection.md. Use measured mode when an oracle can measure a target; use design mode for research against a design philosophy.

core v2 · loop v2; measured mode binds the frozen benchmark as the oracle and keeps the ratchet. Read references/core.md and references/loop.md first; this body adds only optimization rules.

Measured optimization normally compares candidates in series. It measures one candidate, keeps or reverts it, and uses the result to choose the next candidate. Use parallel lanes only when independent hypotheses need one comparison round.

Modes

ModeInputOutput
designa design philosophy and a stage blueprintStage_*_AR_Blueprint.md and one research doc per item
measuredan objective and an oracle contractaccepted changes with before/after measurements and a hypothesis ledger

Decide the mode. A request to make something faster, smaller, or cheaper takes measured; a request to refine architecture against a philosophy takes design.

Measured Mode

  1. Contract. Freeze the oracle contract: definition, workloads drawn from real use, reference, tolerance, measurement method, baseline with source and version, anti-gaming checks, oracle.fast and oracle.full, tier. Template: references/measured-mode.md.
  2. Baseline. Measure the baseline under the contract; profile it with a bound instrument.
  3. Hypothesis. Each entry names its profile evidence, cited canon, expected gain, the change, its lineage, and its direction (grow, switch, verify) with mechanism distance from the incumbent.
  4. Candidates. Run the loop: single by default, relay for stubborn targets, and serial comparison for the normal ratchet. Use lanes when independent hypotheses need one parallel comparison round.
  5. Re-measure. The master re-runs oracle.full on fresh inputs and recomputes aggregates from raw rows; agent-reported speedups count for nothing. Paired, alternating, fresh-process trials decide; a gain counts only when its interval excludes zero and clears the minimum effect (B3_STATS).
  6. Ratchet. Keep a change only when it is correct and better than the best accepted state; otherwise revert. Untrusted measurements stay observed_only.
  7. Record. Log every outcome, rejected ones included; a rejected hypothesis returns only with new evidence.

Stop on target reached, budget spent, or a written reason the target is out of reach. Never relabel a missed target as success.

Instruments

  • Bind profilers, analyzers, and domain skills (for example ncu, nsys, perf, py-spy, an ncu report skill, a kernel wiki, a docs MCP server) in instruments.tsv with a probe command; a failed probe means the instrument is absent.
  • Each instrument carries a playbook: signals → cause → first fix → deeper fixes → exceptions. Rank at most five priorities by expected gain over effort.
  • Name the two or three measured values behind each diagnosis.
  • b3ehive bundles no domain knowledge; domain packs enter through canon and instruments.

Design Mode

  1. Capture the philosophy in one stable sentence.
  2. Generate one authoritative Docs/Stage_*_AR_Blueprint.md: one item per optimization topic, at most 100 items (a review-capacity cap), grouped into worker-ownable sections.
  3. Each item gets one doc under Docs/researches/Stage_*_AR/, scoped to that item, filtered through the philosophy, grounded in mature practice and cited canon, ending in concrete recommendations for this repository.
  4. Decide the worker count from the sections; workers own disjoint sections.
  5. An empty, broad, or off-philosophy doc keeps its item open; split or narrow it and rerun only that section.

Product code stays downstream of design mode. Detail and repair: references/design-mode.md.

Validation

  • Measured: the baseline reproduces; every accepted change has before and after receipts on fresh inputs; the hypothesis ledger covers every attempt.
  • Design: one authoritative AR blueprint, at most 100 items, one non-empty scoped doc per accepted item.
  • Generated shell passes bash -n; the cron space guard passes.

References

  • references/core.md, references/loop.md: shared laws and loop
  • references/measured-mode.md: oracle contract, ledgers, statistics, identity, instruments
  • references/design-mode.md: AR blueprint, research docs, repair
  • references/substrate-cron.md: cron, runners, disk guards
  • references/lessons.md: where each v1 rule now lives

同梱ファイル

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

よくある質問

AIスキル「Optimization Cron Builder」では何ができますか?

Improves a system against a declared objective. Design mode writes one research doc per refinement item; measured mode compares candidates serially under a frozen oracle. Use for performance work such as CUDA kernels, or for design refinement. 性能优化、串行比较、架构优化。

TypingMindでOptimization Cron Builderを使うメリットは何ですか?

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

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

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

Optimization Cron Builderを使えるAIモデルはどれですか?

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

Optimization Cron Builderは何個のAIモデルで使えますか?

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

AIスキル「Optimization Cron Builder」は無料ですか?

weiyangzenがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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