Looper Cron Builder logo

Looper Cron Builder

Community
weiyangzen
looper-cron-builder

Defines an optional external loop layer that sets granularity and governs repeated attempts with leases, side-effect gates, reward and ROI ledgers. Use when a loop must attach to an item, metric, or surface, or when several loops share a budget. 循环、粒度、预算、ROI。

Overview

Publisherweiyangzen
Repositoryb3ehive
Skill namelooper-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 Looper 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/looper-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/looper-cron-builder .claude/skills/looper-cron-builder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Looper 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 Looper 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 Looper 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.

Looper

For a user-facing choice guide, read docs/skill-selection.md. Use this skill when an explicit external loop must set granularity or govern shared resources. The smallest work unit is normally internal to the selected skill.

core v2 · owner of loop v2. Read references/core.md, then loop.md.

Looper has two layers. It owns loop.md, the shared attempt-loop definition that the other four skills bind by name. The looper-cron-builder skill is an optional external definition: it attaches a loop to an item, metric, or surface and sets its granularity, budget, and governance. A small internal loop can use loop.md without a separately named looper definition.

Objects

ObjectHolds
Looptarget (item, metric, or surface), oracle, budget envelope, attachment point
Leasebudget slice for one attempt: tokens, time, money, disk, diff size, TTL, heartbeat, owner, workspace
Attempthypothesis, direction, shape, receipt, result (loop v2 vocabulary)
Evidence rowchanged paths, commands, results, side-effect decisions, nested-run refs, reward class
Decisioncontinue, replan, pause, split, lower, raise, escalate, or retire
Friction noteinstrument, effect (helped, blocked, wasted, under-validated), evidence, suggestion

Field schemas, bridge levels, signal types, and the full ledger set live in references/schemas.md. Use them when a loop needs them; omit the rest.

Governance

  • No lease, no attempt. Release expired leases and dead owners before issuing new ones.
  • Process operator signals before new leases: cancel, drain, pause, resume, replan. cancel, drain, and pause block new leases.
  • Gate side effects of these classes only: push or publish, spend or network, delete or broad write, protected or authoritative paths, secret exposure, identity-level writes. Ordinary reads and owned-path edits pass ungated.
  • Refill normal DAG workers before loop attempts; run heavy ROI reports after refill.
  • Rank eligible loops by priority, ROI, reward recency, and urgency; the envelope, not each daemon, caps global concurrency.
  • Classify reward after evidence exists. Primary reward clears the no-reward counter; secondary reward lowers it; negative or empty output raises it.
  • Nested skill runs spend the parent lease and submit candidates; the parent classifies reward.
  • Same loop, same strategy, and no reward never runs again.
  • A stalling loop gets a replan decision before any pause; pause follows only when the replan obligation is still open at the third stall.
  • Novelty is secondary reward: an attempt that adds evidence ids or observation keys absent from the loop's history lowers the no-reward counter; a replayed or renamed claim does not.
  • An attempt that produces no state transition closes without spending its lease; record the no-spend closeout.

Workflow

  1. Inspect the repository: bridge targets, metrics, DAG nodes, oracles, resource limits.
  2. Write sanitized loop specs to Docs/looper/; keep private names, paths, and ledgers under ignored .b3ehive/looper/ and .cron/.
  3. Generate the broker, lease allocator, gate evaluator, signal reader, daemon runner, ledgers, ROI accountant, space guard, installer, and cleanup.
  4. Run VALIDATE_ONLY=1, then one manual tick on a tiny envelope.
  5. Install cron after validate-only, the manual tick, the budget guard, and the privacy scan pass.
  6. Clean up only with no live lease, no unaccounted attempt, no unfinished nested run, no open attached item, and no pending signal.

Validation

  • Specs, envelopes, leases, and ledgers parse.
  • Every loop attaches to an item, metric, or surface and names an oracle or monitoring source.
  • Every attempt holds a lease; nested spend rolls into the parent.
  • Pending signals precede new leases; protected side effects carry decisions.
  • A paused loop refuses resume without new budget and a changed strategy.
  • Generated shell passes bash -n; the privacy scan finds no private names or absolute paths in committed files.

Ablation

B3_LOOP=full|single|null swaps the loop variant for every skill at once. B3_LOOPER_GOVERNANCE=off runs loops on their leases alone. Evaluations in evals/ compare both switches; the loop keeps its own version number.

References

  • loop.md: the loop definition, synced into the other skills
  • references/core.md: shared laws
  • references/schemas.md: every looper schema and enumeration, once
  • references/privacy-checklist.md: publication hygiene
  • references/substrate-cron.md: cron, runners, disk guards
  • references/lessons.md: v1 rules moved out of this body

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 Looper Cron Builder AI skill do?

Defines an optional external loop layer that sets granularity and governs repeated attempts with leases, side-effect gates, reward and ROI ledgers. Use when a loop must attach to an item, metric, or surface, or when several loops share a budget. 循环、粒度、预算、ROI。

Why use Looper Cron Builder on TypingMind?

Because you install it once and use it with any model. Looper 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 Looper Cron Builder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/weiyangzen/b3ehive/tree/main/looper-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 Looper 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 Looper Cron Builder?

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

Is the Looper 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 👇