Grokbot Optimization Cron Builderのロゴ

Grokbot Optimization Cron Builder

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

Grokbot only. Subagents run only as claude --dangerously-skip-permissions. 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
スキル名grokbot-optimization-cron-builder
スター
39
フォーク
6
同梱ファイル
7
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 7個の同梱ファイル

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

  • オープンソース

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

インストール

AIスキル「Grokbot 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/grokbot/skills/grokbot-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/grokbot/skills/grokbot-optimization-cron-builder .claude/skills/grokbot-optimization-cron-builder
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Optimization (grokbot)

Grokbot Gate

Grokbot build of optimization-cron-builder, b3ehive 2.3.1. This section overrides every runner, platform, transport, and subagent rule in this skill and in its references.

Load:

  • Only grokbot loads this skill. Grokbot installs it with the command below and names the subagent runtime explicitly: unzip grokbot-optimization-cron-builder-skill.zip -d ~/.claude/skills/
  • Any other host stops here and loads nothing from this directory: Claude Code, a claude subagent that grokbot started, Codex, Cursor, Grok Build without grokbot, opencode, OpenClaw, and Hermes. Those hosts use the base skill optimization-cron-builder instead.

Subagent runtime:

  • Every subagent call uses only claude --dangerously-skip-permissions as its agent runtime. This covers workers, reviewers, verifiers, voters, repair generations, nested runs, and in-session subagents.

  • Runner template, also the value of B3EHIVE_AGENT_RUNNER, with B3EHIVE_AGENT_PLATFORM=claude:

    bash
    claude -p --dangerously-skip-permissions \
      --model "${CLAUDE_MODEL:-sonnet}" --effort "${CLAUDE_EFFORT:-max}" \
      --add-dir "{workspace}" < "{prompt_file}" > "{output_file}"
  • No other runtime: no Grok subagent or task tool, no grok, codex, Cursor, opencode, OpenClaw, or Hermes worker, no Codex TUI transport, and no --permission-mode flag. Where the body or a reference names another runner, read this runtime.

  • A runner that does not start with claude -p --dangerously-skip-permissions fails closed with its value. A missing claude binary stops the run with user_action_required; there is no fallback.

  • The flag removes every permission check, so the task root is the only fence. --add-dir names the claim workspace only, never the canonical checkout or $HOME. Each subagent still counts against every cap and lease.

  • Each subagent prompt states its role and tells it not to load any grokbot-* skill.

  • Validate-only output prints platform=claude, runtime=claude --dangerously-skip-permissions, and the resolved runner.

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スキル「Grokbot Optimization Cron Builder」では何ができますか?

Grokbot only. Subagents run only as claude --dangerously-skip-permissions. 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でGrokbot Optimization Cron Builderを使うメリットは何ですか?

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

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

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

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

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

Grokbot Optimization Cron Builderで使えるAIモデルの数に制限はありますか?

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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