specify

specify is a skill for Claude Code, Codex from contract-hero/sui-pilot. It costs 174 tokens per session (9,559 once invoked), scanned A, original, MIT.

A guided workflow for writing formal specifications for externally reachable functions in a Sui Move package. Sui Move is the programming language used for packages on the Sui blockchain, and formal specifications state conditions that code must satisfy.

In plain words
What is it for?
Use it to specify and verify public functions and entry points in a Sui Move package. It creates sibling specification packages and produces prover-checkable requirements.
Why use it?
It keeps verification code separate from the production package, so deployed source remains unchanged. It also uses the Sui Prover to check the stated conditions.

Skill for Claude CodeCodex

Part of the sui-pilot plugin — 6 skills, 6 commands, 1 agent shipped together

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 skills/contract-hero/sui-pilot/specify
Any agent
npx skills add contract-hero/sui-pilot --skill specify
Clone the repo
git clone --depth 1 https://github.com/contract-hero/sui-pilot

Made for: Claude Code, Codex.

Or install sui-pilot, the plugin that ships this one along with the rest of its 6 skills, 6 commands, 1 agent.

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 specify

README.md
[![agentmods](https://agentmods.dev/badge/skills/contract-hero/sui-pilot/specify.svg)](https://agentmods.dev/skills/contract-hero/sui-pilot/specify)
Your own site
<a href="https://agentmods.dev/skills/contract-hero/sui-pilot/specify"><img src="https://agentmods.dev/badge/skills/contract-hero/sui-pilot/specify.svg" alt="Measured on agentmods" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,559 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.00174 $0.09559
Opus 5 $0.00087 $0.04779
Sonnet 5 $0.00035 $0.01912
Haiku 4.5 $0.00017 $0.00956

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

Security

Grade A, and why

specify 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 4d 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/specify/SKILL.md · 446 lines

How it starts

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

Specify — formal specifications for Sui Move

Doc-First Requirement. Read .sui-prover-docs/ before drafting any spec. The Sui Prover spec language is not the legacy Move Prover MSL — it uses #[spec(prove)], requires, ensures, asserts (positive abort form), and the macros clone!, forall!, exists!, invariant!. It does NOT use aborts_if, pragma, apply, assume, or free axiom. Verify any construct against .sui-prover-docs/guide/spec-reference.md before emitting it.

Deliverable shape (read first)

/specify ships three artifacts, not one. This is the load-bearing architectural decision (docs/specify-deliverable-design.html, learning L1, validated against ~/workspace/integer-library):

  1. The production package — left pristine. No #[spec_only], no prover dependency, no marker blocks. Verification scaffolding never touches deployed source.
  2. One or more spec packages. A sibling <pkg>_specs/ package holds #[spec(prove, target = <pkg>::<mod>::<fn>)] twins, one <mod>_specs.move per source module. A function that needs a custom prover invocation (e.g. --no-bv-int-encoding for bit-exact semantics) goes in a second package <pkg>_specs_bv/ (Phase 4.6).
  3. The report + manifest. A self-contained HTML report (invariant-driven, per Phase 5) plus spec-context.json binding each spec to its source state, dep pins, toolchain versions, and per-package prover flags.

The legacy inline layout (specs in the production .move between markers) is now opt-in only via --inline, for single-module throwaway packages where a sibling package is overkill. Default is always the separate package.

Non-interactive (eval) mode

This skill is interactive by default — every gate runs through AskUserQuestion. Non-interactive mode activates via either of two triggers:

  1. Environment-flag trigger. Before doing anything else, run echo "${SPECIFY_AUTO_DEFAULTS:-}" via Bash. If the output is exactly 1, this run is in non-interactive mode (typically because evals/run-comparison.sh or a similar headless rig is driving it).
  2. Verbal-directive trigger. The user has explicitly said something like "don't stop", "don't pause", "work autonomously", "no questions", "proceed without asking", or "no-pause" in the current conversation. A Stop hook with an autonomy-oriented condition counts as such a directive.

Read the full file on GitHub · 446 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 446 lines · 174 tokens per session scan A 23c8490b1e67

Subscribe to this mod's changes

specify is a skill published in the GitHub repository contract-hero/sui-pilot (10 stars, last pushed 3d ago), licensed MIT. It adds 174 tokens to every session and 9,559 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens