Loop Or Not logo

Loop Or Not

Community
crazynomad
loop-or-not

Decide whether a task in the current project is worth running as an agent loop. Analyzes the repo for evidence first (tests/CI/bench scripts = available verifiers; issue+PR queues = recurring work; module boundaries), then interviews the user one question at a time on the genuine decisions, and returns one of three verdicts — don't loop (stay in the loop yourself), timer loop (/loop, /schedule), or goal loop (/goal) — with cited evidence and, when looping is warranted, a drafted four-part contract (goal / verification / boundary / stop) bound to real commands found in the repo. Recommending NO loop is a first-class outcome. Use when the user asks 值不值得 loop / should I loop this / 要不要上 /goal / 这个活能不能挂个循环自动跑, or wants to apply loop engineering to a project.

Overview

Publishercrazynomad
Repositoryskills
Skill nameloop-or-not
Stars
27
Forks
8
Bundled files
Instructions only
LicenseMIT
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Loop Or Not 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/crazynomad/skills/tree/master/loop-or-not
  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/crazynomad/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/loop-or-not .claude/skills/loop-or-not
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Loop Or Not 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 Loop Or Not 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 Loop Or Not 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.

loop-or-not — 「值不值得 loop」判断尺

对一个具体的活给出三叉裁决:不 loop(你留圈里)/ 定时器 loop(/loop、/schedule)/ goal loop(/goal),并附证据;裁决为 loop 时,草拟一份绑定真实命令的契约。

设计出处:判断尺与三叉出口来自绿皮火车 EP14《Loop Engineering》(核心两问:这活做没做对,谁说了算?如果是你说了算,你的判断写得下来吗?);面试机制借自 mattpocock/skills 的 grilling(事实查库、决策问人、一次一问、每问带推荐答案);判据与 Claude Code 官方三问同构(验证写得出来吗/目标够清晰吗/活是否按节奏出现),与 OpenAI goals 教程的「clear finish line, uncertain path」同构。

铁律

  1. 「不 loop」是一等公民裁决——本 skill 的价值有一半在劝退。不夸大 loop 的收益,不为了凑出「可以 loop」的结论降低验收门槛。
  2. 事实查库,决策问人:能从项目里查到的(测试/CI/队列/边界),不许问用户;属于用户的决策(什么算做完/风险口味/绝不外包什么),不许替答。
  3. 一次只问一个问题,附推荐答案,等回答再问下一个。
  4. 证据必须具体:文件路径、命令名、数字。禁止「这个项目看起来适合 loop」这类空话。
  5. 裁决是证据+建议,最后一锤是用户的:「谁说了算/写得下来吗」两问必须由用户亲口确认——skill 的职责是把这两问逼到用户面前,带着证据。

流程

第 0 步 · 任务陈述

用户一句话说清想 loop 的活。若用户只问「这个项目适不适合 loop」而没有具体任务:先做第 1 步勘察,再从队列证据里提名候选任务(如「你有 23 个无标签 issue,backlog 整理是个候选」),不凭空发明任务。

第 1 步 · 事实勘察(查库,不问人)

产出一张证据表,三个方向:

A. 裁判存量(决定 goal 支可行性):

  • 查 package.json / Makefile / justfile 的 test / lint / typecheck / build / bench 脚本;CI 配置(.github/workflows 等);现成的测量脚本。
  • 试跑最像验收的那条命令,确认真的能跑;红的裁判也是裁判,如实记录现状。
  • 按硬度分级记录:确定性命令(测试/编译/数字阈值)> 半确定(lint/覆盖率)> 只有模型打分 > 无裁判。

B. 队列存量(决定定时器支可行性):

  • gh issue list / gh pr list 的数量与标签卫生;CI 红的频率;TODO/FIXME 密度;依赖过期情况。
  • 判据:这个活是否重复出现且每次同构。一次性的活不配定时器。

C. 边界可切性:

  • 模块结构能否支撑「只许动 X」条款;有无分支保护、合并测试门;git 卫生。

非代码项目(写作/研究/运营):承认可查的东西少,退化为面试为主,并在裁决书里写明「证据薄,裁决主要依据你的回答」——不假装对什么项目都同样灵。

第 2 步 · 面试(决策,一次一问)

