Behavioral Foundation logo

Behavioral Foundation

Community
andreaswasita
behavioral-foundation

Surfaces the dojo's non-negotiable prime directives.

Overview

Publisherandreaswasita
Repositorycopilot-agents-dojo
Skill namebehavioral-foundation
Stars
54
Forks
15
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 andreaswasita on GitHub. Read the source before you install it.

Installation

Install the Behavioral Foundation 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/andreaswasita/copilot-agents-dojo/tree/main/skills/behavioral-foundation
  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/andreaswasita/copilot-agents-dojo.git /tmp/copilot-agents-dojo
mkdir -p .claude/skills
cp -r /tmp/copilot-agents-dojo/skills/behavioral-foundation .claude/skills/behavioral-foundation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Behavioral Foundation 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 Behavioral Foundation 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 Behavioral Foundation 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.

Behavioral Foundation Skill

Makes the dojo's behavioral charter — the five non-negotiable prime directives and the mandatory workflow pipeline — a discoverable, installed skill instead of rules buried in AGENTS.md or the runtime prompt. Does NOT re-teach each discipline (those are their own skills); it states the why and what the other skills enforce, so the foundation travels with the repo and survives context compaction.

When to Use

  • At session start, alongside using-superpowers, to load the non-negotiables.
  • Whenever you are tempted to skip a step ("I'll just commit to main this once").
  • After context compaction or a handoff, to re-anchor on the prime directives.
  • When a user or another agent asks "what rules does this agent follow?".
  • Before claiming any task is "done" — Directive 1 is the gate.
  • NOT as a substitute for the specific discipline skills it summarizes.

Prerequisites

  • The dojo is installed (skills/, tasks/, spec/).
  • The view, edit, and powershell Copilot tools for inspecting state.
  • git available to confirm branch and working-tree state.

How to Run

text
1. Read the five Prime Directives below — they are non-negotiable.
2. Confirm the mandatory pipeline applies to the task at hand.
3. Hand off to the specific discipline skill for the current phase.
4. Use the Verification checklist before any "done" claim.

Quick Reference

#Prime DirectiveEnforced by
1Never claim "done" without proofverify-before-done
2Plan before non-trivial codeplan-before-code
3Isolate work on a branch/worktreeusing-git-worktrees
4Make surgical, complete changesdemand-elegance
5Don't improvise around safetysafety-guardrails

Mandatory pipeline (each arrow is a skill):

text
BRAINSTORM → WORKTREE → PLAN → EXECUTE → TEST → REVIEW → FINISH → LEARN

Procedure

Step 1: The Five Prime Directives

  1. Never claim "done" without proof. Evidence = the repo's own tests/build pass, the diff was reviewed, and the working tree is clean. No proof, not done.
  2. Plan before non-trivial code. Any task of ~3+ steps gets a written plan in tasks/todo.md first, confirmed before executing.
  3. Isolate the work. Use a feature branch or worktree; never commit straight to main. Confirm a clean test baseline before changing anything.
  4. Make surgical changes. Fix the request, not unrelated code. A complete, correct solution beats a minimal one; neither over-engineers.
  5. Don't improvise around safety. No secrets in code, no unpinned supply-chain sources, no destructive git/file operations without explicit confirmation.

Step 2: Apply the Mandatory Pipeline

For any non-trivial task, walk the pipeline and activate the owning skill at each phase. Skip a phase only for genuinely trivial work, and say so:

  • Brainstorm → brainstorming (refine the design via a few sharp questions).
  • Worktree → using-git-worktrees (isolate; confirm a green baseline).
  • Plan → plan-before-code (checkable tasks in tasks/todo.md).
  • Execute → executing-plans (one task at a time; commit per logical unit).
  • Test → test-writing (RED → GREEN → REFACTOR for each behavioural change).
  • Review → requesting-code-review (self-review the diff before anyone else).
  • Finish → finishing-a-development-branch (present merge options; clean up).
  • Learn → self-improvement (capture any correction so it isn't repeated).

Step 3: Verify Against the Repo-Native Standard

There is no universal verifier. Discover the host repo's commands in order:

  1. Documented commands (README, CONTRIBUTING, Makefile, package manifests, CI workflow).
  2. Detected-stack defaults (the repo's test/build/lint runner).
  3. At minimum: build succeeds, tests pass, linter clean, git status clean, diff reviewed.

Run the checks with the powershell tool and record the evidence.

Pitfalls

  • DO NOT treat any directive as optional "just this once" — the exception is the failure.
  • DO NOT duplicate the discipline skills here. This skill is the charter; the depth lives in each owning skill.
  • DO NOT claim done from intent. A passing-looking change is not a verified one — show the evidence (Directive 1).
  • DO NOT invent new tooling to satisfy the verification standard. Use what the host repo already ships.
  • DO NOT improvise around a safety stop. Destructive operations require explicit human confirmation (Directive 5).

Verification

  • All five Prime Directives were acknowledged for the session.
  • The mandatory pipeline phase for the current work was identified and its owning skill activated.
  • The repo-native verification commands were discovered and run (not invented).
  • No "done" claim was made without recorded evidence (tests, diff, clean tree).

Frequently asked questions

What does the Behavioral Foundation AI skill do?

Surfaces the dojo's non-negotiable prime directives.

Why use Behavioral Foundation on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/andreaswasita/copilot-agents-dojo/tree/main/skills/behavioral-foundation. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Behavioral Foundation?

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 Behavioral Foundation?

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

Is the Behavioral Foundation AI skill free?

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