behavioral-foundation

behavioral-foundation is a skill for Claude Code, Codex from andreaswasita/copilot-agents-dojo. It costs 17 tokens per session (1,243 once invoked), scanned A, original, MIT.

A built-in guide to the coding agent’s five mandatory behavior rules and required workflow. It keeps these rules available in the repository instead of leaving them only in setup files or prompts.

In plain words
What is it for?
Use it to review the agent’s core rules, restore them after context is shortened, and check whether a task can truly be called done.
Why use it?
It helps the agent remember its working rules at the start of a session, after a handoff, or after losing earlier context. It also provides a reference before declaring work finished.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to review the agent’s core rules, restore them after context is shortened, and check whether a task can truly be called done.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andreaswasita/copilot-agents-dojo/behavioral-foundation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add andreaswasita/copilot-agents-dojo --skill behavioral-foundation
Clone the repo
git clone --depth 1 https://github.com/andreaswasita/copilot-agents-dojo

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for behavioral-foundation

README.md
[![agentmods](https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/behavioral-foundation/github.svg)](https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/behavioral-foundation)
Your own site
<a href="https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/behavioral-foundation"><img src="https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/behavioral-foundation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for behavioral-foundation

Your own site · 80×15
<a href="https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/behavioral-foundation"><img src="https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/behavioral-foundation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,243 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01243
Opus 5 $0.00009 $0.00622
Sonnet 5 $0.00003 $0.00249
Haiku 4.5 $0.00002 $0.00124

Measured 10d ago against content hash afc168d0278d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

behavioral-foundation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/behavioral-foundation/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

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 Directive Enforced by
1 Never claim "done" without proof verify-before-done
2 Plan before non-trivial code plan-before-code
3 Isolate work on a branch/worktree using-git-worktrees
4 Make surgical, complete changes demand-elegance
5 Don't improvise around safety safety-guardrails

Mandatory pipeline (each arrow is a skill):

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.

Read the full file on GitHub · 103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 103 lines · 17 tokens per session scan A afc168d0278d

Subscribe to this mod's changes

behavioral-foundation is a skill published in the GitHub repository andreaswasita/copilot-agents-dojo (53 stars, last pushed 3d ago), licensed MIT. It adds 17 tokens to every session and 1,243 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

compliance

Use when scoping which regulatory frameworks bind a business — SOC 2, ISO 27001, HIPAA, PCI DSS, EU AI Act, DORA, NIS2 — building a control register with owners and evidence, or standing up the cadence that keeps it audit-ready. NOT drafting privacy-policy/ROPA/DPA or ToS text (that is gdpr-privacy, terms-conditions)…

ericrisco/rsc-harness · 96 tokens

conducting-cyber-risk-assessment-with-nist-800-30

Conduct a defensible cybersecurity risk assessment using the NIST SP 800-30 Rev 1 methodology: prepare scope and a risk model, identify threat sources and threat events, identify vulnerabilities and predisposing conditions, determine likelihood and impact, compute risk, and communicate results as a prioritized risk…

adriannoes/awesome-agentic-ai · 219 tokens

implementing-gdpr-data-protection-controls

The General Data Protection Regulation (EU) 2016/679 (GDPR) is the EU's comprehensive data protection law governing the collection, processing, storage, and transfer of personal data. This skill cover.

adriannoes/awesome-agentic-ai · 52 tokens

decision-ledger

A session record for tracking unresolved decisions and drafting them into `.governance/claims/` when they are settled. It preserves both the decision and the reason behind it.

johnrucnapier-sketch/ACGM-for-Claude-Code · 99 tokens

governance-bootstrap

A guided checklist for creating a project's governance system from scratch when no governance exists.

johnrucnapier-sketch/ACGM-for-Claude-Code · 107 tokens

session-grounding

A session-start procedure for checking the current facts, scope, and work track in a governed project before taking action.

johnrucnapier-sketch/ACGM-for-Claude-Code · 105 tokens