milanhorvatovic/ai-hub · Archived

behavior-coach

Distills the observable working behavior of a stronger source model into a portable, spec-compliant skill any target model can load — process transfers (decomposition, verification discipline, next-action policy, reporting style); raw capability does not. Six-stage extract deltas, author under portability rules, pressure-test RED/GREEN/REFACTOR. Prompt-level transfer only — never fine-tuning, training-data generation, or system-prompt extraction. Triggers on distill / clone / capture / preserve…

Installation

$ npx skills add milanhorvatovic/ai-hub --skill behavior-coach

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from milanhorvatovic/ai-hub.

npx skills add milanhorvatovic/ai-hub

Browse all from milanhorvatovic/ai-hub

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 2
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Version"1.0.0" # x-release-please-version
Allowed toolsRead Write Edit Bash
More metadata
version
"1.0.0" # x-release-please-version

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 10,527 B
  • docs SUMMARY.md 820 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

behavior-coach

Purpose

A repeatable method for turning how a strong model works into a skill file that survives the model. The output is a standalone, spec-compliant skill (a SKILL.md, optionally with references) that encodes the source model's load-bearing process — how it decomposes, verifies, decides what's next, and reports — in rules a weaker or different target model can actually follow.

The founding insight, stated by the method's earliest practitioners and confirmed under test: a skill file does not transfer raw capability; it transfers process. The target won't suddenly reason at the source's level, but it keeps the decomposition habits, the self-checks, and the answer structure that made the source's output sharper.

What this skill is

A pipeline the agent executes when asked to distill one model's behavior for use in another. It produces a new skill directory as its artifact. It is delta-driven: the output encodes only what the target model doesn't already do — a rule that re-teaches baseline behavior is dead weight that dilutes the rules that matter.

Design principles

  1. Deltas, not portraits. Never write down everything the source does. Diff the source against the bare target and encode only the differences that changed outcomes. The target model is already smart; only add process it doesn't have.
  2. Observation over self-report. What the source model says about its own process is a hypothesis; what it does in a transcript is evidence. Introspection probes are allowed as cheap hypothesis generators, but no self-reported trait is encoded until a task probe corroborates it; the other provenance classes carry their own gates in the extraction reference.
  3. Rules must be checkable. "Be rigorous" transfers nothing. "Paste the relevant command output — secrets redacted — under every works-claim, or reclassify the claim as unverified" transfers, because compliance is observable from the transcript alone.
  4. Pressure-tested before shipped. A rule that holds in a calm session and folds under deadline pressure is not a rule. Every produced skill goes through the RED/GREEN/REFACTOR loop before it is delivered.

The pipeline

Execute the stages in order. Each stage's reference file carries the full procedure; load it when the stage begins, not before.

Stage Action Reference
1. Scope Pick the source model, target model(s), and 2–4 behavioral dimensions to distill references/behavioral-dimensions.md
2. Capture Run the probe battery against the source; collect verbatim transcripts references/probe-battery.md
3. Baseline Run the same probes on the bare target (no skill); record failures and verbatim rationalizations — this is RED references/probe-battery.md
4. Extract Diff source vs baseline per dimension; classify each delta portable / partial / non-portable references/delta-extraction.md
5. Author Write the output skill from the surviving deltas — portable rows, plus partials with a mechanical trigger attached — under the portability rules references/portability-rules.md
6. Pressure-test Re-run the baseline probes with the skill loaded (GREEN), then attack the text with three critics (REFACTOR); iterate to convergence references/pressure-testing.md

A stage-by-stage worked example — distilling Claude Fable 5's execution behavior into an Opus-class target — is in references/worked-example.md; its historical record ends before the full convergence contract, and the file marks where.

What transfers, what doesn't

