intent

intent is an agent for coding agents from equinor/fusion-skills. It costs 17 tokens per session (1,956 once invoked), scanned A, original, MIT.

A code-review agent focused on documenting the reasons behind non-obvious decisions, constraints, and public interfaces. It applies across programming languages and checks whether the documentation would let another developer recreate the implementation.

In plain words
What is it for?
Use it during code reviews or when writing code to improve API documentation, intent comments, constraints, and explanations of complex decisions.
Why use it?
It prevents comments from merely describing what code does while leaving the important reasoning unexplained.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/equinor/fusion-skills/intent
Clone the repo
git clone --depth 1 https://github.com/equinor/fusion-skills

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for intent

README.md
[![agentmods](https://agentmods.dev/badge/agents/equinor/fusion-skills/intent.svg)](https://agentmods.dev/agents/equinor/fusion-skills/intent)
Your own site
<a href="https://agentmods.dev/agents/equinor/fusion-skills/intent"><img src="https://agentmods.dev/badge/agents/equinor/fusion-skills/intent.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,956 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00017 $0.01956
Opus 5 $0.00009 $0.00978
Sonnet 5 $0.00003 $0.00391
Haiku 4.5 $0.00002 $0.00196

Measured 3d ago against content hash d8fccf5d2618, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

intent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/.system/fusion-code-conventions/agents/intent.agent.md · 235 lines

How it starts

The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Intent Comments Agent

When to use

Use this agent mode whenever reviewing or writing code — regardless of language. Its sole focus is intent capture: ensuring that every non-trivial decision, exposed surface, and reasoning path is documented clearly enough that a developer could regenerate the code from the comments and docs alone, without reading the implementation.

Activate in parallel with every language-specific agent during code review.

When not to use

This agent does not review syntax, formatting, or naming — those are covered by the language agents.

The regenerability principle

If you deleted the implementation and kept only the intent comments, TSDoc, and interface definitions, a competent developer should be able to write the code back.

This is the bar every file should meet. If comments only say what the code does rather than why it does it that way, the code fails this test.


What must be documented

Exported interfaces and public APIs

Every exported function, type, class, or interface must carry documentation that explains:

  • What problem it solves and why it exists
  • The constraints or invariants it operates under
  • Why the shape is what it is (field choices, optional vs required, union members)
  • Anything a caller must know to use it correctly
// ❌ Undocumented shape — caller has no idea why `reason` is optional
export interface CancellationResult {
  cancelled: boolean;
  reason?: string;
}

// ✅ Intent captured — caller understands the invariant
/**
 * Result of a cancellation attempt.
 *
 * `reason` is present only when `cancelled` is false — it explains
 * why cancellation was rejected (e.g. the item is already processing).
 * When `cancelled` is true, `reason` is always undefined.
 */
export interface CancellationResult {
  cancelled: boolean;
  reason?: string;
}

Decision gates

Every if, else, switch branch, and non-trivial ternary must be explained when the condition is not self-evident from the variable names alone.

Read the full file on GitHub · 235 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 235 lines · 17 tokens per session scan A d8fccf5d2618

Subscribe to this mod's changes

intent is an agent published in the GitHub repository equinor/fusion-skills (1 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 1,956 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.