sp-chat-agent

Gate chat-agent prompts by scoring SMART POLE atoms before XML handoff.

32|16|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/cuongpt083/smart-pole-skill --skill sp-chat-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sp-chat-agent
Source: https://github.com/cuongpt083/smart-pole-skill/tree/main/skills/sp-chat-agent
Command: npx skills add https://github.com/cuongpt083/smart-pole-skill --skill sp-chat-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The SMART POLE Chat Enforcer gates vague chat-agent prompts, ensuring prompts meet a surgical readiness standard before releasing control and producing a machine-readable <master_prompt> XML handoff for downstream agents.

Core Features & Use Cases

  • Enforces a hard gate on chat-agent workflows by interviewing users, extracting SP-atoms, scoring readiness, and withholding the final handoff until the threshold is reached.
  • Outputs a structured <master_prompt> XML block that downstream agents can parse, enabling deterministic and auditable handoffs.
  • Integrates with system prompts and reference documents to support domain-aware context and safe, policy-compliant executions.
  • Not intended for coding-agent execution or direct code generation tasks; it focuses on prompt refinement and handoff orchestration.

Quick Start

Provide a user prompt and allow the Enforcer to ask clarifying questions to extract SP-atoms, compute a readiness score, and emit the <master_prompt> block when ready.

Frequently Asked Questions about sp-chat-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce prompt readiness before handing off to a chat-agent?

To enforce prompt readiness, you need a gatekeeping mechanism that scores prompt completeness and withholds machine-readable handoffs until a threshold is met. This Skill analyzes prompts into atoms and gates the final XML handoff.

What is a SMART POLE atom in prompt analysis workflows?

A SMART POLE atom is a structural unit extracted from a user prompt during analysis. The Enforcer isolates these atoms to score readiness, detect conflicts, and ensure locale handling before generating a structured XML handoff.

How do I generate a structured XML handoff for downstream agents?

Generating a structured XML handoff requires scoring prompt readiness through clarifying interviews. Once the readiness threshold is achieved, the system emits a machine-readable <master_prompt> XML block for deterministic downstream parsing.

Can I use this prompt gating mechanism for coding-agent execution tasks?

No, this prompt gating mechanism is not intended for coding-agent execution or direct code generation tasks. It specifically focuses on interactive prompt refinement and handoff orchestration for chat-agent workflows.

Does the XML output gating support domain-aware context and reference documents?

Yes, XML output gating integrates with system prompts and reference documents to support domain-aware context. This ensures policy-compliant executions and safe handoffs when the readiness threshold is reached.

Why does my chat-agent workflow receive incomplete master-prompt handoffs?

Incomplete master-prompt handoffs occur when prompts lack surgical readiness. The Enforcer prevents premature handoffs by interviewing users, extracting SP-atoms, and withholding the final XML block until readiness scoring passes.