본문으로 건너뛰기
Skillpedia
커넥터 (MCP)41k · #6890

exploring-mcp-intent-clusters

하는 일

이 스킬은 AI 에이전트가 MCP 서버를 통해 이루려는 목표를 비슷한 목적별로 묶어 보여 주며, 각 그룹의 오류율도 함께 보여 줍니다. MCP 서버를 운영하면서 사람들이 무엇에 쓰는지 알고 싶은 팀을 위한 것입니다.

사용하는 경우

  • ✓AI 에이전트가 MCP 서버로 무엇을 하려는지 알고 싶을 때.
  • ✓어떤 에이전트 목표가 가장 자주 실패하는지 찾고 싶을 때.
  • ✓어떤 MCP 도구가 목표를 제공하고, 에이전트가 그것을 쉽게 찾는지 알고 싶을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/mcp_analytics/skills/exploring-mcp-intent-clusters/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/mcp_analytics/skills/exploring-mcp-intent-clusters/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“에이전트들이 제 MCP 서버로 무엇을 하려고 하나요? 그중 어떤 목표가 가장 많이 실패하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

저장된 묶인 에이전트 목표의 스냅샷을 쓰는데, 각 목표에는 도구, 호출 수, 오류율이 붙어 있습니다. 백그라운드에서 실행되는 새로 계산하기를 요청할 수도 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Exploring MCP intent clusters

Intent clustering takes the free-text $mcp_intent values agents attach to their tool calls, embeds them, and groups semantically similar goals into clusters. Attribution is per call: each call is credited to its own intent (calls without one inherit the most recent prior intent in the same session), so a tool's counts reflect the intent it actually served. Each cluster carries its tool distribution, call counts, and error rates — answering "what are people trying to do, and does it work?" rather than "which tool was called". The snapshot also carries a tool-centric pivot answering the reverse question: for a given tool, which intents drive its usage, how often do agents find it, and who does it compete with.

Unlike tool quality and sessions (which ultimately aggregate $mcp_tool_call), clustering needs embeddings and is not expressible in SQL. It is served by two typed tools backed by a stored snapshot.

Tools

Tool Purpose
posthog:mcp-analytics-intent-clusters-retrieve Fetch the latest cluster snapshot for the project
posthog:mcp-analytics-intent-clusters-recompute Trigger an async recompute of the snapshot

Workflow: read the current clusters

posthog:mcp-analytics-intent-clusters-retrieve
{}

Returns a snapshot with status, last_computed_at, computed_with (the embedding model, clustering parameters, and sample-coverage percentages), a clusters array, a tools array (the tool pivot), and tool_overlaps. Each cluster has a label, intent_count, call_count, error_count, error_rate_pct, routing_entropy, a tool_distribution (which tools that goal routes to, with per-tool error rates), sample_intents, plus switches (errored call immediately followed by a different tool for the same intent — the strongest "agents mix these tools up" evidence) and self_retries (errored call immediately retried with the same tool — a sign the tool's error messages aren't helping agents self-correct).

Read clusters by call_count for "what are agents mostly doing", or by error_rate_pct for "which goals are failing" — a high error rate on a cluster points at a class of agent goals the tools serve badly.

routing_entropy is how spread-out a cluster's tool usage is: low entropy means one goal reliably maps to one tool; high entropy means agents are casting around for the right tool for that goal (often a missing-capability signal).

Workflow: answer "is my tool discoverable?" from the tool pivot

Each entry in tools carries:

  • clusters — the intent clusters the tool serves, each with capture_pct (its share of the cluster's calls), rank, top_competitor (the strongest other tool and its share), and description_fit (cosine similarity between the tool's description and the cluster centroid; null until descriptions are captured). Entries carry only cluster_id, not the cluster's own label or totals — join them against the top-level clusters array on that id
  • n_clusters_served — how many clusters the tool serves in total. The entry list above is capped, so compare the two before saying "this tool serves N intents"
  • discovery_rate_pct — of the sampled sessions whose $mcp_tools_list catalog advertised the tool, the share that actually called it; null when the tool was advertised in fewer than 5 sampled sessions
  • contested_score — call-weighted mean entropy of its clusters: how often its intents are split with other tools

High description_fit with low capture_pct is the discoverability failure: agents should find the tool for that intent but pick something else. Low fit with high capture means the description undersells what the tool actually does. tool_overlaps lists pairs competing for the same intents; use sessions_with_both vs sessions_with_either to separate workflows (used together) from confusion (one or the other).

Read coverage before quoting numbers: computed_with.sampled_sessions / session_coverage_pct say how much of the window the corpus represents, and advertisement_coverage_pct bounds what discovery rates can see. Only sessions with an observed tools-list catalog enter discovery denominators, and sessions in exec-wrapper mode advertise only the wrapper, so p

자주 묻는 질문

목표는 어디서 오나요?

에이전트가 각 도구 호출에 붙이는 의도에서 오므로, 각 호출은 자신의 목표 아래 집계됩니다.

그룹을 필요할 때 새로 고칠 수 있나요?

네. 스냅샷 재계산을 시작할 수 있으며, 이는 비동기로 실행됩니다.

도구 품질과 같은 것인가요?

아니요. 도구 품질은 도구별 오류와 속도를 보고, 이 스킬은 호출 뒤의 목표를 묶습니다.

상세 정보

작성자의 원본 설명

Explore PostHog MCP intent clusters — agent goals grouped by semantic similarity, with each cluster's tool distribution and error rates, plus the tool-centric pivot (capture rate per intent, discovery rate against the advertised catalog, description fit, tool overlaps). Use when the user asks "what are agents trying to do with the MCP?", "group the intents", "which goals fail most?", "what does each cluster route to?", "when agents have this intent do they find my tool?", "which tools get mixed up?", wants to recompute the clustering, or pastes an MCP analytics intent-clustering URL.

repo: PostHog/posthog

인기도

GitHub 스타
41k
순위
#6890
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