Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

loopforge

FreeRuns bundled scriptsNot checked

Loopforge:把模糊工作流整理成可复用的 AI Agent 工作流循环规范和提示词。

smithjohn78390by smithjohn78390★ 53 GitHub stars

About this skill

Loopforge

把模糊工作流锻造成可复用的 AI Agent 工作流循环规范。

Route

Choose one path:

  • Extract: convert notes, transcripts, prompts, artifacts, or history into a loop spec.
  • Forge: create a new loop spec from the user's intended recurring workflow.
  • Doctor: audit and minimally repair an existing loop spec.
  • Package: prepare a loop spec for reuse or publication.

Do not handle:

  • official published loop search; send that to the official Loop Library skill or catalog
  • direct loop execution; hand off to the runtime
  • pure /goal writing; use a goal skill when available
  • general systems-thinking feedback-loop analysis

Intake

Ask one high-leverage question by default; ask up to three only when answers materially change the spec. Default only when grounded or safe no-op. Ask for permissions, security, production writes, external messages, private data, and validation.

Required Reading

  • For boundary decisions, read references/loop-vs-goal-sop-checklist.md.
  • For spec fields, read references/loop-spec-v1.md.
  • For repair work, read references/loop-doctor.md.
  • For examples or pattern help, read references/case-patterns.md and references/templates.md.

Output Contract

Return one:

  • a concise prompt-mode loop the user can copy
  • a full loop-spec-v1 YAML or JSON spec, followed by a copy-ready Loop Prompt companion unless the user asks for machine-only output
  • a doctor verdict: Ready, Repair needed, or Not actually a loop
  • a package checklist for reuse or publication

Every spec must satisfy references/loop-spec-v1.md: identity, trigger/exclusion, inputs, authority, state, round, next_action_rule, working_signal, acceptance_gate, terminal states, outputs, provenance, and optional execution_handoff.

When outputting YAML/JSON, also finish with the module-based Loop Prompt from references/templates.md. YAML/JSON is the source; the prompt is the copy/use entry.

Validation

For YAML/JSON specs, run:

python3 scripts/lint_loop_spec.py <spec-file>

Use --profile template for reusable templates with declared placeholders. Use --profile runnable when the loop is ready to run and placeholders must be gone.

If the linter fails, fix the spec before presenting it as ready.

Install loopforge in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

README.mdTHIRD_PARTY_NOTICES.mdagents/interface.yamlmanifest.jsonreferences/case-patterns.mdreferences/interview.mdreferences/loop-doctor.mdreferences/loop-spec-v1.mdreferences/loop-vs-goal-sop-checklist.mdreferences/templates.mdschemas/loop-spec-v1.schema.jsonscripts/lint_loop_spec.py

FAQ

What does the loopforge skill do?

Loopforge:把模糊工作流整理成可复用的 AI Agent 工作流循环规范和提示词。

How do I install the loopforge skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the loopforge skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare loopforge with