Sol Loop logo

Sol Loop

CommunityPopular
t3dotgg
sol-loop

Use when the user says "sol loop".

Overview

Publishert3dotgg
Repositorytstack
Skill namesol-loop
Stars
2.5K
Forks
153
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 t3dotgg on GitHub. Read the source before you install it.

Installation

Install the Sol Loop 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/t3dotgg/tstack/tree/main/skills/sol-loop
  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/t3dotgg/tstack.git /tmp/tstack
mkdir -p .claude/skills
cp -r /tmp/tstack/skills/sol-loop .claude/skills/sol-loop
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sol Loop 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 Sol Loop 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 Sol Loop 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.

sol-loop

This is a workflow for making your code changes more correct before (or sometimes after) filing a pull request. tl;dr - use OpenAI's GPT Sol to review your code in a loop.

Make the most minimal possible changes to appease the Sol reviewers. Be careful of scope creep and don't be scared to push back.

Budget

  • Default: 3 rounds total. Round 1 is full. Later rounds check only changed code and open findings.
  • Extend to 5 only for security, permissions, auth, data loss, or state/concurrency, while a blocker or should stays open with evidence. Or when the user asks.
  • Stop early if a round returns only nits. Declined nits and comment, doc, or format-only fixes need no new round.
  • One reviewer only. Sol must not start subagents or reviewers.
  • Keep a ledger: id, severity, outcome, usage if returned. Never guess it.

1. Scope

Run git status --short. Do not stash, discard, or include unrelated changes. Limit review to the change paths if they separate cleanly. Otherwise stop and ask.

Find the base after git fetch origin:

  • PR: gh pr view <n> --json baseRefName,headRefOid. Check out the branch only if clean. Confirm HEAD is the PR head, or ahead only by this change. Base: git merge-base HEAD origin/<baseRefName>.
  • Local: git merge-base HEAD origin/<default-branch>. No remote: a base the user names, or HEAD for uncommitted changes only.

The change is base to working tree in those paths, with untracked files. Use one diff command all rounds. State intent and out-of-scope in 1-2 sentences. Run covering checks. Do not send code this change breaks. Note missing or pre-failing checks in the brief.

2. Start Sol

In T3, call orchestrator_capabilities. Pick the latest Sol unless the user named a version. Do not hardcode an ID. Record provider, model, and effort only if exposed. Use delegate_task every round (role: "review", mode: "async"). Save taskId. New clientRequestId per round. childThreadId is storage, not the next target. Do not use t3_thread_send, create_threads, or t3_thread_launch for review.

If T3 tools are not listed, try one direct capability call. Outside T3, use a native Sol subagent and keep its ID. In Claude Code, use a custom subagent only if it is set up to run Sol. If no route runs Sol, report the blocker. Do not substitute a model.

Do not edit scoped files while review runs. Wait for the notice. Do not poll or start a second reviewer. Timeout, error, or no reply is not approval. On failure, cancel, verify stop, restart with the ledger.

Round 1 brief (T3 children get no history):

Review only. Do not edit, commit, push, comment on PRs, or start subagents.
Repo: <abs path> Base: <sha> Intent: <intent> Out of scope: <scope> Checks: <results>
See: git diff <base> [-- <paths>]; git status --short (read untracked).
Read surrounding code. Find bugs, broken callers, mismatch with intent.
Skip style unless it hides a bug. Hold to the smallest change. Flag code,
tests, or guards the intent does not need. Other paths, rare cases, small
perf, extra compat: nits.
blocker = intended case wrong. should = real bug callers will hit, in intent. nit = rest.
Reply:
VERDICT: APPROVE or CHANGES
S1 [blocker|should|nit] <file>:<line> <claim>. Fix: <suggestion> (stable ids)

3. Answer findings

Check each finding and severity yourself. Another path, rare case, or small cost is a nit, whatever label it came with.

  • Agree: smallest fix. Prefer delete or narrow over new lock, cache, helper, or option. Fix the case that happened. Add one focused test that fails without the fix, if intent needs it.
  • Disagree: say why, with evidence (file:line, test, output).
  • Out of scope or nit: decline in one line. List as follow-up.

Update the ledger. Re-run checks and git diff --shortstat <base>. If review grew the diff, cut first. Do not agree just to end the loop.

4. Next round

Start one only if budget remains and a blocker or should is open, behavior code changed, or approval does not cover the current behavior diff. Use a fresh delegate_task in T3, or follow up the saved native ID. Send the round 1 brief, the ledger (fixed: / disagree: / declined: + evidence), the same base diff, and the change since last round. Tell Sol: open ids and changed code only. Mark each old id resolved or still open: <reason>.

5. Stop and ship

Agreed: APPROVE on the current behavior diff, no blocker or should open, no concern of your own. Stuck: an item stays disputed after two replies, or budget ends. Show both sides in 2-3 lines each. The user decides. Budget end is not approval.

Do not push during the loop. Push after agreement only if the user asked to push, ship, or update the PR. If you push to a PR, add above the model blurb:

Reviewed with sol-loop: <N> rounds with <model>. Sol verdict: approved.

Add on <effort> only if verified.

Report: rounds, model, what Sol changed, diff size before/after, fixed and declined findings with reasons, usage if exposed (else say not), pushed or not.

Frequently asked questions

What does the Sol Loop AI skill do?

Use when the user says "sol loop".

Why use Sol Loop on TypingMind?

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

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

Which AI models can use Sol Loop?

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 Sol Loop?

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

Is the Sol Loop AI skill free?

Yes. It is published on GitHub by t3dotgg 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 👇