yao-decision
하는 일
이 스킬은 상황을 결정 모델에 보내고, 모델이 고정된 범주, 등급, 확률로 답하게 합니다. 자유로운 글 대신 일관되고 정렬할 수 있는 답을 원하는 팀을 위한 것입니다.
사용하는 경우
- ✓들어오는 티켓을 알맞은 부서로 보내야 할 때.
- ✓콘텐츠를 나쁨에서 훌륭함까지 정해진 척도로 평가하고 싶을 때.
- ✓무언가가 일어날 가능성을 신뢰도와 함께 추정하고 싶을 때.
스킬 링크
https://github.com/YaoApp/yao/blob/main/tools/skills/yao-decision/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 고객 메시지를 청구, 기술, 영업 중 하나로 분류하고, 긴급한지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 상황을 설명하고 답해야 할 질문을 나열합니다. 결정 모델은 각 질문에 대해 선택지, 점수, 또는 확률을 신뢰도와 함께 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Decision Tools
Use these tools when you need structured, typed decisions rather than free-form LLM text. Decision models return machine-readable answers with probabilities and confidence scores.
decision_decide
Send a state (context) and one or more typed questions to a decision model.
Question Types
| Type | Purpose | Criteria | Answer Fields |
|---|---|---|---|
choice |
Classify into one of N options | {option: description} map |
choice, probabilities, confidence |
score |
Rate on a scale | [level_labels] array |
score, legend, probabilities, confidence |
noul |
Estimate a probability (0-1) | (none) | noul |
Basic usage (choice + noul):
tai tool decision_decide --state "Customer says: my billing is wrong, I was charged twice" --questions '{"department":{"type":"choice","instructions":"Route to the right department","criteria":{"billing":"Payment issues","technical":"Product bugs","sales":"Purchase inquiries"}},"is_urgent":{"type":"noul","instructions":"Is this urgent?"}}'
With score question:
tai tool decision_decide --state "The agent resolved the issue in 2 minutes with a clear explanation" --questions '{"quality":{"type":"score","instructions":"Rate the support quality","criteria":["Poor","Below average","Average","Good","Excellent"]}}'
With explicit provider:
tai tool decision_decide --state "some context" --questions '{"q1":{"type":"noul","instructions":"Is this positive?"}}' --provider t862699292876.typesafe
With model override:
tai tool decision_decide --state "some context" --questions '{"q1":{"type":"noul","instructions":"Is this positive?"}}' --model jev-latest
Batch decisions (multiple states, same questions):
tai tool decision_decide --states '["Customer A says billing is wrong","Customer B loves the product","Customer C wants a refund"]' --questions '{"sentiment":{"type":"choice","instructions":"Classify sentiment","criteria":{"positive":"Happy","negative":"Unhappy","neutral":"Neither"}}}'
Reading from files:
tai tool decision_decide --state_file customer_message.txt --questions_file routing_questions.json
| Parameter | Type | Required | Description |
|---|---|---|---|
| state | string/object/array | yes* | The context for the decision (*mutually exclusive with states) |
| questions | JSON object | yes | Map of question_id to question definition |
| model | string | no | Model name override (default: provider's configured model) |
| provider | string | no | Provider connector ID (default: decision role or first available) |
| timeout | integer | no | Timeout in seconds (default: 60) |
| states | array | no* | Array of state items for batch decisions (*mutually exclusive with state) |
| state_file | string | no | Read state from file (tai CLI only) |
| questions_file | string | no | Read questions from JSON file (tai CLI only) |
Response Format
Single state:
{
"answers": {
"department": {
"type": "choice",
"choice": "billing",
"probabilities": {"billing": 0.92, "technical": 0.05, "sales": 0.03},
"confidence": 0.89
},
"is_urgent": {
"type": "noul",
"noul": 0.73
}
},
"model": "jev-1.13.0",
"usage": {"input_tokens": 245, "output_tokens": 38}
}
Note:
modelin the response is the resolved concrete model ID (e.g.jev-1.13.0), not the alias you requested (e.g.jev-latest).
Batch states:
{
"results": [
{"state_index": 0, "answers": {...}, "model": "jev-1.13.0", "usage": {...}},
{"state_index": 1, "answers": {...}, "model": "jev-1.13.0", "usage": {...}},
{"state_index": 2, "error": "timed out after 60s"}
]
}
decision_providers
List available decision providers and their models.
tai tool decision_providers
| Parameter | Type | Required | Description |
|---|---|---|---|
| capability | string | no | Filter by capability (default: decision) |
Returns a list of providers with available models, connector IDs, and availability status.
Constraints
stateandstatesare mutually exclusive; provide one or the other.- Each question must have
type(choice/score/noul) andinstructions. criteriais required forchoice(map) andscore(array);noulmust not have criteria.- Batch states must not contain empty strings or null v
자주 묻는 질문
어떤 종류의 답을 주나요?
이름 붙은 선택지 중 하나, 척도 위의 점수, 0과 1 사이의 확률을 줍니다.
왜 평문 텍스트 대신 구조화된 답을 쓰나요?
구조화된 답은 정렬하고, 비교하고, 확인하기 쉽기 때문입니다.
모델을 고를 수 있나요?
네. 특정 제공자를 명시적으로 설정할 수 있습니다.
상세 정보
작성자의 원본 설명
Typed decision expert. ALWAYS invoke this skill when you need structured classification, scoring, or probability estimation — routing tickets, grading content, detecting intent, or any task requiring typed answers with calibrated confidence.
repo: YaoApp/yao
인기도
- GitHub 스타
- 8.3k
- 순위
- #12473
- 라이선스
- —
- 업데이트
- 2026. 10. 19.
댓글
- …
이 저장소의 다른 스킬
yao-agent
8.3k에이전트가 Yao 호스트의 에이전트를 나열하고, 코드를 찾거나 내려받으며, 변경 사항을 배포하도록 돕습니다.
yao-audio
8.3k에이전트가 회의 녹음처럼 오디오 파일의 음성을 글로 바꾸도록 돕습니다. 언어를 지정하지 않으면 언어를 자동으로 감지합니다.
yao-board
8.3k에이전트가 Yao 플랫폼의 칸반 보드와 작업 상태를 확인하도록 돕습니다. 추측 대신 실제 프로젝트 진행 상황을 보고합니다.
yao-daemon
8.3k에이전트가 개발 서버처럼 오래 실행되는 백그라운드 서비스를 시작, 확인, 재시작, 중지하고, 그 출력을 읽도록 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.