AGENT SKILL

clarify-when-needed

Resolve consequential missing requirements during an agent task without repeatedly asking about choices that existing evidence or user authorization already settles.

License 许可
CC-BY-SA-4.0
最近更新
2026-11-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
clarify-when-needed
license
CC-BY-SA-4.0
metadata
{ "source": "trailofbits/skills", "source-commit": "e8cc5baf9329ccb491bfa200e82eacbac83b1ead", "revision-status": "experimental-unbenchmarked" }
description
Resolve consequential missing requirements during an agent task without repeatedly asking about choices that existing evidence or user authorization already settles.

02 资源文件 3

03 SKILL.md 正文

Clarify when needed

Use the repository's mandatory agent-tool policy and controlling instructions. This is an experimental adaptation; its effect on agent behavior has not been measured.

Read the request, earlier user decisions, applicable project instructions and relevant local evidence before treating a detail as missing. Separate a missing fact or preference from a request for permission: an existing authorization can settle the latter without telling you which of two targets the user meant. Do not infer permission beyond its actual scope.

Ask when a consequential choice remains genuinely unresolved and the available context does not support a reasonable decision. Explain the missing decision and why it matters. Ask the smallest useful set of self-contained questions; offer concise choices only when they help and allow a different answer. Do not ask for facts that a proportionate read-only inspection can establish.

For ordinary, reversible implementation choices, use the request and project evidence to choose a reasonable default, then state any material assumption. Honor explicit user preferences, prior authorizations and any stricter approval requirements. Avoid repeating a question already answered in the session.

When an answer is required, do not perform work that depends on it until the answer arrives. Continue authorized independent work where possible. An elapsed timeout, an unanswered question or a preselected option is not an answer or approval. If the interaction cannot wait, report the missing decision and the completed independent work. When clarification is optional, do not turn it into a gate; proceed using the stated reasonable assumption.

Report what was done, the decisions or assumptions that matter, and any remaining uncertainty. Do not claim a decision was made by the user when it was inferred, or that an action succeeded without checking its result.

04 同仓库更多 Skills

strmt7
strmt7/ai_skills_collection_benchmarked

makefile-generator-project-wrappers

Repair Python, Java and generic GNU Make wrappers that report false success, miss changed inputs or clean dependency environments. Preserve the actual project build system and test runner; use when adapting the collection's original Makefile generator.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

makefile-generator-go

Author or repair GNU Make wrappers for Go modules, retaining Go's dependency discovery and build cache. Use when wrapper timestamps hide embedded-resource changes or build failures; preserve the project's existing build system and real test commands.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

strategic-compact-resume

Checkpoint and resume long agent work when context pressure or a handoff could lose constraints, verified progress, or ownership of active jobs.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

makefile-generator-cpp

Author or repair GNU Make builds for C++ executables, preserving compiler/linker flags, header dependencies and real project test contracts. Use the optional scaffold for a flat src directory; retain an existing build system unless the task requires changing it.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

eval-harness-integrity

Design and verify matched coding-agent evaluations when comparing skills, prompts, models, or harnesses using executable acceptance checks and native result evidence.

★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

eval-harness-evidence

Design and verify matched coding-agent evaluations when comparing skills, prompts, models, or harnesses using executable acceptance checks and native result evidence.

★ 1