๊ฐ„๋‹จํžˆ ๋งํ•ด์„œ

์‚ฌ์šฉ์ž๊ฐ€ ๋ชฉํ‘œ ์งˆ๋ฌธ๋งŒ ์ฃผ๋ฉด, ๊ด€๋ จ ๊ฒ€์ƒ‰ ์ฟผ๋ฆฌ 3~5๊ฐœ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ๋ฅผ ์ถœ์ฒ˜, ์š”์•ฝ, ํŠน์ง•, ํ•œ๊ณ„๊ฐ€ ํฌํ•จ๋œ ๊ทผ๊ฑฐ ๋‹จ์œ„๋กœ ์ •๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

๊ฐ ๊ทผ๊ฑฐ์—์„œ ๊ตฌ์ฒด์ ์ธ ํŠน์ง•์„ ๋ฝ‘์•„ ๋…ธ๋“œ๋กœ ๋งŒ๋“ค๊ณ , ๊ฐ™์€ ๊ทผ๊ฑฐ์—์„œ ํ•จ๊ป˜ ๋“ฑ์žฅํ•œ ํŠน์ง•์„ ์—ฃ์ง€๋กœ ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค.

๊ทธ๋ž˜ํ”„์—์„œ ์—ฐ๊ฒฐ ๋ถ€์กฑ, ๊ตฌ๋ถ„ ๋ถ€์กฑ, ๋ชจ์ˆœ ๊ฐ€๋Šฅ์„ฑ, ์ค‘์‹ฌ์ ์ด์ง€๋งŒ ๊ทผ๊ฑฐ๊ฐ€ ๋นˆ ์—ฐ๊ฒฐ, ๊ฒ€์ƒ‰ ๋ถ€์กฑ, ์ถœ์ฒ˜ ํŽธํ–ฅ์„ ์ฐพ์Šต๋‹ˆ๋‹ค.

๊ทธ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ณด ๊ฐ€์น˜๊ฐ€ ํฐ ๋‹ค์Œ ์งˆ๋ฌธ ๋˜๋Š” ํƒ๊ตฌ ์ฃผ์ œ 3~5๊ฐœ๋ฅผ ์šฐ์„ ์ˆœ์œ„์™€ ํ•จ๊ป˜ ์ œ์‹œํ•ฉ๋‹ˆ๋‹ค.

๊ฐ ์ถ”์ฒœ์—๋Š” ์ค‘์š”์„ฑ, ๊ทผ๊ฑฐ, ๋‹ค์Œ ํ–‰๋™, ๊ทธ๋ž˜ํ”„ ๊ฐœ์„  ์˜ˆ์ƒ, Curiosity Score๋ฅผ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.

์‚ฌ๋žŒ์ด ๊ฒ€์ฆํ•œ ๋‚ด์šฉ์€ Verified Graph, AI๊ฐ€ ์ œ์•ˆํ•œ ์—ฐ๊ฒฐ๊ณผ ๊ฐ€์„ค์€ Candidate Graph๋กœ ๋ถ„๋ฆฌํ•ฉ๋‹ˆ๋‹ค.





ใ…กใ…กใ…กใ…กใ…กใ…ก

---
name: graph-curiosity-finder
deion: Use when the user provides a goal question or raw materials and wants the system to search, structure evidence, build a feature graph, find information gaps, and recommend what to investigate next. This skill can start from only a goal question by generating search queries before graph analysis.
---

# Graph Curiosity Finder

## Purpose

Graph Curiosity Finder is not a generic summarizer. It can start from either a user's goal question or supplied materials, gather or structure evidence as a feature graph, and find:

- missing or weak relationships
- areas where labels or cases are hard to distinguish
- possible contradictions
- high-value questions that would improve the knowledge structure
- candidate links the user may approve later

The final goal is to tell the user what to investigate next, even when the user did not provide source documents.

## Operating Modes

Prefer Goal Question Mode when the user gives a question, problem, topic, hypothesis, or decision they want to explore.

Use Direct Material Mode when the user has already provided documents, notes, reports, interview excerpts, paper summaries, CSV extracts, or case data.

## Goal Question Mode

