Optimization Cron Builder logo

Optimization Cron Builder

Community
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. 性能优化、串行比较、架构优化。

Overview

Publisherweiyangzen
Repositoryb3ehive
Skill nameoptimization-cron-builder
Stars
39
Forks
6
Bundled files
9
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by weiyangzen on GitHub. Read the source before you install it.

Installation

Install the Optimization Cron Builder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/weiyangzen/b3ehive/tree/main/optimization-cron-builder
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Optimization Cron Builder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Optimization Cron Builder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Optimization Cron Builder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Optimization Cron Builder AI skill do?

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. 性能优化、串行比较、架构优化。

Why use Optimization Cron Builder on TypingMind?

Because you install it once and use it with any model. Optimization Cron Builder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Optimization Cron Builder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/weiyangzen/b3ehive/tree/main/optimization-cron-builder. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Optimization Cron Builder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Optimization Cron Builder?

As many as you like. As long as a model supports skills, you can use Optimization Cron Builder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Optimization Cron Builder AI skill free?

It is published on GitHub by weiyangzen. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