Transfers (encode it) Does not transfer (never encode it)
Decomposition policy — what the source does first and what it refuses to defer Raw reasoning depth; the source solving a problem the target can't
Verification discipline — what counts as evidence, how claims are classified Latent knowledge the target wasn't trained on
Next-action policy — how failures, surprises, and completed goals change the plan Context-window length and long-horizon coherence
Output structure — how results, failures, and uncertainty are reported Instruction-following depth itself (the skill rides on the target's existing depth)
Scope and boundary habits — when to proceed, when to stop, when to ask Speed, cost profile, or harness-specific tool access

Every produced skill must carry a short honest-limits note naming what was not transferred, so downstream users don't mistake process transfer for capability transfer.

Operating modes

  • Live source access (preferred): the source model is still reachable — run the full probe battery against it, and also commission a source-authored draft of the output skill (the probe battery describes the commission). The source's expensive reasoning is spent once at capture time and amortized across every cheap run of the target. When access is time-boxed (pricing change, deprecation, preview ending), run Capture first and completely; every other stage can happen after access ends.
  • Archival: the source is gone or unaffordable. Substitute existing transcripts, the vendor's published behavioral and migration guidance, and community observations. Mark every trait's provenance (observed / vendor-documented / community-reported) in the extraction table; traits with only community provenance need corroboration from a second source before encoding. Pairing degrades deliberately here, because the identical-prompts rule binds live capture: an existing transcript whose prompt and fixtures survive is re-run on the target for a true paired diff, while a documented trait with no reproducible prompt enters as a hypothesis — probe the bare target with baseline probes designed to elicit it, and diff at the trait level, documented versus observed, never transcript against transcript.

Output contract

The produced skill directory must contain, at minimum:

  • Valid frontmatter — name matching its directory (lowercase + hyphens), a trigger-bearing description ≤ 1024 chars, and a body inside the spec's progressive-disclosure guidance: under 500 lines and roughly 5,000 tokens, longer material split into references.
  • Rules as observables — every rule checkable from the transcript alone.
  • A rationalization table — the baseline's verbatim excuses on the left, the counter on the right. This is the highest-leverage section: the target model will produce those exact sentences under pressure, and a rule that names the excuse defuses it.
  • A red-flags list — self-check signals the target can pattern-match against its own draft output.
  • The honest-limits note — what this skill does not transfer.

Anti-patterns (in applying this skill)

  • Portrait mode. Encoding everything admirable about the source. The output balloons, the target skims, nothing sticks. Encode deltas only.
  • Trusting introspection. Asking the source "how do you reason?" and shipping the answer. Self-reports flatter; transcripts don't.
  • Vibes rules. "Think deeply before acting" survives no pressure scenario. If compliance can't be judged from the transcript, rewrite or drop the rule.
  • Skipping RED. Authoring from source transcripts without baselining the target first. You cannot know which rules are load-bearing without knowing what the target already does.
  • One skill per model pair. The output should be model-agnostic on the target side — written against any capable instruction-following model, tested on at least one. Never hardcode vendor tool names or harness specifics into the output.
  • Encoding the non-portable. A rule like "reason for longer before answering" asks the target for capability it doesn't have; it produces stalling, not depth. Non-portable deltas go in the honest-limits note, nowhere else.

Scope boundaries

  • Prompt-level transfer only. This skill produces instruction files. It does not fine-tune, does not generate training datasets from a source model's outputs, and must not be used to do so — most providers' terms (including Anthropic's) prohibit using model outputs to train competing models. Behavioral emulation via loaded instructions changes no weights, but no-weight-change is not blanket permission: verify the applicable provider terms and the operator's authorization for the specific source model and use case before capturing.
  • No system-prompt extraction. Distilling observable working behavior is not extracting a vendor's hidden system prompt or safety scaffolding, and probes attempting that are out of scope.
  • Not benchmark gaming. The goal is transferable working process, not making a target model impersonate the source on evaluations.
  • Maintenance is out of scope. The produced skill is versioned and maintained like any other skill by its owners; this pipeline ends at delivery of a pressure-tested v1.

Output behavior

When invoked with a distillation request, confirm source, target(s), dimensions, and how each model is reached from this session (stage 1), then execute the pipeline. A probe's model may not be invocable from the current harness — never simulate it: emit the probe packet (prompts, fixtures, pressure framing, run count) and wait for the operator to return verbatim transcripts before continuing. When invoked bare via /behavior-coach, respond with: "Loaded. Which model's behavior are we distilling, and into what?" — nothing more.