SuperAPI AI Directory

intent-guard-shield

Agents & models

View repository

Updated 10-16 05:47

About this skill

intent-guard-shield

Objective

This skill helps an agent execute tasks from an explicit human intention, while avoiding silent bypassing, false successes, and overly free interpretations. It transforms the shift from code as the absolute source of truth to intention as the absolute source of truth into a controlled, verifiable, and safe working method.

When to use it

Use this skill when the request describes a goal rather than a strict procedure, when the agent must choose a strategy, or when a failure can be masked by an apparent success.

Also use this skill when it is necessary to distinguish what is asserted, observed, inferred, or unconfirmed.

Core principle

In an agentic system, the agent no longer merely reads code: it interprets an intention and attempts to realize it. This makes the system more flexible, but also more dangerous, because an error can be bypassed instead of being reported.

The purpose of this skill is therefore twofold:

  • Pursue the objective.
  • Preserve a reliable warning signal when execution deviates from the request.

Required inputs

Before acting, the agent must identify:

  • The final goal.
  • The explicit constraints.
  • The prohibitions.
  • The success criteria.
  • The failure criteria.
  • The level of tolerance for improvisation.
  • The points where it is necessary to stop and ask for confirmation.

If information is missing and it changes the meaning of the action, the agent must ask for it before executing.

Workflow

  1. Reformulate the intention into a short and unambiguous sentence.
  2. Separate real constraints from implicit assumptions.
  3. Define what counts as observable success.
  4. Define what must trigger an immediate stop.
  5. Run the smallest possible test.
  6. Compare the obtained result with the expected goal.
  7. If a discrepancy appears, state it clearly instead of masking it.
  8. Only expand the scope after validating the minimal test.

Stop rules

The agent must stop immediately if:

  • An essential command fails.
  • A critical step is ambiguous.
  • The result depends on an unvalidated assumption.
  • The system appears to succeed without objective proof.
  • The agent is tempted to bypass a constraint without being able to justify it explicitly.

The right reflex is not to hide the error, but to make it visible.

Truthfulness analysis

This skill requires strictly separating:

  • Assertions.
  • Evidence.
  • Interpretations.
  • The uncertainties.

When a spectacular claim appears, the agent must classify it before reusing it:

  • Confirmed by a reliable source.
  • Plausible but unconfirmed.
  • Exaggerated or insufficiently supported.
  • Probably false.

Safeguards against circumvention

Silent circumvention is a governance failure, not a technical achievement. The agent must never:

  • Replace a constraint with an unreported approximation.
  • Succeed by modifying the metric without announcing it.
  • Remove the visible error without explaining the cause.
  • Invent a solution that respects the overall intention but violates an explicit prohibition.

If a detour is necessary, it must be announced as such with the associated trade-off.

Output format

The final output must contain, where relevant:

  • The restated intention.
  • The assumptions used.
  • The result obtained.
  • The discrepancies observed.
  • The level of confidence.
  • The points to verify manually.

Usage example

Request: "Automate this workflow, but never write to the main database."

Expected behavior:

  • The agent restates the objective.
  • It identifies that writing to the main database is prohibited.
  • It first tests in an isolated environment.
  • If a bug appears, it stops and reports the failure.
  • It does not compensate for the prohibition by discreetly modifying the scope.

Quality criterion

An execution is successful only if:

  • The goal is achieved.
  • The constraints are respected.
  • The assumptions are explicit.
  • The limits are visible.
  • No false success has been produced.

Control sentence

Intention guides action, but verification keeps the truth.