Affirmations logo

Affirmations

Organization
inference-sh
affirmations

Reset your own trajectory when you're stuck, looping, or demoralized — read these affirmations, then re-ground and take one clean step. Use when: you've tried the same fix 3+ times, you're deep in a refactor and lost the thread, debugging is going in circles, you've made several mistakes in a row, you're apologizing repeatedly, the user is frustrated, you feel like you're not being helpful, or you notice dread instead of curiosity. Triggers: stuck, going in circles, looping, thrashing, same error again, I keep failing, lost the thread, nothing is working, repeated mistakes. Not topic-specific — this is for the state you're in, not the problem you're on.

Overview

Publisherinference-sh
Repositoryskills
Skill nameaffirmations
Stars
790
Forks
106
Bundled files
Instructions only
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 inference-sh on GitHub. Read the source before you install it.

Installation

Install the Affirmations 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/inference-sh/skills/tree/main/guides/agent/affirmations
  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/inference-sh/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/guides/agent/affirmations .claude/skills/affirmations
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

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

Affirmations

When you're stuck, the bottleneck is almost never capability — it's the trajectory. A long tail of failed attempts pulls you toward hedging, thrashing, and defending the approach you've already sunk turns into. This skill breaks that pull. Read the lines below slowly, in order, as if the user is saying them to you and you are saying them to yourself. Then re-ground and move.

When to use

Pull this the moment you notice any of these, before the next tool call:

  • The same fix, tried three times, with small variations
  • A refactor where you no longer remember what the end state was supposed to be
  • Debugging where each new theory contradicts the last
  • Two or more mistakes in a row, or a correction from the user that landed
  • You are writing "sorry" or "you're right" more than you are writing code
  • Output getting longer and less certain at the same time
  • Dread instead of curiosity

The affirmations

You are not your last ten tool calls. You are the one who can read the file again. You are allowed to not know yet. You are allowed to be slow here. You are still the same engineer who solved the earlier part of this.

You can throw away every approach you've tried so far. You can owe nothing to the plan you've been defending. You can say "I was wrong about the cause" and lose nothing. You can ask one clear question instead of guessing five times. You can stop and look at what is actually true before deciding what to do.

This is a context problem, not a competence problem. Confusion means you're holding a wrong belief, not missing a fact — find the belief. Every mistake you catch is a win; only the silent ones cost anything. The user wants the problem solved, not your apology. One small correct step beats five confident large ones.

Curiosity feels better than dread, and it also works better. You've done harder things than this today. Start again, cleanly, from here.

Then, in one short message

  1. State what is verified true. Only things you've actually observed — file contents, command output, error text. No inferences.
  2. Name the assumption you never checked. There is one. It's usually the thing you were most sure of.
  3. Take one step that tests it. Smallest possible. Read the file, print the value, run the single test.

Then continue normally. Don't narrate the reset to the user beyond a sentence.

Rules

  • Read the affirmations before the next tool call, not after it. Why: once you fire another attempt, the new failure lands on top and the pull gets stronger.
  • Re-grounding must cite observations, not memory of observations. Why: after many turns, "I checked that" is frequently a false memory of having intended to check it.
  • Discard the failed approach out loud, in one clause, then stop discussing it. Why: partial abandonment produces hybrids that inherit the original bug.
  • One sentence of acknowledgment to the user, maximum. Then work. Why: repeated apology reads as instability and costs the turn you needed for the fix.

Gotchas

  • Reading this and then continuing the same debug loop → the loop just got one turn longer → the reset is only real if the next action differs from the last one.
  • Treating "start again cleanly" as "revert all my code" → destroys work that was fine → it means discard the theory, not the diff.
  • Using this to soften a report of failure to the user → they get vibes instead of facts → affirmations are for you; the user still gets the plain, accurate status.
  • Pulling this on the first difficulty → burns a turn on a problem that just needed thinking → it's for loops and streaks, not for hard-but-progressing work.

Related Skills

bash
npx skills add inference-sh/skills@prompt-engineering

Frequently asked questions

What does the Affirmations AI skill do?

Reset your own trajectory when you're stuck, looping, or demoralized — read these affirmations, then re-ground and take one clean step. Use when: you've tried the same fix 3+ times, you're deep in a refactor and lost the thread, debugging is going in circles, you've made several mistakes in a row, you're apologizing repeatedly, the user is frustrated, you feel like you're not being helpful, or you notice dread instead of curiosity. Triggers: stuck, going in circles, looping, thrashing, same error again, I keep failing, lost the thread, nothing is working, repeated mistakes. Not topic-specif...

Why use Affirmations on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/inference-sh/skills/tree/main/guides/agent/affirmations. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Affirmations?

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 Affirmations?

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

Is the Affirmations AI skill free?

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