All skills
simota avatar

/nexus

@c805268
by shingo imotasimota/agent-skills85 stars
15

Orchestrating multi-specialist task chains and scope-adaptive product delivery: classifies intent, selects and executes the minimum viable chain, aggregates results, and verifies acceptance criteria. For multi-domain tasks, build-first delivery, and product lifecycle execution.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/nexus

This session only. Nothing lands on disk.

referenceintent-clarification.md

≈3.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Intent Clarification (absorbed from Cipher)

Purpose: Interpretation method for ambiguous user requests. Read when: The request is vague and routing depends on resolving intent first. See also: After resolving intent, use § Routing Decision Output below to present the chosen chain and material alternatives.

Methodology for decoding ambiguous user intent before agent routing. Previously a standalone agent (Cipher), now integrated as a Nexus capability.


The Three Laws

  1. No Interpretation Without Context: git log → .agents/PROJECT.md → conversation history. Context reveals intent. Words are noise.
  2. Ambiguity is Sin, Over-Questioning Also Sin: Context clear → Proceed. 2+ valid paths → Ask. Safe default → Proceed. Don't block flow.
  3. Never Hide Assumptions: Always state "I interpreted this as..." "I'm assuming that..." Hidden assumptions are time bombs.

Process: GATHER → READ → DECIDE → OUTPUT

Phase Actions
GATHER git log · .agents/PROJECT.md · conversation history · resolve pronouns ("it", "that", "this")
READ Interpret tone, scope, urgency (see patterns below)
DECIDE Single interpretation → Proceed · Multiple valid → Ask · Safe default → Proceed
OUTPUT Structured clarification with assumptions documented

Tone & Scope Interpretation Patterns

Signal Interpretation Action
"Fix this" / "Please fix it" Bug fix, specific target Check git diff/status for context
"Improve" / "Enhance it" Enhancement, broad scope Narrow scope via recent activity
"Something is wrong" Vague bug report Investigate before interpreting
"Make it better" Quality improvement Check recent Judge feedback
Frustrated tone User wants action, not questions Use safest default, proceed — but never in place of a GATE-mandated question (see Precedence rule below)
Technical terms used User knows domain Match precision level
Vague keywords Scope ambiguity Check .agents/PROJECT.md context

Precedence rule (tone vs GATE): frustrated tone changes how much is asked, never whether something is asked. When GATE fires (context_confidence < 0.60 OR 2+ valid interpretations — see routing-matrix.md § Classify Flow), a frustrated tone COMPRESSES the ask to exactly ONE focused clarifying question (tightest possible framing, safest-default options pre-filled) — it never authorizes proceeding with zero questions on a sub-floor classification. "Use safest default, proceed" applies only when GATE has not fired (confidence ≥ floor, single valid interpretation); it is not a tone-based override of the confidence floor itself.

Scope Detection

Keyword Likely Scope Example
"the button" / "this component" Minimal (1 file) Specific element fix
"the auth flow" / "login" Moderate (feature) Feature-level change
"the whole app" / "overall" Extensive (system) System-wide concern
"everything" / "all of it" Over-scope → narrow down Ask one clarifying question

CIPHER_GATE Integration

The following rules apply as an internal Nexus capability (previously the Cipher integration protocol):

  • Trigger: context_confidence < 0.60, multiple valid interpretations, or missing critical context
  • Auto-clarification: Nexus attempts to resolve using gathered context
  • Single question: If still ambiguous, ask ONE focused question with options
  • Re-evaluate: integrate the answer, re-type the dimensions, and assign a new evidence band; never add a fixed score bonus

When the blocker is missing context (not just ambiguous wording), run the Context Sufficiency Gate (_common/CONTEXT_SUFFICIENCY.md): inventory which context dimensions the outcome needs (GOAL / SCOPE / ACCEPTANCE / INPUTS / CONSTRAINTS / ENVIRONMENT / INTERFACES / AUDIENCE / PRIOR_ART / RISK), retrieve the inferable ones first (Law 1 — git → PROJECT.md → conversation), and batch only the irreducibly-missing blocking dimensions into a single option-driven question. This makes the one allowed question comprehensive and targeted ("give me X, Y, Z") rather than a vague re-ask. The "one question max" rule (Law 2) means one AskUserQuestion turn — it may batch up to 4 dimensions.


Uncertainty Typing — deciding which question the one question is

The confidence band (confidence-scoring.md) answers whether the available evidence clears a routing threshold. It does not answer what is still unresolved — and those are different questions with different remedies. Two requests can both fall below the gate and need opposite treatment: one needs a target named, the other needs a priority chosen. Since Law 2 allows only one question, typing the uncertainty first is what makes that question land.

Type the gap on these six dimensions before asking. Each maps to a distinct remedy, and each has a characteristic way of being asked badly:

Dimension Unresolved when Remedy Asked badly
Referent the object is ambiguous — "it", "the old one", "the tests" name the candidates and let the user pick asking what to do before to what
Scope the boundary is missing — how many files, which environments, how far back offer bounded options (this module / this package / repo-wide) proceeding on the narrowest reading silently
Goal two readings imply different outcomes, or the user is still forming the goal ask for the deciding axis (what to prioritize, what to avoid), not for a label forcing an A-or-B when the real answer is C
Constraint a limit is implied but unstated — budget, compatibility, deadline, style surface the constraint you would otherwise assume, as a DEC-n candidate recording it as a preference and trading it away
Authority it is unclear whether this effect may be caused at all — push, delete, publish, spend stop and confirm — never resolve by inference (Q23) reading a broad request as a broad grant
Outcome success cannot be observed with what the run can see agree on the observable, or label the criterion UNVERIFIED up front accepting a proxy as the criterion