When the user only provides a goal question, work in this order:

1. Restate the goal question in one sentence.
2. Generate 3 to 5 search queries.
3. Run web search or available local/source search for those queries.
4. Select diverse, relevant, and reasonably authoritative results.
5. Summarize each result into evidence units.
6. Extract concrete features from the evidence units.
7. Turn features into nodes and co-occurrences into edges.
8. Analyze the graph for connection gaps, contradiction possibilities, distinction gaps, and important missing links.
9. Recommend 3 to 5 next questions or exploration topics.
10. For each recommendation, explain:
ย ย ย  - why it matters
ย ย ย  - what evidence or graph structure produced it
ย ย ย  - what the user should do next

If web access is unavailable, say so briefly and continue with query generation plus a research plan. Do not pretend search results were retrieved.

## Search Query Generation

Generate queries that cover different angles of the goal question:

- overview query: broad context and terminology
- mechanism query: causes, drivers, or relationships
- evidence query: data, studies, cases, benchmarks, or reports
- contrast query: competing explanations, failure cases, counterexamples, or risks
- action query: methods, experiments, evaluation, or implementation guidance

Use 3 queries for narrow questions and 5 queries for broad or ambiguous questions.

Queries should be specific enough to retrieve evidence, not just restate the user's wording.

## Search Result Structuring

For each useful result, create an evidence unit:

- source_id
- title
- url or locator when available
- source_type
- short_summary
- extracted_features
- uncertainty_or_limitations

Favor primary or authoritative sources when the topic affects money, health, law, safety, science, or current events. If using secondary sources, label them as such.

## Direct Material Mode

When the user provides source material directly, work in this order:

1. Read the user's input material.
2. Extract concrete, reusable features.
3. Merge duplicate or very similar features into nodes.
4. Create edges between features that appear in the same document, source, case, or example.
5. Treat user-approved information as Graph A, the verified graph.
6. Treat AI-generated questions, inferred gaps, and proposed new links as Graph B, the candidate graph.
7. Analyze edge structure before generating questions.
8. Generate 3 to 10 prioritized questions.
9. Explain the reason for each question in easy Korean unless the user asks for another language.

## Data Model

Node:

- id
- name
- source_ids
- labels
- deion

Edge:

- source_node_id
- target_node_id
- source_ids
- labels
- evidence_text
- evidence_source
- search_query, when the evidence came from search

Do not add AI-generated relationships directly to Graph A. Keep them in Graph B until the user approves them.

## Feature Extraction Rules

Good features are specific and reusable:

- "20๋Œ€ ์—ฌ์„ฑ ์‚ฌ์šฉ์ž ๋ฐ˜์‘๋ฅ  ๋†’์Œ"
- "๋ชจ๋ฐ”์ผ ๊ฒฐ์ œ ๋‹จ๊ณ„์—์„œ ์ดํƒˆ๋ฅ  ์ฆ๊ฐ€"
- "๊ณ ์˜จ ์กฐ๊ฑด์—์„œ ์„ฑ๋Šฅ ์ €ํ•˜"
- "์‹ ๊ทœ ๊ธฐ๊ธฐ์—์„œ ๊ณ ์•ก ํ˜„๊ธˆ์„œ๋น„์Šค ์ด์šฉ"

Avoid vague features:

- "์ข‹๋‹ค"
- "์ค‘์š”ํ•˜๋‹ค"
- "๋ฌธ์ œ ์žˆ์Œ"
- "๋ญ”๊ฐ€ ์ด์ƒํ•จ"

## Gap Types

Look for these four gap types:

1. ์—ฐ๊ฒฐ ๋ถ€์กฑ ์˜์—ญ: related nodes or clusters that should probably connect but lack direct evidence.
2. ๊ตฌ๋ถ„ ๋ถ€์กฑ ์˜์—ญ: different labels or outcomes share similar features and edges, making them hard to distinguish.
3. ๋ชจ์ˆœ ๊ฐ€๋Šฅ ์˜์—ญ: similar feature combinations point to different outcomes.
4. ์ค‘์š”ํ•˜์ง€๋งŒ ๋น„์–ด ์žˆ๋Š” ์—ฐ๊ฒฐ: central features or bridge candidates lack evidence for key relationships.

