All skills
oaustegard avatar

/down-skilling

@5e58100

Distill Opus-level reasoning into optimized instructions for Haiku 4.5 (and Sonnet). Generates explicit, procedural prompts with n-shot examples that maximize smaller model performance on a given task. Use when user says "down-skill", "distill for Haiku", "optimize for Haiku", "make this work on Haiku", "generate Haiku instructions", or needs to delegate a task to a smaller model with high reliability.

Use this Skill: https://skilld.dev/gh/oaustegard/claude-skills/down-skilling

This session only. Nothing lands on disk.

gapsconditional-logic.md

≈341 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Conditional and Branching Logic

Opus: Handles nested if/then/else reliably. Evaluates compound conditions. Follows complex decision trees.

Haiku: Reliable with simple if/then. Degrades with:

  • Nested conditions (if A then if B then...)
  • Compound conditions (if A AND B OR C)
  • More than 3 branches

Mitigation: Flatten decision trees. One condition per step.

BAD (nested):
If the customer is premium AND the order is > $100 AND it's their
first return, waive the fee. Otherwise if they're premium but the
order is < $100, charge half fee. Otherwise charge full fee.

GOOD (flattened):
Step 1: Is customer premium? YES → go to Step 2. NO → charge full fee.
Step 2: Is order > $100? YES → go to Step 3. NO → charge half fee.
Step 3: Is this their first return? YES → waive fee. NO → charge half fee.

For complex branching, use a decision table:

| Premium? | Order > $100? | First return? | Action      |
|----------|---------------|---------------|-------------|
| YES      | YES           | YES           | Waive fee   |
| YES      | YES           | NO            | Half fee    |
| YES      | NO            | any           | Half fee    |
| NO       | any           | any           | Full fee    |

Find the first matching row. Apply that action.

Decision tables eliminate reasoning — Haiku just pattern-matches.

Source: SKILL.md on GitHub

No alerts12d4 checks · Risk SAFE
  • Gen Agent Trust Hub12d

    The skill provides guidelines and templates for optimizing AI prompts for smaller models by distilling complex reasoning into explicit procedures and many-shot examples. No security issues were detected.

  • Socket12d

    No alerts

  • Snyk12d

    Risk: LOW · No issues

  • Runlayer7mo

    2/37 files flagged

Signed by skilld at 5e58100. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 weeks ago
metadata
{
  "author": "Oskar Austegard and Opus",
  "version": "1.3.1"
}

README badge

README badge for oaustegard/claude-skills/down-skilling