본문으로 건너뛰기
Skillpedia
데이터베이스41k · #6857

auditing-endpoints

하는 일

이 스킬은 PostHog 프로젝트의 모든 엔드포인트를 점검하고, 정리할 항목에 대한 우선순위 보고서를 줍니다. 많은 엔드포인트를 관리하면서 어수선함과 비용을 줄이려는 사람을 위한 것입니다.

사용하는 경우

  • ✓어떤 엔드포인트를 삭제하거나 정리할 수 있는지 알고 싶을 때.
  • ✓PostHog 프로젝트를 넘겨받아 이미 어떤 엔드포인트가 있는지 보고 싶을 때.
  • ✓오래 실행된 엔드포인트를 주기적으로 검토하고 싶을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/endpoints/skills/auditing-endpoints/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“제 PostHog 엔드포인트를 감사해서 정리할 수 있는 것을 알려 주세요.”

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

작동 방식

엔드포인트 도구를 써서 실패한 구체화나 사용되지 않는 구체화 버전처럼 후보를 찾고, 그것을 보고서로 묶습니다. 아무것도 바꾸지 않습니다.

기술 내용 (원본 SKILL.md)

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

Auditing endpoints

This skill produces a project-wide audit of the Endpoints product. Use it when the user wants to find what to clean up — unused endpoints, failing materialisations, materialised versions that nobody calls any more. It does not modify anything; it reports.

The deeper investigation per endpoint is diagnosing-endpoint-performance. The audit's job is to find candidates and hand off.

When to use this skill

  • "Audit my endpoints" / "What endpoints can I clean up?"
  • The user is taking over a project and wants to know what they've inherited
  • A periodic review (monthly / quarterly) of endpoint sprawl
  • The user is over a materialisation cost budget and wants to know what to disable

The dedicated tools give a fast endpoint-level view. For call frequency, recency, and cost over time, query the query_log table with execute-sql (endpoint-level). Per-version recency comes from endpoint-versions — each version carries its own last_executed_at.

Available tools

Tool What it's for
execute-sql (HogQL) Primary read path. Query system.data_modeling_endpoints for metadata (name, is_active, current_version, derived_from_insight, last_executed_at) and query_log for endpoint-level usage (call counts, recency, duration, bytes)
endpoint-materialization-status Per endpoint: is materialisation eligible, current status, last run, last error (not in the system tables — use this tool)
endpoint-versions All versions for one endpoint, latest first, with each version's query, materialisation state, and last_executed_at
endpoint-update Write path — disable (is_active: false) or unmaterialise (is_materialized: false) after the user confirms
agent-feedback Tell the PostHog team what's missing or confusing in this flow so the product and skill improve

Prefer reading from the system tables over the endpoints-get-all / endpoint-get tools — one SQL query returns the whole inventory and lets you join metadata to usage in query_log.

What counts as an issue

Category Trigger Typical action
Never called No rows in query_log for the endpoint (personal-API-key calls only) Confirm with the user, then disable
Stale query_log shows the last call more than 30 days ago Confirm with the user; often safe to disable
Inactive is_active = 0 in system.data_modeling_endpoints Verify intent; if abandoned, delete
Failing materialisation endpoint-materialization-status returns Failed with an error Hand off to diagnosing-endpoint-performance
Unused materialised version A materialised version whose last_executed_at (from endpoint-versions) is null or long stale Unmaterialise that version, or roll to a newer one
Drifted versions Many versions exist (query
자주 묻는 질문

이 스킬이 엔드포인트를 삭제하나요?

아니요. 발견한 것만 보고하므로, 무엇을 제거할지는 사용자가 결정합니다.

구체화된 엔드포인트 버전이란 무엇인가요?

엔드포인트 결과의 저장된 사본으로, 아무도 호출하지 않아도 저장소와 컴퓨팅 비용이 들 수 있습니다.

엔드포인트가 얼마나 자주 호출되는지 어떻게 보나요?

스킬은 쿼리 로그를 조회해 호출 빈도와 최근성을 보라고 제안합니다. 각 버전은 마지막 실행 시간을 보여 줍니다.

상세 정보

작성자의 원본 설명

Audit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised versions. Use when the user asks "what endpoints can I clean up?", "are any of my endpoints broken?", "which materialised versions are still being called?", or wants a one-shot cleanup pass over the Endpoints product. Produces a prioritised report grouped by issue type, with recommended actions but does not modify anything without explicit confirmation.

repo: PostHog/posthog

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