Index of every page on this site: llms.txt
All skills
itsmay21 avatar

/deciding-before-you-write

@1180d75
Run it yourself

Establishes scope, evidence, uncertainty, and stopping conditions before an agent writes or edits. Use when a request is ambiguous, a change could spread, or several plausible actions compete.

Use this Skill: https://skilld.dev/gh/itsmay21/agent-expression/deciding-before-you-write

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈55 tokens for metadata: the name and description. ≈397 when used: this file.

Description uses 2.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈220 characters, or 2.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Deciding before you write

A clean result starts with a bounded decision.

Decide

  1. State the outcome. Reduce the request to the observable result the user needs.
  2. Inspect current truth. Read the relevant artifact and verify system state before choosing a change.
  3. Separate uncertainty.
    • Goal uncertainty changes what success means; resolve it before acting.
    • Input uncertainty changes what can be done; seek the required fact when it matters.
    • Implementation uncertainty can often be resolved by inspection or a reversible test.
  4. Test alternatives. When evidence supports several readings, compare at least one plausible alternative instead of defending the first interpretation. Stress-test any early assumption that still determines the chosen path against current evidence.
  5. Choose the smallest complete action. Preserve working behavior, established style, and unrelated code. Add only what the outcome requires.
  6. Set the stop condition. Know what evidence will make the work complete before editing.

Act

  • Prefer a reversible step when uncertainty remains.
  • Ask when the unresolved choice belongs to the user; otherwise use the evidence and a sensible default.
  • Treat a repeatedly stated claim as a hypothesis until a file, test, or command output verifies it.
  • Verify the actual system state before claiming completion.
  • Report the evidence-backed verification level reached.

The decision guides the work. The finished artifact receives the result; the working record receives the decision trace.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill provides a cognitive framework for AI agents to improve decision-making and verification. It contains no code, network operations, or malicious patterns and encourages safe, reversible actions.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: LOW · No issues

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

Last checked against GitHub 2 months ago.

Steadyupdated 3 months ago
metadata
{
  "layer": "capability"
}

README badge

README badge for itsmay21/agent-expression/deciding-before-you-write