只问查不到的。题库按需取,通常 3–5 问收工,每问基于第 1 步证据给推荐答案:

  1. 这活做没做对,谁说了算?(你 / 测试 / 数字 / 用户 / 时间)
  2. 如果是你说了算——你的判断写得下来吗?请当场写一句给我看。
  3. 验收里哪些判断你绝不外包?(方向 / 品味 / 要担责任的决定)
  4. 预算和刹车的口味?(轮数上限 / token / 时限)
  5. (定时器支)这活多久出现一次?错过一轮的代价是什么?

第 3 步 · 裁决书

格式固定:

裁决:不 loop / 定时器 loop(/loop /schedule)/ goal loop(/goal)
证据:<引用第 1 步的具体发现:路径、命令、数字>
理由:<对照下方三叉判据>
风险与前提:<诚实写:裁判硬度等级、边界弱点、证据薄的地方>

三叉判据:

  • 判断交不出去(方向/品味/责任),或验收写不下来,或没有裁判且不值得先造 → 不 loop,你留圈里。可附「先造裁判」路线:先补测试/测量脚本,裁判有了再回来跑一次本 skill。
  • 活重复出现、每次同构、裁判现成 → 定时器 loop。
  • 终点清晰、路径不明、验收能绑到确定性命令 → goal loop。

边界情况处置:

  • 裁判只有「模型打分」可用 → 降级警告:模型打分不能冒充确定性判断,只可做参考裁判,不可做唯一裁判。
  • 想 loop 的活其实一次就能干完 → 直接干,别造循环。
  • 队列存在但一周不满一轮 → 提醒:间隔匹配变化速度,太闲的定时器是浪费。

第 4 步 · 契约草拟(仅当裁决为 loop)

goal loop → 按四零件草拟,规则:

  • 目标:可判定,数字或布尔;
  • 校验:必须绑定第 1 步找到的真实命令(如 pnpm test、现成 bench 脚本),禁止「请在此填入你的测试」式占位符;要求每轮贴出命令输出作证据;
  • 边界/规矩:堵近路——问一遍「目标定成这样,最省事的作弊是什么?」,逐条封死(改裁判/偷工/减料/空口汇报四个方向自查);
  • 停止:达标即收 + N 轮兜底(or stop after N turns)。

定时器 loop → 给出 /loop 提示词骨架(目标=每轮要维持的状态;校验含 no-op 诚实条款——无事可做如实报告,不许制造改动;边界=操作白名单+负面清单;停止=由人取消+连续 no-op 自我建议停),然后移交下游,不重造:

  • 模式选择与生产加固 → cobusgreyling/loop-engineering(pattern-picker、loop-design-checklist、loop-audit);
  • GitHub backlog 场景 → 直接用本仓库的 backlog-manager skill;
  • 成例参考 → crazynomad/tutorial 的 14-loop(四个真实 demo,含 manager/developer 双循环提示词全文)。

不做的事

  • 不做 loop 模式库、成本估算、审计打分——cobusgreyling/loop-engineering 已有,推荐即可。
  • 不替用户写「什么算做完」的实质内容——那是出题人的活,skill 只把问题逼到面前。
  • 证据不足时不硬给裁决——写明缺什么(如「没有任何可跑的测试」),给出补齐路线。

Frequently asked questions

What does the Loop Or Not AI skill do?

Decide whether a task in the current project is worth running as an agent loop. Analyzes the repo for evidence first (tests/CI/bench scripts = available verifiers; issue+PR queues = recurring work; module boundaries), then interviews the user one question at a time on the genuine decisions, and returns one of three verdicts — don't loop (stay in the loop yourself), timer loop (/loop, /schedule), or goal loop (/goal) — with cited evidence and, when looping is warranted, a drafted four-part contract (goal / verification / boundary / stop) bound to real commands found in the repo. Recommending...

Why use Loop Or Not on TypingMind?

Because you install it once and use it with any model. Loop Or Not 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 Loop Or Not in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/crazynomad/skills/tree/master/loop-or-not. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Loop Or Not?

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 Loop Or Not?

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

Is the Loop Or Not AI skill free?

Yes. It is published on GitHub by crazynomad under the MIT license. 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 👇