---
name: instruction-calibration
description: "Read before empirically tuning a reusable skill or agent prompt."
last-changed: "2026-09-24"
title: instruction-calibration
canonical_url: https://skilld.dev/gh/igorwarzocha/howaboua-pi-stuff/instruction-calibration
last_updated: 2026-10-01T20:03:55.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install igorwarzocha/howaboua-pi-stuff/instruction-calibration`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/instruction-calibration`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/igorwarzocha/howaboua-pi-stuff/instruction-calibration) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/instruction-calibration`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/instruction-calibration --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/instruction-calibration --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

For reusable skill structure, also load an applicable skill-authoring skill.

## Define the comparison

- Start with a real request, observed failure, or durable correction. Name the consequential choice to change and what must stay unchanged.
- Use the natural request, its closest decision boundary, and an unrelated non-use case. Do not put the desired solution into the task.
- Separate remembered knowledge from productive performance. A closed-book probe can expose stale assumptions, but the working baseline should have the docs and source normally available. Verify generated work against the active API and execute relevant checks. Plausible output is not correctness.

## Control the layers

- Inspect current harness help. Start with few local instruction layers, record what remains, then restore docs access, repository context, and skills deliberately. These discovery runs are not isolated instruction comparisons when several variables change.
- For Pi, `pi -nc -ns -ne` disables discovery, not an agent's ability to read instruction files. Inspect actual reads and loaded prompt layers. Exclude contaminated baselines or restrict instruction-file access equally in both arms.
- Compare fresh sessions with identical model, reasoning, tools, cwd, task, and available files. Change only the candidate instruction. Keep follow-ups and reloads for exploration, not clean baseline evidence.
- Test the one-shot output before coaching. Do not credit corrections from a follow-up to the original instruction.
- Finish with the normal worker environment to check skill selection and conflicting layers. Treat that as integration evidence, not an isolated comparison.

## Run with the agreed supervision

Use visible sibling sessions when available, preserving cwd and user focus. Consult current harness controls rather than embedding launch recipes. Keep only active comparisons open.

For an interactive comparison, let each meaningful run finish and pause for the user to inspect it before changing the candidate. When the user delegates evaluation, run, judge, refine, and clean up autonomously. Report evidence at completion instead of requiring approval between probes. Human UX preference still needs the user's judgment.

## Tune and verify

- Judge choices, actions, omissions, and useful output, not polish or identical wording. Separate instruction effects from model defaults, missing context, ambiguity, and local policy.
- One unusually good or bad run is weak evidence. Repeat when disposition depends on stability, not to eliminate harmless variance. Repair underspecified tasks instead of enlarging reusable guidance.
- Change one coherent boundary. Prefer the smallest condition and action. Keep inaccessible facts and local decisions. Do not teach a specialist its own discipline. Add examples only to resolve demonstrated ambiguity.
- Rerun the same probes after compression, especially the closest collision. Reject new ceremony, eager routing, or regressions on non-use. For each retained line, identify the concrete failure its removal restores. Otherwise cull it.

Finish with the baseline, observed delta, active API verification, token change, final instruction change, and unresolved variance. For efficiency comparisons, use existing whole-task usage when available, including retries and workers. Text-token reductions alone do not establish task-cost savings. Do not turn model-compliance probes into permanent programmatic tests.