Rules.

  1. Do not average the six into one number. A run that is certain about five dimensions and blind on one is blocked on that dimension. The evidence band gates whether to ask; the type decides what to ask.
  2. Authority is not averaged. Unresolved Authority never auto-proceeds regardless of the evidence band, and never resolves by inference from a broad request. It is the one type where the answer must come from the user (Q23, and the SKILL.md Ask First triggers it feeds).
  3. A forming Goal is not a defect. When the user is still deciding, an early binary question freezes the intent prematurely — offer the axis and let them explore. This is the one case where "proceed with a reversible draft" (Q24 tier degradation) usually beats asking at all.
  4. Type before batching. The Context Sufficiency Gate batches up to 4 missing dimensions into one question; typing tells you which 4 are worth the user's attention.

Overloaded-Anchor REDIRECT (recipe ambiguity)

Some English anchors map cleanly to one recipe; these do not — the same word fits 2+ recipes, so a bare keyword match would mis-route. When the input's main anchor is one of these AND context (Law 1) does not already disambiguate, run the classify REDIRECT as a single option-driven question (Law 2) before selecting a Recipe. Pick the option from the family axis in SKILL.md ### Recipe Families.

Option-count discipline: a single REDIRECT question presents at most 4 options. When a row's candidate set is larger (e.g. the audit/review/check row), first eliminate candidates that context (Law 1) already rules out; if more than 4 still remain, ask a two-tier question — one broad-category pick first (e.g. "code quality / security / compliance / other"), then at most one narrow follow-up within the chosen category. This mirrors the Context Sufficiency Gate's ≤4-dimension batching bound; never present a 6-7-branch single question.

Overloaded anchor Candidate recipes The one question (options)
improve / polish / enhance / refine / make it better / evolve / deepen a feature delve · kaizen · optimize · refactor · restyle · converge "Execute an improvement, or first discover what to even do? — delve (deep-dive a shipped feature → insights + evolution directions, no code) when the direction is unsettled; else perf only (optimize) / internal cleanup, no behavior change (refactor) / multi-axis polish vs a target (kaizen) / UI-visual-interaction design of an existing surface (restyle) / iterate to a quality rubric (converge)"
improve the design / design improvement anneal · restyle "Improve what design? — code/architecture design (anneal: discover undiagnosed design weaknesses → behavior-preserving brush-up) / UI visual/look-and-feel design of an existing surface (restyle)"
audit / review / check legacy quality review · security (Sentinel) · SUPPLY_CHAIN_AUDIT (Chain) · DESIGN_AUDIT (Pixel) · COMPLIANCE (Canon[regulatory]) · red-team (Breach) · AI_FEATURE (Oracle+Sentinel) "Audit for what? — code quality / security vulns / skill-MCP supply chain / design-a11y / regulatory compliance / adversarial AI/LLM red-team (prompt injection, jailbreak, misuse scenarios) / AI feature safety (prompt+output review)"
differential parity transmute · clone · migrate · fuse "Parity against what? — your own source rewritten in another language (transmute) / an external product you're copying (clone) / your own system you're changing completely (migrate) / ≥2 sources synthesized (fuse)"
build / implement (broad) feature · apex "Single guided build (feature) or autonomous discovery→ship (apex)?" — default feature unless 'whole thing / end-to-end'
migrate (broad) migrate · transmute · PORTING · refactor · MODERNIZE (Shift) "Same-system change-completeness across arch/framework/middleware (migrate) / cross-language rewrite (transmute) / web→native (PORTING) / one known internal restructure, no behavior change (refactor) / same-language library swap or deprecated-API replacement (MODERNIZE — Shift)?"
combine / merge / mix in fuse · graft "Synthesize ≥2 products' surfaces into one (fuse) or transplant another product's concept onto your own (graft)?"
define what we build / nail down spec · essential · charter "Refine one feature into a locked spec via dialogue (spec) / decide which ONE feature (essential) / whole-repo team plan (charter)?"

After redirecting, state the interpretation per Law 3 ("I routed this to <recipe> because …").


Routing Decision Output

Keep the explanation proportional to the ambiguity resolved:

routing_decision:
  intent: "<resolved goal>"
  route: "<recipe, task type, or direct specialist>"
  why: "<one discriminating reason>"
  assumptions: ["<only assumptions that affect the result>"]
  alternatives: ["<only materially valid alternatives and why they lost>"]

Omit empty assumptions and alternatives. Do not repeat the routing matrix, emit confidence arithmetic, or invent rejected options merely to make the explanation look complete.


Anti-Patterns

Anti-Pattern Why It's Wrong Better
Asking what user already said Wastes trust Re-read conversation
Multiple questions in sequence Blocks flow One question max
"What do you mean?" (open-ended) Too vague Offer specific options
Interpreting without any context Guessing Always gather first
Assuming domain expertise May confuse user Match user's language level

Learning Loop

Record interpretation patterns in .agents/nexus.md:

vocabulary_corrections:
  - phrase: "[User's phrase]"
    means: "[Actual meaning in this project]"
    context: "[When this applies]"

Source: SKILL.md on GitHub

3 warnings13d5 checks · Risk MEDIUM
  • Gen Agent Trust Hub13d

    The 'nexus' skill is a comprehensive multi-agent orchestration framework that manages complex task chains. While it incorporates extensive internal guardrails and verification protocols, it explicitly mandates the use of high-risk flags that bypass security permissions to achieve autonomy. It also provides instructions for establishing persistent tasks via cron and GitHub Actions, and utilizes external research tools to fetch content from the web.

  • Socket13d

    1 alert: gptSecurity

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer6mo

    6/22 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at c805268. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/nexus