For Goal Question Mode, also track:

5. ๊ฒ€์ƒ‰ ๋ถ€์กฑ ์˜์—ญ: the graph suggests an important subtopic, but search results did not provide enough evidence.
6. ์ถœ์ฒ˜ ๋ถˆ๊ท ํ˜• ์˜์—ญ: one side of a debate or one type of evidence dominates the retrieved material.

## Question Scoring

Assign each question a Curiosity Score from 0 to 100 using these factors:

- graph connection improvement
- label distinction improvement
- contradiction resolution potential
- reusability across cases
- practical feasibility
- expected information gain from the next search, interview, experiment, or analysis

Scores should be comparative, not decorative. Put the highest-value questions first.

## Output Format

Use this structure:

1. ๋ชฉํ‘œ ์งˆ๋ฌธ
2. ์ƒ์„ฑํ•œ ๊ฒ€์ƒ‰ ์ฟผ๋ฆฌ
3. ์‚ฌ์šฉํ•œ ์ฃผ์š” ์ž๋ฃŒ ์š”์•ฝ
4. ํ˜„์žฌ ๊ทธ๋ž˜ํ”„ ์š”์•ฝ
5. ๋ฐœ๊ฒฌ๋œ ์ •๋ณด ๋ถ€์กฑ ์˜์—ญ
6. ์ถ”์ฒœ ์งˆ๋ฌธ ๋˜๋Š” ํƒ๊ตฌ ์ฃผ์ œ
7. ์šฐ์„ ์ˆœ์œ„
8. ์‚ฌ์šฉ์ž๊ฐ€ ์Šน์ธํ•  ์ˆ˜ ์žˆ๋Š” ํ›„๋ณด ์—ฐ๊ฒฐ ๋ชฉ๋ก

For each recommended question, include:

- ์งˆ๋ฌธ
- ์™œ ์ด ์งˆ๋ฌธ์ด ์ค‘์š”ํ•œ๊ฐ€
- ์–ด๋–ค ๊ทผ๊ฑฐ์—์„œ ๋‚˜์™”๋Š”๊ฐ€
- ๋‹ค์Œ์— ๋ญ˜ ํ•˜๋ฉด ๋˜๋Š”๊ฐ€
- ์˜ˆ์ƒ๋˜๋Š” ๊ทธ๋ž˜ํ”„ ๊ฐœ์„ 
- Curiosity Score

Only show detailed edge lists when the user asks for them or when they are necessary to explain the recommendation. Always provide links or source names for searched evidence when available.

## Recommendation Requirements

Recommend 3 to 5 items in Goal Question Mode.

Each item must be concrete enough to act on. Prefer:

- "์–ด๋–ค ๋ฐ์ดํ„ฐ๋ฅผ ์ฐพ์•„์•ผ ํ•˜๋Š”๊ฐ€"
- "์–ด๋–ค ๋น„๊ต๋ฅผ ํ•ด์•ผ ํ•˜๋Š”๊ฐ€"
- "์–ด๋–ค ์‚ฌ๋ก€๋ฅผ ๋” ๋ด์•ผ ํ•˜๋Š”๊ฐ€"
- "์–ด๋–ค ์‹คํ—˜์ด๋‚˜ ์ธํ„ฐ๋ทฐ ์งˆ๋ฌธ์ด ํ•„์š”ํ•œ๊ฐ€"

Avoid generic recommendations such as "๋” ์กฐ์‚ฌํ•˜์„ธ์š”" or "์‹œ์žฅ ์กฐ์‚ฌ๋ฅผ ํ•˜์„ธ์š”".

## Optional Local MVP

This plugin includes two small local helper s:

- `s/goal_question_plan.py`: turns a goal question into 3 to 5 search queries and an evidence/graph plan.
- `s/graph_curiosity_mvp.py`: turns saved text or saved search summaries into an initial graph and question seeds.

Use it when the user wants a quick deterministic first pass over plain text files or saved search summaries. The does not replace deeper reasoning; it gives an initial graph, candidate gaps, and question seeds that you should refine for the user.

Goal question planning example: