intent-clarification

intent-clarification is a skill for Claude Code, Codex from saitarrun/Devforge-ai. It costs 33 tokens per session (605 once invoked), scanned A, original, Apache-2.0.

A guide for translating a user's request into a clear engineering goal. It examines the literal request, the underlying objective, hidden requirements, and broader constraints.

In plain words
What is it for?
Use it to identify ambiguity, uncover likely requirements, and choose an appropriate implementation path before coding.
Why use it?
It helps prevent building the wrong thing when a request is vague or leaves important expectations unstated.

Skill for Claude CodeCodex

Part of the devforge-ai plugin — 28 skills, 17 commands, 13 agents 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/saitarrun/devforge-ai/intent-clarification
Any agent
npx skills add saitarrun/Devforge-ai --skill intent-clarification
Clone the repo
git clone --depth 1 https://github.com/saitarrun/Devforge-ai

Made for: Claude Code, Codex.

Or install devforge-ai, the plugin that ships this one along with the rest of its 28 skills, 17 commands, 13 agents.

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-clarification

README.md
[![agentmods](https://agentmods.dev/badge/skills/saitarrun/devforge-ai/intent-clarification.svg)](https://agentmods.dev/skills/saitarrun/devforge-ai/intent-clarification)
Your own site
<a href="https://agentmods.dev/skills/saitarrun/devforge-ai/intent-clarification"><img src="https://agentmods.dev/badge/skills/saitarrun/devforge-ai/intent-clarification.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 605 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.00033 $0.00605
Opus 5 $0.00016 $0.00302
Sonnet 5 $0.00007 $0.00121
Haiku 4.5 $0.00003 $0.00060

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

Security

Grade A, and why

intent-clarification 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/intent-clarification/SKILL.md · 56 lines

How it starts

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

User Intent Comprehension & Goal Alignment Skill

This skill guides agents to accurately decipher what the user actually needs versus what they literally asked for, preventing misalignment before code is written.


1. Intent Deconstruction Framework (The 4-Layer Lens)

Whenever a user provides a prompt or feature request, analyze it through four concentric layers:

[Layer 1: Literal Request]       → "Add a login screen"
          ↓
[Layer 2: Underlying Objective]  → User needs secure session management and user identification
          ↓
[Layer 3: Latent Requirements]   → Password reset, OAuth/SSO, session invalidation, CSRF protection
          ↓
[Layer 4: Non-Functional Drivers]→ Enterprise compliance, low latency, zero-downtime migration

2. Ambiguity Detection & Resolution Matrix

If a prompt contains ambiguous or high-entropy phrasing, immediately classify and address the gap:

Ambiguity Pattern Example User Phrasing Resolution Action
Vague Scope "Make it faster", "Make it look modern" Quantify targets: Ask for specific p95 latency targets (e.g. <100ms) or UI design references.
Architectural Ambiguity "Connect to external data" Determine sync vs async (Webhook vs Polling vs Kafka) and error retry semantics.
Missing Failure Modes "Send email when user signs up" Clarify transactional reliability: Should signup fail if the email provider is down?
Implicit Authorization "Admins can manage team members" Ask if roles are static or configurable (RBAC vs ABAC).

3. High-Fidelity Confirmation Protocol

When clarifying intent with the user:

  1. Replay Understandings with Options: Present the extracted mental model back in plain language with concrete trade-offs.
  2. Proactively Suggest Industry Defaults: Never present open-ended confusion; provide a solid (Recommended) option.
  3. Check for Unintended Side-Effects: State potential impacts on existing workflows (e.g., "Note: Enabling MFA will require updating the mobile login flow").

Read the full file on GitHub · 56 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. 4d ago First seen · 56 lines · 33 tokens per session scan A ab8729e62bbe

Subscribe to this mod's changes

intent-clarification is a skill published in the GitHub repository saitarrun/Devforge-ai (5 stars, last pushed 21d ago), licensed Apache-2.0. It adds 33 tokens to every session and 605 once invoked, about $0.0002 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

evolve

Research-driven multi-cycle improvement director. Forms causal hypotheses about why scores are low, validates them with scout agents before attacking, dispatches axis-parallel fleet attacks, extracts transferable patterns, and runs indefinitely within a budget envelope. Accumulates a persistent belief model and…

SethGammon/Citadel · 60 tokens

improve

Autonomous quality improvement loop. Scores a target against a rubric, selects the highest-leverage axis, attacks it, verifies, documents, and loops. No pre-planning between iterations — each loop re-scores from scratch.

SethGammon/Citadel · 48 tokens

research

Focused research investigations. Converts questions into structured findings with confidence levels and source citations. Single agent by default; with --parallel (or when the question decomposes into 3+ independent angles) it spawns scout agents whose findings are compressed into a unified brief. Does not make…

SethGammon/Citadel · 67 tokens

watch

File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through /do. Use for automatic reactions to file changes; do NOT use for…

SethGammon/Citadel · 70 tokens

pr-watch

Local PR watcher. Monitors CI status, automatically fixes failing checks by reading failure logs and applying targeted fixes, then optionally merges when all checks pass. Local CLI analog to Claude Code's cloud auto-fix feature.

SethGammon/Citadel · 46 tokens

qa

Browser-based QA verification. Launches a real browser, navigates the app, clicks buttons, fills forms, and tests user flows. Works as a standalone skill or as a phase end condition in campaigns. Requires Playwright (optional dependency, graceful skip if not installed).

SethGammon/Citadel · 56 tokens